@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800;900&display=swap');
@font-face{font-family:Vazirmatn;src:local("Vazirmatn");font-display:swap}
:root{--bg:#f3f2ef;--card:#fff;--text:#1f2933;--muted:#667085;--faint:#98a2b3;--line:#d9dee7;--soft:#f6f8fb;--blue:#0a66c2;--blue-2:#004182;--blue-soft:#e8f3ff;--green:#057642;--red:#c1121f;--gold:#b7791f;--radius:12px;--shadow:0 1px 2px rgba(16,24,40,.04),0 10px 28px rgba(16,24,40,.06)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);font-family:Vazirmatn,Tahoma,Arial,sans-serif;color:var(--text);direction:rtl;font-size:14px;line-height:1.75}a{color:inherit;text-decoration:none}button,input,textarea,select{font-family:inherit}.li-icon{width:20px;height:20px;display:inline-block;vertical-align:middle}.icon-sm{width:16px;height:16px}.icon-lg{width:24px;height:24px}.topbar{height:58px;background:rgba(255,255,255,.96);backdrop-filter:saturate(140%) blur(12px);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:30}.topbar-inner{max-width:1180px;margin:auto;height:100%;display:flex;align-items:center;gap:13px;padding:0 14px}.brand{display:flex;align-items:center;gap:9px;font-weight:950;letter-spacing:-.3px;white-space:nowrap}.brand-mark{width:36px;height:36px;border-radius:9px;background:linear-gradient(135deg,var(--blue),var(--blue-2));color:#fff;display:grid;place-items:center;box-shadow:inset 0 -8px 16px rgba(0,0,0,.12)}.brand-text{display:flex;flex-direction:column;line-height:1.25}.brand-sub{font-size:10.5px;color:var(--muted);font-weight:500}.search{flex:1;max-width:410px;position:relative}.search input{width:100%;border:0;background:#eef3f8;border-radius:9px;height:38px;padding:0 42px 0 12px;outline:none;color:#253858}.search .li-icon{position:absolute;right:13px;top:9px;color:#64748b}.nav{margin-right:auto;display:flex;align-items:center;gap:3px}.nav a,.nav button{border:0;background:transparent;color:#4b5563;padding:7px 9px;border-radius:9px;cursor:pointer;display:inline-flex;align-items:center;gap:6px;min-height:36px}.nav a.active,.nav a:hover,.nav button:hover{background:#eef3f8;color:var(--blue)}.write-btn{background:var(--blue)!important;color:#fff!important;font-weight:850}.write-btn:hover{background:var(--blue-2)!important}.avatar-mini{width:34px;height:34px;border-radius:50%;object-fit:cover;border:1px solid #fff;box-shadow:0 0 0 1px var(--line)}.container{max-width:1180px;margin:18px auto;padding:0 14px}.grid{display:grid;grid-template-columns:255px minmax(0,1fr) 300px;gap:18px;align-items:start}.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:0 1px 0 rgba(16,24,40,.02)}.card:hover{box-shadow:var(--shadow)}.card-pad{padding:16px}.muted{color:var(--muted)}.small{font-size:12px}.strong{font-weight:900}.divider{height:1px;background:var(--line);margin:12px 0}.profile-cover{height:72px;background:radial-gradient(circle at 20% 20%,#475467,#101828)}.profile-card .avatar{width:74px;height:74px;border:3px solid #fff;border-radius:50%;margin:-37px 16px 0 0;background:#fff;object-fit:cover;position:relative;box-shadow:0 0 0 1px var(--line)}.profile-card h3{font-size:16px;margin:8px 16px 0}.profile-card p{margin:2px 16px;color:#555;font-size:12px}.stat-row{display:flex;justify-content:space-between;align-items:center;padding:9px 16px;border-top:1px solid var(--line);font-size:12px}.stat-row b{color:var(--blue)}.composer{padding:14px}.composer-row{display:flex;gap:10px;align-items:center}.composer-fake{flex:1;border:1px solid #bcc6d4;border-radius:999px;padding:10px 16px;color:#667085;background:#fff;transition:.15s}.composer-fake:hover{background:#f7f9fc;border-color:#94a3b8}.quick-actions{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;border-top:1px solid var(--line);padding:9px 0 0;margin-top:10px;color:#526070}.quick-actions span{display:flex;gap:6px;align-items:center;justify-content:center;padding:7px;border-radius:9px}.quick-actions span:hover{background:var(--soft);color:var(--blue)}.post{margin-top:12px}.post-head{display:flex;gap:10px;padding:14px 14px 4px;align-items:flex-start}.post-head .meta{flex:1;min-width:0}.post-head h4{margin:0;font-size:14px;line-height:1.45}.post-head h4 a:hover{color:var(--blue);text-decoration:underline}.verified-dot{display:inline-flex;align-items:center;color:var(--blue);margin-right:3px}.post-title{font-size:18px;font-weight:950;margin:8px 14px 0;letter-spacing:-.25px}.post-title:hover{color:var(--blue)}.post-body{padding:8px 14px 4px;white-space:pre-line;color:#273444}.work-full .post-body{font-size:15.5px;line-height:2.05}.tags{display:flex;gap:6px;flex-wrap:wrap;padding:4px 14px 8px}.tag{font-size:12px;background:#eef3f8;color:#0a66c2;border-radius:999px;padding:2px 9px}.post-stats{display:flex;justify-content:space-between;align-items:center;color:#667085;font-size:12px;border-bottom:1px solid var(--line);margin:0 14px;padding:8px 0}.reaction-summary{display:flex;gap:4px;align-items:center}.reaction-pill{width:21px;height:21px;border-radius:50%;display:grid;place-items:center;background:#eef3f8;color:#0a66c2;border:1px solid #fff;box-shadow:0 0 0 1px rgba(0,0,0,.05)}.reaction-pill .li-icon{width:13px;height:13px}.post-actions{display:grid;grid-template-columns:repeat(4,1fr);gap:3px;padding:5px 8px;border-bottom:1px solid var(--line)}.post-actions form{display:inline}.act{border:0;background:transparent;padding:8px 9px;border-radius:8px;color:#536471;cursor:pointer;font-weight:800;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:38px;width:100%}.act:hover{background:#f3f4f6;color:var(--blue)}.react-wrap{position:relative;display:flex}.react-menu{position:absolute;bottom:43px;right:0;background:#fff;border:1px solid var(--line);box-shadow:0 12px 28px rgba(16,24,40,.18);border-radius:999px;padding:6px;display:none;gap:4px;white-space:nowrap;z-index:8}.react-wrap:hover .react-menu,.react-wrap:focus-within .react-menu{display:flex}.react-menu button{width:38px;height:38px;border-radius:50%;border:0;background:#fff;cursor:pointer;display:grid;place-items:center;color:var(--react-color,var(--blue));transition:.15s}.react-menu button:hover{transform:translateY(-4px) scale(1.06);background:#f7f9fc}.react-menu .li-icon{width:20px;height:20px}.comments{padding:9px 14px 14px}.comment-box{display:flex;gap:8px;align-items:flex-start}.comment-input-wrap{flex:1;position:relative}.comment-box textarea{width:100%;min-height:42px;border:1px solid var(--line);border-radius:21px;padding:9px 15px 9px 48px;resize:vertical;outline:none;background:#fff}.comment-box textarea:focus{border-color:#8cbce8;box-shadow:0 0 0 3px rgba(10,102,194,.10)}.comment-box button{position:absolute;left:5px;top:5px;border:0;background:var(--blue);color:#fff;border-radius:50%;width:32px;height:32px;cursor:pointer;display:grid;place-items:center}.comment{display:flex;gap:8px;margin-top:12px;align-items:flex-start}.comment-main{flex:1;min-width:0}.comment-bubble{background:#f2f4f7;border-radius:14px 0 14px 14px;padding:8px 11px}.comment-bubble b{font-size:13px}.comment-bubble p{margin:2px 0 0}.comment-actions{display:flex;gap:14px;align-items:center;padding:3px 10px;color:#667085;font-size:12px}.comment-actions button{border:0;background:transparent;color:#667085;font-weight:800;cursor:pointer}.comment-actions button:hover{color:var(--blue)}.reply-form{display:none;margin-top:7px}.reply-form.open{display:block}.reply{margin-right:42px}.side-title{font-weight:950;margin:0 0 10px}.item-list{display:flex;flex-direction:column;gap:10px}.mini-item{border-top:1px solid var(--line);padding-top:10px}.mini-item:first-child{border-top:0;padding-top:0}.badge{display:inline-flex;align-items:center;gap:5px;background:#eef3f8;color:#0a66c2;border-radius:999px;padding:3px 9px;font-size:12px}.badge.green{background:#e8f8ee;color:#057642}.badge.dark{background:#f2f4f7;color:#344054}.dropdown{position:relative}.more{border:0;background:transparent;color:#667085;cursor:pointer;border-radius:50%;width:36px;height:36px;display:grid;place-items:center}.more:hover{background:var(--soft);color:#111827}.dropdown-menu{display:none;position:absolute;left:0;top:34px;width:230px;background:#fff;border:1px solid var(--line);box-shadow:0 12px 30px rgba(16,24,40,.16);border-radius:10px;padding:8px;z-index:10}.dropdown:hover .dropdown-menu{display:block}.dropdown-menu a,.dropdown-menu button{display:flex;align-items:center;gap:8px;width:100%;text-align:right;border:0;background:#fff;padding:9px;border-radius:8px;color:#333;cursor:pointer}.dropdown-menu a:hover,.dropdown-menu button:hover{background:#f3f4f6}.form-card{max-width:820px;margin:20px auto}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.field{margin-bottom:14px}.field label{display:block;font-weight:900;margin-bottom:6px}.field input,.field textarea,.field select{width:100%;border:1px solid var(--line);border-radius:10px;padding:10px 12px;background:#fff;outline:none}.field input:focus,.field textarea:focus,.field select:focus{border-color:#8cbce8;box-shadow:0 0 0 3px rgba(10,102,194,.10)}.field textarea{min-height:210px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:0;border-radius:10px;background:var(--blue);color:#fff;padding:10px 14px;cursor:pointer;font-weight:850}.btn:hover{background:var(--blue-2)}.btn.secondary{background:#eef3f8;color:#0a66c2}.btn.secondary:hover{background:#dbeafe}.btn.dark{background:#222}.btn.ghost{background:#fff;color:#344054;border:1px solid var(--line)}.alert{background:#e8fff3;color:#166534;border:1px solid #bbf7d0;border-radius:10px;padding:10px 14px;margin-bottom:12px}.errors{background:#fff1f2;color:#991b1b;border:1px solid #fecdd3;border-radius:10px;padding:10px 14px;margin-bottom:12px}.profile-hero{position:relative;background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;margin-bottom:14px}.hero-cover{height:180px;background:radial-gradient(circle at 15% 20%,#475569,#111827);background-size:cover;background-position:center}.hero-avatar{width:132px;height:132px;border:4px solid #fff;border-radius:50%;margin:-66px 24px 0 0;object-fit:cover;background:#fff;box-shadow:0 0 0 1px var(--line),0 6px 20px rgba(16,24,40,.14)}.hero-body{padding:0 24px 20px}.hero-topline{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.hero-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.hero-body h1{margin:8px 0 0;letter-spacing:-.4px}.work-full{max-width:860px;margin:18px auto}.work-full .post-title{font-size:28px}.shelf-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0 16px}.shelf-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px}.shelf-card{padding:14px}.admin-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.admin-card b{font-size:28px;display:block;color:var(--blue)}.table{width:100%;border-collapse:collapse}.table th,.table td{border-bottom:1px solid var(--line);padding:9px;text-align:right}.footer-note{text-align:center;color:#777;font-size:12px;margin:28px 0}.ltr{direction:ltr;text-align:left}@media(max-width:980px){.grid{grid-template-columns:1fr}.left-col,.right-col{display:none}.nav a:not(.write-btn),.nav .nav-label{display:none}.search{max-width:none}.container{margin-top:10px}.topbar-inner{gap:8px}.brand-sub{display:none}.post-actions{grid-template-columns:repeat(4,minmax(80px,1fr));overflow-x:auto}.hero-topline{display:block}.admin-grid{grid-template-columns:1fr 1fr}.form-grid{grid-template-columns:1fr}}@media(max-width:520px){.brand-text{display:none}.quick-actions{grid-template-columns:repeat(2,1fr)}.admin-grid{grid-template-columns:1fr}.work-full .post-title{font-size:23px}}
/* v2.2 admin, moderation, publisher polish */
.admin-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;position:sticky;top:70px;z-index:12}.admin-tabs a{display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border-radius:10px;color:#475467;font-weight:850}.admin-tabs a:hover,.admin-tabs a.active{background:#eef3f8;color:var(--blue)}.admin-hero{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px}.admin-hero h2{margin:0}.admin-actions{display:flex;gap:8px;flex-wrap:wrap}.section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:12px}.filters{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:8px 0 14px}.filters input,.filters select,.inline-admin-form input,.inline-admin-form select{border:1px solid var(--line);border-radius:9px;background:#fff;padding:8px 10px;outline:none}.filters input{min-width:230px}.admin-table td{vertical-align:middle}.inline-admin-form{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.inline-admin-form input[type=number]{width:82px}.user-cell{display:flex;align-items:center;gap:9px}.user-cell small{display:block;color:var(--muted);direction:ltr;text-align:right}.status{display:inline-flex;align-items:center;border-radius:999px;padding:3px 9px;font-size:12px;font-weight:900;background:#f2f4f7;color:#344054}.status.active,.status.published,.status.resolved,.status.accepted{background:#e8f8ee;color:#057642}.status.pending,.status.draft,.status.submitted,.status.reviewing,.status.under_review{background:#fff7e6;color:#b7791f}.status.suspended,.status.hidden,.status.deleted,.status.rejected{background:#fff1f2;color:#c1121f}.status.archived,.status.closed{background:#eef3f8;color:#475467}.check-label{display:inline-flex;gap:5px;align-items:center;font-size:12px;color:#475467;font-weight:850}.settings-switches{display:grid;gap:10px;margin:12px 0 18px}.settings-switches label{display:flex;align-items:center;gap:9px;background:#f7f9fc;border:1px solid var(--line);border-radius:11px;padding:10px 12px}.publisher-mini{display:flex;align-items:center;gap:10px;padding:9px;border-radius:11px;background:#f7f9fc}.publisher-stats{margin-top:14px}.publisher-hero .hero-cover{background:linear-gradient(135deg,#0a66c2,#101828)}.report-mini{border-top:1px solid var(--line);margin-top:6px;padding-top:6px}.report-mini button{color:#c1121f!important}.table + nav,.pagination{margin-top:14px}.pagination{display:flex;gap:6px;list-style:none;padding:0}.pagination a,.pagination span{display:inline-flex;min-width:32px;height:32px;align-items:center;justify-content:center;border:1px solid var(--line);background:#fff;border-radius:9px;padding:0 8px}.pagination .active span{background:var(--blue);color:#fff;border-color:var(--blue)}@media(max-width:980px){.admin-hero{display:block}.admin-tabs{position:static}.inline-admin-form{display:grid;grid-template-columns:1fr 1fr}.filters input{min-width:0;flex:1}.admin-table{font-size:12px}.admin-table th:nth-child(2),.admin-table td:nth-child(2){display:none}}
/* v2.3 search, follow, notifications, multi-tab feed */
.feed-tabs-card{display:flex;gap:6px;align-items:center;padding:7px;margin-bottom:12px;overflow-x:auto}.feed-tab{display:inline-flex;align-items:center;justify-content:center;gap:6px;border-radius:999px;padding:8px 12px;color:#475467;font-weight:900;white-space:nowrap}.feed-tab:hover,.feed-tab.active{background:#eef3f8;color:var(--blue)}.feed-tab.active{box-shadow:inset 0 0 0 1px #b7d7f5}.notification-nav{position:relative}.notification-nav b{position:absolute;top:1px;left:2px;min-width:17px;height:17px;border-radius:999px;background:#c1121f;color:#fff;font-size:10px;display:grid;place-items:center;padding:0 4px}.search-large{display:grid;grid-template-columns:minmax(0,1fr) 160px auto;gap:10px;align-items:center}.search-large input,.search-large select,.inline-opportunity-form select,.inline-opportunity-form input{border:1px solid var(--line);border-radius:10px;background:#fff;padding:10px 12px;outline:none}.search-large input:focus,.search-large select:focus,.inline-opportunity-form input:focus,.inline-opportunity-form select:focus{border-color:#8cbce8;box-shadow:0 0 0 3px rgba(10,102,194,.10)}.search-results-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:18px;align-items:start;margin-top:14px}.search-person{display:flex;gap:10px;align-items:center;border-top:1px solid var(--line);padding-top:10px}.search-person:first-child{border-top:0;padding-top:0}.search-person small{display:block;color:var(--muted)}.search-tags{padding:0}.notification-list{overflow:hidden}.notification-item{display:flex;gap:12px;padding:14px 16px;border-bottom:1px solid var(--line);align-items:flex-start}.notification-item:last-child{border-bottom:0}.notification-item:hover{background:#f7f9fc}.notification-item.unread{background:#eef6ff}.notification-icon{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:#eef3f8;color:var(--blue);flex:none}.notification-body{display:flex;flex-direction:column;gap:2px}.notification-body small{color:#344054}.notification-body em{font-style:normal;color:var(--muted);font-size:12px}.inline-opportunity-form{display:grid;grid-template-columns:260px minmax(0,1fr) auto;gap:8px;align-items:center;margin-top:12px}.opportunity-card{margin-top:12px}.hero-actions form{display:inline-flex}.hero-actions form button{height:40px}@media(max-width:980px){.search-results-grid{grid-template-columns:1fr}.search-large,.inline-opportunity-form{grid-template-columns:1fr}.feed-tabs-card{position:sticky;top:58px;z-index:11;border-radius:0;margin-right:-14px;margin-left:-14px}}
/* v2.4 studio, cover image, messaging */
.studio-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px;align-items:start}.editor-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.studio-editor .field textarea{min-height:320px;font-size:15px;line-height:2}.studio-tips{position:sticky;top:76px}.clean-list{margin:0;padding:0 18px 0 0;color:#475467}.clean-list li{margin:8px 0}.editor-tools{display:flex;gap:8px;flex-wrap:wrap;margin:-4px 0 14px}.seo-box{border:1px solid var(--line);border-radius:12px;padding:12px;margin:12px 0;background:#fafbfc}.seo-box summary{font-weight:950;cursor:pointer}.current-cover{border:1px solid var(--line);border-radius:12px;overflow:hidden;margin:-2px 0 14px}.current-cover img{width:100%;max-height:280px;object-fit:cover;display:block}.toggle-line{display:flex!important;align-items:center;gap:8px;font-weight:700!important;color:#475467}.toggle-line input{width:auto!important}.work-cover{display:block;margin:10px 0 0;background:#eef3f8}.work-cover img{display:block;width:100%;max-height:390px;object-fit:cover}.work-full .work-cover img{max-height:520px}.studio-hero{display:flex;align-items:center;justify-content:space-between}.studio-table .btn{padding:7px 9px;font-size:12px}.work-mini-cell{display:flex;align-items:center;gap:10px;min-width:280px}.work-mini-cell img,.mini-cover{width:58px;height:44px;border-radius:8px;object-fit:cover;background:#eef3f8;color:var(--blue);display:grid;place-items:center;flex:none}.work-mini-cell small{display:block;color:var(--muted);max-width:420px}.row-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.messages-layout{max-width:850px;margin:0 auto}.thread-list{display:flex;flex-direction:column;margin-top:12px}.thread-item{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:10px;align-items:center;padding:12px;border-top:1px solid var(--line);border-radius:10px}.thread-item:first-child{border-top:0}.thread-item:hover{background:#f7f9fc}.thread-item small{display:block;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.thread-item em{font-style:normal;color:var(--muted);font-size:12px}.empty-state{text-align:center;padding:40px 10px;color:var(--muted)}.empty-state .li-icon{width:44px;height:44px;color:var(--blue);margin-bottom:8px}.message-panel{max-width:880px;margin:0 auto;display:flex;flex-direction:column;min-height:70vh}.message-head{display:flex;align-items:center;gap:10px;border-bottom:1px solid var(--line);padding:14px}.message-head div{flex:1}.message-head small{display:block;color:var(--muted)}.message-stream{padding:16px;display:flex;flex-direction:column;gap:10px;flex:1;background:#f8fafc}.msg{max-width:74%;display:flex;flex-direction:column;gap:2px}.msg.mine{align-self:flex-start}.msg.theirs{align-self:flex-end}.msg-bubble{padding:10px 13px;border-radius:16px;background:#fff;border:1px solid var(--line);box-shadow:0 1px 0 rgba(16,24,40,.02);white-space:pre-line}.msg.mine .msg-bubble{background:#e8f3ff;border-color:#c8e1fa}.msg small{color:var(--muted);font-size:11px}.message-compose{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:12px;border-top:1px solid var(--line);background:#fff}.message-compose textarea{min-height:46px;max-height:140px;border:1px solid var(--line);border-radius:22px;padding:10px 14px;resize:vertical;outline:none}.message-compose textarea:focus{border-color:#8cbce8;box-shadow:0 0 0 3px rgba(10,102,194,.10)}@media(max-width:980px){.studio-layout{grid-template-columns:1fr}.studio-tips{position:static}.studio-hero{display:block}.message-panel{min-height:auto}.msg{max-width:90%}.message-compose{grid-template-columns:1fr}.work-mini-cell{min-width:0}.row-actions{display:grid;grid-template-columns:1fr}.studio-table td:nth-child(3),.studio-table th:nth-child(3){display:none}}
/* v2.5 composer modal, Persian toast, profile activity, books, deeper comments */
.toast{position:fixed;left:22px;bottom:22px;background:#111827;color:#fff;border-radius:12px;padding:12px 16px;z-index:90;box-shadow:0 18px 45px rgba(0,0,0,.22);max-width:380px;font-weight:800}.toast ul{margin:6px 18px 0 0;padding:0}.toast-error{border-right:4px solid #ef4444}.toast-ok{border-right:4px solid #22c55e}.quick-actions button{border:0;background:transparent;color:#526070;display:flex;gap:6px;align-items:center;justify-content:center;padding:7px;border-radius:9px;cursor:pointer;font-weight:800}.quick-actions button:hover{background:var(--soft);color:var(--blue)}.composer-fake{border:1px solid #bcc6d4;border-radius:999px;padding:10px 16px;color:#667085;background:#fff;transition:.15s;text-align:right;cursor:pointer}.post-modal{position:fixed;inset:0;z-index:80;display:none}.post-modal.open{display:block}.post-modal-backdrop{position:absolute;inset:0;background:rgba(17,24,39,.55);backdrop-filter:blur(2px)}.post-modal-card{position:relative;margin:38px auto;background:#fff;width:min(760px,calc(100vw - 28px));min-height:540px;border-radius:13px;box-shadow:0 24px 90px rgba(0,0,0,.32);display:flex;flex-direction:column;overflow:hidden}.post-modal-head{display:flex;align-items:center;justify-content:space-between;padding:22px 24px 8px}.post-modal-user{display:flex;gap:10px;align-items:center}.post-modal-user small{display:block;color:#475467}.icon-btn{border:0;background:#fff;color:#4b5563;border-radius:50%;width:40px;height:40px;display:grid;place-items:center;cursor:pointer;transform:rotate(45deg)}.icon-btn:hover{background:#f3f4f6}.modal-title-input{border:0;border-bottom:1px solid transparent;margin:8px 24px 0;padding:8px 0;font-size:19px;font-weight:900;outline:none}.post-modal textarea{border:0;outline:none;resize:none;min-height:210px;padding:14px 24px;font-size:20px;line-height:1.9;color:#111827}.post-modal textarea::placeholder{color:#6b7280}.modal-type-select,.modal-tags-input{margin:0 24px 10px;border:1px solid var(--line);border-radius:10px;padding:9px 12px;background:#fff}.post-modal-tools{margin-top:auto;display:flex;align-items:center;gap:22px;padding:14px 24px;border-top:1px solid var(--line);color:#525f6b}.post-modal-tools label,.post-modal-tools span,.post-modal-tools a{cursor:pointer;display:inline-flex}.post-modal-foot{display:flex;justify-content:flex-end;gap:10px;padding:14px 24px;background:#fafafa;border-top:1px solid var(--line)}.activity-tabs{display:flex;gap:8px;padding:10px;margin-bottom:12px;overflow:auto}.activity-tabs a{border:1px solid var(--line);padding:7px 14px;border-radius:999px;background:#fff;font-weight:900;color:#475467;white-space:nowrap}.activity-tabs a.active,.activity-tabs a:hover{background:var(--green);color:#fff;border-color:var(--green)}.activity-row{padding:12px 0;border-top:1px solid var(--line)}.activity-row:first-child{border-top:0}.activity-row p{margin:4px 0 0;color:var(--muted)}.featured-strip{border-right:4px solid var(--blue)}.featured-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.featured-mini{background:#f7f9fc;border:1px solid var(--line);border-radius:12px;padding:12px;display:block}.featured-mini small{display:block;color:var(--muted);margin-top:5px}.image-activity-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.image-activity-grid a{position:relative;display:block;overflow:hidden;border-radius:12px;background:#eef3f8;min-height:130px}.image-activity-grid img{width:100%;height:170px;object-fit:cover;display:block}.image-activity-grid span{position:absolute;right:0;left:0;bottom:0;background:linear-gradient(transparent,rgba(0,0,0,.75));color:#fff;padding:24px 10px 8px;font-size:12px}.comment.level-1{margin-right:22px}.comment.level-2{margin-right:44px}.comment.level-3{margin-right:66px}.comment.level-4{margin-right:88px}.comment-top{display:flex;justify-content:space-between;gap:10px;align-items:center}.comment-actions form{display:inline}.comment-actions button{border:0;background:transparent;color:#667085;cursor:pointer;font-size:12px;font-weight:800;padding:2px 5px}.comment-actions button:hover{color:var(--blue);text-decoration:underline}.comment-edit-box{margin-top:8px}.book-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.book-card{display:flex;gap:12px;border:1px solid var(--line);background:#fff;border-radius:14px;padding:10px;min-height:145px}.book-card:hover{box-shadow:var(--shadow)}.book-cover{width:92px;min-width:92px;height:124px;border-radius:10px;background:#eef3f8;display:grid;place-items:center;overflow:hidden;color:var(--blue)}.book-cover img{width:100%;height:100%;object-fit:cover}.book-info b{display:block;font-size:14px}.book-info small{display:block;color:var(--muted);margin:4px 0}.book-info p{margin:0;color:#667085;font-size:12px;line-height:1.8}.book-page-grid{display:grid;grid-template-columns:220px minmax(0,1fr);gap:24px}.book-page-cover{height:310px;border-radius:14px;background:#eef3f8;display:grid;place-items:center;overflow:hidden;color:var(--blue)}.book-page-cover img{width:100%;height:100%;object-fit:cover}.book-meta{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.book-meta span{background:#eef3f8;border-radius:999px;padding:4px 10px;color:#475467;font-size:12px}@media(max-width:780px){.post-modal-card{margin:10px auto;min-height:calc(100vh - 20px)}.book-grid,.featured-grid,.image-activity-grid{grid-template-columns:1fr}.book-page-grid{grid-template-columns:1fr}.comment.level-1,.comment.level-2,.comment.level-3,.comment.level-4{margin-right:12px}.toast{left:12px;right:12px;bottom:12px;max-width:none}}
/* v2.6 beta polish */
.quick-actions a{border:0;background:transparent;color:#526070;display:flex;gap:6px;align-items:center;justify-content:center;padding:7px;border-radius:9px;cursor:pointer;font-weight:800;text-decoration:none}.quick-actions a:hover{background:var(--soft);color:var(--blue)}
.modal-options-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;margin:0 24px 10px}.modal-options-grid .modal-type-select{margin:0;width:100%}.composer-schedule-field{display:none;margin:0 24px 10px}.composer-schedule-field input{width:100%;border:1px solid var(--line);border-radius:10px;padding:9px 12px;background:#fff;color:#344054}.post-modal-card{animation:qModalIn .16s ease-out}@keyframes qModalIn{from{transform:translateY(10px) scale(.985);opacity:.72}to{transform:none;opacity:1}}.post-modal-tools [data-tip]{position:relative}.q-tooltip{position:absolute;z-index:120;background:#111827;color:#fff;border-radius:8px;padding:7px 10px;font-size:12px;font-weight:800;line-height:1.7;pointer-events:none;opacity:0;transform:translateX(-50%) translateY(6px);transition:.14s;white-space:nowrap;box-shadow:0 10px 28px rgba(0,0,0,.22)}.q-tooltip.show{opacity:1;transform:translateX(-50%) translateY(0)}.q-tooltip:after{content:"";position:absolute;left:50%;bottom:-5px;transform:translateX(-50%);border-width:5px 5px 0;border-style:solid;border-color:#111827 transparent transparent}.activity-row-rich{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:start;gap:10px}.activity-row-rich .li-icon{width:22px;height:22px;color:var(--blue);background:var(--blue-soft);padding:4px;border-radius:50%;box-sizing:content-box}.activity-row-rich a{display:block}.profile-hero .hero-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.footer-note{font-size:12px;color:#98a2b3;text-align:center;padding:22px 0}.toast,.q-tooltip{font-family:Vazirmatn,Tahoma,sans-serif}
@media(max-width:760px){.modal-options-grid{grid-template-columns:1fr}.q-tooltip{display:none}.profile-hero .hero-actions{justify-content:flex-start}}
/* v2.7 network, Persian labels, poll, modern upload */
.brand-logo{width:36px;height:36px;border-radius:9px;object-fit:cover;border:1px solid var(--line);background:#fff}.site-logo-preview{width:72px;height:72px;border-radius:14px;object-fit:cover;border:1px solid var(--line);display:block;margin:6px 0 10px}.modern-file{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;border:1px dashed #9db7d8;background:#f7fbff;color:#0a66c2;border-radius:12px;padding:10px 13px;cursor:pointer;font-weight:900;min-height:44px}.modern-file:hover{background:#e8f3ff;border-color:#0a66c2}.modern-file input{display:none}.modern-file.has-file:after{content:attr(data-file);max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#475467;font-weight:600}.modern-file.mini{min-height:34px;padding:6px 10px;border-radius:999px}.comment-upload{width:32px;height:32px;border-radius:50%;display:grid!important;place-items:center;background:#eef3f8;color:#0a66c2;position:absolute;left:42px;top:5px;cursor:pointer}.comment-upload input{display:none}.comment-upload.has-file{background:#d1fae5;color:#057642}.comment-input-wrap textarea{padding-left:84px}.comment-image{display:block;margin-top:8px}.comment-image img{max-width:280px;max-height:220px;border-radius:12px;border:1px solid var(--line);display:block}.emoji-row{display:flex;gap:5px;margin:8px 0}.emoji-row button{border:0;background:#f3f4f6;border-radius:999px;width:32px;height:32px;display:grid;place-items:center;cursor:pointer}.emoji-row button:hover{background:#e8f3ff;transform:translateY(-1px)}.emoji-row.compact{margin:0 0 6px}.emoji-row.compact button{width:28px;height:28px;font-size:14px}.char-counter{display:block;color:var(--muted);font-size:12px;margin-top:5px}.poll-box{display:none;border:1px solid var(--line);background:#fbfcfe;border-radius:14px;padding:12px;margin:12px 0}.poll-box h3{margin:0 0 8px;font-size:14px}.poll-box.modal-poll{margin:0 24px 10px}.poll-box.modal-poll input{width:100%;border:1px solid var(--line);border-radius:10px;padding:9px 12px;margin-bottom:6px}.poll-card{background:#f8fafc;border:1px solid var(--line);border-radius:14px;margin:10px 14px;padding:13px}.poll-card h4{margin:0 0 10px}.poll-option{display:grid;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:8px;position:relative;overflow:hidden;border:1px solid var(--line);border-radius:999px;background:#fff;margin:8px 0;padding:8px 12px}.poll-option input,.poll-option span,.poll-option b{position:relative;z-index:1}.poll-option i{position:absolute;right:0;top:0;bottom:0;background:#e8f3ff;z-index:0}.poll-option.readonly{grid-template-columns:minmax(0,1fr) auto}.pdf-link{display:inline-flex;align-items:center;gap:7px;margin:8px 14px;background:#eef3f8;color:#0a66c2;border-radius:999px;padding:7px 12px;font-weight:900}.network-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:18px}.network-side .net-link{display:flex;align-items:center;justify-content:space-between;padding:11px 12px;border-radius:10px;color:#475467;font-weight:900}.network-side .net-link:hover,.network-side .net-link.active{background:#eef3f8;color:#0a66c2}.network-section{margin-bottom:16px}.network-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.network-card{position:relative;border:1px solid var(--line);border-radius:14px;background:#fff;overflow:hidden;text-align:center}.network-card-cover{height:70px;background:linear-gradient(135deg,#e2e8f0,#94a3b8)}.network-card img{width:82px;height:82px;border-radius:50%;object-fit:cover;margin-top:-40px;border:3px solid #fff;background:#fff}.network-card h3{margin:5px 12px 2px;font-size:16px}.network-card p{margin:0 12px 8px;color:var(--muted);font-size:12px;min-height:38px}.network-card form{padding:0 12px 12px}.level-cup{display:inline-flex;align-items:center;gap:4px;background:#fff7ed;color:#9a3412;border:1px solid #fed7aa;border-radius:999px;padding:3px 9px;font-size:12px;font-weight:900}.admin-backup-link{margin-right:auto}@media(max-width:900px){.network-layout{grid-template-columns:1fr}.network-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.network-grid{grid-template-columns:1fr}.comment-input-wrap textarea{padding-left:48px}.comment-upload{left:5px;top:42px}}
/* v2.8: professional comment filters, profile viewers, and reaction people */
.comment-filter-row{display:flex;align-items:center;gap:8px;padding:10px 14px 4px;border-top:1px solid var(--line);font-size:12px;color:var(--muted);font-weight:800}
.comment-filter-row a{border:1px solid var(--line);background:#fff;color:#475467;border-radius:999px;padding:4px 10px;font-size:12px;font-weight:900}
.comment-filter-row a:hover{background:#eef3f8;color:#0a66c2}
.comment-filter-row a.active{background:#0a66c2;color:#fff;border-color:#0a66c2}
.reaction-people{display:flex;align-items:center;gap:0;min-height:30px}
.reaction-person{position:relative;display:inline-flex;width:32px;height:32px;margin-inline-start:-8px;border-radius:50%;transition:.15s transform;vertical-align:middle}
.reaction-person:first-of-type{margin-inline-start:0}
.reaction-person:hover{transform:translateY(-2px);z-index:3}
.reaction-person img{width:32px;height:32px;border-radius:50%;object-fit:cover;border:2px solid #fff;box-shadow:0 0 0 1px #d0d5dd;background:#fff}
.reaction-person span{position:absolute;left:-3px;bottom:-3px;width:15px;height:15px;border-radius:50%;display:grid;place-items:center;background:var(--react-color);color:#fff;border:1.5px solid #fff;box-shadow:0 1px 3px rgba(16,24,40,.18)}
.reaction-person span svg{width:9px;height:9px;stroke-width:2.6}
.reaction-more{width:32px;height:32px;border:1px solid #d0d5dd;background:#fff;border-radius:50%;display:inline-grid;place-items:center;margin-inline-start:3px;color:#475467;font-weight:900;box-shadow:0 1px 2px rgba(16,24,40,.06)}
.reaction-count-link{margin-inline-start:8px;font-weight:900;color:#475467;font-size:12px}
.narrow-page{max-width:720px;margin:0 auto}.reaction-page-head h1{margin:12px 0 5px}.back-link{display:inline-flex;align-items:center;gap:7px;color:#0a66c2;font-weight:900}.reaction-list-card{overflow:hidden}.reaction-list-item{display:grid;grid-template-columns:52px 1fr auto;align-items:center;gap:12px;padding:13px 16px;border-bottom:1px solid var(--line);color:var(--text)}.reaction-list-item:hover{background:#f8fafc}.reaction-list-item:last-child{border-bottom:0}.reaction-list-avatar{position:relative;display:inline-block;width:46px;height:46px}.reaction-list-avatar img{width:46px;height:46px;border-radius:50%;object-fit:cover;border:1px solid #e5e7eb}.reaction-list-avatar i{position:absolute;left:-4px;bottom:-4px;width:21px;height:21px;border-radius:50%;display:grid;place-items:center;background:var(--react-color);color:#fff;border:2px solid #fff;font-style:normal}.reaction-list-avatar i svg{width:12px;height:12px}.reaction-list-item b{display:block}.reaction-list-item small{display:block;color:var(--muted);margin-top:2px}.reaction-list-item em{font-style:normal;color:#475467;font-size:12px;font-weight:900;background:#f2f4f7;border-radius:999px;padding:5px 10px}.profile-viewers-card .side-title{margin:0}.viewers-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px}.viewers-head span{font-size:12px;color:#475467;background:#eef3f8;border-radius:999px;padding:4px 9px;font-weight:900}.viewer-avatar-row{display:flex;align-items:center;gap:0;flex-wrap:wrap;padding:2px 0 8px}.viewer-avatar-row a{width:38px;height:38px;margin-inline-start:-7px;border-radius:50%;transition:.15s transform}.viewer-avatar-row a:first-child{margin-inline-start:0}.viewer-avatar-row a:hover{transform:translateY(-2px);z-index:2}.viewer-avatar-row img{width:38px;height:38px;border-radius:50%;object-fit:cover;border:2px solid #fff;box-shadow:0 0 0 1px #d0d5dd;background:#fff}.empty-state{padding:24px;text-align:center;color:var(--muted)}
@media(max-width:640px){.reaction-list-item{grid-template-columns:48px 1fr}.reaction-list-item em{grid-column:2}.comment-filter-row{overflow:auto;white-space:nowrap}.viewer-avatar-row a{width:34px;height:34px}.viewer-avatar-row img{width:34px;height:34px}}
/* v2.9 polish */
.profile-edit-actions{display:flex;gap:10px;justify-content:flex-end;align-items:center;margin-top:12px}.profile-edit-actions .btn{min-width:150px}.form-card .form-grid .modern-file{min-height:44px}.admin-tabs{display:flex!important;flex-wrap:wrap;gap:8px;align-items:center;justify-content:flex-start;overflow:visible}.admin-tabs a{display:inline-flex;align-items:center;gap:7px;padding:9px 12px;border-radius:10px;background:#f8fafc;color:#475467;font-weight:850;white-space:nowrap}.admin-tabs a.active,.admin-tabs a:hover{background:#eef3f8;color:#0a66c2}.admin-hero{overflow:hidden}.studio-search{display:flex;gap:8px;align-items:center;background:#f8fafc;border:1px solid var(--line);border-radius:12px;padding:8px 10px;margin-bottom:14px}.studio-search input{flex:1;border:0;background:transparent;outline:none}.icon-only-row{display:flex;gap:6px;align-items:center;flex-wrap:nowrap}.icon-only-row form{display:inline-flex}.icon-btn{width:38px!important;height:38px!important;min-width:38px!important;padding:0!important;display:grid!important;place-items:center}.icon-actions{grid-template-columns:repeat(6,1fr)}.icon-act .li-icon{width:21px;height:21px}.post-body a,.comment-bubble a,.msg-bubble a{color:#0a66c2;text-decoration:underline;text-underline-offset:3px}.pdf-link{display:inline-flex;margin:6px 14px;align-items:center;gap:8px;color:#0a66c2;background:#eef3f8;border-radius:10px;padding:7px 10px;font-weight:850}.quick-actions-minimal{grid-template-columns:repeat(4,1fr)!important}.quick-actions button,.quick-actions a{border:0;background:#fff;color:#526070;display:flex;gap:6px;align-items:center;justify-content:center;padding:8px;border-radius:10px;cursor:pointer}.quick-actions button:hover,.quick-actions a:hover{background:#f3f7fb;color:#0a66c2}.comment-actions-line{flex-wrap:wrap}.mini-action{border:0;background:transparent;color:#667085;font-size:12px;font-weight:850;cursor:pointer}.mini-action:hover{color:#0a66c2}.comment-react-wrap{position:relative}.comment-react-menu{bottom:26px;right:0}.comment-react-wrap:hover .comment-react-menu,.comment-react-wrap:focus-within .comment-react-menu{display:flex}.comment-reaction-summary{display:inline-flex;align-items:center;gap:3px;background:#f2f4f7;border-radius:999px;padding:2px 7px;color:#475467}.comment-reaction-summary span{width:18px;height:18px;border-radius:50%;display:grid;place-items:center;background:var(--react-color);color:#fff;margin-inline-start:-5px;border:1px solid #fff}.comment-reaction-summary span:first-child{margin-inline-start:0}.comment-reaction-summary svg{width:10px;height:10px}.comment-reaction-summary b{font-size:12px}.reaction-list-row{display:grid;grid-template-columns:42px 1fr 34px;gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid var(--line)}.reaction-list-row img{width:38px;height:38px;border-radius:50%;object-fit:cover}.reaction-list-row small{display:block;color:var(--muted)}.reaction-list-row i{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:var(--react-color);color:#fff}.reaction-list-row i svg{width:16px;height:16px}.reaction-person,.viewer-avatar-row a{transition:transform .22s cubic-bezier(.2,.8,.2,1), box-shadow .22s, opacity .22s}.reaction-person:hover,.viewer-avatar-row a:hover{transform:translateY(-4px) scale(1.07)!important}.react-menu button{transition:transform .22s cubic-bezier(.2,.8,.2,1), background .18s, box-shadow .18s}.react-menu button:hover{transform:translateY(-7px) scale(1.16)!important;box-shadow:0 8px 18px rgba(16,24,40,.18)}[data-tooltip]{position:relative}.q-tooltip{position:absolute;z-index:99999;background:#111827;color:#fff;border-radius:7px;padding:6px 9px;font-size:12px;line-height:1;pointer-events:none;opacity:0;transform:translate(-50%,4px);transition:.14s}.q-tooltip.show{opacity:1;transform:translate(-50%,0)}.msg-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:4px}.msg-actions{display:flex;gap:4px;opacity:0;transition:.15s}.msg:hover .msg-actions{opacity:1}.msg-actions form{display:inline}.msg-actions button{border:0;background:rgba(255,255,255,.8);color:#475467;border-radius:50%;width:26px;height:26px;display:grid;place-items:center;cursor:pointer}.msg.mine .msg-actions button{background:rgba(255,255,255,.22);color:#fff}.msg-actions button:hover{transform:scale(1.08)}@media(max-width:900px){.admin-tabs{overflow:auto;flex-wrap:nowrap}.admin-tabs a span{display:none}.profile-edit-actions{justify-content:stretch}.profile-edit-actions .btn{flex:1}.icon-actions{grid-template-columns:repeat(3,1fr)}}
/* v3.0 media, PDF book viewer, and safer upload/comment UX */
.media-player{margin:10px 14px;border:1px solid var(--line);background:#f8fafc;border-radius:14px;padding:12px;overflow:hidden}.media-player-title{display:flex;align-items:center;gap:8px;font-weight:900;color:#344054;margin-bottom:8px}.media-player audio{width:100%;height:38px}.media-player video{width:100%;max-height:420px;border-radius:10px;background:#111827}.pdf-book-viewer{margin:12px 14px;border:1px solid #d0d7e2;background:linear-gradient(180deg,#fbfdff,#f3f6fa);border-radius:18px;overflow:hidden;box-shadow:0 12px 34px rgba(16,24,40,.08)}.pdf-book-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 16px;border-bottom:1px solid var(--line);background:#fff}.pdf-book-head b{display:block;font-size:15px}.pdf-book-head small{display:block;color:var(--muted);font-size:12px;margin-top:1px}.pdf-book-stage{position:relative;min-height:460px;display:grid;grid-template-columns:48px minmax(0,1fr) 48px;align-items:center;padding:18px;background:radial-gradient(circle at top,#fff,#eef2f7)}.pdf-page-shell{position:relative;display:grid;place-items:center;min-height:420px;perspective:1600px}.pdf-page-shell canvas{max-width:100%;max-height:72vh;border-radius:12px;background:#fff;box-shadow:0 2px 0 rgba(16,24,40,.04),0 22px 55px rgba(16,24,40,.18);transform-origin:right center;transition:transform .38s cubic-bezier(.2,.8,.2,1),opacity .22s}.pdf-page-shell.turning canvas{transform:rotateY(-8deg) translateX(-10px);opacity:.82}.pdf-fallback{display:none;text-align:center}.pdf-nav{width:42px;height:42px;border-radius:50%;border:1px solid #cbd5e1;background:#fff;color:#475467;font-size:34px;line-height:1;display:grid;place-items:center;cursor:pointer;box-shadow:0 3px 12px rgba(16,24,40,.08);transition:.18s}.pdf-nav:hover{transform:translateY(-2px);color:var(--blue);border-color:#9cc7ef}.pdf-book-foot{display:flex;align-items:center;gap:12px;padding:11px 16px;background:#fff;border-top:1px solid var(--line)}.pdf-page-label{font-size:12px;color:#475467;font-weight:900;min-width:110px}.pdf-page-range{flex:1;accent-color:#0a66c2}.modern-file input[type=file],.comment-upload input[type=file]{position:absolute;inset:0;opacity:0;cursor:pointer}.modern-file.has-file::after,.comment-upload.has-file::after{content:attr(data-file);display:inline-block;max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-inline-start:8px;color:#057642;font-size:11px}.comment-box textarea,.reply-form textarea{min-height:42px}.comment-hint{font-size:11px;color:var(--muted);margin-top:3px}.post-modal-tools{flex-wrap:wrap}.post-modal-tools .modern-file.mini{position:relative;min-width:76px;justify-content:center}.post-modal-tools .modern-file.mini.has-file{border-color:#10b981;background:#ecfdf3;color:#047857}@media(max-width:700px){.pdf-book-stage{grid-template-columns:38px minmax(0,1fr) 38px;min-height:360px;padding:10px}.pdf-page-shell{min-height:340px}.pdf-book-head{align-items:flex-start;flex-direction:column}.pdf-book-foot{flex-direction:column;align-items:stretch}.media-player video{max-height:280px}}

/* v3.1 UX fixes: Jalali profile, expandable search, Persian validation, cleaner comments/messages */
.search.expand-search{flex:0 0 42px;max-width:42px;height:38px;transition:max-width .28s cubic-bezier(.2,.8,.2,1),flex-basis .28s cubic-bezier(.2,.8,.2,1);overflow:hidden;display:flex;align-items:center;background:#eef3f8;border-radius:12px}.search.expand-search .search-trigger{width:42px;height:38px;border:0;background:transparent;color:#64748b;display:grid;place-items:center;cursor:pointer;flex:0 0 42px}.search.expand-search .search-trigger .li-icon{position:static}.search.expand-search input{opacity:0;width:0;min-width:0;padding:0;border:0;background:transparent;transition:opacity .2s,width .28s;pointer-events:none}.search.expand-search.is-open{flex:1 1 420px;max-width:460px;background:#eef3f8}.search.expand-search.is-open input{opacity:1;width:100%;pointer-events:auto;padding:0 4px 0 12px}.topbar.search-open .nav a:not(.write-btn),.topbar.search-open .nav button,.topbar.search-open .brand-text{opacity:.12;pointer-events:none;transition:.18s}.topbar.search-open .nav .write-btn{opacity:.25;pointer-events:none}.comment-input-wrap{display:block}.comment-input-wrap textarea{padding-left:92px!important;padding-right:16px!important;min-height:44px;line-height:1.8}.comment-box button{top:50%!important;left:7px!important;transform:translateY(-50%);width:34px;height:34px}.comment-upload{top:50%!important;left:47px!important;transform:translateY(-50%);width:34px;height:34px}.comment-box button:hover,.comment-upload:hover{transform:translateY(-50%) scale(1.05)}.comment-hint{padding-right:48px}.poll-expire{font-size:12px;color:#667085;margin:-4px 0 8px}.msg-actions.visible-actions{opacity:1!important}.msg-actions.visible-actions button{width:auto!important;min-width:32px;border-radius:999px!important;padding:4px 8px!important;gap:4px;display:inline-flex!important;font-size:11px}.msg-actions.visible-actions button span{display:inline}.q-form-toast{position:fixed;right:20px;bottom:20px;background:#111827;color:#fff;border-radius:10px;padding:10px 14px;z-index:100000;box-shadow:0 14px 36px rgba(0,0,0,.26);font-weight:850;max-width:360px}.field input[data-jalali-birth]{direction:ltr;text-align:left}.profile-bio-meta{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0}.profile-bio-meta .badge{background:#fff7ed;color:#9a3412;border:1px solid #fed7aa}@media(max-width:760px){.search.expand-search.is-open{position:absolute;left:12px;right:12px;top:10px;max-width:none;z-index:40}.topbar.search-open .brand,.topbar.search-open .nav{visibility:hidden}.comment-input-wrap textarea{padding-left:84px!important}.msg-actions.visible-actions button span{display:none}}

/* v3.2 polish: header search placement, comment composer stability, profile contact links, media rules */
.topbar-inner{position:relative}.search.expand-search{order:2;flex:0 0 42px;max-width:42px;min-width:42px;margin-inline-start:4px;margin-inline-end:2px;z-index:45}.nav{order:3}.brand{order:1}.topbar.search-open .search.expand-search{position:absolute;inset-inline-start:14px;inset-inline-end:126px;top:10px;max-width:none;min-width:0;width:auto;flex:unset;height:40px;box-shadow:0 10px 24px rgba(16,24,40,.08)}.topbar.search-open .search.expand-search input{font-size:13px}.topbar.search-open .nav{opacity:0;visibility:hidden;pointer-events:none}.topbar.search-open .brand-text{opacity:0;visibility:hidden}.comment-box{display:grid!important;grid-template-columns:38px minmax(0,1fr);gap:8px;width:100%;align-items:start}.comment-box>.avatar-mini,.comment-box>a{grid-column:1;flex-shrink:0}.comment-input-wrap{grid-column:2;min-width:0;width:100%;position:relative!important;display:block!important}.comment-input-wrap textarea{width:100%!important;min-height:48px!important;max-height:220px!important;resize:none!important;overflow-y:auto!important;padding-left:92px!important;padding-right:15px!important;line-height:1.8!important}.comment-input-wrap>.comment-upload{position:absolute!important;left:47px!important;top:50%!important;transform:translateY(-50%)!important;z-index:3}.comment-input-wrap>button:not(.mini-action){position:absolute!important;left:7px!important;top:50%!important;transform:translateY(-50%)!important;z-index:3}.comment-box .emoji-row{grid-column:2;position:absolute;top:-31px;right:8px;z-index:4;background:#fff;border:1px solid var(--line);border-radius:999px;padding:2px 5px;box-shadow:0 6px 16px rgba(16,24,40,.07)}.comment-box .emoji-row button{position:static!important;transform:none!important;width:24px!important;height:24px!important;background:transparent!important;color:#475467!important;border-radius:50%!important}.comment-box .emoji-row button:hover{background:#f2f4f7!important}.comment-hint{grid-column:2!important;padding:3px 4px 0 0!important}.reply-form.comment-box{margin-top:12px}.comment-edit-box{grid-template-columns:minmax(0,1fr)!important}.comment-edit-box .comment-input-wrap{grid-column:1!important}.q-form-toast{bottom:auto;right:auto;text-align:center}.profile-links-card .profile-link-list{display:flex;flex-direction:column;gap:8px}.profile-link-list a,.contact-lines a{display:flex;align-items:center;gap:8px;color:#0a66c2;background:#f8fafc;border:1px solid var(--line);border-radius:10px;padding:8px 10px;overflow:hidden;text-overflow:ellipsis}.contact-card details summary{cursor:pointer;list-style:none}.contact-lines{display:flex;flex-direction:column;gap:8px;margin-top:10px}.media-main-field{display:flex;flex-direction:column;justify-content:center}.media-main-hint,.media-main-note{display:inline-flex;align-items:center;gap:6px;background:#fff7ed;color:#9a3412;border:1px solid #fed7aa;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:850}.media-main-group{grid-template-columns:repeat(3,1fr)}.modern-file.media-disabled{opacity:.42;filter:grayscale(.35);cursor:not-allowed}.modern-file.media-disabled input{cursor:not-allowed}.post-modal-tools .media-main-note{margin-inline-start:auto}.brand-sub{max-width:220px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@media(max-width:900px){.topbar.search-open .search.expand-search{inset-inline-start:12px;inset-inline-end:58px}.media-main-group{grid-template-columns:1fr}.comment-box{grid-template-columns:34px minmax(0,1fr)}.comment-box .emoji-row{display:none}.comment-input-wrap textarea{padding-left:84px!important}}

/* v3.3 polish: stable inline errors, compact admin header, safer upload hints */
.inline-form-error{display:block;margin:7px 0 0;background:#111827;color:#fff;border-radius:9px;padding:7px 10px;font-size:12px;font-weight:850;line-height:1.7;box-shadow:0 8px 22px rgba(17,24,39,.16);animation:qfadeIn .18s ease both}.inline-form-error.fade{opacity:.15;transform:translateY(4px);transition:.25s}.comment-input-wrap .inline-form-error{position:static;max-width:100%;margin:6px 0 0}.post-modal-card .inline-form-error{margin-inline:0}.q-form-toast{display:none!important}@keyframes qfadeIn{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
.admin-tabs{display:flex!important;gap:6px!important;align-items:center!important;justify-content:flex-start!important;overflow-x:auto!important;white-space:nowrap!important;padding:8px!important}.admin-tabs a{flex:0 0 auto!important;min-width:42px!important;padding:8px 10px!important;border-radius:10px!important}.admin-tabs a span{font-size:12px!important}.admin-tabs.card-pad{padding:8px!important}.topbar .nav{max-width:calc(100vw - 260px);overflow-x:auto;scrollbar-width:none}.topbar .nav::-webkit-scrollbar{display:none}.topbar .nav a,.topbar .nav button{white-space:nowrap;flex:0 0 auto}.topbar .nav-label{font-size:11.5px}.topbar .write-btn .nav-label{font-size:12px}.translate-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.translation-box{background:#f8fafc;border:1px solid var(--line);border-radius:12px;padding:14px;min-height:260px;white-space:pre-wrap;line-height:1.9}.secure-upload-note{display:inline-flex;gap:6px;align-items:center;background:#eef3f8;border:1px solid var(--line);border-radius:999px;padding:5px 10px;color:#475467;font-size:12px;font-weight:850}.brand-sub{max-width:260px}.comment-input-wrap textarea::placeholder,.modal-title-input::placeholder,.post-modal-card textarea::placeholder{color:#667085}@media(max-width:900px){.translate-grid{grid-template-columns:1fr}.topbar .nav-label{display:none}.topbar .nav{max-width:none}.admin-tabs a span{display:none!important}}
.thread-item-row{display:flex!important;align-items:center;gap:8px}.thread-main{display:flex;align-items:center;gap:10px;flex:1;min-width:0}.thread-main div{min-width:0}.thread-main small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.thread-item-row form{flex:0 0 auto}.mini-action{border:0;background:#f3f4f6;color:#475467;border-radius:9px;width:34px;height:34px;display:grid;place-items:center;cursor:pointer}.mini-action:hover{background:#fee2e2;color:#b91c1c}

/* v3.4 network sidebar, compact comments, hidden reaction menu, lightweight scroll */
.smart-sidebar{position:sticky;top:76px;max-height:calc(100vh - 88px);overflow:auto;scrollbar-width:thin;padding-bottom:12px}.smart-sidebar::-webkit-scrollbar{width:6px}.smart-sidebar::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}.network-box .side-title{display:flex;align-items:center;gap:7px;margin-bottom:12px;font-size:13.5px}.network-person{display:grid;grid-template-columns:40px minmax(0,1fr) 34px;align-items:center;gap:9px;padding:9px 0;border-top:1px solid var(--line)}.network-person:first-of-type{border-top:0}.person-avatar img{width:40px;height:40px;border-radius:50%;object-fit:cover;border:1px solid #fff;box-shadow:0 0 0 1px var(--line)}.person-body{min-width:0}.person-name{display:block;font-weight:900;color:#1f2933;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.person-name:hover{color:var(--blue);text-decoration:underline}.person-body small{display:block;color:var(--muted);font-size:11px;line-height:1.45;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mini-follow,.mini-icon-btn{width:31px;height:31px;border-radius:999px;border:1px solid #bdd7f3;background:#fff;color:var(--blue);display:grid;place-items:center;cursor:pointer;transition:.16s}.mini-follow:hover,.mini-icon-btn:hover{background:#e8f3ff;transform:translateY(-1px)}.show-all-link{display:flex;align-items:center;justify-content:center;gap:6px;border-top:1px solid var(--line);margin:8px -16px -10px;padding:10px 12px;color:#344054;font-weight:850;font-size:12px}.show-all-link:hover{background:#f8fafc;color:var(--blue)}
.comment-box{align-items:center!important;padding-top:2px}.comment-input-wrap textarea{min-height:36px!important;max-height:92px!important;padding-top:7px!important;padding-bottom:7px!important;line-height:1.65!important}.comment-input-wrap>.comment-upload,.comment-input-wrap>button:not(.mini-action){width:30px!important;height:30px!important}.comment-input-wrap>.comment-upload{left:43px!important}.comment-input-wrap textarea{padding-left:82px!important}.comment-hint{font-size:10.5px!important;line-height:1.5!important;margin-top:2px!important;color:#7b8794!important}.comment-box .emoji-row{display:none!important}.comment-input-wrap:focus-within .emoji-row{display:flex!important}.react-menu{display:flex!important;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(6px) scale(.94);transition:opacity .16s ease,transform .16s ease,visibility .16s ease}.react-wrap:hover .react-menu,.react-wrap:focus-within .react-menu{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0) scale(1)}.react-menu button{transition:transform .18s cubic-bezier(.2,.8,.2,1),background .18s ease}.react-menu button:hover{transform:translateY(-5px) scale(1.14)!important}.post{content-visibility:auto;contain-intrinsic-size:680px}.post.q-reveal{opacity:0;transform:translateY(18px);transition:opacity .34s ease,transform .34s ease}.post.q-reveal.in-view{opacity:1;transform:none}.q-lite-loader{display:flex;justify-content:center;color:var(--muted);font-size:12px;padding:14px}.opportunity-card .section-head .muted,.publisher-hero .mini-item .small{direction:rtl}
@media(max-width:1000px){.smart-sidebar{position:static;max-height:none;overflow:visible}.network-person{grid-template-columns:38px minmax(0,1fr) 32px}.comment-input-wrap textarea{padding-left:78px!important}}

/* v3.5 network polish */
.topbar .write-btn .nav-label{font-weight:900}.topbar .write-btn .nav-label::before{content:''}
.reply-form.comment-box{display:none!important}.reply-form.comment-box.open{display:grid!important}.comment-edit-box{display:none!important}.comment-edit-box.open{display:grid!important}
.comment-box{padding:6px 0!important}.comment-input-wrap textarea{min-height:38px!important;max-height:96px!important}.comment-box .avatar-mini{width:32px;height:32px}.comment-hint{font-size:10px!important;color:#8a94a6!important}.react-menu button,.reaction-list-avatar i,.reaction-person span,.comment-reaction-summary span{color:#111827!important}.react-menu button:hover{background:#eef3f8!important}.reaction-person{transition:transform .16s ease}.reaction-person:hover{transform:translateY(-2px) scale(1.05)}
.repost-card{display:block;margin:10px 14px;padding:12px;border:1px solid var(--line);border-radius:12px;background:#f8fafc}.repost-card:hover{border-color:#a7c8ed;background:#f3f8ff}.repost-card b{display:block;margin:2px 0;color:#111827}.repost-card p{margin:0;color:#667085;font-size:12px;line-height:1.7}
.network-box .network-person{display:grid;grid-template-columns:38px minmax(0,1fr) 34px;gap:9px;align-items:center;padding:8px 0;border-top:1px solid var(--line)}.network-box .network-person:first-of-type{border-top:0}.person-avatar img{width:38px;height:38px;border-radius:50%;object-fit:cover}.person-body{min-width:0}.person-name{font-weight:900;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.person-body small{display:block;color:#667085;font-size:11px;line-height:1.45;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mini-follow,.mini-icon-btn{width:30px;height:30px;border:1px solid var(--line);background:#fff;border-radius:999px;display:grid;place-items:center;color:#334155;cursor:pointer}.mini-follow:hover,.mini-icon-btn:hover{background:#eef3f8;color:#0a66c2}.show-all-link{display:flex;gap:5px;align-items:center;justify-content:center;border-top:1px solid var(--line);padding-top:10px;margin-top:8px;color:#0a66c2;font-weight:850;font-size:12px}.smart-sidebar{position:sticky;top:74px}.stat-row-link{display:flex!important;color:inherit}.stat-row-link:hover{background:#f8fafc}
.messages-pro-layout{display:grid;grid-template-columns:330px minmax(0,1fr);min-height:610px;overflow:hidden}.messages-side{border-left:1px solid var(--line);background:#fff;min-width:0}.messages-title{display:flex;align-items:center;justify-content:space-between;padding:14px;border-bottom:1px solid var(--line)}.messages-title h2{margin:0;font-size:18px}.message-search{margin:10px 14px;background:#eef3f8;border-radius:10px;height:38px;display:flex;align-items:center;gap:8px;padding:0 10px}.message-search input{border:0;background:transparent;outline:0;width:100%}.message-pills{display:flex;gap:6px;overflow:auto;padding:0 14px 10px}.message-pills span{border:1px solid var(--line);border-radius:999px;padding:5px 12px;white-space:nowrap}.message-pills .active{background:#057642;color:#fff;border-color:#057642}.pro-thread-list{max-height:510px;overflow:auto}.thread-item-row{border-top:1px solid var(--line)}.thread-item-row:hover{background:#f3f8ff}.messages-empty-panel{display:grid;place-items:center;text-align:center;color:#667085;padding:40px}.compact-side{padding:14px;display:flex;flex-direction:column;gap:12px}.thread-person{text-align:center;border-bottom:1px solid var(--line);padding-bottom:14px}.thread-person img{width:78px;height:78px;border-radius:50%;object-fit:cover}.thread-person b,.thread-person small{display:block}.pro-message-panel{display:grid;grid-template-rows:auto 1fr auto;min-height:610px;border:0;border-radius:0}.pro-message-stream{padding:18px;overflow:auto;max-height:480px;background:#fff}.pro-compose{border-top:1px solid var(--line);padding:12px;background:#fff}.pro-compose textarea{min-height:86px;background:#f3f2ef;border-radius:10px}.compose-tools{display:flex;align-items:center;justify-content:space-between;margin-top:8px}.msg-bubble a{color:#0a66c2;text-decoration:underline}.reaction-modal-page{max-width:680px;margin:0 auto}.reaction-like-modal{border-radius:14px}.reaction-modal-head{height:54px;display:flex;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid var(--line)}.reaction-modal-head h2{margin:0}.reaction-tabs{display:flex;gap:18px;border-bottom:1px solid var(--line);padding:10px 16px;overflow:auto}.reaction-tabs a{display:flex;gap:5px;align-items:center;padding-bottom:8px;border-bottom:3px solid transparent;white-space:nowrap}.reaction-tabs a.active{color:#057642;border-bottom-color:#057642;font-weight:900}.reaction-list-item{grid-template-columns:48px minmax(0,1fr) auto!important}.reaction-list-item small{white-space:normal!important}.reaction-list-avatar i{background:#eef3f8!important;border-color:#fff!important}.notifications-page{max-width:760px}.notification-filters{display:flex;align-items:center;gap:8px;padding:12px;overflow:auto;margin-bottom:12px}.notification-filters>a{border:1px solid var(--line);border-radius:999px;padding:7px 14px;font-weight:850;white-space:nowrap}.notification-filters>a.active{background:#057642;color:#fff;border-color:#057642}.notification-filters form{margin-right:auto}.pro-notification-list .notification-item{display:grid;grid-template-columns:48px minmax(0,1fr) 28px;gap:10px;padding:14px;border-bottom:1px solid var(--line);align-items:start}.pro-notification-list .notification-item.unread{background:#e8f3ff}.notification-avatar img{width:44px;height:44px;border-radius:50%;object-fit:cover}.notification-avatar{display:grid;place-items:center}.notification-body b{display:block;color:#111827}.notification-body small{display:block;color:#475467;margin-top:4px}.notification-body em{display:block;color:#667085;font-style:normal;margin-top:5px;font-size:12px}.notification-more{color:#667085}.verify-layout{grid-template-columns:1fr 1fr}.verify-status-row{display:flex;align-items:center;justify-content:space-between;padding:10px 0;border-bottom:1px solid var(--line);margin-bottom:10px}.verify-status-row .ok{color:#057642}.verify-status-row .warn{color:#b45309}.google-btn{width:100%;margin-bottom:8px}.soft-hr{border:0;border-top:1px solid var(--line);margin:18px 0}.admin-tabs{max-width:100%;overflow-x:auto}.admin-tabs a span{font-size:11px}.quick-actions-minimal{grid-template-columns:repeat(4,1fr)}.quick-actions-minimal button,.quick-actions-minimal a{border:0;background:transparent;color:#526070;display:flex;align-items:center;justify-content:center;gap:6px;padding:8px;border-radius:9px;font-weight:850}.quick-actions-minimal button:hover,.quick-actions-minimal a:hover{background:#eef3f8;color:#0a66c2}
@media(max-width:980px){.messages-pro-layout{grid-template-columns:1fr}.messages-side{border-left:0;border-bottom:1px solid var(--line)}.messages-empty-panel{display:none}.smart-sidebar{position:static}.verify-layout{grid-template-columns:1fr}}

/* v3.6 polish */
.google-oauth-btn{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;height:44px;border:1px solid #d0d7de;background:#fff;color:#1f2937;border-radius:999px;font-weight:900;margin:8px 0 12px;box-shadow:0 1px 2px rgba(16,24,40,.05);transition:.18s}
.google-oauth-btn:hover{background:#f8fafc;border-color:#b6c2cf;transform:translateY(-1px)}.google-g{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;font-weight:1000;font-family:Arial,sans-serif;color:#4285f4;background:conic-gradient(from 0deg,#4285f4,#34a853,#fbbc05,#ea4335,#4285f4);-webkit-background-clip:text;background-clip:text;color:transparent}
.guest-feed-section{position:relative}.locked-content{filter:blur(4px);max-height:560px;overflow:hidden;pointer-events:none;user-select:none}.guest-wall{position:absolute;inset:90px 24px auto 24px;z-index:5;background:rgba(255,255,255,.92);backdrop-filter:blur(10px);border:1px solid var(--line);box-shadow:0 18px 42px rgba(16,24,40,.12);border-radius:18px;text-align:center;padding:28px}.guest-wall h3{margin:0 0 8px}.guest-wall .btn{margin:6px}
.quick-actions-minimal{grid-template-columns:repeat(4,1fr)!important}.quick-actions-minimal button{font-size:13px;min-width:0;white-space:nowrap}.post-actions.icon-actions{display:flex!important;align-items:center;justify-content:space-between;gap:4px;flex-wrap:nowrap;overflow:visible;padding:6px 10px}.post-actions.icon-actions form{display:inline-flex;margin:0}.post-actions.icon-actions .act{width:38px;height:36px;min-width:38px;display:grid;place-items:center;border-radius:10px}.post-actions.icon-actions svg{width:20px;height:20px}.post-actions.icon-actions .react-wrap{position:relative;display:inline-flex}.react-menu{z-index:40}.admin-tabs{display:flex;gap:8px;flex-wrap:nowrap;overflow-x:auto;white-space:nowrap;padding:8px}.admin-tabs a{min-width:max-content;padding:8px 12px}.verify-layout{max-width:920px;margin:0 auto;grid-template-columns:1fr 1fr;gap:20px}.verify-layout .form-card{border-radius:16px;box-shadow:0 2px 12px rgba(16,24,40,.04)}.verify-layout h2{font-size:22px;margin-bottom:12px}.verify-layout .field input{height:44px}.performance-page,.performance-list{max-width:960px;margin:0 auto 16px}.performance-row{display:grid;grid-template-columns:minmax(0,1fr) 110px 95px 85px;gap:10px;align-items:center;padding:12px 0;border-top:1px solid var(--line);color:#1f2937}.performance-row:first-of-type{border-top:0}.performance-row b,.performance-row small{display:block}.performance-row small{color:var(--muted);font-size:12px}.performance-row span{font-weight:850;color:#475467;font-size:12px}.form-card code{background:#eef3f8;border:1px solid var(--line);padding:3px 6px;border-radius:7px;font-size:12px}.search.expand-search input{transition:width .22s ease,opacity .18s ease}.search.expand-search:not(.open) input{width:0!important;opacity:0;padding:0;border:0}.search.expand-search.open{flex:1;max-width:520px}.search.expand-search.open input{width:100%!important;opacity:1}.search.expand-search.open~.nav a:not(.write-btn),.search.expand-search.open~.nav form{opacity:.16;pointer-events:none}.composer .quick-actions-minimal .li-icon{width:18px;height:18px}
@media(max-width:800px){.verify-layout{grid-template-columns:1fr}.performance-row{grid-template-columns:1fr 80px}.guest-wall{inset:70px 12px auto}.post-actions.icon-actions .act{width:34px;min-width:34px}.quick-actions-minimal{grid-template-columns:repeat(2,1fr)!important}}

/* v3.7 beta polish */
.smart-sidebar{position:sticky;top:74px;max-height:none!important;overflow:visible!important;scrollbar-width:none}.smart-sidebar::-webkit-scrollbar{display:none}.right-col{overflow:visible!important}.post{position:relative}.visibility-ribbon{position:absolute;top:12px;left:52px;z-index:3;font-size:11px;font-weight:900;border-radius:999px;padding:2px 9px;border:1px solid currentColor;background:#fff}.visibility-public{color:#057642}.visibility-followers{color:#0a66c2}.visibility-private{color:#b45309}.post-head{padding-top:18px}.range-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 16px}.range-tabs a{border:1px solid var(--line);background:#fff;border-radius:999px;padding:6px 13px;font-weight:850;color:#475467}.range-tabs a.active{background:#0a66c2;color:#fff;border-color:#0a66c2}.performance-stat-grid{grid-template-columns:repeat(4,1fr)}.performance-chart-card{max-width:960px;margin:0 auto 16px}.q-chart{width:100%;overflow:hidden;background:linear-gradient(180deg,#fbfdff,#fff);border:1px solid var(--line);border-radius:16px;padding:10px}.q-chart svg{width:100%;height:auto;display:block}.chart-labels{display:flex;justify-content:space-between;gap:8px;color:#667085;font-size:11px;margin-top:8px;overflow:hidden}.chart-labels span{white-space:nowrap}.single-verify{max-width:920px;margin:24px auto}.verify-card{border-radius:18px}.verify-hero{display:flex;gap:14px;align-items:center;margin-bottom:18px}.verify-icon{width:54px;height:54px;border-radius:18px;background:#e8f3ff;color:#0a66c2;display:grid;place-items:center}.verify-grid-inline{display:grid;grid-template-columns:1fr 1fr;gap:16px}.verify-box{border:1px solid var(--line);border-radius:16px;padding:14px;background:#fbfdff}.verify-box-head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding-bottom:8px;margin-bottom:10px}.verify-box-head .ok{color:#057642}.verify-box-head .warn{color:#b45309}.verify-inline-form{margin-top:10px}.type-template-hints{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:-4px 0 14px}.type-hint{display:none;border:1px solid var(--line);background:#fff;border-radius:14px;padding:11px}.type-hint.active{display:block;grid-column:1/-1;background:#f8fbff;border-color:#b8d5f3}.type-hint b{display:block;color:#0a66c2;margin-bottom:4px}.type-hint span{font-size:12px;color:#667085}.work-type-note .post-title{font-size:17px}.work-type-note .post-body{font-size:14px;line-height:1.9}.work-type-article .post-title{font-size:21px}.work-type-article .post-body{font-size:15.5px;line-height:2.05}.work-type-multimedia .media-player,.work-type-multimedia .pdf-book-viewer{border-color:#b8d5f3;background:#fbfdff}.work-type-book_note .pdf-link{border-right:3px solid #0a66c2}.comment-box textarea{min-height:36px!important;height:36px}.comment-box textarea:focus{min-height:48px!important}.post-actions.icon-actions{display:flex!important;flex-wrap:nowrap!important;gap:2px!important;align-items:center!important;justify-content:space-around!important}.post-actions.icon-actions .act{width:34px!important;min-width:34px!important;height:34px!important}.post-actions.icon-actions svg{width:18px!important;height:18px!important}.hero-actions .btn{white-space:nowrap}.field .inline-form-error,.post-modal-card .inline-form-error{position:static!important;margin-top:6px}.composer .quick-actions-minimal{grid-template-columns:repeat(4,1fr)!important}
@media(max-width:980px){.performance-stat-grid{grid-template-columns:1fr 1fr}.verify-grid-inline{grid-template-columns:1fr}.type-template-hints{grid-template-columns:1fr}.smart-sidebar{position:static}.visibility-ribbon{left:42px}}
@media(max-width:540px){.performance-stat-grid{grid-template-columns:1fr}.post-actions.icon-actions{overflow-x:auto;justify-content:flex-start!important}.post-actions.icon-actions .act{min-width:36px!important}.visibility-ribbon{position:static;display:inline-flex;margin:8px 14px 0}.post-head{padding-top:8px}}

/* v3.8 polish */
.topbar{height:64px}.topbar-inner{gap:10px}.topbar .nav{gap:2px;align-items:stretch}.topbar .nav a,.topbar .nav button{min-width:58px;min-height:56px;flex-direction:column;gap:2px;padding:6px 7px;border-radius:10px;font-size:11px;line-height:1.15}.topbar .nav a .li-icon,.topbar .nav button .li-icon{width:22px;height:22px}.topbar .nav .avatar-mini{width:30px;height:30px}.topbar .write-btn{min-width:64px}.topbar .nav-label{display:block!important;white-space:nowrap}.topbar form button{font-size:11px}.topbar .search{flex:0 0 48px;max-width:48px;transition:max-width .25s ease,flex-basis .25s ease}.topbar .search.open{flex:1 1 420px;max-width:520px}.topbar .search.open~.nav a:not(.write-btn),.topbar .search.open~.nav form{opacity:.12;pointer-events:none}
.visibility-ribbon{width:28px!important;height:28px!important;display:grid!important;place-items:center!important;padding:0!important;border-radius:50%!important;background:#fff!important;box-shadow:0 2px 8px rgba(16,24,40,.10);left:46px!important;top:12px!important}.visibility-ribbon svg{width:15px;height:15px}.visibility-public{color:#057642!important}.visibility-followers{color:#0a66c2!important}.visibility-private{color:#b45309!important}.post-head{padding-top:18px!important}.post-actions.icon-actions{display:flex!important;flex-wrap:nowrap!important;justify-content:space-between!important;align-items:center!important;gap:2px!important;overflow:visible!important}.post-actions.icon-actions form{display:inline-flex!important;margin:0!important}.post-actions.icon-actions .act{width:34px!important;height:34px!important;min-width:34px!important;border-radius:10px!important;padding:0!important}.post-actions.icon-actions svg{width:18px!important;height:18px!important}.post-actions.icon-actions .react-wrap{flex:0 0 auto}.profile-card .stat-row-link{transition:background .15s ease}.profile-card .stat-row-link:hover{background:#f7f9fc}.btn.tiny{padding:6px 10px;border-radius:9px;font-size:12px;margin-top:8px}.type-hint .btn.tiny{margin-top:9px}.admin-tabs{display:flex!important;gap:6px!important;overflow-x:auto!important;white-space:nowrap!important;padding:8px!important}.admin-tabs a{min-width:max-content!important;flex:0 0 auto!important}.performance-stat-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}.stat-card{border:1px solid var(--line);border-radius:16px;background:#fff;padding:15px!important}.stat-card span{display:block;color:#667085;font-weight:800}.stat-card b{display:block;font-size:26px;color:#0a66c2;line-height:1.3}.stat-card small{display:block;color:#667085}.post-modal-card{border-radius:12px!important;max-width:760px!important;min-height:520px!important}.post-modal-card textarea{min-height:220px!important;border:0!important;box-shadow:none!important;font-size:19px!important;padding:12px 4px!important}.post-modal-card textarea::placeholder,.modal-title-input::placeholder{color:#777}.modal-title-input{border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;font-size:18px!important;padding:10px 4px!important}.post-modal-tools{border-top:1px solid var(--line);padding-top:10px}.smart-sidebar{max-height:none!important;overflow:visible!important}.right-col{overflow:visible!important}.comment-box textarea{min-height:36px!important;height:auto!important;max-height:92px!important;resize:none!important}.comment-input-wrap{display:block!important}.comment-hint{clear:both}.guest-feed-section{position:relative}.locked-content{filter:blur(4px);max-height:560px;overflow:hidden;pointer-events:none;user-select:none}.guest-wall{position:absolute;inset:90px 24px auto 24px;z-index:5;background:rgba(255,255,255,.94);backdrop-filter:blur(12px);border:1px solid var(--line);box-shadow:0 18px 42px rgba(16,24,40,.12);border-radius:18px;text-align:center;padding:28px}.guest-wall .btn{margin:6px}
@media(max-width:1120px){.grid{grid-template-columns:220px minmax(0,1fr)}.right-col{display:none}.brand-sub{display:none}.topbar-inner{max-width:100%}.topbar .nav a,.topbar .nav button{min-width:50px}.performance-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:760px){.topbar{height:auto}.topbar-inner{flex-wrap:wrap;padding:6px 8px}.brand{order:1}.search{order:2;margin-right:auto}.nav{order:3;width:100%;justify-content:space-between;overflow-x:auto}.topbar .nav a,.topbar .nav button{min-width:48px;font-size:10.5px}.container{margin:10px auto;padding:0 8px}.grid{grid-template-columns:1fr}.left-col{display:none}.form-grid,.verify-grid-inline,.performance-stat-grid{grid-template-columns:1fr!important}.post-modal-card{width:96vw!important;min-height:70vh!important}.post-modal-card textarea{min-height:180px!important}.post-actions.icon-actions{overflow-x:auto!important;justify-content:flex-start!important}.post-actions.icon-actions .act{min-width:36px!important}.visibility-ribbon{left:42px!important}.hero-topline{flex-direction:column}.hero-actions{width:100%}.performance-row{grid-template-columns:1fr!important}}

/* v3.9 Mobile App Responsive Layer: app-like bottom navigation, compact feed, full-screen composer */
@media (max-width: 820px){
  html,body{max-width:100%;overflow-x:hidden;background:#f3f2ef;-webkit-tap-highlight-color:transparent}
  body{padding-bottom:calc(76px + env(safe-area-inset-bottom));font-size:13.5px}
  .footer-note{display:none!important}
  .topbar.mobile-app-topbar{height:56px!important;min-height:56px!important;position:sticky!important;top:0!important;z-index:80!important;border-bottom:1px solid #dde3ec;background:rgba(255,255,255,.97);box-shadow:0 1px 0 rgba(16,24,40,.04)}
  .topbar-inner{height:56px!important;min-height:56px!important;display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:8px!important;padding:6px 10px!important;max-width:100%!important;position:relative}
  .brand{order:1;min-width:42px;max-width:154px;gap:7px;flex:0 1 auto;overflow:hidden}
  .brand-logo,.brand-mark{width:38px!important;height:38px!important;border-radius:10px!important;min-width:38px!important}
  .brand-text>span{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:96px;display:block}.brand-sub{display:none!important}
  .search.expand-search,.topbar .search{order:2;margin-inline-start:auto!important;margin-inline-end:0!important;flex:0 0 42px!important;max-width:42px!important;width:42px!important;height:40px!important;border-radius:999px!important;background:#eef3f8!important;overflow:hidden!important;z-index:91!important;transition:all .24s cubic-bezier(.2,.8,.2,1)!important}
  .search.expand-search .search-trigger{width:42px!important;height:40px!important;display:grid!important;place-items:center!important;border:0!important;background:transparent!important;color:#536471!important;padding:0!important;position:relative!important;z-index:2!important}
  .search.expand-search .search-trigger svg{width:22px!important;height:22px!important}.search.expand-search input{height:40px!important;opacity:0!important;width:0!important;padding:0!important;pointer-events:none!important;border:0!important;background:transparent!important;font-size:14px!important}
  .search.expand-search.open,.search.expand-search.is-open{position:fixed!important;top:8px!important;right:10px!important;left:10px!important;z-index:100!important;width:auto!important;max-width:none!important;flex:0 0 auto!important;display:flex!important;box-shadow:0 10px 28px rgba(16,24,40,.16)!important;background:#fff!important;border:1px solid #d9e2ee!important}
  .search.expand-search.open input,.search.expand-search.is-open input{opacity:1!important;width:100%!important;pointer-events:auto!important;padding:0 4px 0 12px!important;color:#1f2937!important}.topbar.search-open .brand,.topbar.search-open .mobile-bottom-nav{opacity:.08;pointer-events:none;visibility:visible!important}
  .mobile-bottom-nav{position:fixed!important;right:0!important;left:0!important;bottom:0!important;height:calc(64px + env(safe-area-inset-bottom))!important;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;align-items:stretch!important;gap:0!important;margin:0!important;padding:4px 4px calc(5px + env(safe-area-inset-bottom))!important;background:rgba(255,255,255,.98)!important;backdrop-filter:saturate(140%) blur(16px)!important;border-top:1px solid #d8dee8!important;box-shadow:0 -8px 24px rgba(16,24,40,.08)!important;z-index:90!important;overflow:visible!important;max-width:none!important;direction:rtl!important}
  .mobile-bottom-nav a,.mobile-bottom-nav button{display:none!important;background:transparent!important;border:0!important;box-shadow:none!important;border-radius:12px!important;color:#536471!important;min-width:0!important;width:100%!important;height:56px!important;min-height:56px!important;padding:5px 2px!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:2px!important;font-size:10.5px!important;font-weight:700!important;line-height:1.15!important;position:relative!important;white-space:nowrap!important}
  .mobile-bottom-nav .nav-home,.mobile-bottom-nav .nav-network,.mobile-bottom-nav .nav-write,.mobile-bottom-nav .nav-messages,.mobile-bottom-nav .nav-notifications,.mobile-bottom-nav .nav-login,.mobile-bottom-nav .nav-register{display:flex!important}.mobile-bottom-nav .nav-home{order:1}.mobile-bottom-nav .nav-network{order:2}.mobile-bottom-nav .nav-write{order:3}.mobile-bottom-nav .nav-messages,.mobile-bottom-nav .nav-login{order:4}.mobile-bottom-nav .nav-notifications,.mobile-bottom-nav .nav-register{order:5}
  .mobile-bottom-nav .nav-write{background:#0a66c2!important;color:#fff!important;width:52px!important;height:52px!important;min-height:52px!important;border-radius:18px!important;justify-self:center!important;margin-top:-18px!important;box-shadow:0 8px 20px rgba(10,102,194,.28)!important}.mobile-bottom-nav .nav-write .nav-label{color:#fff!important;font-weight:900!important}.mobile-bottom-nav a.active,.mobile-bottom-nav a:hover,.mobile-bottom-nav button:hover{background:#eef3f8!important;color:#0a66c2!important}.mobile-bottom-nav .nav-write:hover{background:#004182!important;color:#fff!important}
  .mobile-bottom-nav svg{width:23px!important;height:23px!important;display:block!important}.mobile-bottom-nav .nav-label{display:block!important;font-size:10.5px!important;max-width:54px!important;overflow:hidden!important;text-overflow:ellipsis!important}.mobile-bottom-nav .notification-nav b{position:absolute;top:3px;left:21px;min-width:18px;height:18px;border-radius:999px;background:#d92d20;color:#fff;display:grid;place-items:center;font-size:10px;border:2px solid #fff;line-height:1}.mobile-bottom-nav form{display:contents!important}.mobile-bottom-nav .avatar-mini{display:none!important}
  .container{width:100%!important;max-width:100%!important;margin:10px auto 0!important;padding:0 8px!important}.grid{display:block!important}.left-col,.right-col{display:none!important}.card{border-radius:13px!important}.post.card,.composer.card{margin:8px 0!important;border-radius:12px!important;border-left:0!important;border-right:0!important;box-shadow:0 1px 0 rgba(16,24,40,.04)!important}.composer{padding:11px!important}.composer-row{gap:8px!important}.composer-fake{height:42px!important;padding:9px 13px!important;font-size:13px!important}.quick-actions,.quick-actions-minimal{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;padding-top:8px!important}.quick-actions span,.quick-actions button,.quick-actions a{font-size:12px!important;padding:8px 3px!important;gap:4px!important;white-space:nowrap!important}.quick-actions svg{width:18px!important;height:18px!important}
  .post-head{padding:12px 12px 3px!important;gap:8px!important}.post-head h4{font-size:13.5px!important}.post-title{font-size:16px!important;line-height:1.7!important;margin:7px 12px 0!important}.post-body{padding:7px 12px 4px!important;font-size:13.8px!important;line-height:1.95!important}.work-full .post-body{font-size:14.3px!important}.post-stats{margin:0 12px!important;padding:7px 0!important;font-size:11.5px!important}.post-actions.icon-actions,.post-actions{display:flex!important;grid-template-columns:none!important;flex-wrap:nowrap!important;overflow:hidden!important;justify-content:space-between!important;gap:0!important;padding:4px 6px!important}.post-actions form{display:inline-flex!important;margin:0!important}.post-actions .act,.post-actions.icon-actions .act{width:38px!important;min-width:38px!important;height:38px!important;min-height:38px!important;padding:0!important;border-radius:10px!important}.post-actions svg{width:19px!important;height:19px!important}.react-menu{right:-6px!important;bottom:42px!important;max-width:calc(100vw - 32px);overflow:auto}.react-menu button{width:36px!important;height:36px!important}.visibility-ribbon{left:38px!important;top:10px!important}
  .comments{padding:8px 10px 12px!important}.comment-box{display:grid!important;grid-template-columns:34px minmax(0,1fr)!important;gap:7px!important;align-items:start!important}.comment-input-wrap textarea{min-height:38px!important;max-height:80px!important;border-radius:20px!important;font-size:13px!important;padding:8px 12px 8px 76px!important;line-height:1.7!important}.comment-box button{width:31px!important;height:31px!important;left:5px!important}.comment-upload{width:31px!important;height:31px!important;left:39px!important}.comment-hint{font-size:10.5px!important;padding-right:0!important;margin-right:0!important}.comment{gap:7px!important}.comment-bubble{padding:8px 10px!important;border-radius:14px 4px 14px 14px!important}.reply{margin-right:18px!important}.comment.level-1,.comment.level-2,.comment.level-3,.comment.level-4{margin-right:12px!important}
  .post-modal{z-index:120!important}.post-modal-card{position:fixed!important;inset:0!important;width:100vw!important;max-width:100vw!important;height:100dvh!important;min-height:100dvh!important;margin:0!important;border-radius:0!important;box-shadow:none!important;overflow:hidden!important;display:flex!important}.post-modal-head{padding:14px 14px 6px!important;min-height:62px!important}.post-modal-user b{font-size:14px!important}.post-modal-user small{font-size:11px!important}.post-modal-card textarea{min-height:42vh!important;font-size:17px!important;line-height:1.9!important;padding:12px 16px!important}.modal-title-input{margin:6px 16px 0!important;font-size:16px!important}.modal-options-grid{grid-template-columns:1fr!important;margin:0 16px 8px!important}.modal-type-select,.modal-tags-input,.composer-schedule-field{margin-left:16px!important;margin-right:16px!important}.post-modal-tools{padding:10px 14px!important;gap:8px!important;overflow-x:auto!important;white-space:nowrap!important}.post-modal-tools label,.post-modal-tools a,.post-modal-tools span{flex:0 0 auto!important}.post-modal-foot{padding:10px 14px!important;position:sticky!important;bottom:0!important;background:#fff!important}.post-modal-foot .btn{min-height:40px!important}.emoji-row{padding-inline:14px!important;overflow-x:auto!important}
  .form-card{margin:10px auto!important}.form-grid,.book-grid,.book-page-grid,.verify-grid-inline,.performance-stat-grid,.translate-grid{grid-template-columns:1fr!important;display:grid!important}.field textarea{min-height:150px!important}.profile-hero{border-radius:12px!important}.hero-cover{height:112px!important}.hero-avatar{width:86px!important;height:86px!important}.hero-actions{display:flex!important;overflow-x:auto!important;gap:8px!important;padding-bottom:3px}.hero-actions .btn{min-width:max-content!important}.activity-tabs,.range-tabs,.admin-tabs{overflow-x:auto!important;flex-wrap:nowrap!important;-webkit-overflow-scrolling:touch!important;scrollbar-width:none!important}.activity-tabs::-webkit-scrollbar,.range-tabs::-webkit-scrollbar,.admin-tabs::-webkit-scrollbar{display:none!important}.table-wrap{overflow-x:auto!important}.messages-shell,.message-layout,.admin-grid{display:block!important}.messages-list{max-height:none!important}.msg-thread{margin-top:10px!important}.pdf-book-stage{grid-template-columns:34px minmax(0,1fr) 34px!important;min-height:320px!important;padding:8px!important}.pdf-page-shell{min-height:300px!important}.guest-wall{inset:70px 12px auto 12px!important;padding:20px!important}.locked-content{max-height:520px!important}.toast,.q-form-toast{left:10px!important;right:10px!important;bottom:calc(78px + env(safe-area-inset-bottom))!important;max-width:none!important}.smart-sidebar{position:static!important}.performance-chart-card{margin-inline:0!important}.q-chart{padding:7px!important}.chart-labels{font-size:10px!important}.brand-sub{display:none!important}
}
@media (max-width: 380px){
  .mobile-bottom-nav .nav-label{font-size:9.5px!important}.mobile-bottom-nav svg{width:21px!important;height:21px!important}.mobile-bottom-nav .nav-write{width:48px!important;height:48px!important}.post-actions .act,.post-actions.icon-actions .act{width:34px!important;min-width:34px!important}.brand-text>span{max-width:72px}.quick-actions span,.quick-actions button,.quick-actions a{font-size:11px!important}.post-title{font-size:15.2px!important}
}

/* v4.0 Mobile auth lock and clean app header */
@media (max-width: 1024px){
  html,body{max-width:100%!important;overflow-x:hidden!important;background:#f3f2ef!important}
  .topbar.mobile-app-topbar{height:56px!important;min-height:56px!important;position:sticky!important;top:0!important;z-index:120!important;background:#fff!important;border-bottom:1px solid #d9e2ee!important;box-shadow:0 1px 0 rgba(16,24,40,.05)!important}
  .topbar-inner{height:56px!important;min-height:56px!important;max-width:100%!important;padding:6px 10px!important;display:grid!important;grid-template-columns:auto 1fr auto!important;align-items:center!important;gap:8px!important;position:relative!important;overflow:visible!important}
  .brand{grid-column:1!important;order:initial!important;min-width:0!important;max-width:160px!important;overflow:hidden!important;display:flex!important;align-items:center!important;justify-self:start!important}
  .brand-logo,.brand-mark{width:38px!important;height:38px!important;min-width:38px!important;border-radius:10px!important}.brand-text>span{max-width:96px!important;font-size:14px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.brand-sub{display:none!important}
  .topbar .search.expand-search{grid-column:3!important;order:initial!important;justify-self:end!important;align-self:center!important;margin:0!important;flex:none!important;width:42px!important;max-width:42px!important;height:40px!important;border-radius:999px!important;background:#eef3f8!important;overflow:hidden!important;z-index:121!important;display:flex!important;align-items:center!important;transition:all .22s cubic-bezier(.2,.8,.2,1)!important}
  .topbar .search.expand-search .search-trigger{position:static!important;width:42px!important;height:40px!important;display:grid!important;place-items:center!important;padding:0!important;border:0!important;background:transparent!important;color:#536471!important;z-index:3!important}.topbar .search.expand-search .search-trigger svg{width:22px!important;height:22px!important}.topbar .search.expand-search input{width:0!important;opacity:0!important;pointer-events:none!important;border:0!important;background:transparent!important;padding:0!important;height:40px!important;font-size:14px!important}
  .topbar .search.expand-search.open,.topbar .search.expand-search.is-open{position:fixed!important;top:8px!important;right:10px!important;left:10px!important;width:auto!important;max-width:none!important;height:42px!important;background:#fff!important;border:1px solid #d8e1ee!important;box-shadow:0 12px 30px rgba(16,24,40,.16)!important;z-index:200!important;display:flex!important;align-items:center!important}.topbar .search.expand-search.open input,.topbar .search.expand-search.is-open input{opacity:1!important;width:100%!important;pointer-events:auto!important;padding:0 4px 0 12px!important;color:#1f2937!important}.topbar.search-open .brand{opacity:.12!important;pointer-events:none!important}
  .topbar .mobile-bottom-nav{position:fixed!important;right:0!important;left:0!important;bottom:0!important;top:auto!important;height:calc(64px + env(safe-area-inset-bottom))!important;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;align-items:stretch!important;gap:0!important;margin:0!important;padding:4px 4px calc(5px + env(safe-area-inset-bottom))!important;background:rgba(255,255,255,.98)!important;border-top:1px solid #d8dee8!important;box-shadow:0 -8px 24px rgba(16,24,40,.08)!important;z-index:110!important;overflow:visible!important;max-width:none!important;min-width:0!important;transform:none!important}
  .topbar .mobile-bottom-nav a,.topbar .mobile-bottom-nav button{display:none!important;width:100%!important;height:56px!important;min-height:56px!important;min-width:0!important;padding:5px 2px!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:2px!important;font-size:10.5px!important;line-height:1.1!important;white-space:nowrap!important;background:transparent!important;border:0!important;color:#536471!important;box-shadow:none!important;border-radius:12px!important;position:relative!important}.topbar .mobile-bottom-nav svg{width:22px!important;height:22px!important}.topbar .mobile-bottom-nav .nav-label{display:block!important;font-size:10px!important;max-width:58px!important;overflow:hidden!important;text-overflow:ellipsis!important;color:inherit!important}
  .topbar .mobile-bottom-nav .nav-home,.topbar .mobile-bottom-nav .nav-network,.topbar .mobile-bottom-nav .nav-write,.topbar .mobile-bottom-nav .nav-messages,.topbar .mobile-bottom-nav .nav-notifications,.topbar .mobile-bottom-nav .nav-login,.topbar .mobile-bottom-nav .nav-register{display:flex!important}.topbar .mobile-bottom-nav .nav-home{order:1}.topbar .mobile-bottom-nav .nav-network{order:2}.topbar .mobile-bottom-nav .nav-write{order:3}.topbar .mobile-bottom-nav .nav-messages,.topbar .mobile-bottom-nav .nav-login{order:4}.topbar .mobile-bottom-nav .nav-notifications,.topbar .mobile-bottom-nav .nav-register{order:5}.topbar .mobile-bottom-nav .nav-write{background:#0a66c2!important;color:#fff!important;width:52px!important;height:52px!important;min-height:52px!important;border-radius:18px!important;justify-self:center!important;margin-top:-18px!important;box-shadow:0 8px 20px rgba(10,102,194,.28)!important}
  body:not(.q-authenticated) .topbar .mobile-bottom-nav{grid-template-columns:repeat(3,minmax(0,1fr))!important}.topbar .mobile-bottom-nav .nav-opportunities,.topbar .mobile-bottom-nav .nav-shelf,.topbar .mobile-bottom-nav .nav-myworks,.topbar .mobile-bottom-nav .nav-profile,.topbar .mobile-bottom-nav .nav-publisher,.topbar .mobile-bottom-nav .nav-admin,.topbar .mobile-bottom-nav .nav-logout{display:none!important}
  .container{width:100%!important;max-width:100%!important;margin:10px auto 0!important;padding:0 8px!important}.grid{display:block!important}.left-col,.right-col{display:none!important}.post.card,.composer.card{margin:8px 0!important;border-radius:12px!important;border-left:0!important;border-right:0!important}.feed-tabs-card{overflow-x:auto!important;white-space:nowrap!important;scrollbar-width:none!important}.feed-tabs-card::-webkit-scrollbar{display:none!important}
  body.q-guest-locked{height:100dvh!important;overflow:hidden!important;position:fixed!important;inset:0!important;width:100%!important}.q-guest-locked .container{height:calc(100dvh - 56px)!important;overflow:hidden!important}.q-guest-locked .guest-feed-section{height:calc(100dvh - 76px)!important;max-height:calc(100dvh - 76px)!important;overflow:hidden!important;position:relative!important}.q-guest-locked .locked-content{height:calc(100dvh - 88px)!important;max-height:calc(100dvh - 88px)!important;overflow:hidden!important;filter:blur(5px)!important;opacity:.65!important;pointer-events:none!important;user-select:none!important}.q-guest-locked .guest-wall{position:fixed!important;top:126px!important;left:14px!important;right:14px!important;bottom:auto!important;z-index:210!important;background:rgba(255,255,255,.96)!important;backdrop-filter:blur(16px)!important;border:1px solid #d8e1ee!important;box-shadow:0 18px 42px rgba(16,24,40,.16)!important;border-radius:18px!important;text-align:center!important;padding:24px 18px!important}.q-guest-locked .guest-wall h3{margin:0 0 8px!important}.q-guest-locked .guest-wall p{margin:0 0 14px!important;color:#667085!important}.q-guest-locked .right-col,.q-guest-locked .left-col{display:none!important}
}


/* Qafaseh v4.1 - mobile app polish, hard guest lock, Vazirmatn, visibility ribbons */
html,body,input,textarea,button,select,.topbar,.post,.card{font-family:"Vazirmatn",Tahoma,Arial,sans-serif!important}
body{overflow-x:hidden!important}img,video,iframe,canvas{max-width:100%;height:auto}.container,.grid,.card,.post{min-width:0!important}.brand-logo{width:36px;height:36px;border-radius:10px;object-fit:cover}

/* Real ribbon: compact diagonal and readable */
.post{position:relative!important;overflow:hidden!important}.visibility-ribbon{position:absolute!important;top:11px!important;left:-35px!important;width:122px!important;height:auto!important;min-height:0!important;transform:rotate(-45deg)!important;border-radius:0!important;border:0!important;padding:4px 0!important;z-index:9!important;text-align:center!important;box-shadow:0 5px 16px rgba(16,24,40,.16)!important;color:#fff!important;font-size:10.5px!important;font-weight:900!important;line-height:1.2!important;letter-spacing:-.1px!important}.visibility-ribbon span{display:block!important;white-space:nowrap!important}.visibility-ribbon svg{display:none!important}.visibility-public{background:#0a66c2!important}.visibility-followers{background:#f59e0b!important}.visibility-private{background:#dc2626!important}.post-head{padding-top:19px!important}

/* Guest hard lock: works without JavaScript */
body.q-guest-locked{height:100dvh!important;overflow:hidden!important;position:fixed!important;inset:0!important;width:100%!important}.q-guest-locked .container{height:calc(100dvh - 62px)!important;overflow:hidden!important}.q-guest-locked .guest-feed-section{position:relative!important;height:calc(100dvh - 74px)!important;max-height:calc(100dvh - 74px)!important;overflow:hidden!important}.q-guest-locked .locked-content{height:calc(100dvh - 92px)!important;max-height:calc(100dvh - 92px)!important;overflow:hidden!important;filter:blur(7px)!important;opacity:.48!important;pointer-events:none!important;user-select:none!important}.q-guest-locked .locked-content .post:nth-of-type(n+2){display:none!important}.q-guest-locked .guest-wall{position:fixed!important;top:122px!important;left:14px!important;right:14px!important;z-index:5000!important;background:rgba(255,255,255,.97)!important;backdrop-filter:blur(18px)!important;border:1px solid #d8e1ee!important;box-shadow:0 18px 46px rgba(16,24,40,.20)!important;border-radius:20px!important;text-align:center!important;padding:24px 18px!important}.q-guest-locked .guest-wall h3{margin:0 0 8px!important;font-size:18px!important}.q-guest-locked .guest-wall p{margin:0 0 14px!important;color:#667085!important}.q-guest-locked .left-col,.q-guest-locked .right-col{display:none!important}

/* Desktop header remains stable */
@media(min-width:901px){.mobile-app-topbar .mobile-bottom-nav{position:static!important;display:flex!important}.mobile-app-topbar .topbar-inner{display:flex!important;flex-wrap:nowrap!important}.mobile-app-topbar .search.expand-search{flex:0 0 42px!important;max-width:42px!important}.mobile-app-topbar .search.expand-search.is-open{flex:1 1 420px!important;max-width:460px!important}.mobile-app-topbar .nav-label{display:inline!important}}

/* Real mobile app layout */
@media(max-width:900px){
  html,body{width:100%!important;max-width:100%!important;overflow-x:hidden!important;font-size:14px!important;background:#f3f2ef!important;padding-bottom:calc(74px + env(safe-area-inset-bottom))!important}
  .topbar.mobile-app-topbar{height:58px!important;min-height:58px!important;position:sticky!important;top:0!important;z-index:3000!important;background:rgba(255,255,255,.98)!important;border-bottom:1px solid #d9dee7!important;box-shadow:0 1px 0 rgba(16,24,40,.03)!important;overflow:visible!important}
  .mobile-app-topbar .topbar-inner{height:58px!important;width:100%!important;max-width:100%!important;padding:0 10px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;flex-wrap:nowrap!important;position:relative!important;overflow:visible!important}
  .mobile-app-topbar .brand{order:1!important;display:flex!important;align-items:center!important;min-width:0!important;max-width:calc(100% - 58px)!important;gap:8px!important;flex:1 1 auto!important;overflow:hidden!important}
  .mobile-app-topbar .brand-mark,.mobile-app-topbar .brand-logo{width:38px!important;height:38px!important;min-width:38px!important;border-radius:12px!important}.mobile-app-topbar .brand-text{min-width:0!important;display:flex!important}.mobile-app-topbar .brand-text>span{font-size:14px!important;font-weight:900!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.mobile-app-topbar .brand-sub{display:none!important}
  .mobile-app-topbar .search.expand-search{order:2!important;flex:0 0 42px!important;max-width:42px!important;min-width:42px!important;width:42px!important;height:42px!important;margin:0!important;position:relative!important;inset:auto!important;border-radius:50%!important;background:#eef3f8!important;overflow:hidden!important;box-shadow:none!important;z-index:3100!important}.mobile-app-topbar .search.expand-search .search-trigger{width:42px!important;height:42px!important;display:grid!important;place-items:center!important;border:0!important;background:transparent!important;color:#475569!important}.mobile-app-topbar .search.expand-search .search-trigger svg{width:21px!important;height:21px!important}.mobile-app-topbar .search.expand-search input{opacity:0!important;width:0!important;pointer-events:none!important;border:0!important;background:transparent!important;padding:0!important;color:#111827!important}
  .topbar.search-open .search.expand-search,.mobile-app-topbar .search.expand-search.is-open{position:absolute!important;top:8px!important;right:10px!important;left:10px!important;width:auto!important;max-width:none!important;min-width:0!important;height:44px!important;border-radius:14px!important;display:flex!important;flex:unset!important;background:#eef3f8!important;box-shadow:0 16px 36px rgba(16,24,40,.15)!important}.topbar.search-open .search.expand-search input,.mobile-app-topbar .search.expand-search.is-open input{opacity:1!important;width:100%!important;pointer-events:auto!important;padding:0 4px 0 12px!important;font-size:14px!important}.topbar.search-open .brand{opacity:0!important;pointer-events:none!important}
  .mobile-app-topbar .nav.mobile-bottom-nav{position:fixed!important;left:0!important;right:0!important;bottom:0!important;top:auto!important;width:100%!important;height:calc(64px + env(safe-area-inset-bottom))!important;z-index:3200!important;background:rgba(255,255,255,.98)!important;backdrop-filter:blur(14px)!important;border-top:1px solid #d9dee7!important;box-shadow:0 -6px 22px rgba(16,24,40,.10)!important;display:flex!important;align-items:flex-start!important;justify-content:space-around!important;gap:0!important;overflow:hidden!important;padding:4px 4px env(safe-area-inset-bottom) 4px!important;margin:0!important;order:99!important;direction:rtl!important}
  .mobile-app-topbar .mobile-bottom-nav a,.mobile-app-topbar .mobile-bottom-nav form,.mobile-app-topbar .mobile-bottom-nav button{display:none!important}
  .q-authenticated .mobile-app-topbar .mobile-bottom-nav .nav-home,.q-authenticated .mobile-app-topbar .mobile-bottom-nav .nav-network,.q-authenticated .mobile-app-topbar .mobile-bottom-nav .nav-write,.q-authenticated .mobile-app-topbar .mobile-bottom-nav .nav-messages,.q-authenticated .mobile-app-topbar .mobile-bottom-nav .nav-notifications{display:flex!important}.q-guest .mobile-app-topbar .mobile-bottom-nav .nav-home,.q-guest .mobile-app-topbar .mobile-bottom-nav .nav-login,.q-guest .mobile-app-topbar .mobile-bottom-nav .nav-register{display:flex!important}
  .mobile-app-topbar .mobile-bottom-nav a{flex:1 1 0!important;min-width:0!important;height:58px!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;padding:5px 2px!important;border-radius:14px!important;color:#475569!important;background:transparent!important;font-size:11px!important;line-height:1.2!important;gap:2px!important}.mobile-app-topbar .mobile-bottom-nav a.active,.mobile-app-topbar .mobile-bottom-nav a:hover{background:#eef3f8!important;color:#0a66c2!important}.mobile-app-topbar .mobile-bottom-nav .write-btn{background:#0a66c2!important;color:#fff!important;margin-top:-16px!important;min-width:64px!important;height:64px!important;border-radius:22px!important;box-shadow:0 12px 24px rgba(10,102,194,.24)!important}.mobile-app-topbar .mobile-bottom-nav svg{width:22px!important;height:22px!important}.mobile-app-topbar .mobile-bottom-nav .nav-label{display:block!important;font-size:10.5px!important;white-space:nowrap!important}.mobile-app-topbar .mobile-bottom-nav b{position:absolute!important;top:4px!important;right:50%!important;transform:translateX(9px)!important;min-width:16px!important;height:16px!important;border-radius:999px!important;background:#d92d20!important;color:#fff!important;font-size:10px!important;display:grid!important;place-items:center!important}
  .container{width:100%!important;max-width:100%!important;margin:10px 0 0!important;padding:0 10px!important}.grid{display:block!important;width:100%!important}.left-col,.right-col,.smart-sidebar{display:none!important}.feed-tabs-card{display:flex!important;overflow-x:auto!important;white-space:nowrap!important;gap:8px!important;padding:8px!important;margin:0 0 10px!important;border-radius:14px!important;scrollbar-width:none!important}.feed-tabs-card::-webkit-scrollbar{display:none!important}.feed-tab{flex:0 0 auto!important;padding:8px 12px!important;border-radius:999px!important}.composer{border-radius:16px!important;margin-bottom:10px!important}.composer-row{gap:8px!important}.quick-actions.quick-actions-minimal{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:4px!important}.quick-actions.quick-actions-minimal button{font-size:12px!important;padding:8px 2px!important;white-space:nowrap!important}.post{width:100%!important;margin:10px 0!important;border-radius:16px!important}.post-title{font-size:16px!important;line-height:1.8!important;text-align:right!important}.post-body{font-size:14px!important;line-height:2.05!important;text-align:right!important}.tags{justify-content:flex-start!important}.post-stats{font-size:11px!important;gap:8px!important}.post-actions.icon-actions,.post-actions{display:flex!important;flex-wrap:nowrap!important;justify-content:space-between!important;align-items:center!important;overflow:hidden!important;gap:0!important;padding:5px 4px!important}.post-actions form{display:inline-flex!important;flex:0 0 auto!important}.post-actions .act{width:36px!important;min-width:36px!important;height:36px!important;min-height:36px!important;padding:0!important;border-radius:10px!important}.post-actions svg{width:19px!important;height:19px!important}.reaction-people{max-width:50%!important;overflow:hidden!important}.reaction-person{margin-inline-start:-6px!important}.comment-box{grid-template-columns:34px minmax(0,1fr)!important}.comment-box textarea{min-height:38px!important;max-height:90px!important;font-size:13px!important}.post-modal-card{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;max-width:none!important;min-height:100dvh!important;border-radius:0!important;padding-bottom:calc(18px + env(safe-area-inset-bottom))!important}.post-modal-card textarea{min-height:36vh!important;font-size:18px!important}.modal-options-grid,.media-main-group{grid-template-columns:1fr!important}.visibility-ribbon{top:10px!important;left:-38px!important}.profile-hero,.card{max-width:100%!important}.footer-note{display:none!important}
}

/* Qafaseh v4.2 - mobile fixes, dark mode, reaction visibility, ribbon polish */
html,body,input,textarea,button,select{font-family:"Vazirmatn",Tahoma,Arial,sans-serif!important}

/* Dark mode preferences: use the same 768px threshold as the theme controller. */
@media (min-width: 769px){
  body.q-theme-desktop-dark{--bg:#111827;--card:#172033;--text:#e5e7eb;--muted:#a8b3c7;--faint:#7f8ca3;--line:#2b364a;--soft:#1e293b;--blue:#60a5fa;--blue-2:#3b82f6;--blue-soft:#172a45;color-scheme:dark;background:var(--bg)!important;color:var(--text)!important}
  body.q-theme-desktop-dark .card,body.q-theme-desktop-dark .topbar,body.q-theme-desktop-dark .dropdown-menu,body.q-theme-desktop-dark .post-modal-card,body.q-theme-desktop-dark .verify-box,body.q-theme-desktop-dark .stat-card{background:var(--card)!important;border-color:var(--line)!important;color:var(--text)!important}
  body.q-theme-desktop-dark input,body.q-theme-desktop-dark textarea,body.q-theme-desktop-dark select,body.q-theme-desktop-dark .composer-fake,body.q-theme-desktop-dark .search input{background:#0f172a!important;border-color:#334155!important;color:#e5e7eb!important}
  body.q-theme-desktop-dark .muted,body.q-theme-desktop-dark .small,body.q-theme-desktop-dark .brand-sub{color:var(--muted)!important}
  body.q-theme-desktop-dark .comment-bubble,body.q-theme-desktop-dark .badge.dark,body.q-theme-desktop-dark .react-menu{background:#1f2937!important;color:#e5e7eb!important;border-color:#334155!important}
  body.q-theme-desktop-dark .mobile-bottom-nav{background:rgba(23,32,51,.96)!important;border-color:#2b364a!important}
}
@media (max-width: 768px){
  body.q-theme-mobile-dark{--bg:#111827;--card:#172033;--text:#e5e7eb;--muted:#a8b3c7;--faint:#7f8ca3;--line:#2b364a;--soft:#1e293b;--blue:#60a5fa;--blue-2:#3b82f6;--blue-soft:#172a45;color-scheme:dark;background:var(--bg)!important;color:var(--text)!important}
  body.q-theme-mobile-dark .card,body.q-theme-mobile-dark .topbar,body.q-theme-mobile-dark .dropdown-menu,body.q-theme-mobile-dark .post-modal-card,body.q-theme-mobile-dark .verify-box,body.q-theme-mobile-dark .stat-card{background:var(--card)!important;border-color:var(--line)!important;color:var(--text)!important}
  body.q-theme-mobile-dark input,body.q-theme-mobile-dark textarea,body.q-theme-mobile-dark select,body.q-theme-mobile-dark .composer-fake,body.q-theme-mobile-dark .search input{background:#0f172a!important;border-color:#334155!important;color:#e5e7eb!important}
  body.q-theme-mobile-dark .muted,body.q-theme-mobile-dark .small,body.q-theme-mobile-dark .brand-sub{color:var(--muted)!important}
  body.q-theme-mobile-dark .comment-bubble,body.q-theme-mobile-dark .badge.dark,body.q-theme-mobile-dark .react-menu{background:#1f2937!important;color:#e5e7eb!important;border-color:#334155!important}
  body.q-theme-mobile-dark .mobile-bottom-nav{background:rgba(23,32,51,.96)!important;border-color:#2b364a!important}
}

/* The central mobile action must not stick to the top edge of the tab bar */
@media(max-width:760px){
  .mobile-app-topbar .mobile-bottom-nav .write-btn,
  .topbar .mobile-bottom-nav .nav-write,
  .mobile-bottom-nav .nav-write{margin-top:-7px!important;height:56px!important;min-height:56px!important;min-width:58px!important;border-radius:19px!important;align-self:flex-start!important}
  .mobile-app-topbar .mobile-bottom-nav{align-items:flex-start!important;padding-top:7px!important}
}
@media(max-width:360px){.mobile-app-topbar .mobile-bottom-nav .write-btn,.topbar .mobile-bottom-nav .nav-write,.mobile-bottom-nav .nav-write{margin-top:-4px!important;height:52px!important;min-height:52px!important;min-width:54px!important}}

/* Reaction menu must be visible on touch devices; previous overflow hidden clipped the icons */
.post-actions,.post-actions.icon-actions{overflow:visible!important;position:relative!important}
.react-wrap{position:relative!important;overflow:visible!important;z-index:20!important}
.react-menu{display:flex!important;opacity:0;visibility:hidden;pointer-events:none;z-index:5000!important;overflow:visible!important;max-width:none!important;color:#111827!important}
.react-wrap:hover .react-menu,.react-wrap:focus-within .react-menu,.react-wrap.is-open .react-menu{opacity:1!important;visibility:visible!important;pointer-events:auto!important;transform:translateY(0) scale(1)!important}
.react-menu button{display:grid!important;place-items:center!important;color:#111827!important;background:#fff!important;border:1px solid rgba(15,23,42,.05)!important}
.react-menu button svg,.react-menu .li-icon{display:block!important;width:20px!important;height:20px!important;stroke:currentColor!important;fill:none!important}
@media(max-width:760px){.react-menu{right:auto!important;left:0!important;bottom:44px!important;max-width:calc(100vw - 24px)!important;overflow-x:auto!important}.react-menu button{width:38px!important;height:38px!important;flex:0 0 38px!important}.post-actions,.post-actions.icon-actions{overflow:visible!important}}

/* Visibility ribbon: hanging tag, no overlap with the three-dot menu */
.post{position:relative!important;overflow:visible!important;padding-top:0!important}
.visibility-ribbon{position:absolute!important;top:0!important;right:18px!important;left:auto!important;width:54px!important;height:48px!important;border-radius:0 0 10px 10px!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:0 4px!important;transform:none!important;box-shadow:0 9px 20px rgba(16,24,40,.16)!important;z-index:4!important;color:#fff!important;background:#0a66c2!important;border:0!important;clip-path:polygon(0 0,100% 0,100% 76%,50% 100%,0 76%)!important}
.visibility-ribbon span{display:block!important;font-size:9px!important;font-weight:900!important;line-height:1.2!important;text-align:center!important;color:#fff!important;max-width:44px!important;white-space:normal!important}
.visibility-ribbon svg{display:none!important}.visibility-public{background:#0a66c2!important}.visibility-followers{background:#f59e0b!important}.visibility-private{background:#dc2626!important}
.post-head{padding-top:56px!important}.post-head .dropdown{z-index:8!important}
@media(max-width:760px){.visibility-ribbon{right:12px!important;top:0!important;width:50px!important;height:44px!important}.visibility-ribbon span{font-size:8.5px!important}.post-head{padding-top:50px!important}}

.profile-logout-form{display:inline-flex!important;margin:0}.profile-logout-btn{width:42px!important;height:42px!important;padding:0!important;min-width:42px!important;border-radius:12px!important}


/* Qafaseh v4.3 - production hardening, real dark mode, faster perceived loading */
.q-honeypot{position:absolute!important;right:-9999px!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}

body.q-theme-desktop-dark, body.q-theme-mobile-dark{transition:background-color .18s ease,color .18s ease}
@media (min-width:769px){
  body.q-theme-desktop-dark{--bg:#0b1220;--card:#111827;--text:#e5e7eb;--muted:#a8b3c7;--faint:#8b98ad;--line:#263244;--soft:#162033;--blue:#60a5fa;--blue-2:#3b82f6;--blue-soft:#12243b;background:#0b1220!important;color:#e5e7eb!important;color-scheme:dark}
  body.q-theme-desktop-dark .card,body.q-theme-desktop-dark .profile-hero,body.q-theme-desktop-dark .composer,body.q-theme-desktop-dark .topbar,body.q-theme-desktop-dark .post-modal-card,body.q-theme-desktop-dark .dropdown-menu,body.q-theme-desktop-dark .verify-box,body.q-theme-desktop-dark .stat-card,body.q-theme-desktop-dark .side-box,body.q-theme-desktop-dark .network-card{background:#111827!important;border-color:#263244!important;color:#e5e7eb!important;box-shadow:none!important}
  body.q-theme-desktop-dark .post-body,body.q-theme-desktop-dark .post-title,body.q-theme-desktop-dark h1,body.q-theme-desktop-dark h2,body.q-theme-desktop-dark h3,body.q-theme-desktop-dark h4,body.q-theme-desktop-dark .comment-bubble p{color:#e5e7eb!important}
  body.q-theme-desktop-dark .muted,body.q-theme-desktop-dark .small,body.q-theme-desktop-dark .brand-sub,body.q-theme-desktop-dark .post-stats,body.q-theme-desktop-dark .comment-actions{color:#a8b3c7!important}
  body.q-theme-desktop-dark input,body.q-theme-desktop-dark textarea,body.q-theme-desktop-dark select,body.q-theme-desktop-dark .composer-fake,body.q-theme-desktop-dark .search input{background:#0f172a!important;border-color:#334155!important;color:#e5e7eb!important}
  body.q-theme-desktop-dark input::placeholder,body.q-theme-desktop-dark textarea::placeholder{color:#7f8ca3!important}
  body.q-theme-desktop-dark .comment-bubble,body.q-theme-desktop-dark .badge.dark,body.q-theme-desktop-dark .react-menu,body.q-theme-desktop-dark .tag,body.q-theme-desktop-dark .btn.ghost{background:#1f2937!important;color:#e5e7eb!important;border-color:#334155!important}
  body.q-theme-desktop-dark .divider,body.q-theme-desktop-dark .stat-row,body.q-theme-desktop-dark .post-actions,body.q-theme-desktop-dark .post-stats{border-color:#263244!important}
}
@media (max-width:768px){
  body.q-theme-mobile-dark{--bg:#0b1220;--card:#111827;--text:#e5e7eb;--muted:#a8b3c7;--faint:#8b98ad;--line:#263244;--soft:#162033;--blue:#60a5fa;--blue-2:#3b82f6;--blue-soft:#12243b;background:#0b1220!important;color:#e5e7eb!important;color-scheme:dark}
  body.q-theme-mobile-dark .card,body.q-theme-mobile-dark .profile-hero,body.q-theme-mobile-dark .composer,body.q-theme-mobile-dark .topbar,body.q-theme-mobile-dark .mobile-bottom-nav,body.q-theme-mobile-dark .post-modal-card,body.q-theme-mobile-dark .dropdown-menu,body.q-theme-mobile-dark .verify-box,body.q-theme-mobile-dark .stat-card,body.q-theme-mobile-dark .side-box,body.q-theme-mobile-dark .network-card{background:#111827!important;border-color:#263244!important;color:#e5e7eb!important;box-shadow:none!important}
  body.q-theme-mobile-dark .post-body,body.q-theme-mobile-dark .post-title,body.q-theme-mobile-dark h1,body.q-theme-mobile-dark h2,body.q-theme-mobile-dark h3,body.q-theme-mobile-dark h4,body.q-theme-mobile-dark .comment-bubble p{color:#e5e7eb!important}
  body.q-theme-mobile-dark .muted,body.q-theme-mobile-dark .small,body.q-theme-mobile-dark .brand-sub,body.q-theme-mobile-dark .post-stats,body.q-theme-mobile-dark .comment-actions{color:#a8b3c7!important}
  body.q-theme-mobile-dark input,body.q-theme-mobile-dark textarea,body.q-theme-mobile-dark select,body.q-theme-mobile-dark .composer-fake,body.q-theme-mobile-dark .search input{background:#0f172a!important;border-color:#334155!important;color:#e5e7eb!important}
  body.q-theme-mobile-dark input::placeholder,body.q-theme-mobile-dark textarea::placeholder{color:#7f8ca3!important}
  body.q-theme-mobile-dark .comment-bubble,body.q-theme-mobile-dark .badge.dark,body.q-theme-mobile-dark .react-menu,body.q-theme-mobile-dark .tag,body.q-theme-mobile-dark .btn.ghost{background:#1f2937!important;color:#e5e7eb!important;border-color:#334155!important}
  body.q-theme-mobile-dark .divider,body.q-theme-mobile-dark .stat-row,body.q-theme-mobile-dark .post-actions,body.q-theme-mobile-dark .post-stats{border-color:#263244!important}
}

/* micro performance: avoid rendering off-screen heavy cards until needed in modern browsers */
.post.card,.profile-hero,.smart-card{content-visibility:auto;contain-intrinsic-size:1px 420px}

/* Qafaseh v4.4 - stability polish: desktop dark mode, better guest CTA, profile icon buttons, log viewer, reaction mobile fix */
body.q-dark-active{--bg:#0b1220;--card:#111827;--text:#e5e7eb;--muted:#a8b3c7;--faint:#8b98ad;--line:#263244;--soft:#162033;--blue:#60a5fa;--blue-2:#3b82f6;--blue-soft:#12243b;background:#0b1220!important;color:#e5e7eb!important;color-scheme:dark}
body.q-dark-active .card,body.q-dark-active .profile-hero,body.q-dark-active .composer,body.q-dark-active .topbar,body.q-dark-active .mobile-bottom-nav,body.q-dark-active .post-modal-card,body.q-dark-active .dropdown-menu,body.q-dark-active .verify-box,body.q-dark-active .stat-card,body.q-dark-active .side-box,body.q-dark-active .network-card,body.q-dark-active .guest-wall{background:#111827!important;border-color:#263244!important;color:#e5e7eb!important;box-shadow:none!important}
body.q-dark-active .post-body,body.q-dark-active .post-title,body.q-dark-active h1,body.q-dark-active h2,body.q-dark-active h3,body.q-dark-active h4,body.q-dark-active .comment-bubble p{color:#e5e7eb!important}
body.q-dark-active .muted,body.q-dark-active .small,body.q-dark-active .brand-sub,body.q-dark-active .post-stats,body.q-dark-active .comment-actions,body.q-dark-active .guest-wall p{color:#a8b3c7!important}
body.q-dark-active input,body.q-dark-active textarea,body.q-dark-active select,body.q-dark-active .composer-fake,body.q-dark-active .search input{background:#0f172a!important;border-color:#334155!important;color:#e5e7eb!important}
body.q-dark-active input::placeholder,body.q-dark-active textarea::placeholder{color:#7f8ca3!important}
body.q-dark-active .comment-bubble,body.q-dark-active .badge.dark,body.q-dark-active .react-menu,body.q-dark-active .tag,body.q-dark-active .btn.ghost{background:#1f2937!important;color:#e5e7eb!important;border-color:#334155!important}
body.q-dark-active .divider,body.q-dark-active .stat-row,body.q-dark-active .post-actions,body.q-dark-active .post-stats{border-color:#263244!important}

.guest-cta-card{max-width:560px!important;margin:auto!important;right:0!important;left:0!important;padding:26px!important;border-radius:24px!important;background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(248,251,255,.96))!important;box-shadow:0 24px 70px rgba(10,102,194,.16)!important}
.guest-cta-mark{width:54px;height:54px;margin:0 auto 12px;border-radius:18px;background:linear-gradient(135deg,#0a66c2,#004182);color:#fff;display:grid;place-items:center;font-weight:950;font-size:22px;box-shadow:0 12px 30px rgba(10,102,194,.24)}
.guest-cta-card h3{font-size:21px!important;letter-spacing:-.4px!important}.guest-cta-actions{display:flex;gap:10px;justify-content:center;align-items:center;margin-top:14px}.guest-cta-actions .btn{min-width:92px!important;border-radius:13px!important}

.profile-icon-btn{width:42px!important;height:42px!important;min-width:42px!important;border:1px solid var(--line)!important;background:#fff!important;color:#344054!important;border-radius:13px!important;display:inline-grid!important;place-items:center!important;padding:0!important;cursor:pointer!important;transition:.16s ease!important}
.profile-icon-btn:hover{background:#eef3f8!important;color:var(--blue)!important;transform:translateY(-1px)!important}.profile-icon-btn.is-followed{background:#e8f3ff!important;color:var(--blue)!important}.profile-icon-btn svg{width:19px!important;height:19px!important}.hero-actions{gap:7px!important;align-items:center!important}.profile-logout-form{display:inline-flex!important;margin:0!important}.profile-logout-btn{color:#d92d20!important}
body.q-dark-active .profile-icon-btn{background:#0f172a!important;border-color:#334155!important;color:#e5e7eb!important}body.q-dark-active .profile-icon-btn:hover{background:#1f2937!important;color:#60a5fa!important}

.password-panel{border:1px solid var(--line);background:#f8fafc;border-radius:16px;padding:16px;margin:16px 0}.password-panel h3{margin:0 0 4px}.password-panel p{margin:0 0 12px}body.q-dark-active .password-panel{background:#0f172a;border-color:#334155}

.log-viewer{background:#0b1220;color:#d1e7ff;border-radius:14px;border:1px solid #1e293b;max-height:70vh;overflow:auto;padding:16px;direction:ltr;text-align:left;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:12px;line-height:1.7;white-space:pre-wrap}.log-toolbar{display:flex;justify-content:flex-end;margin:8px 0 12px}.admin-log-page .section-head{margin-bottom:10px}

.react-menu form{display:flex!important;flex:0 0 auto!important;margin:0!important}.react-menu{gap:6px!important;align-items:center!important}.react-menu button{position:relative!important}.react-menu button::after{content:'';position:absolute;inset:-8px;border-radius:50%}.react-menu button svg{opacity:1!important;visibility:visible!important;stroke:currentColor!important;color:#111827!important}body.q-dark-active .react-menu button{background:#fff!important;color:#111827!important}
@media(max-width:760px){.react-menu{min-width:max-content!important;padding:7px!important}.react-menu form{display:flex!important}.react-menu button{display:grid!important;opacity:1!important;visibility:visible!important}.profile-icon-btn{width:40px!important;height:40px!important;min-width:40px!important}.guest-cta-card{left:16px!important;right:16px!important;max-width:none!important;padding:22px 18px!important}.guest-cta-card h3{font-size:18px!important}.guest-cta-actions .btn{flex:1!important}}

/* Qafaseh v4.5 - public beta: onboarding, invitations, report refinement, docs */
.page-doc{max-width:920px;margin:22px auto;line-height:2}.page-doc h1{margin-bottom:10px}.page-doc h3{margin-top:24px}.help-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.help-grid>div{border:1px solid var(--line);border-radius:16px;padding:14px;background:var(--soft)}
.onboarding-inline{background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;border-radius:14px;padding:12px 14px;margin:12px 0;font-weight:700}.onboarding-hero{text-align:center;margin-bottom:16px}.onboarding-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:16px}.onboarding-steps>div{border:1px solid var(--line);border-radius:16px;padding:14px;background:var(--soft);display:flex;gap:10px;align-items:center}.onboarding-steps b{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--blue);color:#fff}.onboarding-actions{display:flex;gap:10px;justify-content:center;margin-top:16px}.empty-feed-start{text-align:center;padding:34px!important}.empty-feed-start h3{margin:0 0 8px}.invite-create-form{align-items:end}.copyable{min-width:260px;background:#f8fafc!important;border:1px solid var(--line)!important;border-radius:9px!important;padding:8px!important;font-size:12px!important}
.report-details{border-top:1px solid var(--line);padding-top:8px;margin-top:4px}.report-details summary{cursor:pointer;display:flex;align-items:center;gap:8px;color:#b42318;font-weight:800}.report-pro-form{display:grid!important;gap:8px!important;min-width:260px;padding:10px 0 2px}.report-pro-form select,.report-pro-form input,.report-pro-form textarea{width:100%!important;border:1px solid var(--line)!important;border-radius:10px!important;padding:8px!important;font-size:12px!important;background:#fff!important}.report-pro-form textarea{height:70px!important;resize:vertical}.report-pro-form button{justify-content:center;color:#b42318!important}.badge.danger{background:#fee4e2!important;color:#b42318!important}
.footer-note a{color:inherit;text-decoration:none;font-weight:700}.footer-note a:hover{color:var(--blue)}
body.q-dark-active .help-grid>div,body.q-dark-active .onboarding-steps>div,body.q-dark-active .copyable,body.q-dark-active .report-pro-form select,body.q-dark-active .report-pro-form input,body.q-dark-active .report-pro-form textarea{background:#0f172a!important;border-color:#334155!important;color:#e5e7eb!important}body.q-dark-active .onboarding-inline{background:#2a1708!important;border-color:#7c2d12!important;color:#fed7aa!important}
@media(max-width:760px){.help-grid,.onboarding-steps{grid-template-columns:1fr}.onboarding-actions{flex-direction:column}.invite-create-form{display:grid!important}.copyable{min-width:0;width:100%}.report-pro-form{min-width:220px}.page-doc{margin:12px 0}}


/* v46 hardening */
.report-details[open] .report-pro-form{position:fixed;inset:auto 50%;top:120px;transform:translateX(50%);z-index:4000;width:min(460px,calc(100vw - 32px));background:var(--card,#fff);border:1px solid var(--border,#d8e0ea);box-shadow:0 24px 70px rgba(15,23,42,.24);border-radius:18px;padding:14px;display:grid;gap:10px}.report-pro-form textarea{min-height:90px}.report-details summary{cursor:pointer}.admin-pages-editor .html-editor{min-height:210px;font-family:monospace}.log-toolbar{display:flex;gap:10px;align-items:center}.btn.danger{background:#fee2e2;color:#b91c1c}.mini-reset-form{margin-top:6px;display:flex;gap:6px;align-items:center;flex-wrap:wrap}.mini-reset-form input{max-width:140px}.polished-auth{max-width:440px;margin:40px auto;text-align:center}.auth-mark{width:56px;height:56px;border-radius:18px;background:#0a66c2;color:#fff;display:grid;place-items:center;margin:0 auto 12px;font-weight:800;font-size:24px}.auth-form{display:grid;gap:12px;text-align:right}.btn.full{width:100%;justify-content:center}.muted-link{display:block;margin-top:14px;color:#64748b}.compact-work-editor .studio-editor{max-width:760px;margin:0 auto}.compact-work-editor .type-template-hints{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.compact-work-editor .type-hint{padding:10px;border-radius:14px}.visibility-ribbon{width:auto!important;min-width:34px;height:34px;padding:0!important;left:14px!important;top:14px!important;transform:none!important;border-radius:0 0 10px 10px;display:grid;place-items:center;box-shadow:0 8px 20px rgba(15,23,42,.18)}.visibility-ribbon span{font-size:0}.visibility-ribbon span:before{font-size:17px}.visibility-ribbon.visibility-public span:before{content:'🌐'}.visibility-ribbon.visibility-followers span:before{content:'👥'}.visibility-ribbon.visibility-private span:before{content:'🔒'}.visibility-ribbon.visibility-public{background:#2563eb}.visibility-ribbon.visibility-followers{background:#f59e0b}.visibility-ribbon.visibility-private{background:#dc2626}.profile-avatar[onclick],.profile-cover[onclick]{cursor:pointer}.profile-avatar[onclick]:hover,.profile-cover[onclick]:hover{filter:brightness(.92)}.field .field-error,.form-error{color:#b91c1c;background:#fff1f2;border:1px solid #fecdd3;border-radius:10px;padding:8px 10px;margin-top:6px}.q-guest main.container{max-height:calc(100vh - 150px);overflow:hidden}.q-guest:not(.q-authenticated) .guest-lockable{filter:blur(8px);pointer-events:none;user-select:none}@media(max-width:768px){.report-details[open] .report-pro-form{top:76px}.compact-work-editor .type-template-hints{grid-template-columns:1fr}.admin-tabs{overflow-x:auto;white-space:nowrap}.admin-tabs a span{font-size:11px}.auth-shell{padding:12px}.polished-auth{margin:12px auto}.mini-reset-form input{max-width:none;width:100%}}
@media(min-width:769px){
body.q-theme-desktop-dark{--bg:#0f172a;--card:#111827;--text:#e5e7eb;--muted:#94a3b8;--border:#334155;background:#0f172a;color:#e5e7eb}body.q-theme-desktop-dark .card,body.q-theme-desktop-dark .topbar,body.q-theme-desktop-dark .dropdown-menu,body.q-theme-desktop-dark input,body.q-theme-desktop-dark textarea,body.q-theme-desktop-dark select{background:#111827!important;color:#e5e7eb!important;border-color:#334155!important}body.q-theme-desktop-dark .muted{color:#94a3b8!important}
}
@media(max-width:768px){body.q-theme-mobile-dark{--bg:#0f172a;--card:#111827;--text:#e5e7eb;--muted:#94a3b8;--border:#334155;background:#0f172a;color:#e5e7eb}body.q-theme-mobile-dark .card,body.q-theme-mobile-dark .topbar,body.q-theme-mobile-dark .mobile-bottom-nav,body.q-theme-mobile-dark input,body.q-theme-mobile-dark textarea,body.q-theme-mobile-dark select{background:#111827!important;color:#e5e7eb!important;border-color:#334155!important}}

/* Qafaseh v4.7 - compact visibility, clickable profile media, stable actions, polished password */
.visibility-ribbon{display:none!important}
.work-card,.post.card{position:relative!important;overflow:visible!important}
.visibility-chip{position:absolute;top:10px;left:10px;z-index:7;width:26px;height:26px;border-radius:999px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.92);box-shadow:0 8px 22px rgba(15,23,42,.16);color:#fff!important}
.visibility-chip .li-icon{width:14px;height:14px}.visibility-chip.visibility-public{background:#0a66c2}.visibility-chip.visibility-followers{background:#f59e0b}.visibility-chip.visibility-private{background:#dc2626}
.post-head{padding-top:14px!important}.post-head .dropdown{z-index:10!important}.visibility-chip + .post-head{padding-left:48px!important}
@media(max-width:760px){.visibility-chip{top:9px;left:9px;width:24px;height:24px}.visibility-chip .li-icon{width:13px;height:13px}.visibility-chip + .post-head{padding-left:42px!important}}

.act.is-active,.act:disabled,.react-menu button.is-active,.react-menu button:disabled{background:#e8f3ff!important;color:var(--blue)!important;opacity:1!important;cursor:default!important;box-shadow:inset 0 0 0 1px rgba(10,102,194,.12)}
.react-menu button:disabled:hover{transform:none!important}

.hero-cover-upload{border:0!important;width:100%!important;display:block!important;text-align:center!important;cursor:pointer!important;position:relative!important;background-size:cover!important;background-position:center!important;color:#fff!important}
.hero-cover-upload span{position:absolute;left:18px;bottom:16px;background:rgba(15,23,42,.62);backdrop-filter:blur(6px);border:1px solid rgba(255,255,255,.28);border-radius:999px;padding:6px 12px;font-size:12px;font-weight:850;color:#fff;opacity:0;transform:translateY(4px);transition:.16s ease}
.hero-cover-upload:hover span{opacity:1;transform:translateY(0)}
.hero-avatar-upload{border:0;background:transparent;padding:0;margin:-66px 24px 0 0;position:relative;display:inline-block;cursor:pointer;border-radius:50%;vertical-align:top}
.hero-avatar-upload .hero-avatar{margin:0!important;display:block!important}
.hero-avatar-upload span{position:absolute;inset:auto 50% -8px auto;transform:translateX(50%);white-space:nowrap;background:#111827;color:#fff;border-radius:999px;padding:4px 9px;font-size:11px;font-weight:850;opacity:0;transition:.15s ease;box-shadow:0 6px 18px rgba(15,23,42,.2)}
.hero-avatar-upload:hover span{opacity:1;bottom:-2px}

.forgot-polished{max-width:460px;margin:44px auto!important;padding:28px!important;border-radius:24px!important;background:linear-gradient(180deg,#fff,#f8fbff)!important;box-shadow:0 24px 70px rgba(10,102,194,.14)!important;border:1px solid var(--line)!important}.forgot-polished .auth-mark{width:58px;height:58px;border-radius:18px;background:linear-gradient(135deg,var(--blue),var(--blue-2));color:#fff;display:grid;place-items:center;font-weight:950;font-size:24px;margin:0 auto 12px}.forgot-polished h1{text-align:center;margin:0 0 8px}.forgot-polished p{text-align:center}.forgot-polished .full{width:100%}.auth-links-row{display:flex;justify-content:center;gap:16px;margin-top:14px}.field-error{display:block;color:#b42318;background:#fff1f2;border:1px solid #fecdd3;border-radius:9px;padding:6px 9px;margin-top:6px;font-size:12px}
body.q-dark-active .forgot-polished{background:#111827!important;border-color:#263244!important}body.q-dark-active .field-error{background:#2a1115;border-color:#7f1d1d;color:#fecdd3}

.admin-tabs{overflow-x:auto!important;white-space:nowrap!important;scrollbar-width:thin}.admin-tabs a{flex:0 0 auto!important}.html-editor{min-height:260px!important;font-family:Vazirmatn,Tahoma,Arial,sans-serif!important;line-height:1.9!important}


/* Qafaseh v4.8 - compact visibility icon, profile instant upload, cleaner social row */
.visibility-ribbon{display:none!important}
.post.card{position:relative!important;overflow:visible!important}
.visibility-chip{position:absolute!important;top:10px!important;left:10px!important;z-index:12!important;width:22px!important;height:22px!important;min-width:22px!important;border-radius:999px!important;display:grid!important;place-items:center!important;padding:0!important;border:1px solid rgba(255,255,255,.95)!important;box-shadow:0 5px 14px rgba(15,23,42,.16)!important;color:#fff!important;font-size:0!important;line-height:1!important}
.visibility-chip .li-icon,.visibility-chip svg{width:12px!important;height:12px!important;stroke-width:2.4!important;color:#fff!important}
.visibility-chip.visibility-public{background:#0a66c2!important}.visibility-chip.visibility-followers{background:#f59e0b!important}.visibility-chip.visibility-private{background:#dc2626!important}
.visibility-chip + .post-head{padding-left:38px!important;padding-top:12px!important}
@media(max-width:760px){.visibility-chip{width:20px!important;height:20px!important;min-width:20px!important;top:9px!important;left:9px!important}.visibility-chip .li-icon,.visibility-chip svg{width:11px!important;height:11px!important}.visibility-chip + .post-head{padding-left:34px!important}}

.quick-profile-upload-form{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;overflow:hidden!important}
.hero-cover-upload,.hero-avatar-upload{cursor:pointer!important}.hero-cover-upload:active,.hero-avatar-upload:active{transform:scale(.995)}

.comment-hint{display:none!important}
.comment-box{border-top:0!important}.comment-input-wrap{min-width:0!important}.comment-box textarea{background:#fff!important}.comment-thread-people,.reaction-people{display:flex!important;align-items:center!important;gap:0!important}.reaction-person{margin-inline-start:-6px!important}.reaction-person:first-child{margin-inline-start:0!important}.reaction-person img{width:28px!important;height:28px!important;border:2px solid #fff!important;border-radius:50%!important;object-fit:cover!important}.reaction-person span{right:auto!important;left:-2px!important;bottom:-2px!important;width:15px!important;height:15px!important;border-radius:50%!important;background:#fff!important;display:grid!important;place-items:center!important;border:1px solid var(--line)!important}.reaction-person span svg{width:10px!important;height:10px!important}
.site-favicon-preview{width:32px;height:32px;border-radius:8px;border:1px solid var(--line);object-fit:contain;background:#fff;margin:4px 0 8px;display:block}.field-end{display:flex;flex-direction:column;justify-content:end}.test-mail-form{margin-top:14px}.inline-admin-form .btn.danger{white-space:nowrap}


/* Qafaseh v4.9 - support form, slim icon ribbon, visitors cap */
.visibility-chip{display:none!important}
.post.card{position:relative!important;overflow:visible!important}
.visibility-ribbon{display:flex!important;position:absolute!important;top:10px!important;left:10px!important;right:auto!important;z-index:14!important;width:38px!important;height:28px!important;min-width:38px!important;border-radius:7px 7px 11px 11px!important;align-items:center!important;justify-content:center!important;padding:0!important;transform:none!important;clip-path:polygon(0 0,100% 0,100% 72%,50% 100%,0 72%)!important;box-shadow:0 7px 18px rgba(15,23,42,.18)!important;border:1px solid rgba(255,255,255,.75)!important;color:#fff!important;font-size:0!important;line-height:1!important}
.visibility-ribbon .li-icon,.visibility-ribbon svg{display:block!important;width:14px!important;height:14px!important;color:#fff!important;stroke-width:2.35!important}
.visibility-ribbon i,.visibility-ribbon span{display:none!important}
.visibility-ribbon.visibility-public{background:#0a66c2!important}.visibility-ribbon.visibility-followers{background:#f59e0b!important}.visibility-ribbon.visibility-private{background:#dc2626!important}
.visibility-ribbon + .post-head{padding-left:52px!important;padding-top:12px!important}
@media(max-width:760px){.visibility-ribbon{width:34px!important;height:25px!important;top:9px!important;left:9px!important}.visibility-ribbon .li-icon,.visibility-ribbon svg{width:13px!important;height:13px!important}.visibility-ribbon + .post-head{padding-left:46px!important}}
.support-shell{max-width:820px!important;margin:28px auto!important}.support-card{padding:26px!important;border-radius:24px!important}.support-head{display:flex;gap:14px;align-items:center;margin-bottom:18px}.support-mark{width:50px;height:50px;border-radius:16px;background:linear-gradient(135deg,var(--blue),#004182);color:#fff;display:grid;place-items:center}.support-mark svg{width:24px;height:24px}.hp-field{position:absolute!important;right:-9999px!important;opacity:0!important}.status-pill.status-open{background:#fff7ed;color:#c2410c}.status-pill.status-reviewing{background:#eff6ff;color:#1d4ed8}.status-pill.status-closed{background:#ecfdf3;color:#047857}.admin-inline-form{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.admin-inline-form input{min-width:180px}.btn-mini{border:0;border-radius:10px;background:#eef3f8;color:#0a66c2;font-weight:800;padding:7px 10px;cursor:pointer}.footer-note a[href*="support"]{font-weight:800;color:var(--blue)}


/* v50 health and release candidate polish */
.health-summary{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.health-pill{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:7px 12px;font-size:12px;font-weight:800}.health-pill.ok{background:#ecfdf5;color:#047857}.health-pill.bad{background:#fef2f2;color:#b91c1c}.health-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.health-item{display:flex;gap:12px;align-items:flex-start;border:1px solid var(--border);border-radius:16px;padding:14px;background:var(--card)}.health-icon{width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:900;flex:0 0 auto}.health-item.is-ok .health-icon{background:#dcfce7;color:#15803d}.health-item.is-bad .health-icon{background:#fee2e2;color:#b91c1c}.health-body h3{margin:0 0 6px;font-size:14px}.health-value{font-size:12px;color:var(--muted);direction:ltr;text-align:left;word-break:break-all}.health-body p{margin:7px 0 0;color:var(--muted);font-size:12px;line-height:1.8}@media(max-width:760px){.health-grid{grid-template-columns:1fr}.health-summary{width:100%}.health-pill{flex:1}}


/* Qafaseh v5.1 - calm corner ribbon, draggable profile media, safe error page */
.visibility-chip{display:none!important}
.visibility-ribbon{
  display:flex!important;position:absolute!important;top:0!important;left:14px!important;right:auto!important;z-index:11!important;
  width:42px!important;height:42px!important;min-width:42px!important;border-radius:0 0 12px 12px!important;
  align-items:center!important;justify-content:center!important;padding:0!important;transform:none!important;
  clip-path:polygon(0 0,100% 0,100% 68%,50% 100%,0 68%)!important;
  box-shadow:0 8px 22px rgba(15,23,42,.13)!important;border:1px solid rgba(255,255,255,.85)!important;
  color:#fff!important;font-size:0!important;line-height:1!important;backdrop-filter:blur(8px)!important;
}
.visibility-ribbon .li-icon,.visibility-ribbon svg{display:block!important;width:15px!important;height:15px!important;color:#fff!important;stroke-width:2.35!important}
.visibility-ribbon i{display:block!important;position:absolute!important;left:-5px!important;top:10px!important;width:8px!important;height:8px!important;border-radius:50%!important;background:#fff!important;border:1px solid rgba(15,23,42,.14)!important;box-shadow:0 2px 6px rgba(15,23,42,.14)!important}
.visibility-ribbon span{display:none!important}
.visibility-ribbon.visibility-public{background:linear-gradient(180deg,#82b6e8,#5e9bd6)!important}
.visibility-ribbon.visibility-followers{background:linear-gradient(180deg,#f6c77d,#e6a843)!important}
.visibility-ribbon.visibility-private{background:linear-gradient(180deg,#ee8d8d,#d86969)!important}
.visibility-ribbon + .post-head{padding-left:58px!important;padding-top:13px!important}
.post-head .dropdown{z-index:20!important}
@media(max-width:760px){.visibility-ribbon{width:36px!important;height:36px!important;left:10px!important}.visibility-ribbon .li-icon,.visibility-ribbon svg{width:13px!important;height:13px!important}.visibility-ribbon + .post-head{padding-left:50px!important}}
.q-positionable-media{touch-action:none;cursor:grab;user-select:none;background-size:cover!important}.q-positionable-media:active{cursor:grabbing}.hero-avatar{object-fit:cover!important}.hero-cover-upload span,.hero-avatar-upload span{pointer-events:none}.profile-media-saving:after{content:'ذخیره جای تصویر...';position:absolute;right:16px;bottom:12px;background:rgba(17,24,39,.78);color:#fff;border-radius:999px;padding:5px 10px;font-size:11px;z-index:5}.polished-error{max-width:520px;margin:56px auto;padding:34px;text-align:center}.error-mark{width:74px;height:74px;border-radius:24px;background:#eef3f8;color:#0a66c2;display:grid;place-items:center;margin:0 auto 12px;font-weight:950;font-size:22px}.error-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:18px}body.q-dark-active .error-mark{background:#1f2937;color:#93c5fd}


/* Qafaseh v5.2 - cleaner health checklist and reliable profile media positioning */
.health-hero-clean{display:flex;justify-content:space-between;align-items:center;gap:18px}.health-summary.compact{display:flex;gap:8px;align-items:center}.health-checklist-card{overflow:hidden}.health-checklist-head,.health-check-row{display:grid;grid-template-columns:1.15fr 140px 1fr 1.25fr;gap:14px;align-items:center}.health-checklist-head{padding:12px 16px;background:var(--soft);font-weight:900;color:#475569;border-bottom:1px solid var(--line);font-size:12px}.health-check-row{padding:13px 16px;border-bottom:1px solid var(--line);transition:.15s}.health-check-row:last-child{border-bottom:0}.health-check-row:hover{background:#fafcff}.health-check-title{display:flex;align-items:center;gap:9px}.health-dot{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;font-weight:950}.health-check-row.is-ok .health-dot{background:#dcfce7;color:#15803d}.health-check-row.is-bad .health-dot{background:#fee2e2;color:#b91c1c}.health-status{display:inline-flex;align-items:center;border-radius:999px;padding:4px 10px;font-size:12px;font-weight:900}.health-status.ok{background:#dcfce7;color:#15803d}.health-status.bad{background:#fee2e2;color:#b91c1c}.health-check-value{color:#334155;direction:ltr;text-align:right;word-break:break-word}.health-check-hint{color:#64748b;font-size:12px;line-height:1.8}.hero-cover-upload,.hero-avatar-upload{position:relative}.media-upload-chip,.media-drag-chip{position:absolute;z-index:6;background:rgba(15,23,42,.80);color:#fff;border-radius:999px;padding:5px 10px;font-size:11px;font-weight:850;opacity:0;transform:translateY(5px);transition:.18s;pointer-events:none}.media-upload-chip{right:14px;top:12px}.media-drag-chip{left:14px;bottom:12px}.avatar-chip{right:50%;top:auto;bottom:-30px;transform:translateX(50%) translateY(4px)}.avatar-drag-chip{left:50%;bottom:-58px;transform:translateX(-50%) translateY(4px)}.q-positionable-media:hover .media-upload-chip,.q-positionable-media:hover .media-drag-chip,.q-positionable-media.is-dragging-ready .media-upload-chip,.q-positionable-media.is-dragging-ready .media-drag-chip{opacity:1;transform:translateY(0)}.hero-avatar-upload:hover .avatar-chip,.hero-avatar-upload.is-dragging-ready .avatar-chip{transform:translateX(50%) translateY(0)}.hero-avatar-upload:hover .avatar-drag-chip,.hero-avatar-upload.is-dragging-ready .avatar-drag-chip{transform:translateX(-50%) translateY(0)}.q-positionable-media.is-dragging{box-shadow:inset 0 0 0 2px rgba(10,102,194,.35)!important}.q-positionable-media.is-dragging:after{content:'رها کن تا ذخیره شود';position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:rgba(10,102,194,.92);color:#fff;border-radius:999px;padding:7px 13px;font-size:12px;font-weight:900;z-index:7;white-space:nowrap}.hero-avatar-upload.q-positionable-media.is-dragging:after{top:110%;}
@media(max-width:760px){.health-hero-clean{display:block}.health-summary.compact{margin-top:12px}.health-checklist-head{display:none}.health-check-row{display:block;padding:14px}.health-check-row>div{margin-top:8px}.health-check-title{margin-top:0}.health-check-value{text-align:right}.media-upload-chip,.media-drag-chip{opacity:1;font-size:10px;padding:4px 8px}.media-drag-chip{display:none}.avatar-chip{bottom:-26px}.avatar-drag-chip{display:none}}
body.q-dark-active .health-checklist-head{background:#111827;color:#cbd5e1}body.q-dark-active .health-check-row:hover{background:#0f172a}body.q-dark-active .health-check-value{color:#e5e7eb}

/* Qafaseh v5.3 - beta polish + fixed profile cover/avatar positioning */
.profile-hero{position:relative!important;overflow:hidden!important;background:var(--card)!important}
.profile-hero .hero-cover,
.profile-hero .hero-cover-upload{
  position:relative!important;
  display:block!important;
  width:100%!important;
  height:180px!important;
  margin:0!important;
  border:0!important;
  background-color:#334155!important;
  background-image:radial-gradient(circle at 16% 20%,#475569,#111827)!important;
  background-size:cover!important;
  background-repeat:no-repeat!important;
  background-position:center center;
  overflow:hidden!important;
}
.profile-hero .hero-cover-upload[style*="background-image"]{
  background-size:cover!important;
  background-repeat:no-repeat!important;
}
.profile-hero .hero-avatar-upload{
  position:relative!important;
  display:block!important;
  width:132px!important;
  height:132px!important;
  min-width:132px!important;
  min-height:132px!important;
  margin:-66px 24px 0 0!important;
  border:4px solid #fff!important;
  border-radius:50%!important;
  background:#fff!important;
  box-shadow:0 0 0 1px var(--line),0 6px 20px rgba(16,24,40,.14)!important;
  overflow:hidden!important;
  z-index:3!important;
}
.profile-hero .hero-avatar-upload .hero-avatar,
.profile-hero .hero-avatar{
  display:block!important;
  width:132px!important;
  height:132px!important;
  max-width:none!important;
  margin:-66px 24px 0 0!important;
  object-fit:cover!important;
  border-radius:50%!important;
  background:#fff!important;
}
.profile-hero .hero-avatar-upload .hero-avatar{
  width:100%!important;
  height:100%!important;
  margin:0!important;
  border:0!important;
  box-shadow:none!important;
}
.profile-hero .q-positionable-media{
  touch-action:none!important;
  cursor:grab!important;
  user-select:none!important;
  -webkit-user-select:none!important;
}
.profile-hero .q-positionable-media.is-dragging{
  cursor:grabbing!important;
  box-shadow:inset 0 0 0 2px rgba(10,102,194,.45)!important;
}
.profile-hero .hero-avatar-upload.q-positionable-media.is-dragging{
  box-shadow:0 0 0 4px rgba(10,102,194,.22),0 8px 28px rgba(16,24,40,.18)!important;
}
.profile-hero .media-upload-chip,
.profile-hero .media-drag-chip{
  pointer-events:none!important;
  position:absolute!important;
  z-index:8!important;
  background:rgba(15,23,42,.82)!important;
  color:#fff!important;
  border-radius:999px!important;
  padding:5px 10px!important;
  font-size:11px!important;
  font-weight:850!important;
  opacity:0!important;
  transition:.18s ease!important;
  box-shadow:0 8px 22px rgba(15,23,42,.16)!important;
}
.profile-hero .media-upload-chip{right:14px!important;top:12px!important;transform:translateY(5px)!important}
.profile-hero .media-drag-chip{left:14px!important;bottom:12px!important;transform:translateY(5px)!important}
.profile-hero .q-positionable-media:hover .media-upload-chip,
.profile-hero .q-positionable-media:hover .media-drag-chip,
.profile-hero .q-positionable-media.is-dragging-ready .media-upload-chip,
.profile-hero .q-positionable-media.is-dragging-ready .media-drag-chip{
  opacity:1!important;
  transform:translateY(0)!important;
}
.profile-hero .hero-avatar-upload .avatar-chip{
  right:50%!important;top:auto!important;bottom:12px!important;transform:translateX(50%) translateY(5px)!important;
  padding:4px 8px!important;font-size:10px!important;
}
.profile-hero .hero-avatar-upload .avatar-drag-chip{
  left:50%!important;right:auto!important;bottom:38px!important;transform:translateX(-50%) translateY(5px)!important;
  padding:4px 8px!important;font-size:10px!important;
}
.profile-hero .hero-avatar-upload:hover .avatar-chip,
.profile-hero .hero-avatar-upload.is-dragging-ready .avatar-chip{opacity:1!important;transform:translateX(50%) translateY(0)!important}
.profile-hero .hero-avatar-upload:hover .avatar-drag-chip,
.profile-hero .hero-avatar-upload.is-dragging-ready .avatar-drag-chip{opacity:1!important;transform:translateX(-50%) translateY(0)!important}
.profile-media-saving:after{
  content:'ذخیره جای تصویر...'!important;
  position:absolute!important;
  right:16px!important;
  bottom:12px!important;
  background:rgba(17,24,39,.88)!important;
  color:#fff!important;
  border-radius:999px!important;
  padding:6px 11px!important;
  font-size:11px!important;
  font-weight:850!important;
  z-index:12!important;
}
.profile-media-error:after{
  content:'ذخیره نشد؛ دوباره امتحان کن'!important;
  position:absolute!important;
  right:16px!important;
  bottom:12px!important;
  background:rgba(185,28,28,.92)!important;
  color:#fff!important;
  border-radius:999px!important;
  padding:6px 11px!important;
  font-size:11px!important;
  font-weight:850!important;
  z-index:12!important;
}
@media(max-width:760px){
  .profile-hero .hero-cover,.profile-hero .hero-cover-upload{height:132px!important}
  .profile-hero .hero-avatar-upload{width:104px!important;height:104px!important;min-width:104px!important;min-height:104px!important;margin:-52px 16px 0 0!important;border-width:3px!important}
  .profile-hero .hero-avatar{width:104px!important;height:104px!important;margin:-52px 16px 0 0!important}
  .profile-hero .hero-avatar-upload .hero-avatar{width:100%!important;height:100%!important;margin:0!important}
  .profile-hero .media-upload-chip{opacity:1!important;font-size:10px!important;padding:4px 8px!important}
  .profile-hero .media-drag-chip{display:none!important}
}


/* Qafaseh v5.4 - profile media crop real fix */
.q-profile-hero.profile-hero{position:relative!important;overflow:visible!important;border-radius:14px!important;background:var(--card)!important}
.q-profile-hero .hero-cover{height:180px!important;width:100%!important;border-radius:14px 14px 0 0!important;background-color:#1f2937!important;background-size:cover!important;background-repeat:no-repeat!important;background-position:center!important;border:0!important;box-shadow:none!important;display:block!important;position:relative!important;z-index:1!important}
.q-profile-hero .hero-cover-upload{cursor:grab!important;touch-action:none!important;user-select:none!important;-webkit-user-select:none!important;outline:0!important}
.q-profile-hero .hero-cover-upload:active{cursor:grabbing!important}
.q-profile-hero .hero-cover-upload:before{content:none!important;display:none!important}
.q-profile-hero .hero-cover-upload:after{content:'برای تنظیم کادر بکش';position:absolute;right:14px;top:14px;background:rgba(15,23,42,.72);color:#fff;border-radius:999px;padding:5px 10px;font-size:11px;font-weight:850;opacity:0;transform:translateY(-3px);transition:.16s;z-index:4;pointer-events:none}
.q-profile-hero .hero-cover-upload:hover:after,.q-profile-hero .hero-cover-upload.is-dragging:after{opacity:1;transform:translateY(0)}
.q-profile-hero .hero-avatar-upload{position:relative!important;z-index:5!important;width:132px!important;height:132px!important;margin:-66px 24px 0 0!important;border-radius:50%!important;background:#fff!important;border:4px solid #fff!important;box-shadow:0 10px 26px rgba(16,24,40,.18)!important;overflow:hidden!important;cursor:grab!important;touch-action:none!important;user-select:none!important;-webkit-user-select:none!important;display:inline-block!important;vertical-align:top!important}
.q-profile-hero .hero-avatar-upload:active{cursor:grabbing!important}
.q-profile-hero .hero-avatar-upload .hero-avatar{width:100%!important;height:100%!important;margin:0!important;border-radius:50%!important;border:0!important;box-shadow:none!important;object-fit:cover!important;display:block!important;max-width:none!important}
.profile-media-action{position:absolute!important;z-index:8!important;border:0!important;background:rgba(15,23,42,.78)!important;color:#fff!important;border-radius:999px!important;padding:6px 11px!important;font-size:11px!important;font-weight:850!important;box-shadow:0 8px 22px rgba(15,23,42,.18)!important;cursor:pointer!important;line-height:1.2!important;opacity:.92!important;transition:.15s!important}
.profile-media-action:hover{opacity:1!important;transform:translateY(-1px)!important}
.cover-media-action{right:14px!important;top:136px!important}
.avatar-media-action{right:48px!important;top:250px!important}
.q-profile-hero .q-positionable-media.is-dragging{box-shadow:inset 0 0 0 2px rgba(10,102,194,.42)!important}
.q-profile-hero .hero-avatar-upload.q-positionable-media.is-dragging{box-shadow:0 0 0 4px rgba(10,102,194,.22),0 10px 26px rgba(16,24,40,.18)!important}
.profile-media-saving:after{content:'جای تصویر ذخیره شد';position:absolute;left:14px;bottom:12px;background:rgba(10,102,194,.92);color:#fff;border-radius:999px;padding:6px 11px;font-size:11px;font-weight:850;z-index:9;pointer-events:none}
.profile-media-error:after{content:'ذخیره نشد';position:absolute;left:14px;bottom:12px;background:#b42318;color:#fff;border-radius:999px;padding:6px 11px;font-size:11px;font-weight:850;z-index:9;pointer-events:none}
.q-profile-hero .media-upload-chip,.q-profile-hero .media-drag-chip{display:none!important}
@media(max-width:760px){.q-profile-hero .hero-cover{height:138px!important}.q-profile-hero .hero-avatar-upload{width:104px!important;height:104px!important;margin:-52px 16px 0 0!important}.cover-media-action{top:98px!important;right:10px!important}.avatar-media-action{top:192px!important;right:34px!important}}

/* Qafaseh v5.5 - reliable profile media positioning panel */
.q-profile-hero .cover-crop-action{right:116px!important;top:136px!important;background:rgba(15,23,42,.82)!important;color:#fff!important;border:0!important;box-shadow:0 8px 20px rgba(15,23,42,.18)!important}
.q-profile-hero .avatar-crop-action{right:108px!important;top:224px!important;background:rgba(15,23,42,.82)!important;color:#fff!important;border:0!important;box-shadow:0 8px 20px rgba(15,23,42,.18)!important}
.q-media-crop-modal{position:fixed;inset:0;z-index:2000;display:none;align-items:center;justify-content:center;background:rgba(15,23,42,.56);backdrop-filter:blur(6px);padding:16px;direction:rtl}
.q-media-crop-modal.is-open{display:flex}
.q-media-crop-card{width:min(620px,100%);background:var(--card,#fff);border:1px solid var(--line,#d7dee8);border-radius:22px;box-shadow:0 24px 70px rgba(15,23,42,.28);overflow:hidden;color:var(--text,#111827)}
.q-media-crop-head{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid var(--line,#e5e7eb);font-weight:950}
.q-media-crop-head button{width:34px;height:34px;border-radius:50%;border:0;background:#eef3f8;color:#334155;cursor:pointer;display:grid;place-items:center;font-size:20px;line-height:1}
.q-media-crop-body{padding:16px}.q-media-crop-preview{height:260px;border-radius:18px;background:#111827 center/cover no-repeat;border:1px solid var(--line,#e5e7eb);position:relative;overflow:hidden;touch-action:none;cursor:grab}.q-media-crop-preview:active{cursor:grabbing}.q-media-crop-preview.is-avatar{width:260px;height:260px;border-radius:50%;margin:auto}.q-media-crop-preview:after{content:'تصویر را بکش یا با اسلایدر تنظیم کن';position:absolute;right:50%;bottom:12px;transform:translateX(50%);background:rgba(15,23,42,.76);color:#fff;border-radius:999px;padding:6px 12px;font-size:12px;font-weight:850;white-space:nowrap}.q-media-crop-controls{display:grid;gap:12px;margin-top:16px}.q-media-crop-controls label{font-size:12px;font-weight:850;color:#64748b;display:grid;grid-template-columns:80px 1fr 42px;gap:10px;align-items:center}.q-media-crop-controls input[type=range]{width:100%;accent-color:#0a66c2}.q-media-crop-actions{display:flex;gap:10px;justify-content:flex-end;padding:14px 16px;border-top:1px solid var(--line,#e5e7eb)}.q-media-crop-actions button{border:0;border-radius:12px;padding:10px 14px;font-weight:900;cursor:pointer}.q-media-crop-save{background:#0a66c2;color:#fff}.q-media-crop-cancel{background:#eef3f8;color:#334155}.q-media-position-toast{position:fixed;right:50%;bottom:26px;transform:translateX(50%);z-index:2100;background:#111827;color:#fff;border-radius:999px;padding:9px 14px;font-size:12px;font-weight:850;box-shadow:0 12px 30px rgba(15,23,42,.24);opacity:0;pointer-events:none;transition:.18s}.q-media-position-toast.is-show{opacity:1;bottom:34px}@media(max-width:760px){.q-profile-hero .cover-crop-action{top:98px!important;right:106px!important}.q-profile-hero .avatar-crop-action{top:192px!important;right:126px!important}.q-media-crop-preview{height:210px}.q-media-crop-preview.is-avatar{width:210px;height:210px}.q-media-crop-controls label{grid-template-columns:68px 1fr 36px}}
/* v57 profile media + commerce polish */
.q-profile-hero .hero-cover{background-repeat:no-repeat!important;background-color:#182335!important;background-size:cover!important;background-position:center!important;}
.q-profile-hero .hero-avatar{background-repeat:no-repeat!important;background-color:#eaf1f8!important;display:block!important;background-position:center!important;background-size:cover!important;}
.book-cuts-badge{display:inline-flex;align-items:center;gap:6px;border-radius:999px;background:#eef6ff;color:#0a66c2;font-weight:900;font-size:12px;padding:5px 10px;text-decoration:none}.book-commerce-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0}.book-commerce-card{border:1px solid var(--line,#e3e8ef);border-radius:16px;padding:12px;background:var(--soft,#f8fafc)}.book-commerce-card b{display:block;font-size:20px;color:#0a66c2;margin-top:5px}.book-linked-works{display:grid;gap:10px;margin-top:16px}.book-linked-work{border:1px solid var(--line,#e5e7eb);border-radius:14px;padding:12px;text-decoration:none;color:inherit;background:var(--card,#fff)}.book-linked-work small{display:block;color:#64748b;margin-top:4px}.search-suggest-box{position:absolute;top:calc(100% + 8px);right:0;left:auto;width:min(520px,92vw);background:var(--card,#fff);border:1px solid var(--line,#dbe3ee);box-shadow:0 16px 45px rgba(15,23,42,.18);border-radius:18px;z-index:1200;overflow:hidden;display:none}.expand-search.is-suggesting{position:relative}.search-suggest-box.show{display:block}.search-suggest-item{display:flex;align-items:center;gap:10px;padding:10px 12px;text-decoration:none;color:var(--text,#111827);border-bottom:1px solid var(--line,#eef2f7)}.search-suggest-item:last-child{border-bottom:0}.search-suggest-item:hover{background:#eef6ff}.search-suggest-avatar{width:38px;height:38px;border-radius:50%;object-fit:cover;background:#e5e7eb}.search-suggest-meta b{display:block;font-size:14px}.search-suggest-meta small{display:block;color:#64748b;font-size:12px;margin-top:2px}.shelf-hero-modern,.studio-hero-modern{display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid var(--line,#dbe3ee);border-radius:22px;background:linear-gradient(135deg,#fff,#eef6ff);padding:18px 20px;margin-bottom:14px}.shelf-modern-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:14px}.shelf-modern-card{position:relative;overflow:hidden;border-radius:18px;padding:16px;border:1px solid var(--line,#dbe3ee);background:var(--card,#fff);box-shadow:0 8px 24px rgba(15,23,42,.05)}.shelf-modern-card .status-dot{position:absolute;top:12px;left:12px;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#eef6ff;color:#0a66c2}.studio-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px}.studio-work-card{border:1px solid var(--line,#dbe3ee);border-radius:18px;padding:14px;background:var(--card,#fff);display:grid;gap:10px}.studio-work-cover{height:110px;border-radius:14px;background:#eef3f8 center/cover no-repeat;display:grid;place-items:center;color:#64748b}.admin-users-modern .admin-table tr{vertical-align:top}.admin-inline-actions{display:grid;grid-template-columns:88px 88px 1fr;gap:8px;align-items:center}.payment-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.transactions-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}.transaction-card{border:1px solid var(--line,#dbe3ee);border-radius:16px;padding:14px;background:var(--card,#fff)}.transaction-card b{display:block;color:#0a66c2;font-size:22px;margin-top:6px}@media(max-width:760px){.book-commerce-grid,.transactions-summary,.payment-settings-grid{grid-template-columns:1fr 1fr}.shelf-hero-modern,.studio-hero-modern{display:block}.search-suggest-box{right:auto;left:50%;transform:translateX(-50%);width:94vw}.admin-inline-actions{grid-template-columns:1fr}.book-commerce-grid{grid-template-columns:1fr}.q-profile-hero .hero-cover{background-size:cover!important}.q-profile-hero .hero-avatar{background-size:cover!important}}
.q-profile-hero .hero-cover{background-size:var(--cover-size, cover)!important;}
.q-profile-hero .hero-avatar{background-size:var(--avatar-size, cover)!important;}


/* v58: professional network polish, hidden algorithm badges, LinkedIn-like comments */
.comment{position:relative;gap:10px;margin-top:14px}.comment.reply{margin-right:38px}.comment.reply:before{content:"";position:absolute;right:-22px;top:-8px;width:18px;height:28px;border-right:2px solid #e5e7eb;border-bottom:2px solid #e5e7eb;border-bottom-right-radius:12px}.comment .avatar-mini{width:32px;height:32px}.comment-bubble{background:#f3f6f8;border:1px solid #edf1f5;border-radius:16px 4px 16px 16px;padding:9px 12px}.comment-top-pro{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.comment-author-block{display:grid;gap:1px;min-width:0}.comment-author-block b{line-height:1.3}.comment-author-block a:hover{color:#0a66c2;text-decoration:underline}.comment-headline{font-size:11px;color:#667085;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:360px}.comment-time{white-space:nowrap;font-size:11px}.comment-bubble p{font-size:13px;line-height:1.85;margin-top:5px}.comment-actions-line{padding:5px 12px 2px;gap:8px;flex-wrap:wrap}.comment-actions-line .mini-action,.comment-actions-line>span,.comment-actions-line>a{font-size:12px;font-weight:850}.comment-actions-line .mini-action:after{content:"";display:inline-block;width:3px;height:3px;border-radius:50%;background:#c6ced8;margin-right:8px;vertical-align:middle}.comment-react-wrap{position:relative}.comment-react-wrap:hover .comment-react-menu,.comment-react-wrap:focus-within .comment-react-menu{display:flex}.comment-react-menu{bottom:24px;right:0}.comment-reaction-summary{display:inline-flex;align-items:center;gap:2px;color:#64748b}.comment-reaction-summary span{width:18px;height:18px;border-radius:50%;display:inline-grid;place-items:center;background:#fff;color:var(--react-color,#0a66c2);border:1px solid #e5e7eb}.comment-reaction-summary .li-icon{width:11px;height:11px}.reply-form.comment-box{background:#fff;border:1px solid #e8edf3;border-radius:18px;padding:8px;margin:8px 0 0}.reply-form.comment-box.open{display:flex}.comment-edit-box.open{display:flex}.comment-input-wrap textarea{font-size:13px}.comments>.comment-box{background:#fff;border:1px solid #edf1f5;border-radius:18px;padding:8px}.comments>.comment-box textarea{background:#f8fafc}.post-stats span:last-child{white-space:normal;text-align:left}.profile-card .stat-row-link:hover,.mini-item:hover{background:#f8fafc}.level-cup{display:none!important}@media(max-width:760px){.comment.reply{margin-right:22px}.comment.reply:before{right:-14px;width:12px}.comment-headline{max-width:190px}.comment-actions-line{gap:6px}.reply-form.comment-box{padding:6px}}


/* Qafaseh v59: profile media, LinkedIn-like search, Persian transaction UI */
.q-profile-hero-v59{overflow:visible!important;margin-top:18px!important;border-radius:18px!important}.q-profile-hero-v59 .hero-cover{height:210px!important;position:relative!important;z-index:1!important;background-size:cover!important;background-position:center!important;background-color:#172235!important}.q-profile-hero-v59 .hero-cover:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(15,23,42,.06),rgba(15,23,42,.18));pointer-events:none}.q-profile-hero-v59>.hero-avatar{position:relative!important;z-index:4!important;display:block!important;width:136px!important;height:136px!important;min-width:136px!important;min-height:136px!important;margin:-68px 28px 0 0!important;border:5px solid #fff!important;border-radius:50%!important;background-color:#eef4fb!important;background-size:cover!important;background-repeat:no-repeat!important;background-position:center!important;box-shadow:0 0 0 1px rgba(15,23,42,.08),0 14px 35px rgba(15,23,42,.18)!important}.q-profile-hero-v59 .hero-body{position:relative!important;z-index:3!important;background:#fff!important;border-radius:0 0 18px 18px!important;padding-top:8px!important}.q-profile-hero-v59 .hero-actions{margin-top:-26px!important}.q-profile-hero-v59 .hero-topline h1{margin-top:0!important}.q-profile-hero-v59 .profile-icon-btn{background:#fff!important;border:1px solid #dbe3ee!important;box-shadow:0 8px 20px rgba(15,23,42,.05)!important}.q-profile-hero-v59 .profile-icon-btn:hover{background:#eef6ff!important;border-color:#b9d6fa!important;color:#0a66c2!important}@media(max-width:760px){.q-profile-hero-v59 .hero-cover{height:150px!important}.q-profile-hero-v59>.hero-avatar{width:104px!important;height:104px!important;min-width:104px!important;min-height:104px!important;margin:-52px 18px 0 0!important}.q-profile-hero-v59 .hero-actions{margin-top:8px!important}.q-profile-hero-v59 .hero-topline{display:block!important}}
.tx-hero,.tx-admin-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid var(--line,#dbe3ee);border-radius:24px;background:linear-gradient(135deg,#fff,#eef6ff);padding:22px 24px;margin-bottom:14px}.tx-hero h1,.tx-admin-hero h1{margin:6px 0 4px;font-size:28px;letter-spacing:-.6px}.tx-hero p,.tx-admin-hero p{margin:0;color:#64748b}.tx-kicker{display:inline-flex;align-items:center;gap:7px;background:#e7f1ff;color:#0a66c2;border-radius:999px;padding:5px 11px;font-weight:900;font-size:12px}.tx-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 14px!important}.tx-summary-card{border:1px solid var(--line,#dbe3ee)!important;border-radius:18px!important;background:var(--card,#fff)!important;padding:15px!important;box-shadow:0 8px 24px rgba(15,23,42,.04)}.tx-summary-card span{display:block;color:#64748b;font-size:12px;font-weight:800}.tx-summary-card b{display:block;color:#0a66c2;font-size:22px;margin-top:4px}.tx-card{padding:0!important;overflow:hidden}.tx-table-wrap{width:100%;overflow:auto}.tx-table{width:100%;border-collapse:separate!important;border-spacing:0}.tx-table th{background:#f8fafc!important;color:#334155!important;font-size:12px!important;font-weight:950!important;padding:13px 14px!important;white-space:nowrap}.tx-table td{padding:14px!important;border-top:1px solid #edf2f7!important;vertical-align:middle!important}.tx-book-title{font-weight:950;color:#111827}.tx-book-title:hover{color:#0a66c2;text-decoration:underline}.tx-type-pill,.status-pill{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:4px 10px;font-size:12px;font-weight:900;white-space:nowrap}.tx-type-pill{background:#eef6ff;color:#0a66c2}.status-pill{background:#f1f5f9;color:#334155}.status-paid,.status-active,.status-published,.status-resolved{background:#e8f8ee!important;color:#057642!important}.status-pending,.status-reviewing,.status-submitted,.status-under_review{background:#fff7ed!important;color:#b45309!important}.status-failed,.status-rejected,.status-suspended,.status-deleted{background:#fff1f2!important;color:#be123c!important}.status-refunded,.status-closed,.status-hidden,.status-disabled{background:#f1f5f9!important;color:#475569!important}.tx-pagination{padding:14px;border-top:1px solid #edf2f7}.tx-empty{text-align:center;color:#64748b;padding:24px}.linkedin-search-page{border-radius:22px!important;background:linear-gradient(135deg,#fff,#f8fbff)!important}.linkedin-search-large{position:relative;display:flex!important;align-items:center!important;gap:10px!important;border:1px solid #cbd5e1!important;border-radius:999px!important;background:#fff!important;padding:6px 10px!important;box-shadow:0 8px 24px rgba(15,23,42,.04)!important}.linkedin-search-large input{flex:1!important;border:0!important;outline:0!important;background:transparent!important;height:42px!important;font-size:15px!important}.linkedin-search-large select{border:0!important;background:#eef3f8!important;border-radius:999px!important;padding:8px 12px!important;color:#334155!important}.linkedin-search-large .btn{border-radius:999px!important}.search-large-icon{color:#334155;min-width:22px}.linkedin-results-shell{display:grid;grid-template-columns:260px minmax(0,1fr);gap:16px;align-items:start}.linkedin-results-filter{position:sticky;top:76px;display:grid;gap:6px}.linkedin-results-filter h3{margin:0 0 8px;font-size:15px}.linkedin-results-filter a{padding:9px 11px;border-radius:10px;color:#475569;font-weight:850}.linkedin-results-filter a:hover,.linkedin-results-filter a.active{background:#eef6ff;color:#0a66c2}.linkedin-result-card{padding:16px;margin-bottom:14px}.linkedin-result-card h3,.linkedin-result-section h3{margin:0 0 12px}.linkedin-result-person,.linkedin-result-item{display:flex;align-items:center;gap:12px;padding:11px 6px;border-top:1px solid #eef2f7}.linkedin-result-person:first-of-type,.linkedin-result-item:first-of-type{border-top:0}.linkedin-result-person:hover,.linkedin-result-item:hover{background:#f8fbff}.linkedin-result-person img{width:54px;height:54px;border-radius:50%;object-fit:cover;background:#e5e7eb;box-shadow:0 0 0 1px #e2e8f0}.linkedin-result-person b,.linkedin-result-item b{display:block;font-size:15px;color:#111827}.linkedin-result-person small,.linkedin-result-item small{display:block;color:#64748b;margin-top:2px}.search-empty-state{text-align:center;color:#64748b}.search-suggest-box{top:calc(100% + 10px)!important;right:0!important;left:auto!important;width:min(610px,92vw)!important;border-radius:16px!important;padding:6px 0!important;box-shadow:0 18px 50px rgba(15,23,42,.22)!important;border:1px solid #d8e2ef!important}.search-suggest-item{gap:12px!important;padding:10px 14px!important}.search-suggest-avatar{width:46px!important;height:46px!important}.search-suggest-meta b{font-size:14.5px!important}.search-suggest-type{margin-inline-start:auto;background:#eef6ff;color:#0a66c2;border-radius:999px;padding:3px 8px;font-size:11px;font-weight:900}.search-suggest-all{justify-content:center!important;color:#0a66c2!important;font-weight:950!important;background:#f8fbff!important}@media(max-width:860px){.linkedin-results-shell{grid-template-columns:1fr}.linkedin-results-filter{position:static;display:flex;overflow:auto}.tx-summary-grid{grid-template-columns:1fr 1fr}.tx-table thead{display:none}.tx-table,.tx-table tbody,.tx-table tr,.tx-table td{display:block;width:100%}.tx-table tr{border-top:1px solid #edf2f7;padding:10px 12px}.tx-table td{border:0!important;padding:7px 0!important;display:flex!important;justify-content:space-between;gap:14px;text-align:left}.tx-table td:before{content:attr(data-label);font-weight:900;color:#64748b;text-align:right}.search-suggest-box{right:auto!important;left:50%!important;transform:translateX(-50%)!important;width:94vw!important}.linkedin-search-large{border-radius:18px!important;flex-wrap:wrap}.linkedin-search-large input{min-width:180px}.linkedin-search-large select{flex:1}.linkedin-search-large .btn{width:100%}}

/* Qafaseh v60: routed media, fixed profile images, safe live-search, settings tests */
.hidden-form{display:none!important}.settings-test-panel{margin:14px 0 4px;padding:14px;border:1px solid #dbe3ee;border-radius:18px;background:linear-gradient(135deg,#fff,#f8fbff)}.settings-test-panel h4{margin:0 0 3px;font-size:15px}.settings-test-panel .form-grid{margin-top:10px}.field-end{align-self:end}.q-profile-hero-v60{overflow:visible!important;margin-top:18px!important;border-radius:18px!important;background:#fff!important}.q-profile-hero-v60 .hero-cover{height:210px!important;position:relative!important;z-index:1!important;overflow:hidden!important;background:linear-gradient(135deg,#334155,#111827)!important;border-radius:18px 18px 0 0!important}.q-profile-hero-v60 .hero-cover img{width:100%!important;height:100%!important;display:block!important;object-fit:cover!important;object-position:inherit!important}.q-profile-hero-v60 .hero-cover:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(15,23,42,.06),rgba(15,23,42,.18));pointer-events:none}.q-profile-hero-v60>.hero-avatar{position:relative!important;z-index:4!important;display:grid!important;place-items:center!important;width:136px!important;height:136px!important;min-width:136px!important;min-height:136px!important;margin:-68px 28px 0 0!important;border:5px solid #fff!important;border-radius:50%!important;background:linear-gradient(135deg,#0a66c2,#172235)!important;color:#fff!important;overflow:hidden!important;box-shadow:0 0 0 1px rgba(15,23,42,.08),0 14px 35px rgba(15,23,42,.18)!important}.q-profile-hero-v60>.hero-avatar img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}.q-profile-hero-v60 .avatar-initials{font-size:42px;font-weight:950;letter-spacing:-2px;color:#fff}.q-profile-hero-v60 .hero-body{position:relative!important;z-index:3!important;background:#fff!important;border-radius:0 0 18px 18px!important;padding-top:8px!important}.q-profile-hero-v60 .hero-actions{margin-top:-26px!important}.q-profile-hero-v60 .hero-topline h1{margin-top:0!important}.q-profile-hero-v60 .profile-icon-btn{background:#fff!important;border:1px solid #dbe3ee!important;box-shadow:0 8px 20px rgba(15,23,42,.05)!important}.q-profile-hero-v60 .profile-icon-btn:hover{background:#eef6ff!important;border-color:#b9d6fa!important;color:#0a66c2!important}.search-large-icon,.linkedin-search-large .search-large-icon,.linkedin-search-large>svg{width:22px!important;height:22px!important;min-width:22px!important;max-width:22px!important;max-height:22px!important;display:inline-block!important}.linkedin-search-large{position:relative!important}.linkedin-search-large[data-live-search] .search-suggest-box{top:calc(100% + 8px)!important;right:0!important;left:0!important;width:100%!important;z-index:80!important}.search-suggest-box{display:none;position:absolute;background:#fff}.search-suggest-box.show{display:block!important}.search-suggest-item.active{background:#eef6ff!important}.search-page-head{margin-bottom:14px}.search-page-head h2{margin-top:0}.media-frame-preview-cover,.profile-cover,.studio-work-cover,.work-cover img,.book-cover img{background-color:#eef4fb!important}@media(max-width:760px){.q-profile-hero-v60 .hero-cover{height:150px!important}.q-profile-hero-v60>.hero-avatar{width:104px!important;height:104px!important;min-width:104px!important;min-height:104px!important;margin:-52px 18px 0 0!important}.q-profile-hero-v60 .avatar-initials{font-size:32px}.q-profile-hero-v60 .hero-actions{margin-top:8px!important}.q-profile-hero-v60 .hero-topline{display:block!important}.settings-test-panel .form-grid{grid-template-columns:1fr!important}}

/* Qafaseh v61 - feed lazy loading, LinkedIn-style typeahead, compact visibility ribbon */
.lazy-pagination{display:none!important}
.lazy-feed-loader{display:flex!important;align-items:center;justify-content:center;min-height:74px;margin:10px 0 18px;color:#64748b;font-size:13px;font-weight:850}
.lazy-next-link{display:none!important}.lazy-feed-spinner{display:none;align-items:center;gap:8px}.lazy-feed-loader.is-loading .lazy-feed-spinner{display:inline-flex}.lazy-feed-loader.is-loading .lazy-feed-spinner:before{content:'';width:16px;height:16px;border:2px solid #dbeafe;border-top-color:#0a66c2;border-radius:50%;animation:qSpin .75s linear infinite}@keyframes qSpin{to{transform:rotate(360deg)}}

.visibility-ribbon{width:38px!important;height:48px!important;min-width:38px!important;top:0!important;left:12px!important;border:0!important;border-radius:0 0 11px 11px!important;clip-path:polygon(0 0,100% 0,100% 74%,50% 100%,0 74%)!important;box-shadow:0 7px 18px rgba(15,23,42,.12)!important;overflow:visible!important}
.visibility-ribbon:before{content:''!important;position:absolute!important;left:-6px!important;top:14px!important;width:12px!important;height:12px!important;border-radius:50%!important;background:var(--card,#fff)!important;box-shadow:inset -1px 0 0 rgba(15,23,42,.10)!important;z-index:2!important}
.visibility-ribbon i{display:none!important}.visibility-ribbon .li-icon,.visibility-ribbon svg{width:17px!important;height:17px!important;display:block!important;color:#fff!important;position:relative!important;z-index:3!important}.visibility-ribbon + .post-head{padding-left:56px!important;padding-top:12px!important}
@media(max-width:760px){.visibility-ribbon{width:34px!important;height:43px!important;left:9px!important}.visibility-ribbon:before{left:-5px!important;top:12px!important;width:10px!important;height:10px!important}.visibility-ribbon + .post-head{padding-left:48px!important}}

.li-live-search{max-width:460px!important;z-index:60!important}.li-live-search input{height:40px!important;border:1px solid transparent!important;border-radius:999px!important;background:#eef3f8!important;padding-inline-start:42px!important;padding-inline-end:14px!important;direction:auto!important}.li-live-search.open input,.li-live-search.is-open input,.li-live-search input:focus{background:#fff!important;border:2px solid #111827!important;box-shadow:none!important}.li-live-search .search-trigger{position:absolute!important;right:7px!important;top:4px!important;width:32px!important;height:32px!important;border:0!important;background:transparent!important;z-index:3!important;color:#111827!important}
.search-suggest-box{box-sizing:border-box!important;display:none;position:absolute!important;background:#fff!important;color:#111827!important;z-index:999!important;overflow:hidden!important}.search-suggest-box.show{display:block!important}.li-live-search .search-suggest-box,.linkedin-search-large .search-suggest-box{top:calc(100% + 2px)!important;right:0!important;left:auto!important;width:min(560px,94vw)!important;border:1px solid #d5d5d5!important;border-radius:0 0 8px 8px!important;box-shadow:0 4px 12px rgba(0,0,0,.16)!important;padding:8px 0!important;direction:ltr!important;text-align:left!important}.linkedin-search-large .search-suggest-box{width:100%!important;border-radius:12px!important;top:calc(100% + 8px)!important}.search-suggest-item{display:flex!important;align-items:center!important;gap:12px!important;min-height:50px!important;padding:7px 18px!important;color:#202124!important;background:#fff!important;text-decoration:none!important}.search-suggest-item:hover,.search-suggest-item.active{background:#eef3f8!important}.search-suggest-avatar{width:38px!important;height:38px!important;min-width:38px!important;border-radius:50%!important;object-fit:cover!important;background:#e5e7eb!important;box-shadow:none!important}.search-suggest-meta{display:block!important;min-width:0!important;line-height:1.35!important}.search-suggest-meta b{display:inline!important;font-size:16px!important;font-weight:400!important;color:#202124!important}.search-suggest-meta b strong,.search-suggest-title-strong{font-weight:750!important}.search-suggest-meta small{display:inline!important;color:#666!important;font-size:14px!important;margin-left:4px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:420px!important;vertical-align:bottom!important}.search-suggest-type{display:none!important}.search-suggest-all{justify-content:center!important;border-top:1px solid #e5e7eb!important;margin-top:6px!important;color:#0a66c2!important;font-weight:750!important;text-align:center!important}.search-suggest-all .search-suggest-meta b{font-weight:750!important;color:#0a66c2!important}
.linkedin-search-large,.search-page-head .linkedin-search-large{position:relative!important;display:flex!important;align-items:center!important;gap:10px!important;min-height:52px!important;overflow:visible!important}.linkedin-search-large .li-icon,.linkedin-search-large svg.search-large-icon,.linkedin-search-large>svg{position:static!important;width:22px!important;height:22px!important;min-width:22px!important;max-width:22px!important;max-height:22px!important;flex:0 0 22px!important;display:inline-block!important;color:#334155!important}.linkedin-search-large input{min-height:42px!important}.search-page-head{overflow:visible!important}.search-page-head .card,.linkedin-search-page{overflow:visible!important}.search-empty-state{font-size:14px!important;min-height:auto!important;padding:18px!important}
@media(max-width:760px){.li-live-search .search-suggest-box{right:50%!important;left:auto!important;transform:translateX(50%)!important;width:94vw!important}.search-suggest-meta small{max-width:230px!important}.linkedin-search-large{border-radius:18px!important;flex-wrap:wrap!important}.linkedin-search-large .btn{width:100%!important}.linkedin-search-large select{flex:1!important}}

/* Qafaseh v63 - global topbar live search, kept nav, folded small ribbon, icon comment actions */
@media (min-width: 761px){
  .topbar.search-open .brand,
  .topbar.search-open .nav,
  .topbar.search-open .mobile-bottom-nav,
  .topbar.search-open .brand-text{
    visibility:visible!important;opacity:1!important;pointer-events:auto!important;
  }
  .topbar.search-open .search.expand-search,
  .mobile-app-topbar .search.expand-search.is-open{
    position:relative!important;inset:auto!important;right:auto!important;left:auto!important;top:auto!important;
    flex:1 1 360px!important;max-width:460px!important;width:auto!important;height:auto!important;box-shadow:none!important;background:transparent!important;
  }
  .topbar.search-open .search.expand-search input,
  .mobile-app-topbar .search.expand-search.is-open input{
    padding-inline-start:42px!important;padding-inline-end:14px!important;font-size:14px!important;
  }
}
.topbar .search-suggest-box:not(.search-suggest-portal){display:none!important}
.search-suggest-portal{
  position:fixed!important;display:none;background:#fff!important;color:#202124!important;z-index:3000!important;
  border:1px solid #d5d5d5!important;border-radius:0 0 10px 10px!important;box-shadow:0 8px 24px rgba(0,0,0,.18)!important;
  padding:8px 0!important;overflow:hidden!important;direction:ltr!important;text-align:left!important;box-sizing:border-box!important;
}
.search-suggest-portal.show{display:block!important}.search-suggest-portal .search-suggest-item{min-height:50px!important;padding:7px 18px!important}.search-suggest-portal .search-suggest-avatar{width:38px!important;height:38px!important}.search-suggest-portal .search-suggest-meta small{max-width:430px!important}

.post.card{position:relative!important;overflow:visible!important}
.visibility-ribbon{
  --ribbon-bg:#0a66c2;
  width:27px!important;height:34px!important;min-width:27px!important;top:-1px!important;left:14px!important;
  display:grid!important;place-items:center!important;padding:0!important;border:0!important;border-radius:0 0 7px 7px!important;
  clip-path:none!important;overflow:visible!important;background:var(--ribbon-bg)!important;color:#fff!important;
  box-shadow:0 8px 16px rgba(15,23,42,.18)!important;z-index:9!important;
}
.visibility-ribbon.visibility-public{--ribbon-bg:#0a66c2!important;background:#0a66c2!important}.visibility-ribbon.visibility-followers{--ribbon-bg:#f59e0b!important;background:#f59e0b!important}.visibility-ribbon.visibility-private{--ribbon-bg:#dc2626!important;background:#dc2626!important}
.visibility-ribbon:before{
  content:''!important;position:absolute!important;inset-inline-start:0!important;top:-7px!important;width:100%!important;height:8px!important;
  background:color-mix(in srgb,var(--ribbon-bg) 72%,#111827 28%)!important;border-radius:7px 7px 0 0!important;
  transform:perspective(28px) rotateX(48deg)!important;transform-origin:bottom center!important;box-shadow:0 -1px 0 rgba(255,255,255,.18) inset!important;z-index:-1!important;
}
.visibility-ribbon:after{
  content:''!important;position:absolute!important;left:0!important;right:0!important;bottom:-8px!important;margin:auto!important;width:0!important;height:0!important;
  border-left:13.5px solid transparent!important;border-right:13.5px solid transparent!important;border-top:9px solid var(--ribbon-bg)!important;
}
.visibility-ribbon i{display:block!important;position:absolute!important;left:-4px!important;top:-2px!important;width:8px!important;height:8px!important;border-radius:50%!important;background:var(--card,#fff)!important;box-shadow:inset -1px 0 0 rgba(15,23,42,.08)!important;z-index:3!important}
.visibility-ribbon .li-icon,.visibility-ribbon svg{width:13px!important;height:13px!important;display:block!important;color:#fff!important;stroke-width:2.5!important;position:relative!important;z-index:4!important}.visibility-ribbon span{display:none!important}.visibility-ribbon + .post-head{padding-left:44px!important;padding-top:12px!important}
@media(max-width:760px){.visibility-ribbon{width:24px!important;height:31px!important;left:10px!important}.visibility-ribbon:after{border-left-width:12px!important;border-right-width:12px!important}.visibility-ribbon .li-icon,.visibility-ribbon svg{width:12px!important;height:12px!important}.visibility-ribbon + .post-head{padding-left:38px!important}}

.comment-actions-line{gap:6px!important;align-items:center!important;padding-top:5px!important}.comment-actions-line .mini-action,.comment-actions-line form .mini-action,.comment-reply-count{width:28px!important;height:28px!important;min-width:28px!important;border-radius:50%!important;border:0!important;background:transparent!important;color:#64748b!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:0!important;line-height:1!important;font-size:0!important;cursor:pointer!important}.comment-actions-line .mini-action:hover,.comment-reply-count:hover{background:#eef3f8!important;color:#0a66c2!important}.comment-actions-line .mini-action .li-icon,.comment-actions-line .mini-action svg,.comment-reply-count .li-icon,.comment-reply-count svg{width:16px!important;height:16px!important}.comment-reply-count b{font-size:11px!important;margin-inline-start:2px!important;color:inherit!important}.comment-react-wrap{display:inline-flex!important;position:relative!important}.comment-actions-line form{display:inline-flex!important;margin:0!important}.comment-reaction-summary{height:28px!important;min-width:28px!important;display:inline-flex!important;align-items:center!important;gap:2px!important;border-radius:999px!important;padding:0 6px!important;background:#f8fafc!important}.comment-reaction-summary span{width:16px!important;height:16px!important}.comment-reaction-summary .li-icon,.comment-reaction-summary svg{width:12px!important;height:12px!important}.comment-reaction-summary b{font-size:11px!important}
/* v63 ribbon fold color fallback */
.visibility-ribbon:before{z-index:2!important}.visibility-ribbon.visibility-public:before{background:#075da9!important}.visibility-ribbon.visibility-followers:before{background:#c27b08!important}.visibility-ribbon.visibility-private:before{background:#a91d1d!important}
.search-suggest-portal{right:auto!important;transform:none!important}

/* Qafaseh v63 - slim ribbon, Jalali picker, better read time and publisher console */
.post.card{position:relative!important;overflow:visible!important}
.visibility-ribbon{
  --ribbon-bg:#0a66c2;
  width:20px!important;height:38px!important;min-width:20px!important;
  top:-1px!important;left:18px!important;
  display:grid!important;place-items:center!important;padding:0!important;border:0!important;
  border-radius:0 0 5px 5px!important;clip-path:polygon(0 0,100% 0,100% 80%,50% 100%,0 80%)!important;
  overflow:visible!important;background:var(--ribbon-bg)!important;color:#fff!important;
  box-shadow:0 7px 13px rgba(15,23,42,.16)!important;z-index:7!important;
}
.visibility-ribbon.visibility-public{--ribbon-bg:#0a66c2!important;background:#0a66c2!important}.visibility-ribbon.visibility-followers{--ribbon-bg:#f59e0b!important;background:#f59e0b!important}.visibility-ribbon.visibility-private{--ribbon-bg:#dc2626!important;background:#dc2626!important}
.visibility-ribbon:before{
  content:''!important;position:absolute!important;left:0!important;top:-6px!important;width:20px!important;height:8px!important;
  background:#075da9!important;border-radius:5px 5px 0 0!important;clip-path:polygon(0 100%,100% 100%,84% 0,18% 0)!important;
  transform:none!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.22)!important;z-index:-1!important;
}
.visibility-ribbon.visibility-followers:before{background:#c27b08!important}.visibility-ribbon.visibility-private:before{background:#a91d1d!important}
.visibility-ribbon:after{display:none!important}
.visibility-ribbon i{display:none!important}.visibility-ribbon .li-icon,.visibility-ribbon svg{width:10.5px!important;height:10.5px!important;color:#fff!important;stroke-width:2.7!important;position:relative!important;z-index:2!important}.visibility-ribbon span{display:none!important}.visibility-ribbon + .post-head{padding-left:42px!important;padding-top:11px!important}
@media(max-width:760px){.visibility-ribbon{width:18px!important;height:34px!important;left:13px!important}.visibility-ribbon:before{width:18px!important;height:7px!important;top:-5px!important}.visibility-ribbon .li-icon,.visibility-ribbon svg{width:10px!important;height:10px!important}.visibility-ribbon + .post-head{padding-left:34px!important}}

.q-jalali-picker{position:absolute;z-index:100010;width:302px;background:#fff;border:1px solid #d8e2ef;border-radius:16px;box-shadow:0 18px 50px rgba(15,23,42,.22);padding:12px;direction:rtl;text-align:right;color:#1f2937;font-family:Vazirmatn,Tahoma,sans-serif}.q-jalali-picker *{box-sizing:border-box}.q-jalali-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}.q-jalali-title{font-weight:950;color:#172033}.q-jalali-nav{width:32px;height:32px;border:0;border-radius:10px;background:#eef3f8;color:#0a66c2;display:grid;place-items:center;cursor:pointer;font-weight:950}.q-jalali-nav:hover{background:#dbeafe}.q-jalali-week,.q-jalali-days{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}.q-jalali-week span{font-size:11px;color:#667085;text-align:center;font-weight:900;padding:3px 0}.q-jalali-day{height:34px;border:0;border-radius:10px;background:#f8fafc;color:#243447;cursor:pointer;font-weight:800}.q-jalali-day:hover{background:#eef6ff;color:#0a66c2}.q-jalali-day.is-today{box-shadow:inset 0 0 0 1px #0a66c2;color:#0a66c2}.q-jalali-day.is-selected{background:#0a66c2;color:#fff}.q-jalali-day.is-empty{visibility:hidden}.q-jalali-foot{display:flex;align-items:center;gap:8px;margin-top:10px;padding-top:10px;border-top:1px solid #eef2f7}.q-jalali-time{display:flex;align-items:center;gap:6px;flex:1}.q-jalali-time input{width:54px!important;height:34px!important;padding:5px 7px!important;border:1px solid #d8e2ef!important;border-radius:9px!important;text-align:center!important;direction:ltr!important;background:#fff!important}.q-jalali-apply{border:0;border-radius:10px;background:#0a66c2;color:#fff;font-weight:900;padding:8px 11px;cursor:pointer}.q-jalali-clear{border:0;border-radius:10px;background:#eef3f8;color:#475569;font-weight:900;padding:8px 10px;cursor:pointer}.field input[data-jalali]{direction:ltr;text-align:left}.q-jalali-open{border-color:#8cbce8!important;box-shadow:0 0 0 3px rgba(10,102,194,.10)!important}

.publisher-console-hero{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:14px;background:linear-gradient(135deg,#fff,#f8fbff)}.publisher-console-title h2{margin:3px 0 2px;font-size:26px;letter-spacing:-.4px}.publisher-console-kicker{display:inline-flex;align-items:center;gap:7px;color:#0a66c2;background:#eef6ff;border:1px solid #dbeafe;border-radius:999px;padding:4px 10px;font-size:12px;font-weight:950}.publisher-console-actions{display:flex;gap:8px;flex-wrap:wrap}.publisher-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}.publisher-stat{display:grid;gap:4px;min-height:112px}.publisher-stat span{width:38px;height:38px;border-radius:13px;background:#eef6ff;color:#0a66c2;display:grid;place-items:center}.publisher-stat small{color:#667085;font-weight:850}.publisher-stat b{font-size:25px;line-height:1;color:#111827}.publisher-console-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);gap:14px;align-items:start}.publisher-console-grid.bottom-grid{grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);margin-top:14px}.section-head.compact{margin-bottom:12px}.section-head.compact h3{margin:0}.section-head.compact p{margin:2px 0 0}.publisher-soft-icon{width:42px;height:42px;border-radius:14px;background:#f8fafc;color:#0a66c2;display:grid;place-items:center}.publisher-create-card textarea{min-height:126px}.publisher-mini-list,.publisher-opportunity-list{display:grid;gap:9px}.publisher-console-mini{display:grid;grid-template-columns:38px minmax(0,1fr) 22px;gap:10px;align-items:center;border:1px solid #edf2f7;background:#fbfdff;border-radius:14px;padding:10px;transition:.15s}.publisher-console-mini:hover{border-color:#bfdbfe;background:#f8fbff}.publisher-console-mini b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.publisher-console-mini small{display:block;color:#667085}.publisher-opportunity-mini{border:1px solid #edf2f7;border-radius:14px;padding:11px;background:#fff}.publisher-opportunity-mini>div{display:flex;align-items:center;justify-content:space-between;gap:8px}.publisher-opportunity-mini p{margin:6px 0 0;color:#475569;line-height:1.8}.publisher-responsive-table{overflow:auto}.publisher-table-card .table{min-width:620px}.compact-action{gap:6px;display:flex;align-items:center;flex-wrap:nowrap}.compact-action select{max-width:150px}.empty-panel{min-height:120px;display:grid;place-items:center;text-align:center;gap:6px;border:1px dashed #dbe3ef;background:#fbfdff;border-radius:16px;color:#64748b;padding:18px}.empty-panel .li-icon{width:26px;height:26px;color:#0a66c2}.empty-panel b{color:#1f2937}.empty-panel small{display:block}.small-empty{min-height:82px}.publisher-books-card{margin-top:14px}.publisher-books-card .book-grid{margin-top:6px}
@media(max-width:980px){.publisher-console-hero{display:block}.publisher-console-actions{margin-top:12px}.publisher-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.publisher-console-grid,.publisher-console-grid.bottom-grid{grid-template-columns:1fr}.publisher-table-card .table{min-width:0}.publisher-responsive-table .admin-table thead{display:none}.publisher-responsive-table .admin-table,.publisher-responsive-table .admin-table tbody,.publisher-responsive-table .admin-table tr,.publisher-responsive-table .admin-table td{display:block;width:100%}.publisher-responsive-table .admin-table tr{border-top:1px solid #edf2f7;padding:10px}.publisher-responsive-table .admin-table td{border:0!important;display:flex;justify-content:space-between;gap:12px;padding:6px 0!important}.publisher-responsive-table .admin-table td:before{content:attr(data-label);font-weight:900;color:#64748b}.compact-action{justify-content:flex-end}.compact-action select{max-width:180px}}@media(max-width:640px){.publisher-stat-grid{grid-template-columns:1fr}.publisher-console-title h2{font-size:22px}.publisher-console-actions .btn{width:100%}}

/* Qafaseh v64 - publisher as profile, compact folded ribbon, profile favorites */
.visibility-ribbon{
  --ribbon-bg:#0a66c2;
  position:absolute!important;top:7px!important;left:18px!important;right:auto!important;
  width:22px!important;height:36px!important;min-width:22px!important;padding:0!important;
  display:grid!important;place-items:center!important;background:var(--ribbon-bg)!important;color:#fff!important;
  border:0!important;border-radius:0 0 7px 7px!important;clip-path:polygon(0 0,100% 0,100% 76%,50% 100%,0 76%)!important;
  box-shadow:0 8px 18px rgba(15,23,42,.16)!important;overflow:visible!important;z-index:14!important;
}
.visibility-ribbon.visibility-public{--ribbon-bg:#0a66c2!important;background:#0a66c2!important}.visibility-ribbon.visibility-followers{--ribbon-bg:#f59e0b!important;background:#f59e0b!important}.visibility-ribbon.visibility-private{--ribbon-bg:#dc2626!important;background:#dc2626!important}
.visibility-ribbon:before{
  content:''!important;display:block!important;position:absolute!important;left:2px!important;right:2px!important;top:-8px!important;height:10px!important;
  background:#075da9!important;border-radius:8px 8px 2px 2px!important;transform:perspective(18px) rotateX(54deg)!important;transform-origin:bottom center!important;
  box-shadow:0 -2px 0 rgba(255,255,255,.22) inset,0 4px 8px rgba(15,23,42,.16)!important;z-index:1!important;
}
.visibility-ribbon.visibility-followers:before{background:#b97808!important}.visibility-ribbon.visibility-private:before{background:#991b1b!important}
.visibility-ribbon:after{content:''!important;display:block!important;position:absolute!important;left:0!important;right:0!important;top:-1px!important;height:5px!important;background:linear-gradient(180deg,rgba(255,255,255,.22),rgba(0,0,0,.10))!important;border-radius:0 0 4px 4px!important;z-index:2!important;border:0!important}
.visibility-ribbon i{display:none!important}.visibility-ribbon .li-icon,.visibility-ribbon svg{width:11px!important;height:11px!important;color:#fff!important;stroke-width:2.8!important;position:relative!important;z-index:3!important}.visibility-ribbon span{display:none!important}.visibility-ribbon + .post-head{padding-left:44px!important;padding-top:18px!important}
.favorite-mini-list{display:flex;flex-direction:column;gap:9px}.favorite-mini-row{display:flex;align-items:center;gap:10px;border:1px solid #e5edf7;border-radius:14px;padding:8px;background:#fff;transition:.15s}.favorite-mini-row:hover{border-color:#9fc6ed;background:#f8fbff}.favorite-mini-row img,.favorite-mini-cover{width:36px;height:36px;border-radius:50%;object-fit:cover;background:#eef3f8;display:grid;place-items:center;flex:0 0 36px;overflow:hidden}.favorite-mini-cover img{width:100%;height:100%;border-radius:inherit;object-fit:cover}.favorite-mini-row span{min-width:0}.favorite-mini-row b{display:block;font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.favorite-mini-row small{display:block;color:#667085;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.publisher-profile-hero .hero-cover img,.q-profile-hero-v64 .hero-cover img{width:100%;height:100%;object-fit:cover;display:block}.publisher-logo-avatar{display:grid;place-items:center;background:#fff;overflow:hidden}.publisher-logo-avatar .avatar-initials{position:absolute;font-weight:950;color:#0a66c2}.publisher-logo-avatar img{position:relative;z-index:2;width:100%;height:100%;object-fit:cover;border-radius:50%}.publisher-profile-tabs{display:flex;gap:8px;overflow-x:auto}.publisher-profile-stats{grid-template-columns:repeat(5,minmax(0,1fr))}.publisher-profile-grid .book-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.collaborator-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.collaborator-card{display:flex;gap:10px;align-items:center;border:1px solid #e5edf7;border-radius:16px;padding:10px;background:#fff}.collaborator-card:hover{background:#f8fbff;border-color:#9fc6ed}.collaborator-card img{width:46px;height:46px;border-radius:50%;object-fit:cover}.collaborator-card span{min-width:0}.collaborator-card b{display:block}.collaborator-card small{display:block;color:#667085;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.publisher-profile-manage textarea{min-height:130px}.nav-publisher .nav-label{white-space:nowrap}
@media(max-width:760px){.visibility-ribbon{width:20px!important;height:32px!important;left:13px!important;top:8px!important}.visibility-ribbon:before{top:-7px!important;height:9px!important}.visibility-ribbon .li-icon,.visibility-ribbon svg{width:10px!important;height:10px!important}.visibility-ribbon + .post-head{padding-left:36px!important;padding-top:16px!important}.publisher-profile-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.publisher-profile-grid{display:block!important}.collaborator-grid{grid-template-columns:1fr}.publisher-profile-grid .book-grid{grid-template-columns:1fr}.favorite-mini-row{padding:7px}.publisher-profile-tabs{padding:8px}}


/* Qafaseh v65 - hard role based navigation and corner icon ribbon */
.q-role-reader .nav-publisher,
.q-role-guest .nav-publisher{display:none!important}

.post{position:relative!important;overflow:hidden!important}
.visibility-ribbon{
  position:absolute!important;
  top:-1px!important;
  left:-1px!important;
  width:58px!important;
  height:58px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#fff!important;
  box-shadow:none!important;
  transform:none!important;
  z-index:12!important;
  display:block!important;
  overflow:visible!important;
  pointer-events:auto!important;
}
.visibility-ribbon::before{
  content:"";
  position:absolute;
  width:86px;
  height:18px;
  top:14px;
  left:-25px;
  transform:rotate(-45deg);
  transform-origin:center;
  border-radius:2px;
  box-shadow:0 8px 16px rgba(16,24,40,.18);
  background:currentColor;
}
.visibility-ribbon::after{
  content:"";
  position:absolute;
  top:0;
  left:43px;
  width:11px;
  height:8px;
  background:rgba(16,24,40,.22);
  clip-path:polygon(0 0,100% 0,0 100%);
  opacity:.7;
}
.visibility-ribbon i{
  position:absolute!important;
  left:0!important;
  top:43px!important;
  width:8px!important;
  height:11px!important;
  background:rgba(16,24,40,.22)!important;
  clip-path:polygon(0 0,100% 0,0 100%)!important;
  display:block!important;
  border:0!important;
}
.visibility-ribbon svg{
  position:absolute!important;
  top:16px!important;
  left:16px!important;
  width:16px!important;
  height:16px!important;
  display:block!important;
  color:#fff!important;
  z-index:2!important;
  transform:rotate(-45deg)!important;
}
.visibility-public{color:#0a66c2!important;background:transparent!important}
.visibility-followers{color:#f59e0b!important;background:transparent!important}
.visibility-private{color:#dc2626!important;background:transparent!important}
.post-head{padding-top:14px!important}
@media(max-width:540px){.visibility-ribbon{top:-1px!important;left:-1px!important;display:block!important;margin:0!important}.post-head{padding-top:12px!important}}

/* Qafaseh v66 - clean corner ribbon, mentions, hashtags, message composer */
.nav-logout{display:none!important}
.post{position:relative!important;overflow:hidden!important}
.visibility-ribbon{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  position:absolute!important;
  top:12px!important;
  left:-30px!important;
  right:auto!important;
  width:92px!important;
  height:18px!important;
  min-width:0!important;
  min-height:0!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  clip-path:none!important;
  transform:rotate(-45deg)!important;
  transform-origin:center!important;
  z-index:18!important;
  color:#fff!important;
  box-shadow:0 7px 14px rgba(15,23,42,.16)!important;
  overflow:visible!important;
  font-size:0!important;
  line-height:0!important;
}
.visibility-ribbon.visibility-public{background:#0a66c2!important}
.visibility-ribbon.visibility-followers{background:#f59e0b!important}
.visibility-ribbon.visibility-private{background:#dc2626!important}
.visibility-ribbon::before,
.visibility-ribbon::after{
  content:''!important;
  display:block!important;
  position:absolute!important;
  top:0!important;
  width:9px!important;
  height:18px!important;
  border-radius:0!important;
  clip-path:none!important;
  opacity:1!important;
  z-index:-1!important;
  background:rgba(15,23,42,.20)!important;
}
.visibility-ribbon::before{left:-8px!important;transform:skewY(28deg)!important}
.visibility-ribbon::after{right:-8px!important;left:auto!important;transform:skewY(-28deg)!important}
.visibility-ribbon i,
.visibility-ribbon span{display:none!important}
.visibility-ribbon .li-icon,
.visibility-ribbon svg{
  display:block!important;
  width:12px!important;
  height:12px!important;
  min-width:12px!important;
  color:#fff!important;
  stroke-width:2.7!important;
  position:relative!important;
  inset:auto!important;
  z-index:3!important;
  transform:rotate(45deg)!important;
}
.visibility-ribbon + .post-head{padding-left:34px!important;padding-top:12px!important}
.inline-hashtag,.inline-mention{font-weight:900;color:#0a66c2;text-decoration:none;border-radius:6px;padding:0 2px}
.inline-hashtag:hover,.inline-mention:hover{text-decoration:underline;background:#eef6ff}
.tags a.tag{text-decoration:none;display:inline-flex;align-items:center}
.pro-compose-clean{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:10px!important;
  align-items:end!important;
  padding:12px!important;
  background:#fff!important;
  border-top:1px solid var(--line)!important;
}
.pro-compose-clean .compose-input-shell{min-width:0!important}
.pro-compose-clean textarea{
  width:100%!important;
  min-height:46px!important;
  max-height:140px!important;
  height:46px!important;
  margin:0!important;
  padding:10px 12px!important;
  border:1px solid #cfd9e6!important;
  border-radius:14px!important;
  box-shadow:0 0 0 4px rgba(10,102,194,.06)!important;
  background:#fff!important;
  line-height:1.8!important;
  resize:none!important;
}
.pro-compose-clean textarea:focus{border-color:#0a66c2!important;box-shadow:0 0 0 4px rgba(10,102,194,.12)!important;outline:0!important}
.pro-compose-clean .compose-side{display:flex!important;flex-direction:column!important;gap:5px!important;align-items:center!important;justify-content:flex-end!important;white-space:nowrap!important}
.pro-compose-clean .compose-side .btn{height:46px!important;border-radius:13px!important;padding:0 15px!important;display:inline-flex!important;align-items:center!important;gap:7px!important;margin:0!important}
.pro-compose-clean .compose-side small{display:block!important;font-size:11px!important;line-height:1.7!important;text-align:center!important;max-width:170px!important;color:#667085!important}
@media(max-width:760px){
  .visibility-ribbon{top:11px!important;left:-31px!important;width:88px!important;height:17px!important}
  .visibility-ribbon::before,.visibility-ribbon::after{height:17px!important}
  .visibility-ribbon .li-icon,.visibility-ribbon svg{width:11px!important;height:11px!important}
  .visibility-ribbon + .post-head{padding-left:30px!important}
  .pro-compose-clean{grid-template-columns:1fr!important}
  .pro-compose-clean .compose-side{flex-direction:row-reverse!important;justify-content:space-between!important;width:100%!important}
  .pro-compose-clean .compose-side small{text-align:right!important;max-width:none!important}
}

/* Qafaseh v67 - fixed message composer, lazy mention suggest, oblique ribbon icons */
.message-compose.pro-compose-clean{
  display:flex!important;
  align-items:flex-end!important;
  gap:12px!important;
  padding:14px 18px!important;
  background:#fff!important;
  border-top:1px solid var(--line,#d9dee7)!important;
}
.message-compose.pro-compose-clean .compose-input-shell{
  flex:1 1 auto!important;
  min-width:320px!important;
  width:auto!important;
  max-width:none!important;
  display:block!important;
}
.message-compose.pro-compose-clean textarea{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  min-height:74px!important;
  height:74px!important;
  max-height:240px!important;
  padding:13px 15px!important;
  resize:vertical!important;
  line-height:1.9!important;
  overflow:auto!important;
  border:1px solid #cbd5e1!important;
  border-radius:16px!important;
  background:#fff!important;
  box-shadow:0 0 0 4px rgba(10,102,194,.06)!important;
}
.message-compose.pro-compose-clean textarea:focus{border-color:#0a66c2!important;box-shadow:0 0 0 4px rgba(10,102,194,.13)!important;outline:0!important}
.message-compose.pro-compose-clean .compose-tools,
.message-compose.pro-compose-clean .compose-side{
  flex:0 0 auto!important;
  min-width:150px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  gap:7px!important;
  justify-content:flex-end!important;
}
.message-compose.pro-compose-clean .compose-tools .btn,
.message-compose.pro-compose-clean .compose-side .btn{height:48px!important;border-radius:14px!important;padding:0 18px!important;white-space:nowrap!important}
.message-compose.pro-compose-clean .compose-tools .small,
.message-compose.pro-compose-clean .compose-side .small{max-width:190px!important;text-align:center!important;line-height:1.8!important;white-space:normal!important}
.comment-input-wrap{position:relative!important}.comment-input-wrap textarea[data-mentionable]{max-height:none!important}.comment-box textarea[data-mentionable]{min-height:42px!important}
.mention-suggest-box{
  position:absolute;z-index:2500;width:min(430px,92vw);max-height:370px;overflow:auto;background:#fff;border:1px solid #dbe3ee;border-radius:0 0 16px 16px;box-shadow:0 18px 44px rgba(15,23,42,.20);display:none;direction:rtl;text-align:right;
}
.mention-suggest-box.show{display:block}.mention-suggest-item{display:flex;align-items:center;gap:10px;width:100%;border:0;background:#fff;padding:9px 11px;cursor:pointer;text-align:right;color:#1f2937;border-bottom:1px solid #eef2f7}.mention-suggest-item:hover,.mention-suggest-item.active{background:#eef6ff}.mention-suggest-item img{width:38px;height:38px;border-radius:50%;object-fit:cover;background:#e5e7eb;flex:0 0 38px}.mention-suggest-meta{min-width:0;display:grid;gap:1px}.mention-suggest-meta b{font-size:13.5px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mention-suggest-meta small{font-size:12px;color:#64748b;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;direction:rtl}.mention-suggest-empty{padding:12px;color:#64748b;font-size:12px}.mention-suggest-loading{padding:9px 12px;color:#64748b;font-size:12px;text-align:center}.mention-suggest-box:before{content:'منشن افراد';display:block;padding:8px 11px;font-size:11px;font-weight:900;color:#64748b;background:#f8fafc;border-bottom:1px solid #eef2f7}
.visibility-ribbon{top:9px!important;left:-24px!important;width:72px!important;height:16px!important;transform:rotate(-45deg)!important;border-radius:1px!important;box-shadow:0 6px 13px rgba(15,23,42,.18)!important}
.visibility-ribbon::before,.visibility-ribbon::after{height:16px!important;width:7px!important;opacity:.65!important}.visibility-ribbon::before{left:-6px!important}.visibility-ribbon::after{right:-6px!important}.visibility-ribbon .li-icon,.visibility-ribbon svg{width:11px!important;height:11px!important;transform:none!important;stroke-width:2.8!important}.visibility-ribbon + .post-head{padding-left:30px!important;padding-top:10px!important}
@media(max-width:760px){.message-compose.pro-compose-clean{display:grid!important;grid-template-columns:1fr!important}.message-compose.pro-compose-clean .compose-input-shell{min-width:0!important}.message-compose.pro-compose-clean .compose-tools,.message-compose.pro-compose-clean .compose-side{min-width:0!important;width:100%!important;flex-direction:row-reverse!important;justify-content:space-between!important}.message-compose.pro-compose-clean .compose-tools .small,.message-compose.pro-compose-clean .compose-side .small{text-align:right!important;max-width:none!important}.visibility-ribbon{left:-25px!important;width:70px!important;height:15px!important}.visibility-ribbon::before,.visibility-ribbon::after{height:15px!important}.visibility-ribbon .li-icon,.visibility-ribbon svg{width:10px!important;height:10px!important}}

/* v68 - profile context pages, desktop write button, and cleaner post menu */
@media (min-width: 901px){
  .topbar .nav-write{display:none!important}
}
.card.post{overflow:visible!important}
.card.post .dropdown{z-index:25!important}
.card.post .dropdown-menu{
  width:248px!important;
  max-height:calc(100vh - 110px)!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  padding:7px!important;
  border-radius:14px!important;
  box-shadow:0 18px 40px rgba(15,23,42,.18)!important;
}
.card.post .dropdown-menu a,.card.post .dropdown-menu button,.card.post .dropdown-menu summary{
  min-height:38px!important;
  font-size:13px!important;
  white-space:nowrap!important;
}
.profile-context-hero{
  overflow:hidden!important;
  margin:0 auto 16px!important;
  border-radius:20px!important;
  background:#fff!important;
  box-shadow:0 2px 14px rgba(15,23,42,.05)!important;
}
.profile-context-cover{
  height:116px!important;
  background:linear-gradient(135deg,#475569,#111827)!important;
  position:relative!important;
  overflow:hidden!important;
}
.profile-context-cover img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  display:block!important;
}
.profile-context-body{
  display:grid!important;
  grid-template-columns:92px minmax(0,1fr) auto!important;
  gap:16px!important;
  align-items:end!important;
  padding:0 22px 18px!important;
}
.profile-context-avatar{
  width:104px!important;
  height:104px!important;
  border-radius:50%!important;
  margin-top:-52px!important;
  border:5px solid #fff!important;
  background:#e8eef6!important;
  box-shadow:0 8px 26px rgba(15,23,42,.16)!important;
  overflow:hidden!important;
  display:grid!important;
  place-items:center!important;
  color:#334155!important;
  font-weight:950!important;
  font-size:24px!important;
  position:relative!important;
}
.profile-context-avatar img{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
}
.profile-context-info{min-width:0!important;padding-top:12px!important}
.profile-context-kicker{
  display:inline-flex!important;
  align-items:center!important;
  border-radius:999px!important;
  background:#eef6ff!important;
  color:#0a66c2!important;
  padding:4px 10px!important;
  font-weight:900!important;
  margin-bottom:6px!important;
}
.profile-context-info h2{margin:0!important;font-size:22px!important;letter-spacing:-.35px!important;color:#1f2937!important}
.profile-context-info p{margin:2px 0 8px!important;color:#64748b!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:640px!important}
.profile-context-badges{display:flex!important;gap:7px!important;flex-wrap:wrap!important}
.profile-context-badges span{
  display:inline-flex!important;
  align-items:center!important;
  gap:5px!important;
  border:1px solid #dbe4ef!important;
  background:#f8fafc!important;
  color:#334155!important;
  border-radius:999px!important;
  padding:4px 9px!important;
  font-size:12px!important;
  font-weight:800!important;
}
.profile-context-actions{display:flex!important;gap:7px!important;align-items:center!important;flex-wrap:wrap!important;justify-content:flex-end!important;padding-bottom:2px!important}
.profile-context-actions a{
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  min-height:36px!important;
  padding:7px 10px!important;
  border-radius:12px!important;
  border:1px solid #dbe4ef!important;
  color:#475569!important;
  background:#fff!important;
  font-weight:850!important;
  font-size:12.5px!important;
}
.profile-context-actions a:hover,.profile-context-actions a.active{
  border-color:#b8d7f4!important;
  background:#eef6ff!important;
  color:#0a66c2!important;
}
.tx-hero.tx-hero-compact{margin-top:0!important}
@media(max-width:900px){
  .profile-context-body{grid-template-columns:74px 1fr!important;align-items:start!important;padding:0 14px 14px!important;gap:12px!important}
  .profile-context-cover{height:90px!important}
  .profile-context-avatar{width:82px!important;height:82px!important;margin-top:-41px!important;border-width:4px!important;font-size:20px!important}
  .profile-context-actions{grid-column:1 / -1!important;justify-content:flex-start!important;overflow-x:auto!important;flex-wrap:nowrap!important;padding-top:8px!important}
  .profile-context-actions a{white-space:nowrap!important;flex:0 0 auto!important}
  .profile-context-info h2{font-size:18px!important}.profile-context-info p{max-width:100%!important}
}

/* v70: page width aligned with profile cover and wider internal account pages */
.container{max-width:1180px!important;width:min(1180px,100% - 28px)!important;padding-left:0!important;padding-right:0!important}
.profile-context-hero,.performance-page,.performance-chart-card,.performance-list,.single-verify,.verify-layout,.form-card,.tx-hero,.tx-summary-grid,.tx-card{width:100%!important;max-width:1180px!important;margin-left:auto!important;margin-right:auto!important}
.performance-page,.performance-chart-card,.performance-list{max-width:1180px!important}
.verify-layout{display:grid!important;width:100%!important}
@media(max-width:760px){.container{width:100%!important;padding-left:10px!important;padding-right:10px!important}.profile-context-hero,.performance-page,.performance-chart-card,.performance-list,.single-verify,.verify-layout,.form-card,.tx-hero,.tx-summary-grid,.tx-card{max-width:100%!important}}

/* v70: ajax comment UX */
.comment-box.is-loading{opacity:.72;pointer-events:none}.comment-box.is-loading .comment-input-wrap:after{content:'در حال ثبت...';position:absolute;left:88px;top:50%;transform:translateY(-50%);font-size:11px;color:#64748b;background:#fff;border-radius:999px;padding:2px 8px}.q-new-comment{animation:qNewComment .9s ease both}@keyframes qNewComment{0%{background:#e8f3ff;transform:translateY(8px)}100%{background:transparent;transform:none}}.q-ajax-toast{position:fixed;right:18px;bottom:18px;z-index:999999;opacity:0;transform:translateY(10px);transition:.18s}.q-ajax-toast.show{opacity:1;transform:none}.comment-list,.comment-replies{min-width:0}.comment-react-wrap.is-open .comment-react-menu{display:flex!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;transform:translateY(0) scale(1)!important}

/* v70: reader panel */
.reader-library-panel .side-title{display:flex;align-items:center;gap:7px}.reader-book-tabs{display:grid;gap:8px}.reader-book-tabs details{border:1px solid var(--line);border-radius:14px;background:#fbfdff;overflow:hidden}.reader-book-tabs summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;font-weight:950;color:#26364a}.reader-book-tabs summary::-webkit-details-marker{display:none}.reader-book-tabs summary:after{content:'+';width:22px;height:22px;border-radius:50%;background:#eef3f8;color:#0a66c2;display:grid;place-items:center;font-weight:950;margin-inline-start:auto}.reader-book-tabs details[open] summary:after{content:'−'}.reader-book-tabs summary b{background:#e8f3ff;color:#0a66c2;border-radius:999px;padding:1px 8px;font-size:12px}.reader-book-tabs .favorite-mini-list{padding:0 10px 10px}.reader-book-tabs .favorite-mini-row{border-top:1px solid #edf2f7;padding-top:8px;margin-top:8px}.reader-book-tabs .favorite-mini-row:first-child{border-top:0;margin-top:0}

/* Qafaseh v71: profile-width media page, shelf books and LinkedIn-like chat dock */
.media-frame-page{width:100%!important;max-width:1180px!important;margin-left:auto!important;margin-right:auto!important}
.media-frame-grid{align-items:start!important}.media-frame-card{box-shadow:0 1px 0 rgba(16,24,40,.02)!important}

.shelf-books-panel{margin:14px auto!important}.shelf-book-sections{display:grid;gap:12px}.shelf-book-sections details{border:1px solid var(--line,#dbe3ee);border-radius:16px;background:#fff;overflow:hidden}.shelf-book-sections summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;font-weight:950;color:#1f2937;background:#f8fafc}.shelf-book-sections summary::-webkit-details-marker{display:none}.shelf-book-sections summary b{font-size:12px;color:#0a66c2;background:#eef6ff;border-radius:999px;padding:2px 9px}.shelf-book-sections .compact-book-grid{padding:12px;grid-template-columns:repeat(auto-fill,minmax(190px,1fr))!important}

.q-chat-dock{position:fixed!important;right:22px!important;bottom:0!important;width:315px!important;z-index:95!important;direction:rtl;font-family:inherit}.q-chat-dock-head{width:100%;height:48px;border:1px solid #dbe3ee;border-bottom:0;border-radius:14px 14px 0 0;background:#fff;box-shadow:0 -2px 18px rgba(15,23,42,.12);display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;cursor:pointer;color:#1f2937}.q-chat-dock-user{display:flex;align-items:center;gap:8px;min-width:0}.q-chat-dock-user img{width:30px;height:30px;border-radius:50%;object-fit:cover}.q-chat-dock-user b{font-size:13px;white-space:nowrap}.q-chat-dock-icons{display:flex;align-items:center;gap:8px;color:#334155}.q-chat-dock-icons .li-icon{width:17px;height:17px}.q-chat-dock-panel{display:none;height:520px;max-height:calc(100vh - 88px);background:#fff;border:1px solid #dbe3ee;border-bottom:0;box-shadow:0 -9px 28px rgba(15,23,42,.16);overflow:hidden}.q-chat-dock.open .q-chat-dock-panel{display:block}.q-chat-dock.open .q-chat-dock-icons .li-icon:last-child{transform:rotate(180deg)}.q-chat-dock-top{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border-bottom:1px solid #eef2f7}.q-chat-dock-top b{font-size:14px}.q-chat-dock-top a{font-size:12px;color:#0a66c2;font-weight:850}.q-chat-dock-filter{display:flex;align-items:center;gap:7px;margin:9px 10px 7px;background:#eef3f8;border-radius:8px;padding:0 9px;height:36px;color:#475569}.q-chat-dock-filter input{border:0;background:transparent;outline:none;flex:1;min-width:0;font-size:12.5px}.q-chat-dock-tabs{display:flex;border-bottom:1px solid #e5edf7}.q-chat-dock-tabs button{flex:1;border:0;background:#fff;padding:9px;color:#475569;font-weight:800;cursor:pointer}.q-chat-dock-tabs button.active{color:#057642;border-bottom:2px solid #057642}.q-chat-dock-list{height:calc(100% - 132px);overflow:auto;padding:4px 0 12px}.q-chat-loading,.q-chat-empty{padding:18px;text-align:center;color:#64748b;font-size:12px}.q-chat-thread{display:grid;grid-template-columns:1fr 34px;align-items:stretch;min-height:66px;border-bottom:1px solid #eef2f7;position:relative}.q-chat-thread:hover{background:#f8fafc}.q-chat-thread-main{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:9px;align-items:center;padding:8px 10px 8px 0;min-width:0}.q-chat-thread-main img{width:40px;height:40px;border-radius:50%;object-fit:cover}.q-chat-thread-main span{min-width:0}.q-chat-thread-main b{display:block;font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.q-chat-thread-main small{display:block;color:#64748b;font-size:11.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;direction:rtl}.q-chat-thread-main em{font-style:normal;color:#64748b;font-size:10.5px;align-self:start;margin-top:5px;white-space:nowrap}.q-chat-thread-menu{display:grid;place-items:center;position:relative}.q-chat-menu-btn{border:0;background:transparent;color:#475569;border-radius:999px;width:28px;height:28px;display:grid;place-items:center;cursor:pointer}.q-chat-thread:hover .q-chat-menu-btn{background:#eef3f8}.q-chat-menu-pop{display:none;position:absolute;left:7px;top:35px;width:185px;background:#fff;border:1px solid #dbe3ee;border-radius:10px;box-shadow:0 12px 28px rgba(15,23,42,.18);padding:6px;z-index:3}.q-chat-thread-menu:hover .q-chat-menu-pop,.q-chat-thread-menu:focus-within .q-chat-menu-pop{display:block}.q-chat-menu-pop button{width:100%;border:0;background:#fff;text-align:right;padding:8px 9px;border-radius:7px;color:#334155;cursor:pointer;font-size:12px}.q-chat-menu-pop button:hover{background:#eef6ff;color:#0a66c2}.q-chat-menu-pop form{margin:0}
@media(max-width:820px){.q-chat-dock{display:none!important}.media-frame-page{max-width:100%!important}.shelf-book-sections .compact-book-grid{grid-template-columns:1fr!important}}

/* Qafaseh v72: modern bookshelf, message actions and published book counts */
.q-chat-menu-pop form{margin:0}.q-chat-menu-pop .q-chat-menu-link{display:block;padding:8px 9px;border-radius:7px;color:#334155;font-size:12px}.q-chat-menu-pop .q-chat-menu-link:hover{background:#eef6ff;color:#0a66c2}.q-chat-thread.is-unread .q-chat-thread-main b{font-weight:950;color:#0f172a}.q-chat-thread.is-unread::before{content:"";position:absolute;right:4px;top:28px;width:7px;height:7px;border-radius:50%;background:#0a66c2}.q-chat-thread.is-starred .q-chat-thread-main b::after{content:" ★";color:#f59e0b}.q-chat-thread.is-muted{opacity:.68}.q-chat-dock-tabs button{position:relative}.q-chat-dock-tabs button[data-folder="other"]::after{content:"";display:inline-block;width:5px;height:5px;border-radius:50%;background:#94a3b8;margin-right:5px;vertical-align:middle}
.shelf-library-modern{border:1px solid var(--line,#dbe3ee);border-radius:24px;background:linear-gradient(180deg,#fff,#f8fbff);padding:18px;margin:14px 0 18px;box-shadow:0 16px 45px rgba(15,23,42,.06)}.shelf-library-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}.shelf-library-head h2{margin:0;display:flex;align-items:center;gap:8px}.shelf-library-total{min-width:118px;border:1px solid #dbeafe;border-radius:18px;background:#eef6ff;color:#0a66c2;text-align:center;padding:10px}.shelf-library-total b{display:block;font-size:24px;line-height:1}.shelf-library-total span{font-size:11px;color:#475569}.shelf-racks{display:grid;gap:18px}.book-rack{position:relative;border-radius:20px;padding:12px 12px 18px;background:linear-gradient(180deg,#ffffff 0%,#ffffff 72%,#edf4fb 73%,#d7e4f2 76%,#f8fbff 100%);border:1px solid #e2e8f0;overflow:hidden}.book-rack::after{content:"";position:absolute;right:18px;left:18px;bottom:26px;height:10px;border-radius:999px;background:linear-gradient(180deg,#d1dceb,#94a3b8);box-shadow:0 12px 22px rgba(15,23,42,.18);opacity:.62}.book-rack-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px;position:relative;z-index:2}.book-rack-title span{display:inline-flex;align-items:center;gap:7px;font-weight:950}.book-rack-title b{font-size:12px;background:#0a66c2;color:#fff;border-radius:999px;min-width:26px;height:26px;display:grid;place-items:center;padding:0 8px}.book-rack-track{display:flex;gap:12px;overflow-x:auto;overflow-y:hidden;padding:5px 4px 20px;scroll-snap-type:x mandatory;position:relative;z-index:2}.book-rack-track::-webkit-scrollbar{height:8px}.book-rack-track::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}.book-spine-card{flex:0 0 112px;scroll-snap-align:start;display:flex;flex-direction:column;gap:8px;align-items:center;text-align:center;color:#1f2937;transition:.18s}.book-spine-card:hover{transform:translateY(-5px)}.book-spine-cover{width:86px;height:128px;border-radius:8px 12px 12px 8px;background:linear-gradient(135deg,#0a66c2,#1d4ed8);display:grid;place-items:center;overflow:hidden;box-shadow:10px 15px 24px rgba(15,23,42,.18), inset -8px 0 0 rgba(255,255,255,.14);border:1px solid rgba(15,23,42,.10)}.book-spine-cover img{width:100%;height:100%;object-fit:cover}.book-spine-cover .li-icon{color:#fff;width:32px;height:32px}.book-spine-info{display:block;width:100%;min-height:52px}.book-spine-info b{display:block;font-size:12px;line-height:1.55;max-height:38px;overflow:hidden}.book-spine-info small{display:block;color:#64748b;font-size:10.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.empty-book-rack{min-height:128px;min-width:210px;display:flex;align-items:center;justify-content:center;gap:8px;color:#64748b;background:rgba(255,255,255,.7);border:1px dashed #cbd5e1;border-radius:16px;padding:14px}.empty-book-rack .li-icon{color:#0a66c2}.book-rack-downloaded .book-spine-cover{background:linear-gradient(135deg,#057642,#10b981)}.book-rack-purchased .book-spine-cover{background:linear-gradient(135deg,#7c3aed,#a855f7)}
.publisher-stats.admin-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.profile-bio-meta+.badge.dark,.hero-body .badge.dark{margin-top:6px}
@media(max-width:760px){.shelf-library-head{display:block}.shelf-library-total{margin-top:10px}.book-spine-card{flex-basis:98px}.book-spine-cover{width:74px;height:112px}.q-chat-dock{display:none!important}}


/* Qafaseh v73: robust chat actions and professional public documents */
.q-chat-menu-pop{z-index:20!important}.q-chat-menu-pop button:disabled{opacity:.6;cursor:wait}.q-chat-menu-pop button[type="submit"]{display:block}.q-chat-thread.is-unread{background:linear-gradient(90deg,#f8fbff,#fff)}
.page-doc.editable-page{max-width:1180px;margin:0 auto;border-radius:26px;padding:0!important;overflow:hidden;background:#fff}.page-doc .doc-hero{padding:34px 34px 30px;background:radial-gradient(circle at 10% 0,#e8f3ff,transparent 33%),linear-gradient(135deg,#0f172a,#22324a);color:#fff}.page-doc .doc-hero span{display:inline-flex;border:1px solid rgba(255,255,255,.24);background:rgba(255,255,255,.12);border-radius:999px;padding:4px 12px;font-size:12px;font-weight:900}.page-doc .doc-hero h1{margin:12px 0 8px;font-size:34px;letter-spacing:-1px;color:#fff}.page-doc .doc-hero p{max-width:860px;margin:0;color:#dbeafe;font-size:15px;line-height:2}.page-doc h2{margin:30px 34px 10px;font-size:21px;color:#172033}.page-doc h3{margin:0 0 8px}.page-doc p{margin:10px 34px;color:#334155;line-height:2.05}.doc-grid{display:grid;gap:14px;margin:22px 34px}.doc-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.doc-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.doc-card{border:1px solid #dbe3ee;border-radius:18px;background:linear-gradient(180deg,#fff,#f8fbff);padding:16px;box-shadow:0 10px 28px rgba(15,23,42,.04)}.doc-card p{margin:0;color:#475569;font-size:13px}.doc-list{margin:8px 34px 16px;padding:0 22px 0 0;color:#334155;line-height:2.2}.doc-list li{padding-right:6px}.doc-callout{margin:22px 34px;border:1px solid #bfdbfe;background:#eff6ff;color:#1e3a8a;border-radius:18px;padding:15px 18px;line-height:2}.doc-callout b{display:block;margin-bottom:4px}.doc-callout span{display:block}.doc-callout.danger{border-color:#fecaca;background:#fff7f7;color:#7f1d1d}.doc-callout ul{margin:8px 0 0;padding:0 22px 0 0}.doc-steps{margin:16px 34px;padding:0;list-style:none;display:grid;gap:12px}.doc-steps li{display:grid;grid-template-columns:220px 1fr;gap:12px;border:1px solid #dbe3ee;border-radius:16px;padding:13px 15px;background:#fff}.doc-steps b{color:#0a66c2}.doc-steps span{color:#475569;line-height:1.9}@media(max-width:820px){.page-doc .doc-hero{padding:24px 18px}.page-doc .doc-hero h1{font-size:26px}.page-doc h2,.page-doc p,.doc-grid,.doc-list,.doc-callout,.doc-steps{margin-right:18px;margin-left:18px}.doc-grid.two,.doc-grid.three{grid-template-columns:1fr}.doc-steps li{grid-template-columns:1fr}.q-chat-dock{display:none!important}}

/* Qafaseh v77: robust chat menu route fix + profile lazy loading */
.profile-lazy-loader{display:flex;align-items:center;justify-content:center;gap:10px;margin:12px 0 22px;color:#64748b;font-size:12px}.profile-lazy-loader button{display:none;border:1px solid #dbe3ee;background:#fff;border-radius:999px;padding:8px 14px;font-weight:900;color:#0a66c2;cursor:pointer}.profile-lazy-loader.is-loading span::before{content:"";display:inline-block;width:12px;height:12px;border-radius:50%;border:2px solid #cbd5e1;border-top-color:#0a66c2;margin-left:8px;vertical-align:-2px;animation:qspin .8s linear infinite}.profile-lazy-loader.has-error span{color:#b91c1c}.profile-lazy-list .profile-lazy-item{animation:profileLazyIn .18s ease-out}@keyframes profileLazyIn{from{opacity:.2;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes qspin{to{transform:rotate(360deg)}}

/* Qafaseh v77: stabilization release - keep layout stable while DB/query/security improvements land. */

/* Qafaseh v77: faster composer feedback */
.post-modal-card.is-loading{pointer-events:none;opacity:.78}
.post-modal-card.is-loading::after{content:"";position:absolute;inset:auto 18px 18px 18px;height:3px;border-radius:999px;background:linear-gradient(90deg,#0a66c2,#8bc6ff,#0a66c2);background-size:180% 100%;animation:qLoadingBar 1s linear infinite}
.q-new-post{animation:qNewPost .95s ease-out both}
@keyframes qNewPost{0%{transform:translateY(-12px);box-shadow:0 0 0 4px rgba(10,102,194,.18)}100%{transform:none;box-shadow:var(--shadow)}}
@keyframes qLoadingBar{to{background-position:180% 0}}

/* v78 bilingual UI */
.q-language-switch{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;border:1px solid var(--border,#e5e7eb);border-radius:999px;background:rgba(255,255,255,.85);font-size:12px;font-weight:800;white-space:nowrap}
.q-language-switch a{color:var(--muted,#64748b);text-decoration:none;padding:2px 4px;border-radius:999px}
.q-language-switch a.active{color:var(--primary,#0a66c2);background:rgba(10,102,194,.08)}
.q-dir-ltr{direction:ltr;text-align:left}
.q-dir-ltr .topbar-inner,.q-dir-ltr .post-head,.q-dir-ltr .comment,.q-dir-ltr .profile-head,.q-dir-ltr .messages-pro-layout,.q-dir-ltr .admin-layout,.q-dir-ltr .form-grid,.q-dir-ltr .stat-grid,.q-dir-ltr .card-row{direction:ltr;text-align:left}
.q-dir-ltr .mobile-bottom-nav{direction:ltr}
.q-dir-ltr .dropdown-menu{right:auto;left:0;text-align:left}
.q-dir-ltr .search input,.q-dir-ltr input,.q-dir-ltr textarea,.q-dir-ltr select{direction:ltr;text-align:left}
.q-dir-ltr .brand-text,.q-dir-ltr .meta,.q-dir-ltr .small,.q-dir-ltr .muted{text-align:left}
.q-dir-ltr .q-chat-dock{right:auto;left:24px}
.q-dir-ltr .q-chat-dock-panel,.q-dir-ltr .q-chat-dock-head{direction:ltr;text-align:left}
.q-dir-ltr .visibility-ribbon{right:auto;left:12px;transform:rotate(-12deg)}
.q-dir-ltr .avatar-mini{margin-left:0;margin-right:8px}
.q-dir-ltr .comment .avatar-mini{margin-right:10px;margin-left:0}
@media (max-width:760px){.q-language-switch{position:absolute;top:10px;left:64px}.q-dir-ltr .q-language-switch{left:auto;right:64px}.q-dir-ltr .q-chat-dock{left:10px;right:10px}}


/* v80 bilingual polish */
body.q-locale-en{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI","Calibri","Inter",Arial,sans-serif;direction:ltr;letter-spacing:-.01em}
body.q-locale-en button,body.q-locale-en input,body.q-locale-en textarea,body.q-locale-en select{font-family:inherit}
.q-footer-language-switch{margin-top:8px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:5px 10px;border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.78);font-size:12px;font-weight:850}
.q-footer-language-switch a{color:var(--muted);padding:2px 6px;border-radius:999px;text-decoration:none}.q-footer-language-switch a.active{background:rgba(10,102,194,.10);color:var(--blue)}
.q-language-switch{display:none!important}
.dropdown-menu{width:max-content;min-width:260px;max-width:340px}.dropdown-menu a,.dropdown-menu button{white-space:nowrap;justify-content:flex-start;line-height:1.45}.q-dir-rtl .dropdown-menu a,.q-dir-rtl .dropdown-menu button{text-align:right}.q-dir-ltr .dropdown-menu{right:0;left:auto}.q-dir-ltr .dropdown-menu a,.q-dir-ltr .dropdown-menu button{text-align:left;direction:ltr}.q-dir-ltr .report-pro-form select,.q-dir-ltr .report-pro-form input,.q-dir-ltr .report-pro-form textarea{text-align:left;direction:ltr}
.q-dir-ltr .post-head .meta h4,.q-dir-ltr .post-head .meta .small{text-align:left}.q-dir-ltr .post-stats{direction:ltr}.q-dir-ltr .comment-bubble{text-align:left;border-radius:0 14px 14px 14px}.q-dir-ltr .footer-note{direction:ltr}.q-dir-ltr .search input{padding:0 12px 0 42px}.q-dir-ltr .search .li-icon{right:auto;left:13px}.q-dir-ltr .comment-box textarea{padding:9px 48px 9px 15px}.q-dir-ltr .comment-box button{left:auto;right:5px}


/* v80 English cleanup: wider work menu and smoother LTR form UI */
body.q-locale-en .card.post .dropdown-menu{min-width:320px;max-width:420px;width:max-content;direction:ltr;text-align:left}
body.q-locale-en .card.post .dropdown-menu a,body.q-locale-en .card.post .dropdown-menu button,body.q-locale-en .card.post .dropdown-menu summary{justify-content:flex-start;text-align:left;white-space:nowrap;gap:10px}
body.q-locale-en .card.post .dropdown-menu .report-pro-form{direction:ltr;text-align:left}
body.q-locale-en .field label,body.q-locale-en .field small,body.q-locale-en .studio-tips,body.q-locale-en .type-template-hints{direction:ltr;text-align:left}
body.q-locale-en .media-main-hint{direction:ltr;text-align:left}
body.q-locale-en .q-footer-language-switch a{font-weight:800}

/* v81 language QA + admin/top menu click stability */
.topbar{z-index:5000!important;isolation:isolate!important}.topbar-inner{position:relative!important;z-index:2!important}.topbar .nav{position:relative!important;z-index:5!important;display:flex!important;align-items:center!important;flex-wrap:nowrap!important}.topbar .nav a,.topbar .nav button{position:relative!important;z-index:6!important;flex:0 0 auto!important;pointer-events:auto!important}.topbar .nav-profile{max-width:86px!important;overflow:hidden!important}.topbar .nav-profile img{pointer-events:none!important}.admin-tabs{position:relative!important;z-index:20!important;pointer-events:auto!important}.admin-tabs a{position:relative!important;z-index:21!important;pointer-events:auto!important}.q-locale-en .admin-tabs{direction:ltr!important;text-align:left!important}.q-locale-en .admin-tabs a{direction:ltr!important;text-align:left!important}.q-locale-en .comment-box.is-loading .comment-input-wrap:after{content:'Posting...'!important}.q-locale-en .post-modal-card.is-loading::before{content:'Publishing...'!important;position:absolute;left:18px;right:auto;bottom:26px;font-size:12px;color:#64748b;z-index:2}.q-locale-en .field small,.q-locale-en .muted,.q-locale-en [data-tooltip],.q-locale-en .studio-tips,.q-locale-en .type-hint span{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI","Calibri","Inter",Arial,sans-serif}.q-locale-en .dropdown-menu{min-width:270px!important;width:max-content!important;max-width:330px!important;direction:ltr!important;text-align:left!important}.q-locale-en .dropdown-menu a,.q-locale-en .dropdown-menu button{direction:ltr!important;text-align:left!important;justify-content:flex-start!important;white-space:nowrap!important}.q-locale-en .post-stats,.q-locale-en .post-head .meta,.q-locale-en .shelf-hero-modern,.q-locale-en .performance-page,.q-locale-en .form-card{direction:ltr!important;text-align:left!important}.q-locale-en .book-rack-title,.q-locale-en .shelf-library-head{direction:ltr!important;text-align:left!important}.q-locale-en .modern-file,.q-locale-en .media-main-hint{direction:ltr!important;text-align:left!important}.q-locale-en .q-footer-language-switch{direction:ltr!important}.q-locale-en .q-footer-language-switch a:first-child{font-family:Vazirmatn,Tahoma,sans-serif}


/* v82 admin navigation hardening: let real anchor links navigate natively */
.admin-tabs, .admin-tabs *{pointer-events:auto!important;}
.admin-tabs a[href]{cursor:pointer!important;}
.admin-tabs a[href] svg,.admin-tabs a[href] span{pointer-events:none!important;}
.topbar .nav a[href]{cursor:pointer!important;}
.topbar .nav a[href] svg,.topbar .nav a[href] span,.topbar .nav-profile img{pointer-events:none!important;}

/* Qafaseh v84 - navigation stability: prevent search/overlays from disabling real navigation links */
.topbar,
.topbar.mobile-app-topbar{overflow:visible!important;isolation:isolate!important;z-index:6000!important}
.topbar .topbar-inner{position:relative!important;z-index:10!important;overflow:visible!important}
.topbar .nav,
.topbar.search-open .nav,
.topbar.search-open .mobile-bottom-nav{visibility:visible!important;opacity:1!important;pointer-events:auto!important;position:relative!important;z-index:80!important}
.topbar .nav a[href],
.topbar .nav button,
.topbar [data-hard-nav]{pointer-events:auto!important;position:relative!important;z-index:90!important}
.topbar .search.expand-search:not(.is-open):not(.open){z-index:5!important;pointer-events:auto!important}
.topbar .search.expand-search.is-open,
.topbar .search.expand-search.open{z-index:70!important}
.profile-context-hero{position:relative!important;overflow:visible!important}
.profile-context-actions{position:relative!important;z-index:40!important;pointer-events:auto!important}
.profile-context-actions a[href],.profile-context-avatar{position:relative!important;z-index:41!important;pointer-events:auto!important}
.admin-tabs{position:relative!important;z-index:50!important;pointer-events:auto!important}
.admin-tabs a[href],.admin-tabs [data-admin-link]{position:relative!important;z-index:51!important;pointer-events:auto!important}
.search-suggest-portal:not(.show){display:none!important;pointer-events:none!important}
.search-suggest-portal.show{pointer-events:auto!important}


/* Qafaseh v84 - hard navigation click safety */
.topbar .brand[href],
.topbar .nav a[href],
.topbar [data-hard-nav],
.admin-tabs a[href],
.profile-context-actions a[href],
.profile-context-avatar[href],
.dropdown-menu a[href]{pointer-events:auto!important;position:relative!important;z-index:9999!important;touch-action:manipulation!important;}
.topbar .nav a[href] * ,
.topbar .brand[href] * ,
.admin-tabs a[href] * ,
.profile-context-actions a[href] *{pointer-events:none!important;}
.search-suggest-portal:not(.show),.search-suggest-box:not(.show){pointer-events:none!important;}
.search-suggest-portal.show{z-index:1200!important;}
.topbar .nav{z-index:10000!important;}


/* Qafaseh v86 - native nav and click dropdown stability */
.topbar.search-open .nav,
.topbar.search-open .mobile-bottom-nav,
.topbar.search-open .nav a,
.topbar.search-open .nav button,
.topbar.search-open .brand,
.topbar.search-open .brand-text{visibility:visible!important;opacity:1!important;pointer-events:auto!important;}
.topbar .nav,.mobile-app-topbar .nav{position:relative!important;z-index:12000!important;pointer-events:auto!important;}
.topbar .nav a[href],.topbar .brand[href],.topbar [data-hard-nav],.profile-context-actions a[href],.profile-icon-btn[href],.activity-tabs a[href],.admin-tabs a[href]{pointer-events:auto!important;touch-action:manipulation!important;}
.mobile-app-topbar .search.expand-search:not(.is-open):not(.open){z-index:50!important;}
.mobile-app-topbar .search.expand-search.is-open,.mobile-app-topbar .search.expand-search.open{z-index:7000!important;}
.dropdown.is-open .dropdown-menu,.dropdown[data-menu-open="1"] .dropdown-menu{display:block!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;z-index:20000!important;}
.q-chat-thread-menu.is-open .q-chat-menu-pop,.q-chat-thread-menu[data-menu-open="1"] .q-chat-menu-pop{display:block!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;z-index:20000!important;}
.dropdown > .more,.dropdown [data-menu-toggle],.q-chat-menu-btn{pointer-events:auto!important;touch-action:manipulation!important;}
.dropdown > .more *,.dropdown [data-menu-toggle] *,.q-chat-menu-btn *{pointer-events:none!important;}
.search-suggest-portal:not(.show),.search-suggest-box:not(.show){display:none!important;pointer-events:none!important;}

/* Qafaseh v87 - Stable navigation rollback
   The mobile-app-topbar/mobile-bottom-nav experiment was creating a fixed/overlay navigation stack.
   v87 restores normal document-flow navigation so admin/profile links are native anchors again. */
.q-topbar-stable{
  position:sticky!important;
  top:0!important;
  z-index:1000!important;
  height:auto!important;
  min-height:58px!important;
  max-height:none!important;
  overflow:visible!important;
  pointer-events:auto!important;
  isolation:auto!important;
}
.q-topbar-stable .topbar-inner{
  height:auto!important;
  min-height:58px!important;
  display:flex!important;
  align-items:center!important;
  flex-wrap:nowrap!important;
  overflow:visible!important;
  pointer-events:auto!important;
  position:relative!important;
  z-index:auto!important;
}
.q-topbar-stable .q-nav-stable,
.q-topbar-stable.search-open .q-nav-stable{
  position:relative!important;
  inset:auto!important;
  display:flex!important;
  align-items:center!important;
  flex-wrap:nowrap!important;
  gap:3px!important;
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
  overflow:visible!important;
  transform:none!important;
  z-index:auto!important;
}
.q-topbar-stable .q-nav-stable a[href],
.q-topbar-stable .brand[href],
.q-topbar-stable .q-nav-stable button{
  display:inline-flex!important;
  pointer-events:auto!important;
  cursor:pointer!important;
  position:relative!important;
  z-index:auto!important;
  touch-action:manipulation!important;
}
.q-topbar-stable .q-nav-stable a[href] *,
.q-topbar-stable .brand[href] *{
  pointer-events:none!important;
}
.q-topbar-stable.search-open .brand,
.q-topbar-stable.search-open .brand-text,
.q-topbar-stable.search-open .q-nav-stable,
.q-topbar-stable.search-open .q-nav-stable a,
.q-topbar-stable.search-open .q-nav-stable button{
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
}
.q-topbar-stable .search.expand-search:not(.is-open):not(.open){
  position:relative!important;
  z-index:auto!important;
  flex:0 0 42px!important;
  max-width:42px!important;
}
.q-topbar-stable .search.expand-search.is-open,
.q-topbar-stable.search-open .search.expand-search{
  z-index:20!important;
}
main.container,.container,.admin-tabs,.profile-context-actions,.activity-tabs,.hero-actions{
  pointer-events:auto!important;
}
.admin-tabs a[href],.profile-context-actions a[href],.activity-tabs a[href],.hero-actions a[href],.admin-card a[href]{
  pointer-events:auto!important;
  cursor:pointer!important;
  position:relative!important;
  z-index:auto!important;
}
@media(max-width:900px){
  .q-topbar-stable{min-height:104px!important;}
  .q-topbar-stable .topbar-inner{
    flex-wrap:wrap!important;
    gap:8px!important;
    padding:7px 10px!important;
  }
  .q-topbar-stable .brand{order:1!important;max-width:calc(100% - 58px)!important;}
  .q-topbar-stable .search.expand-search{order:2!important;margin-inline-start:auto!important;}
  .q-topbar-stable .q-nav-stable,
  .q-topbar-stable.search-open .q-nav-stable{
    order:3!important;
    width:100%!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    padding:2px 0 5px!important;
    -webkit-overflow-scrolling:touch!important;
    justify-content:flex-start!important;
  }
  .q-topbar-stable .q-nav-stable a[href],
  .q-topbar-stable .q-nav-stable button{
    flex:0 0 auto!important;
    width:auto!important;
    height:40px!important;
    min-height:40px!important;
    min-width:auto!important;
    padding:7px 9px!important;
    flex-direction:row!important;
    display:inline-flex!important;
  }
  .q-topbar-stable .q-nav-stable .nav-label{display:inline!important;font-size:11px!important;max-width:none!important;}
  .q-topbar-stable .q-nav-stable .avatar-mini{display:inline-block!important;}
  .q-topbar-stable .write-btn{margin-top:0!important;height:40px!important;min-height:40px!important;border-radius:10px!important;box-shadow:none!important;}
}

/* v88: hitbox navigation stability */
.q-topbar-stable,
.q-topbar-stable .topbar-inner,
.q-topbar-stable .q-nav-stable,
.q-topbar-stable .q-nav-stable a[href],
.q-topbar-stable .brand[href],
.profile-context-actions,
.profile-context-actions a[href],
.profile-hero a[href],
.profile-icon-btn[href],
.activity-tabs,
.activity-tabs a[href],
.admin-tabs,
.admin-tabs a[href],
[data-admin-tabs],
[data-admin-tabs] a[href]{
  pointer-events:auto!important;
  touch-action:manipulation!important;
}
.q-topbar-stable{position:sticky!important;top:0!important;z-index:9000!important;overflow:visible!important;isolation:isolate!important;}
.q-topbar-stable .topbar-inner{position:relative!important;z-index:2!important;overflow:visible!important;}
.q-topbar-stable .q-nav-stable{position:relative!important;z-index:5!important;}
.q-topbar-stable .q-nav-stable a[href],.q-topbar-stable .brand[href]{position:relative!important;z-index:6!important;}
.search-suggest-portal:not(.show),.search-suggest-box:not(.show){display:none!important;pointer-events:none!important;}
.search-suggest-portal.show,.search-suggest-box.show{z-index:10000!important;}

/* v89: forced password change is visible, but navigation remains native */
.toast-warn{background:#fff7ed!important;border:1px solid #fed7aa!important;color:#9a3412!important;box-shadow:0 8px 28px rgba(154,52,18,.10)!important}
.q-force-password-banner{display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:wrap!important;margin:10px auto 14px!important;max-width:1180px!important;line-height:1.8!important}
.q-force-password-banner a{display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:6px 12px!important;border-radius:999px!important;background:#0b66ff!important;color:#fff!important;text-decoration:none!important;font-weight:800!important}

/* v90: Admin Center polish and bilingual QA */
.admin-console-nav{margin-bottom:14px!important;padding:12px!important;overflow:visible!important;border-color:#d8e4f3!important;background:linear-gradient(180deg,#ffffff,#f8fbff)!important}
.admin-console-nav-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin-bottom:10px!important;padding:4px 4px 10px!important;border-bottom:1px solid #e4ebf5!important}
.admin-console-nav-head b{display:block!important;font-size:15px!important;font-weight:950!important;color:#172033!important}.admin-console-nav-head span{display:block!important;font-size:12px!important;color:#667085!important;margin-top:1px!important}.admin-health-link{white-space:nowrap!important}
.admin-console-nav .admin-tabs{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(118px,1fr))!important;gap:8px!important;overflow:visible!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
.admin-console-nav .admin-tabs a{min-height:44px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;border-radius:12px!important;border:1px solid #e4ebf5!important;background:#fff!important;color:#344054!important;font-weight:850!important;font-size:12px!important;box-shadow:0 1px 0 rgba(16,24,40,.02)!important;padding:8px 9px!important;white-space:nowrap!important;transition:.15s ease!important}
.admin-console-nav .admin-tabs a:hover{border-color:#bcd3ef!important;background:#f0f7ff!important;color:#0a66c2!important;transform:translateY(-1px)!important}.admin-console-nav .admin-tabs a.active{border-color:#9cc7f5!important;background:#eaf4ff!important;color:#0a66c2!important;box-shadow:0 7px 18px rgba(10,102,194,.10)!important}.admin-console-nav .admin-tabs a .li-icon,.admin-console-nav .admin-tabs a svg{width:17px!important;height:17px!important;flex:0 0 17px!important}
.admin-hero{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important;background:linear-gradient(135deg,#f8fbff,#ffffff)!important;border-color:#d8e4f3!important}.admin-hero h1,.admin-hero h2{margin:0!important;font-size:22px!important;letter-spacing:-.4px!important}.admin-actions{display:flex!important;gap:8px!important;flex-wrap:wrap!important}.admin-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important}.admin-card{min-height:126px!important;border-color:#dce7f5!important;background:linear-gradient(180deg,#fff,#fbfdff)!important}.admin-card span{font-size:13px!important}.admin-card b{font-size:28px!important;line-height:1.15!important;color:#0a66c2!important}.admin-card a{margin-top:auto!important;color:#344054!important;font-weight:850!important}.admin-card a:hover{color:#0a66c2!important}.admin-table th{font-size:12px!important;text-transform:none!important;color:#475467!important;background:#f8fafc!important}.admin-table td{vertical-align:middle!important}.inline-admin-form{gap:6px!important;align-items:center!important;flex-wrap:wrap!important}.inline-admin-form select,.inline-admin-form input{min-height:34px!important;border-radius:10px!important}.status,.status-pill{white-space:nowrap!important}
html[dir="ltr"] .admin-console-nav,html[dir="ltr"] .admin-hero,html[dir="ltr"] .admin-table,html[dir="ltr"] .form-card,html[dir="ltr"] .settings-form{text-align:left!important}html[dir="ltr"] .admin-console-nav .admin-tabs a{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Calibri,Inter,Arial,sans-serif!important}.q-locale-en small,.q-locale-en .muted,.q-locale-en input,.q-locale-en select,.q-locale-en textarea,.q-locale-en button{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Calibri,Inter,Arial,sans-serif!important}
@media(max-width:900px){.admin-console-nav-head{align-items:flex-start!important;flex-direction:column!important}.admin-health-link{width:100%!important}.admin-console-nav .admin-tabs{grid-template-columns:repeat(2,minmax(0,1fr))!important}.admin-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.admin-hero{align-items:flex-start!important;flex-direction:column!important}.admin-actions{width:100%!important}.admin-actions .btn{flex:1 1 auto!important}}
@media(max-width:560px){.admin-console-nav .admin-tabs{grid-template-columns:1fr!important}.admin-grid{grid-template-columns:1fr!important}}

/* v92 DirectAdmin-style admin redesign + safe data rendering */
.admin-command-center{
  padding:0!important;
  overflow:hidden!important;
  border-radius:20px!important;
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%)!important;
  border:1px solid #dbe7f5!important;
  box-shadow:0 10px 28px rgba(15,23,42,.05)!important;
  margin-bottom:16px!important;
}
.admin-command-head{
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important;
  padding:18px 20px!important;border-bottom:1px solid #e5eef8!important;
  background:radial-gradient(circle at top left,rgba(10,102,194,.12),transparent 42%),#fff!important;
}
.admin-command-head h1{margin:4px 0 2px!important;font-size:22px!important;letter-spacing:-.35px!important;color:#102033!important}
.admin-command-head p{margin:0!important;color:#64748b!important;font-size:12.5px!important;max-width:640px!important}
.admin-kicker{display:inline-flex!important;align-items:center!important;gap:7px!important;color:#0a66c2!important;font-size:12px!important;font-weight:950!important;text-transform:uppercase!important;letter-spacing:.04em!important}
.admin-command-actions{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important}
.admin-command-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;padding:14px!important;background:#f8fafc!important}
.admin-nav-group{background:#fff!important;border:1px solid #e4edf7!important;border-radius:16px!important;padding:12px!important;box-shadow:0 1px 0 rgba(15,23,42,.02)!important;min-width:0!important}
.admin-nav-group>strong{display:flex!important;align-items:center!important;justify-content:space-between!important;margin-bottom:9px!important;color:#64748b!important;font-size:11px!important;text-transform:uppercase!important;letter-spacing:.08em!important}
.admin-nav-group .admin-tabs{display:grid!important;grid-template-columns:1fr!important;gap:7px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important;min-height:0!important}
.admin-nav-group .admin-tabs a{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:9px!important;min-height:38px!important;width:100%!important;border:1px solid #e6edf6!important;border-radius:12px!important;background:#fff!important;color:#243449!important;font-weight:900!important;padding:8px 10px!important;box-shadow:none!important;white-space:nowrap!important;pointer-events:auto!important;position:relative!important}
.admin-nav-group .admin-tabs a:hover{background:#f2f8ff!important;border-color:#b9d5f4!important;color:#0a66c2!important;transform:none!important}
.admin-nav-group .admin-tabs a.active{background:#0a66c2!important;border-color:#0a66c2!important;color:#fff!important;box-shadow:0 8px 18px rgba(10,102,194,.18)!important}
.admin-nav-group .admin-tabs a .li-icon,.admin-nav-group .admin-tabs a svg{width:16px!important;height:16px!important;flex:0 0 16px!important}
.admin-dashboard-intro{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:16px!important;margin-bottom:14px!important;border-radius:18px!important;background:#fff!important}
.admin-dashboard-intro h2{margin:3px 0 2px!important;font-size:21px!important;letter-spacing:-.3px!important}
.admin-dashboard-intro p{margin:0!important}
.admin-metric-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;margin-bottom:16px!important}
.admin-metric-card{background:#fff!important;border:1px solid #dfe9f5!important;border-radius:18px!important;padding:17px!important;display:flex!important;flex-direction:column!important;gap:4px!important;box-shadow:0 1px 0 rgba(15,23,42,.02)!important;transition:.15s!important}
.admin-metric-card:hover{border-color:#9fc7ee!important;box-shadow:0 12px 28px rgba(10,102,194,.10)!important;transform:translateY(-1px)!important}
.admin-metric-card span{color:#64748b!important;font-size:12px!important;font-weight:800!important}
.admin-metric-card b{font-size:28px!important;line-height:1.1!important;color:#0a66c2!important;font-weight:950!important;letter-spacing:-.5px!important}
.admin-metric-card small{color:#243449!important;font-weight:900!important}
.admin-dashboard-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:16px!important;align-items:start!important}
.admin-panel-card{border-radius:18px!important;overflow:hidden!important}
.admin-panel-head{display:flex!important;align-items:center!important;justify-content:space-between!important;margin-bottom:10px!important}
.admin-panel-head h3{margin:0!important;font-size:16px!important;color:#1f2937!important}
.admin-panel-head a{color:#0a66c2!important;font-weight:900!important;font-size:12px!important}
.admin-table-wrap{overflow:auto!important;max-width:100%!important}
.admin-table{width:100%!important;border-collapse:separate!important;border-spacing:0!important}
.admin-table th{background:#f8fafc!important;color:#475569!important;font-size:12px!important;font-weight:950!important;border-bottom:1px solid #e5edf6!important;padding:11px 10px!important;white-space:nowrap!important}
.admin-table td{padding:11px 10px!important;border-bottom:1px solid #e9eff6!important;vertical-align:middle!important;color:#233244!important}
.admin-table tbody tr:hover td{background:#f9fbff!important}
.admin-table tbody.admin-data td[data-no-translate],.admin-data [data-no-translate]{unicode-bidi:plaintext!important}
html[dir="ltr"] .admin-command-head,html[dir="ltr"] .admin-dashboard-intro,html[dir="ltr"] .admin-panel-head{text-align:left!important}
html[dir="ltr"] .admin-nav-group .admin-tabs a{justify-content:flex-start!important;text-align:left!important}
html[dir="ltr"] .admin-table th,html[dir="ltr"] .admin-table td{text-align:left!important}
html[dir="ltr"] .admin-data td[data-no-translate]{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Calibri,Inter,Arial,sans-serif!important}
@media(max-width:1024px){.admin-command-grid,.admin-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.admin-dashboard-grid{grid-template-columns:1fr!important}.admin-command-head{align-items:flex-start!important;flex-direction:column!important}}
@media(max-width:640px){.admin-command-grid,.admin-metric-grid{grid-template-columns:1fr!important}.admin-command-actions{width:100%!important}.admin-command-actions .btn{flex:1!important}.admin-command-head{padding:16px!important}}

/* Qafaseh v92 - DirectAdmin-inspired admin center */
.da-admin-panel{
  margin:0 auto 18px!important;
  border:0!important;
  border-radius:0 0 18px 18px!important;
  background:#0f77ad!important;
  box-shadow:0 18px 40px rgba(15,23,42,.12)!important;
  overflow:hidden!important;
  color:#fff!important;
  width:100%!important;
}
.da-admin-top{
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important;
  background:#fff!important;color:#102033!important;padding:18px 26px!important;border:1px solid #d9e3ef!important;border-bottom:0!important;
}
.da-admin-brand{display:flex!important;align-items:center!important;gap:12px!important;min-width:240px!important}.da-admin-logo{width:44px!important;height:44px!important;border-radius:50%!important;background:#ffc928!important;color:#111827!important;display:grid!important;place-items:center!important;font-weight:950!important;border:3px solid #fff!important;box-shadow:0 0 0 1px #d9e3ef!important}.da-admin-brand b{display:block!important;font-size:18px!important;line-height:1!important}.da-admin-brand small{display:block!important;color:#64748b!important;font-weight:700!important;margin-top:4px!important}.da-admin-mode{display:flex!important;align-items:center!important;gap:0!important;border:1px solid #d8e2ee!important;border-radius:8px!important;background:#f8fafc!important;overflow:hidden!important}.da-admin-mode span{font-size:12px!important;color:#475569!important;padding:0 14px!important;font-weight:800!important}.da-admin-mode a{min-width:92px!important;text-align:center!important;padding:9px 14px!important;color:#334155!important;border-inline-start:1px solid #d8e2ee!important;text-decoration:none!important;font-weight:900!important}.da-admin-mode a.active{background:#fff!important;color:#0a66c2!important;box-shadow:inset 0 -3px 0 #0a66c2!important}.da-admin-user{font-weight:900!important;color:#243449!important;white-space:nowrap!important}.da-admin-bluebar{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:26px!important;padding:25px 34px 28px!important;background:#0f77ad!important;color:#fff!important}.da-admin-column h3{display:flex!important;align-items:center!important;gap:10px!important;margin:0 0 10px!important;padding-bottom:10px!important;border-bottom:1px solid rgba(255,255,255,.78)!important;color:#fff!important;font-size:14px!important;font-weight:950!important}.da-admin-column ul{list-style:none!important;margin:0!important;padding:0!important;display:grid!important;gap:7px!important}.da-admin-column a{color:#fff!important;text-decoration:none!important;font-weight:750!important;font-size:13px!important;line-height:1.25!important;display:inline-flex!important;align-items:center!important;min-height:20px!important;border-radius:6px!important;padding:2px 5px!important;margin-inline-start:-5px!important}.da-admin-column a:hover,.da-admin-column a.active{background:rgba(255,255,255,.16)!important;color:#fff!important}.da-admin-search{margin:0 24px 22px!important;display:flex!important;align-items:center!important;gap:10px!important;background:#fff!important;border-radius:6px!important;min-height:46px!important;padding:0 13px!important;color:#64748b!important}.da-admin-search input{border:0!important;outline:0!important;flex:1!important;min-height:42px!important;background:transparent!important;color:#102033!important}.da-admin-search-hint{font-size:12px!important;color:#94a3b8!important}.da-dashboard-cards{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;margin:16px 0 18px!important}.da-stat-card{display:block!important;padding:18px!important;border:1px solid #dce6f2!important;background:#fff!important;border-radius:13px!important;text-decoration:none!important;color:#1f2937!important;box-shadow:0 2px 9px rgba(15,23,42,.035)!important}.da-stat-card span{display:block!important;color:#64748b!important;font-weight:850!important}.da-stat-card b{display:block!important;color:#0a66c2!important;font-size:30px!important;margin:4px 0!important;line-height:1!important}.da-stat-card small{font-weight:850!important;color:#334155!important}.da-admin-dashboard-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:16px!important}.da-box{background:#fff!important;border:1px solid #dce6f2!important;border-radius:14px!important;padding:16px!important;box-shadow:0 2px 9px rgba(15,23,42,.035)!important;overflow:hidden!important}.da-box-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin-bottom:12px!important}.da-box-head h2{font-size:17px!important;margin:0!important}.da-box-head a{font-size:12px!important;font-weight:950!important;color:#0a66c2!important}.da-table th{background:#f5f8fc!important;color:#334155!important}.da-table td,.da-table th{padding:10px 12px!important}.da-table a{font-weight:850!important;color:#102033!important;text-decoration:none!important}.da-table a:hover{color:#0a66c2!important}
html[dir="ltr"] .da-admin-panel,html[dir="ltr"] .da-table{text-align:left!important}html[dir="rtl"] .da-admin-panel,html[dir="rtl"] .da-table{text-align:right!important}.q-locale-en .admin-data,.q-locale-en [data-no-translate]{unicode-bidi:plaintext!important}.q-locale-en .admin-table tbody{unicode-bidi:plaintext!important}
@media(max-width:1100px){.da-admin-bluebar{grid-template-columns:repeat(2,minmax(0,1fr))!important}.da-dashboard-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}.da-admin-dashboard-grid{grid-template-columns:1fr!important}.da-admin-top{flex-wrap:wrap!important}.da-admin-mode{order:3;width:100%;justify-content:center!important}}
@media(max-width:680px){.da-admin-bluebar,.da-dashboard-cards{grid-template-columns:1fr!important}.da-admin-top{padding:14px!important}.da-admin-panel{border-radius:0 0 14px 14px!important}.da-admin-bluebar{padding:18px!important}.da-admin-search{margin:0 14px 16px!important}.da-admin-user{display:none!important}.da-admin-mode a{min-width:70px!important}.da-admin-mode span{display:none!important}}

/* Qafaseh v93 - LinkedIn-like compact post typography */
.post-body,
.work-card .post-body,
.card .post-body{
  font-size:14px!important;
  line-height:1.52!important;
  padding-top:7px!important;
  padding-bottom:3px!important;
  color:#1f2937!important;
  letter-spacing:0!important;
  word-spacing:0!important;
  white-space:pre-line!important;
  overflow-wrap:anywhere!important;
}
.post-body br{
  line-height:1.25!important;
}
.work-full .post-body,
.work-show .post-body,
.post.work-full .post-body{
  font-size:15px!important;
  line-height:1.58!important;
  padding-top:8px!important;
  padding-bottom:6px!important;
}
.post-title + .post-body{
  margin-top:2px!important;
}
.post-body p,
.work-full .post-body p{
  margin:0 0 .45em!important;
  line-height:inherit!important;
}
.post-body p:last-child,
.work-full .post-body p:last-child{
  margin-bottom:0!important;
}
.post-head + .post-body,
.post-head + .post-title + .post-body{
  padding-top:6px!important;
}
.q-locale-fa .post-body,
html[dir="rtl"] .post-body{
  text-align:right!important;
  direction:rtl!important;
  line-height:1.55!important;
}
.q-locale-en .post-body,
html[dir="ltr"] .post-body{
  text-align:left!important;
  direction:ltr!important;
  line-height:1.5!important;
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Calibri,Inter,Arial,sans-serif!important;
}
.post .post-body,
.feed .post-body{
  max-height:none!important;
}
@media(max-width:680px){
  .post-body,.work-card .post-body,.card .post-body{font-size:13.75px!important;line-height:1.5!important}
  .work-full .post-body{font-size:14.5px!important;line-height:1.56!important}
}

/* Folinq v94 - rebrand, author side panel, tighter LinkedIn-like reading */
.brand-logo.folinq-brand-icon{width:34px!important;height:34px!important;border-radius:50%!important;object-fit:cover!important;background:#fff!important;border:1px solid #dbe3ef!important;box-shadow:0 0 0 2px #fff,0 1px 4px rgba(15,23,42,.10)!important}.brand-text>span{font-weight:950!important;letter-spacing:-.2px!important}.da-admin-logo-img{object-fit:cover!important;padding:0!important;background:#fff!important;border-radius:50%!important}.da-admin-brand b{letter-spacing:-.2px!important}.work-show-layout{display:grid;grid-template-columns:282px minmax(0,1fr);gap:16px;align-items:start;max-width:1180px;margin:0 auto}.work-show-main{min-width:0}.work-show-main .post{margin-top:0!important}.work-author-sidebar{position:sticky;top:74px;overflow:hidden}.work-author-cover{height:74px;background:linear-gradient(135deg,#e9f1fb,#dbeafe);background-size:cover;background-position:center;position:relative}.work-author-cover img{width:100%;height:100%;object-fit:cover;display:block}.work-author-body{padding:0 15px 15px;text-align:center}.work-author-avatar{display:inline-block;width:86px;height:86px;border-radius:50%;background:#fff;margin-top:-43px;padding:4px;position:relative;box-shadow:0 8px 24px rgba(15,23,42,.16)}.work-author-avatar img{width:100%;height:100%;border-radius:50%;object-fit:cover;display:block}.work-author-name{display:block;margin-top:9px;font-size:17px;font-weight:950;color:#172235}.work-author-name:hover{color:#0a66c2;text-decoration:underline}.work-author-headline{margin:4px 0 11px;color:#64748b;font-size:12.5px;line-height:1.45}.work-author-stats{display:grid;grid-template-columns:1fr 1fr;border:1px solid #dbe3ef;border-radius:14px;overflow:hidden;background:#f8fafc;margin:12px 0}.work-author-stats span{display:grid;gap:2px;padding:10px 6px}.work-author-stats span+span{border-inline-start:1px solid #dbe3ef}.work-author-stats b{font-size:18px;color:#0a66c2;line-height:1}.work-author-stats small{font-size:11px;color:#64748b;font-weight:850}.work-author-actions{display:grid;gap:8px}.work-author-actions .btn{width:100%;min-height:38px;padding:8px 10px}.post-body,.work-card .post-body,.card .post-body{font-size:13.9px!important;line-height:1.34!important;padding-top:4px!important;padding-bottom:2px!important;white-space:pre-line!important}.work-full .post-body,.work-show .post-body,.post.work-full .post-body{font-size:14.35px!important;line-height:1.36!important;padding-top:5px!important;padding-bottom:4px!important}.q-locale-fa .post-body,html[dir="rtl"] .post-body{line-height:1.36!important}.q-locale-en .post-body,html[dir="ltr"] .post-body{line-height:1.34!important}.post-body p,.work-full .post-body p{margin:0 0 .24em!important}.post-title{margin-bottom:2px!important}.post-stats{margin-top:2px!important}@media(max-width:980px){.work-show-layout{grid-template-columns:1fr}.work-author-sidebar{position:relative;top:auto;order:-1}.work-author-body{text-align:start}.work-author-sidebar{display:block}.work-author-actions{grid-template-columns:1fr 1fr}.work-author-name{text-align:start}.work-author-headline{text-align:start}}@media(max-width:680px){.post-body,.work-card .post-body,.card .post-body{font-size:13.6px!important;line-height:1.32!important}.work-full .post-body{font-size:14px!important;line-height:1.34!important}.work-author-actions{grid-template-columns:1fr}}
.da-admin-wordmark{width:154px!important;max-width:40vw!important;height:auto!important;display:block!important;object-fit:contain!important}.da-admin-brand{min-width:300px!important}

/* Folinq v95 - compact reading, auth gateway, dynamic footer pages, shelf refresh */
.q-locale-fa .post-body,html[dir="rtl"] .post-body{line-height:1!important}
.post-body,.work-card .post-body,.card .post-body{line-height:1.08!important;margin-top:2px!important;margin-bottom:2px!important}
.work-full .post-body,.work-show-main .post-body{line-height:1.08!important}
.post-body p,.work-full .post-body p{margin:0 0 .12em!important}
.post-stat-icons{display:inline-flex!important;align-items:center;gap:10px;color:#64748b;font-size:12px;white-space:nowrap}.post-stat-icons span{display:inline-flex;align-items:center;gap:4px}.post-stat-icons svg{width:15px;height:15px;stroke-width:2.1;color:#52637a}.post-stats{align-items:center!important;gap:10px!important}.post-stats>span:last-child{margin-inline-start:auto}
.work-author-feed-card{overflow:hidden;position:sticky;top:74px}.work-author-feed-card .profile-cover{height:78px}.work-author-feed-card .avatar{width:88px;height:88px;margin-top:-44px}.work-author-feed-card h3{margin-top:8px}.work-author-feed-actions{padding:10px 14px 14px;display:grid;gap:8px}.work-author-feed-actions .btn{width:100%;justify-content:center}.work-author-sidebar{position:sticky;top:74px}.work-author-sidebar .profile-card{margin:0}@media(max-width:980px){.work-show-layout{grid-template-columns:1fr!important}.work-author-sidebar{position:relative!important;top:auto!important;order:-1}.work-author-feed-card{position:relative;top:auto}}
.auth-gateway-shell{max-width:920px;margin:26px auto 0;display:grid;grid-template-columns:minmax(260px,360px) minmax(320px,1fr);gap:18px;align-items:start}.auth-brand-card{padding:28px;text-align:center;background:linear-gradient(180deg,#fff,#f8fbff);border:1px solid #dbe6f3}.auth-brand-logo{max-width:220px;width:72%;height:auto;display:block;margin:0 auto 12px}.auth-brand-card h1{font-size:30px;margin:0;color:#07172f;letter-spacing:-.5px}.auth-brand-card p{color:#5f6f86;line-height:1.7}.auth-language-choice{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}.auth-lang-card{border:1px solid #dbe6f3;border-radius:16px;background:#fff;padding:16px 12px;text-align:center;color:#152238;text-decoration:none;box-shadow:0 8px 22px rgba(15,23,42,.06);transition:.16s}.auth-lang-card:hover,.auth-lang-card.active{border-color:#0a66c2;background:#eef6ff;transform:translateY(-1px)}.auth-lang-card b{display:block;font-size:18px}.auth-lang-card span{display:block;margin-top:5px;font-size:12px;color:#64748b}.auth-locale-hint{display:block;margin-top:14px;color:#0a66c2;font-weight:900}.auth-gateway-shell.needs-locale .auth-form-card{display:none}.auth-form-actions{display:flex;gap:8px;flex-wrap:wrap}.auth-form-actions .btn{margin:0}.q-locale-en .auth-form-card,.q-locale-en .auth-brand-card{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Calibri,Inter,Arial,sans-serif}@media(max-width:760px){.auth-gateway-shell{grid-template-columns:1fr}.auth-language-choice{grid-template-columns:1fr}}
.q-guest-locked .topbar-inner,.q-guest-locked .footer-note{filter:blur(7px);opacity:.55;pointer-events:none;user-select:none}.q-guest-locked .guest-wall,.q-guest-locked .guest-cta-card{filter:none!important;pointer-events:auto!important;opacity:1!important}.q-guest-locked .container{position:relative}.q-guest-locked .locked-content{filter:blur(8px)!important}
.q-admin-pages-v95{max-width:1180px}.q-pages-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.82fr);gap:18px}.q-pages-block{display:grid;gap:12px}.q-pages-block h3{margin:0 0 4px}.q-footer-page-card{border:1px solid #dbe6f3;background:#f8fbff;border-radius:18px;padding:14px;display:grid;gap:10px}.q-footer-page-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.q-footer-page-head label{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:#334155;font-weight:850}.q-footer-page-card .two-col{display:grid;grid-template-columns:1fr 1fr;gap:10px}.q-footer-page-card .html-editor.mini{min-height:100px}.footer-note a{font-weight:850}@media(max-width:900px){.q-pages-grid{grid-template-columns:1fr}.q-footer-page-card .two-col{grid-template-columns:1fr}}
.shelf-dashboard-v95{max-width:1180px;margin:0 auto;display:grid;gap:16px}.shelf-hero-pro{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:20px;padding:26px;overflow:hidden;position:relative;background:radial-gradient(circle at 88% 20%,rgba(10,102,194,.14),transparent 34%),linear-gradient(135deg,#fff,#f7fbff)}.shelf-hero-copy .eyebrow{display:inline-flex;padding:6px 10px;border-radius:999px;background:#eef6ff;color:#0a66c2;font-size:12px;font-weight:950}.shelf-hero-copy h1{font-size:30px;margin:10px 0 6px}.shelf-hero-copy p{max-width:680px;color:#64748b;line-height:1.75}.shelf-hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.shelf-hero-visual{height:160px;border-radius:24px;background:linear-gradient(180deg,#f8fbff,#e8f2ff);border:1px solid #d5e4f6;position:relative;display:grid;place-items:center;box-shadow:inset 0 -18px 40px rgba(10,102,194,.10)}.shelf-hero-visual span{position:absolute;bottom:24px;width:34px;height:92px;border-radius:8px;background:#0a66c2;box-shadow:8px 10px 24px rgba(10,102,194,.18)}.shelf-hero-visual span:nth-child(1){left:42px;transform:rotate(-5deg);background:#0b1f3f}.shelf-hero-visual span:nth-child(2){left:84px;height:112px;background:#0a66c2}.shelf-hero-visual span:nth-child(3){left:128px;height:82px;transform:rotate(4deg);background:#60a5fa}.shelf-hero-visual b{font-size:42px;color:#0a66c2;z-index:2}.shelf-hero-visual small{position:absolute;top:98px;color:#64748b;font-weight:900}.shelf-metrics-pro{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.shelf-metric-card{border:1px solid #dbe6f3;background:#fff;border-radius:18px;padding:16px;display:grid;gap:7px;box-shadow:0 8px 26px rgba(15,23,42,.05)}.shelf-metric-card svg{width:22px;height:22px;color:#0a66c2}.shelf-metric-card span{color:#64748b;font-weight:850;font-size:12px}.shelf-metric-card b{font-size:26px;color:#172235}.shelf-section-pro{padding:18px}.shelf-racks-pro{display:grid;gap:14px}.book-rack-pro{border:1px solid #dbe6f3;border-radius:20px;background:linear-gradient(180deg,#fff,#f8fbff);padding:14px}.book-rack-title{display:flex;align-items:center;justify-content:space-between;font-weight:950;margin-bottom:12px}.book-rack-title span{display:inline-flex;align-items:center;gap:7px}.book-rack-title b{background:#0a66c2;color:#fff;border-radius:999px;min-width:28px;text-align:center;padding:4px 8px}.book-rack-track-pro{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:12px}.book-tile-pro{display:grid;grid-template-columns:52px minmax(0,1fr);gap:10px;align-items:center;background:#fff;border:1px solid #dbe6f3;border-radius:16px;padding:10px;text-decoration:none;color:#172235}.book-tile-pro:hover{border-color:#0a66c2;box-shadow:0 10px 26px rgba(10,102,194,.12)}.book-cover-pro{width:52px;height:68px;border-radius:10px;background:#eef6ff;display:grid;place-items:center;overflow:hidden}.book-cover-pro img{width:100%;height:100%;object-fit:cover}.book-info-pro b{display:block;font-size:13px}.book-info-pro small{display:block;color:#64748b;margin-top:4px;font-size:11.5px}.shelf-status-pills{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 14px}.shelf-work-grid-pro{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px}.shelf-work-card-pro{border:1px solid #dbe6f3;background:#fff;border-radius:18px;padding:15px;display:grid;gap:8px;box-shadow:0 8px 24px rgba(15,23,42,.04)}.shelf-work-top{display:flex;align-items:center;justify-content:space-between}.shelf-work-card-pro h3{margin:0;font-size:15px;line-height:1.5}.shelf-work-card-pro p{margin:0;color:#52637a;font-size:12.5px;line-height:1.7}.empty-shelf-pro{grid-column:1/-1;display:flex;align-items:center;gap:10px;color:#52637a}@media(max-width:900px){.shelf-hero-pro{grid-template-columns:1fr}.shelf-hero-visual{display:none}.shelf-metrics-pro{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){.shelf-metrics-pro{grid-template-columns:1fr}.book-rack-track-pro,.shelf-work-grid-pro{grid-template-columns:1fr}}

/* Folinq v97 - unified auth, OpenCart-like admin pages, safe brand header */
.folinq-wordmark-top{width:122px!important;height:auto!important;object-fit:contain!important;border-radius:0!important;box-shadow:none!important;background:transparent!important}.brand{min-width:124px!important}.brand .brand-text{display:none!important}.topbar .brand{gap:0!important}.topbar-inner{gap:12px!important}
.auth-unified-shell{max-width:560px;margin:28px auto 0;padding:0 12px}.auth-unified-card{padding:30px;border-radius:24px;background:linear-gradient(180deg,#fff,#f8fbff);box-shadow:0 22px 60px rgba(15,23,42,.10);border:1px solid #dbe6f3}.auth-unified-brand{text-align:center}.auth-unified-logo{display:block;max-width:245px;width:70%;margin:0 auto 8px}.auth-unified-brand p{color:#64748b;margin:6px 0 20px}.auth-unified-language{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 20px}.auth-language-pill{border:1px solid #dbe6f3;border-radius:16px;background:#fff;padding:15px 12px;text-align:center;display:grid;gap:5px;box-shadow:0 8px 24px rgba(15,23,42,.05)}.auth-language-pill b{font-size:18px}.auth-language-pill span{font-size:12px;color:#64748b}.auth-language-pill.active,.auth-language-pill:hover{border-color:#0a66c2;background:#eef6ff;color:#0a66c2}.auth-unified-form{border-top:1px solid #e2e8f0;padding-top:20px}.auth-unified-title{display:flex;align-items:baseline;gap:8px;justify-content:center;margin-bottom:4px}.auth-unified-title h2{margin:0;font-size:26px}.auth-unified-title span{font-weight:900;color:#94a3b8}.auth-divider{display:flex;align-items:center;gap:10px;color:#94a3b8;font-size:12px;font-weight:850;margin:14px 0}.auth-divider:before,.auth-divider:after{content:"";height:1px;background:#e2e8f0;flex:1}.auth-form-actions.unified{justify-content:center;margin-top:12px}.auth-safe-note{text-align:center}.guest-auth-unified{max-width:560px!important;padding:28px!important}.guest-auth-logo{display:block;width:205px;max-width:70%;height:auto;margin:0 auto 12px}.guest-auth-lang{display:inline-flex;gap:6px;align-items:center;background:#f1f5f9;border:1px solid #dbe6f3;border-radius:999px;padding:4px;margin:8px 0 10px}.guest-auth-lang a{padding:7px 14px;border-radius:999px;font-weight:900;color:#475569}.guest-auth-lang a.active,.guest-auth-lang a:hover{background:#0a66c2;color:#fff}.q-guest-locked .topbar-inner,.q-guest-locked .footer-note{filter:blur(8px)!important;opacity:.48!important;pointer-events:none!important}
.oc-admin-page{max-width:1220px;margin:0 auto}.oc-page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin:10px 0 14px}.oc-page-heading small{color:#0a66c2;font-weight:850}.oc-page-heading h2{margin:4px 0;font-size:30px}.oc-page-heading p{margin:0;color:#64748b}.oc-toolbar{display:flex;gap:8px}.oc-panel{background:#fff;border:1px solid #dbe3ef;border-radius:10px;box-shadow:0 1px 0 rgba(15,23,42,.03);overflow:hidden}.oc-panel-title{height:46px;background:#f6f8fb;border-bottom:1px solid #dbe3ef;display:flex;align-items:center;gap:8px;padding:0 14px}.oc-tabs{display:flex;gap:0;border-bottom:1px solid #dbe3ef;background:#fff;padding:0 14px}.oc-tabs button{border:0;background:transparent;padding:14px 18px;font-weight:900;color:#64748b;cursor:pointer;border-bottom:3px solid transparent}.oc-tabs button.active{color:#0a66c2;border-bottom-color:#0a66c2}.oc-tab-pane{display:none;padding:18px}.oc-tab-pane.active{display:block}.oc-split-editor{display:grid;grid-template-columns:240px minmax(0,1fr);gap:18px}.oc-page-list{border:1px solid #dbe3ef;border-radius:12px;background:#f8fafc;padding:8px;height:max-content}.oc-page-list button{width:100%;display:grid;grid-template-columns:22px 1fr;gap:8px;align-items:center;text-align:start;border:0;background:transparent;border-radius:10px;padding:12px;cursor:pointer;color:#334155}.oc-page-list button small{grid-column:2;color:#94a3b8}.oc-page-list button.active,.oc-page-list button:hover{background:#eaf4ff;color:#0a66c2}.oc-editor-area{min-width:0}.oc-page-editor{display:none}.oc-page-editor.active{display:block}.oc-editor-title{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:12px}.oc-editor-title h3{margin:0}.oc-editor-title span{color:#64748b;font-size:12px}.oc-language-tabs{display:flex;justify-content:flex-end;gap:8px;margin-bottom:10px}.oc-language-tabs button{border:1px solid #dbe3ef;background:#fff;border-radius:10px;padding:8px 12px;cursor:pointer;font-weight:900}.oc-language-tabs button.active{border-color:#0a66c2;background:#eef6ff;color:#0a66c2}.oc-lang-pane{display:none}.oc-lang-pane.active{display:block}.oc-rich-editor{min-height:390px!important;font-family:Vazirmatn,Tahoma,Arial,sans-serif!important}.oc-table-wrap{overflow-x:auto;border:1px solid #dbe3ef;border-radius:12px}.oc-pages-table{width:100%;border-collapse:collapse;background:#fff}.oc-pages-table th{background:#f6f8fb;color:#334155;font-size:12px;text-align:start;padding:11px;border-bottom:1px solid #dbe3ef}.oc-pages-table td{padding:10px;border-bottom:1px solid #eef2f7;vertical-align:top}.oc-pages-table input{width:100%;border:1px solid #dbe3ef;border-radius:8px;padding:8px}.oc-inline-editor summary{cursor:pointer;color:#0a66c2;font-weight:900}.oc-inline-editor .two-col{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px;min-width:620px}.switch-mini input{display:none}.switch-mini span{display:inline-block;width:42px;height:22px;background:#cbd5e1;border-radius:99px;position:relative;vertical-align:middle}.switch-mini span:before{content:"";position:absolute;width:18px;height:18px;right:2px;top:2px;border-radius:50%;background:#fff;transition:.15s}.switch-mini input:checked+span{background:#0a66c2}.switch-mini input:checked+span:before{right:22px}.admin-settings-search{display:flex;align-items:center;gap:8px;border:1px solid #dbe3ef;border-radius:12px;background:#fff;padding:7px 10px;min-width:min(360px,100%)}.admin-settings-search input{border:0;outline:0;background:transparent;width:100%}.admin-search-active .da-admin-column{transition:.12s}.da-admin-search input{padding-inline-start:8px}.q-locale-en .auth-unified-card,.q-locale-en .oc-panel,.q-locale-en .admin-settings-v96{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Calibri,Inter,Arial,sans-serif}@media(max-width:860px){.auth-unified-shell{margin-top:14px}.auth-unified-language,.oc-split-editor{grid-template-columns:1fr}.oc-page-heading{display:block}.admin-settings-search{margin-top:10px}.oc-inline-editor .two-col{grid-template-columns:1fr;min-width:0}.oc-tabs{overflow-x:auto}.folinq-wordmark-top{width:104px!important}}

/* Folinq v99 - admin search results, social login icons, calmer post typography */
.post-body,.work-card .post-body,.card .post-body,.work-full .post-body,.work-show-main .post-body{line-height:normal!important;margin-top:2px!important;margin-bottom:2px!important;white-space:pre-line!important}
.q-locale-fa .post-body,html[dir="rtl"] .post-body,.q-locale-en .post-body,html[dir="ltr"] .post-body{line-height:normal!important}
.post-body p,.work-full .post-body p{margin:0 0 .16em!important}.post-body br{line-height:normal!important}
.auth-social-label{font-weight:950;color:#475569;margin:14px 0 8px;font-size:13px;text-align:start}.auth-social-icons{display:flex;align-items:center;gap:9px;justify-content:flex-start;margin:0 0 14px;flex-wrap:wrap}.social-login-icon{width:44px;height:44px;border-radius:7px;display:grid;place-items:center;text-decoration:none;font-weight:950;font-size:18px;border:1px solid #e2e8f0;box-shadow:0 5px 15px rgba(15,23,42,.05);line-height:1}.social-login-icon:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(15,23,42,.10)}.social-apple{background:#000;color:#fff}.social-google{background:#fff;color:#4285f4}.social-yahoo{background:#7b22f4;color:#fff}.social-facebook{background:#1877f2;color:#fff}.social-linkedin{background:#0a66c2;color:#fff;font-family:Arial,sans-serif}.social-x{background:#000;color:#fff}.social-microsoft{background:#2f3437;color:#fff}.social-more{background:#f1f5f9;color:#94a3b8}.social-login-icon.disabled{opacity:.45;cursor:not-allowed;pointer-events:none}.google-oauth-btn{display:none!important}
.da-admin-search-results{display:none;margin:-12px 24px 22px;background:#fff;border:1px solid #cfe0f3;border-radius:10px;padding:10px;box-shadow:0 12px 28px rgba(15,23,42,.12)}.da-admin-search-results.show{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:8px}.da-admin-search-results a{display:grid;gap:3px;padding:10px 12px;border:1px solid #e2e8f0;border-radius:9px;background:#f8fbff;text-decoration:none;color:#102033}.da-admin-search-results a:hover{border-color:#0a66c2;background:#eef6ff}.da-admin-search-results b{font-size:13px}.da-admin-search-results small{font-size:11px;color:#64748b}.da-admin-no-result{padding:12px;color:#64748b;font-weight:800}.admin-search-active .da-admin-column,.admin-search-active .da-admin-column li{display:block!important}.field-wide{grid-column:1/-1}
@media(max-width:680px){.auth-social-icons{justify-content:center}.social-login-icon{width:40px;height:40px}.da-admin-search-results.show{grid-template-columns:1fr}}

/* Folinq v100 - auth/social polish, full work typography, report panel and mention-ready UI */
body.q-guest main.container:has(.auth-unified-shell){max-height:none!important;overflow:visible!important;padding-bottom:34px!important}.auth-unified-shell{margin-top:22px!important;margin-bottom:28px!important}.auth-unified-card{overflow:visible!important}.auth-social-icons-core{justify-content:center!important;gap:14px!important;margin-bottom:14px!important}.auth-social-icons-core .social-login-icon{position:relative;width:46px;height:46px;border-radius:10px}.auth-social-icons-core .social-login-icon[data-tip]:before{content:attr(data-tip);position:absolute;left:50%;bottom:calc(100% + 9px);transform:translateX(-50%) translateY(4px);background:#111827;color:#fff;padding:6px 9px;border-radius:7px;font-size:11px;font-weight:850;white-space:nowrap;opacity:0;visibility:hidden;pointer-events:none;transition:.12s;z-index:9999;box-shadow:0 10px 28px rgba(15,23,42,.25)}.auth-social-icons-core .social-login-icon[data-tip]:after{content:"";position:absolute;left:50%;bottom:calc(100% + 3px);transform:translateX(-50%);border:6px solid transparent;border-top-color:#111827;opacity:0;visibility:hidden;transition:.12s;z-index:9999}.auth-social-icons-core .social-login-icon:hover:before,.auth-social-icons-core .social-login-icon:focus:before,.auth-social-icons-core .social-login-icon:hover:after,.auth-social-icons-core .social-login-icon:focus:after{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0)}.auth-social-icons-core .social-google{background:#fff;color:#4285f4}.auth-social-icons-core .social-yahoo{background:#7b22f4;color:#fff}.auth-social-icons-core .social-linkedin{background:#0a66c2;color:#fff}.work-full .post-body{font-size:15.5px!important;line-height:1.24!important;white-space:normal!important;padding-top:6px!important;padding-bottom:2px!important}.work-full .post-body a{line-height:inherit}.work-full .post-title{margin-bottom:4px!important}.report-details[open] .report-pro-form{position:fixed!important;top:92px!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;width:min(480px,calc(100vw - 30px))!important;max-width:calc(100vw - 30px)!important;z-index:99999!important;background:#fff!important;border:1px solid #dbe3ef!important;border-radius:18px!important;padding:14px!important;box-shadow:0 24px 70px rgba(15,23,42,.28)!important;direction:inherit!important}.q-locale-en .report-details[open] .report-pro-form{direction:ltr!important;text-align:left!important}.q-locale-en .report-details[open] .report-pro-form select,.q-locale-en .report-details[open] .report-pro-form input,.q-locale-en .report-details[open] .report-pro-form textarea{text-align:left!important;direction:ltr!important}.q-locale-en .dropdown-menu{overflow:visible!important}.q-locale-en .report-details summary{white-space:nowrap!important}.dropdown-menu{overflow:visible!important}@media(max-width:700px){.auth-unified-shell{margin-top:12px!important}.auth-unified-card{padding:22px 18px!important}.report-details[open] .report-pro-form{top:70px!important;width:calc(100vw - 20px)!important}}


/* Folinq v101 - login social tooltip, compact posts, comment menus, book form */
.auth-unified-shell{margin-top:12px!important;margin-bottom:16px!important}.auth-unified-card{padding:24px 24px 20px!important;max-width:560px!important}.auth-unified-brand{margin-bottom:14px!important}.auth-unified-logo{max-height:74px!important}.auth-unified-language{gap:10px!important;margin-bottom:14px!important}.auth-language-pill{min-height:78px!important;padding:13px!important}.auth-unified-title h2{margin:10px 0 6px!important}.auth-lead{margin:0 0 10px!important}.auth-divider{margin:10px 0!important}.auth-form-actions{margin-top:10px!important}.auth-safe-note{margin-top:8px!important}.auth-social-icons-core .social-login-icon[data-social-tip]{position:relative}.auth-social-icons-core .social-login-icon[data-social-tip]:before{content:attr(data-social-tip);position:absolute;left:50%;bottom:calc(100% + 9px);transform:translateX(-50%) translateY(4px);background:#111827;color:#fff;padding:7px 10px;border-radius:8px;font-size:11px;font-weight:900;white-space:nowrap;opacity:0;visibility:hidden;pointer-events:none;transition:.12s;z-index:99999;box-shadow:0 12px 30px rgba(15,23,42,.28)}.auth-social-icons-core .social-login-icon[data-social-tip]:after{content:"";position:absolute;left:50%;bottom:calc(100% + 3px);transform:translateX(-50%);border:6px solid transparent;border-top-color:#111827;opacity:0;visibility:hidden;transition:.12s;z-index:99999}.auth-social-icons-core .social-login-icon[data-social-tip]:hover:before,.auth-social-icons-core .social-login-icon[data-social-tip]:focus:before,.auth-social-icons-core .social-login-icon[data-social-tip]:hover:after,.auth-social-icons-core .social-login-icon[data-social-tip]:focus:after{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0)}.gmail-logo{width:24px;height:18px;display:block}.auth-social-icons-core .social-google{background:#fff!important}.post-body,.work-card .post-body,.card.post .post-body,.work-full .post-body,.work-show-main .post-body{line-height:1.08!important;white-space:pre-line!important}.q-locale-fa .post-body,html[dir="rtl"] .post-body,.q-locale-en .post-body,html[dir="ltr"] .post-body{line-height:1.08!important}.post-body p,.work-full .post-body p{margin:0 0 .1em!important}.work-full .post-body{font-size:15px!important;padding-top:4px!important}.comment-top-pro{position:relative;padding-inline-end:34px}.comment-more-menu{position:absolute;top:-2px;inset-inline-end:0;z-index:40}.comment-more-menu summary{list-style:none;width:28px;height:28px;border-radius:999px;display:grid;place-items:center;color:#64748b;cursor:pointer}.comment-more-menu summary::-webkit-details-marker{display:none}.comment-more-menu summary:hover{background:#eef3f8;color:#0a66c2}.comment-more-panel{position:absolute;top:32px;inset-inline-end:0;min-width:245px;background:#fff;border:1px solid #dbe3ef;border-radius:14px;box-shadow:0 18px 44px rgba(15,23,42,.20);padding:8px;display:flex;flex-direction:column;gap:3px;z-index:9999}.comment-more-panel a,.comment-more-panel button{border:0;background:#fff;width:100%;text-align:start;display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:10px;color:#334155;font-weight:750;cursor:pointer;font-size:13px}.comment-more-panel a:hover,.comment-more-panel button:hover{background:#f1f5f9;color:#0a66c2}.comment-more-panel .danger{color:#dc2626}.comment-more-panel .danger:hover{background:#fff1f2;color:#b91c1c}.price-currency-row{display:grid;grid-template-columns:minmax(0,1fr) 128px;gap:8px}.price-currency-row input,.price-currency-row select{width:100%}@media(max-width:760px){.auth-unified-card{padding:20px 16px!important}.auth-unified-logo{max-height:60px!important}.auth-language-pill{min-height:70px!important}.price-currency-row{grid-template-columns:1fr}}

/* v102: registration, comment menu, publisher attribution and compact posts */
.post-body,.work-card .post-body,.card.post .post-body,.work-full .post-body,.work-show-main .post-body{line-height:1!important;white-space:pre-line!important}.post-body p,.work-full .post-body p{margin:0 0 .02em!important}.work-full .post-body{line-height:1!important}.auth-register-shell{display:flex;justify-content:center}.register-card{max-width:640px!important;width:min(640px,100%)!important}.auth-brand-mini{display:flex;align-items:center;justify-content:center;gap:10px;margin-bottom:12px;color:#0f172a;font-weight:950}.auth-brand-mini img{width:42px;height:42px;border-radius:14px;object-fit:contain}.publisher-name-field{border:1px dashed #bfdbfe;background:#f8fbff;border-radius:14px;padding:12px}.comment-more-menu[open] summary{background:#eef6ff;color:#0a66c2}.comment-more-panel{max-width:min(300px,calc(100vw - 32px));overflow:hidden}.comment-more-panel form{margin:0}.comment-more-panel a,.comment-more-panel button{text-decoration:none;white-space:normal}.comment .comment-more-menu:not([open]) .comment-more-panel{display:none!important}.nav-publisher{display:none!important}@media(max-width:760px){.register-card{max-width:100%!important}.comment-more-panel{position:fixed;inset-inline-end:12px;top:auto;bottom:84px}}

/* Folinq v123 - balanced reading rhythm, register form polish and 4x2 network layout */
.post-body,.work-card .post-body,.card.post .post-body,.work-full .post-body,.work-show-main .post-body{
  line-height:1.48!important;
  white-space:pre-line!important;
}
.work-full .post-body{line-height:1.62!important;font-size:15.3px!important;}
.post-body p,.work-full .post-body p{margin:0 0 .42em!important;}
.post-title{line-height:1.45!important;}
.comment-bubble p{line-height:1.55!important;}

.folinq-register-shell{display:flex;justify-content:center;padding:10px 0 24px;}
.folinq-register-card{
  width:min(980px,100%)!important;
  max-width:980px!important;
  margin:18px auto!important;
  padding:0!important;
  display:grid;
  grid-template-columns:minmax(260px,.8fr) minmax(420px,1.2fr);
  text-align:right!important;
  overflow:hidden!important;
  border-radius:24px!important;
  border:1px solid #dbe5f0!important;
  box-shadow:0 18px 52px rgba(15,23,42,.08)!important;
  background:#fff!important;
}
.register-intro-panel{
  background:radial-gradient(circle at 20% 12%,#e8f3ff 0,#f8fbff 42%,#ffffff 100%);
  border-left:1px solid #e2e8f0;
  padding:28px 26px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:14px;
}
.register-brand-lockup{justify-content:flex-start!important;margin:0!important;}
.register-brand-lockup img{width:44px!important;height:44px!important;border-radius:14px!important;box-shadow:0 10px 24px rgba(10,102,194,.10);}
.register-intro-panel h2{margin:2px 0 0;font-size:25px;line-height:1.55;color:#111827;letter-spacing:-.35px;}
.register-intro-panel p{margin:0;color:#475569;line-height:1.9;}
.register-benefits{display:grid;gap:8px;margin-top:8px;}
.register-benefits span{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #e5edf7;border-radius:999px;padding:8px 12px;color:#334155;font-weight:850;font-size:12.5px;}
.register-benefits span:before{content:'✓';width:20px;height:20px;border-radius:50%;display:grid;place-items:center;background:#e8f3ff;color:#0a66c2;font-weight:950;}
.register-form-panel{padding:28px 30px 24px;}
.register-form-panel h1{margin:0 0 6px;font-size:30px;letter-spacing:-.45px;color:#1f2937;text-align:right;}
.auth-register-lead{margin:0 0 18px!important;line-height:1.85;}
.register-modern-form{gap:10px!important;}
.register-modern-form .field{margin-bottom:0!important;}
.register-modern-form .field label{margin-bottom:6px;color:#1f2937;font-size:13px;}
.register-modern-form .field input,.register-modern-form .field select{
  min-height:44px;
  border-radius:13px!important;
  background:#fbfdff!important;
  border-color:#d6e0ec!important;
  transition:.14s ease;
}
.register-modern-form .field input:focus,.register-modern-form .field select:focus{background:#fff!important;border-color:#8cbce8!important;box-shadow:0 0 0 4px rgba(10,102,194,.09)!important;}
.register-grid-2{gap:12px!important;}
.role-field select{font-weight:900;color:#24364b;}
.register-modern-form .publisher-name-field{border:1px solid #cfe0f5!important;background:#f7fbff!important;border-radius:16px!important;padding:12px!important;}
.register-modern-form small{display:block;margin-top:6px;line-height:1.65;}
.register-actions{display:flex;justify-content:flex-start;gap:10px;margin-top:4px!important;}
.register-actions .btn{min-height:42px;border-radius:12px;padding-inline:18px;}

.network-layout-v123{grid-template-columns:248px minmax(0,1fr);gap:16px;align-items:start;}
.network-main-sections{display:grid;gap:14px;}
.network-quota{border:1px solid #dbeafe;background:#f8fbff;border-radius:16px;padding:12px;margin:8px 0 14px;display:grid;gap:4px;}
.network-quota span,.network-quota small{color:#64748b;font-size:12px;line-height:1.65;}
.network-quota b{font-size:20px;color:#0a66c2;line-height:1.15;}
.network-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px;}
.network-section-head h2{margin:0 0 3px;font-size:20px;letter-spacing:-.25px;}
.network-section-head small{line-height:1.7;}
.show-all-link{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;min-height:34px;padding:7px 12px;border:1px solid #bfdbfe;background:#eef6ff;color:#0a66c2;border-radius:999px;font-weight:950;font-size:12.5px;}
.show-all-link:hover{background:#0a66c2;color:#fff;border-color:#0a66c2;}
.secondary-link{background:#fff;}
.network-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;}
.network-overview-section .network-grid-4 .network-card:nth-of-type(n+9),.network-overview-section .network-grid-4 .network-book-card:nth-of-type(n+9){display:none;}
.network-card{border-radius:16px!important;box-shadow:0 1px 0 rgba(15,23,42,.02);transition:.14s ease;min-width:0;}
.network-card:hover,.network-book-card:hover{border-color:#b8d5f2;box-shadow:0 12px 32px rgba(15,23,42,.08);transform:translateY(-1px);}
.network-card-cover{height:62px!important;background:linear-gradient(135deg,#eff6ff,#cbd5e1)!important;}
.network-card-main{display:block;padding:0 10px;}
.network-card img{width:70px!important;height:70px!important;margin-top:-34px!important;}
.network-card h3{font-size:14.5px!important;line-height:1.45!important;margin:5px 8px 0!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.network-card small{display:block;color:#64748b;font-size:11.5px;margin-top:1px;}
.network-card p{font-size:12px!important;line-height:1.65!important;min-height:40px!important;margin:6px 12px 9px!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.network-card form{padding:0 10px 10px!important;}
.network-card .btn,.network-book-card .btn{width:100%;min-height:34px;padding:7px 10px;border-radius:999px;font-size:12px;}
.network-book-card{display:grid;grid-template-columns:74px minmax(0,1fr);gap:10px;border:1px solid var(--line);border-radius:16px;background:#fff;padding:10px;min-height:148px;transition:.14s ease;}
.network-book-cover{height:126px;border-radius:12px;background:#eef3f8;color:#0a66c2;display:grid;place-items:center;overflow:hidden;}
.network-book-cover img{width:100%;height:100%;object-fit:cover;display:block;}
.network-book-info{min-width:0;display:flex;flex-direction:column;gap:4px;}
.network-book-info h3{margin:0;font-size:14px;line-height:1.45;color:#1f2937;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.network-book-info small{color:#64748b;font-size:11.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.network-book-info p{margin:0;color:#64748b;font-size:12px;line-height:1.55;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:37px;}
.network-book-info form{margin-top:auto;}
.network-section-page{max-width:1180px;margin:0 auto;}
.network-full-head{border-bottom:1px solid #edf2f7;padding-bottom:12px;margin-bottom:14px;}
.network-lazy-sentinel{min-height:48px;display:grid;place-items:center;color:#64748b;font-weight:850;font-size:12px;margin-top:10px;}
.network-lazy-sentinel.loading span:before{content:'';width:14px;height:14px;border:2px solid #bfdbfe;border-top-color:#0a66c2;border-radius:50%;display:inline-block;vertical-align:-3px;margin-left:7px;animation:q-spin .7s linear infinite;}
@keyframes q-spin{to{transform:rotate(360deg)}}
.network-empty-card{grid-column:1/-1;}

@media(max-width:1080px){.network-grid-4{grid-template-columns:repeat(3,minmax(0,1fr))!important}.folinq-register-card{grid-template-columns:1fr!important}.register-intro-panel{border-left:0;border-bottom:1px solid #e2e8f0}.register-benefits{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:900px){.network-layout-v123{grid-template-columns:1fr}.network-side{position:relative}.network-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:700px){.register-form-panel,.register-intro-panel{padding:22px 16px}.register-benefits{grid-template-columns:1fr}.register-grid-2{grid-template-columns:1fr!important}.register-actions{flex-direction:column}.register-actions .btn{width:100%}.network-section-head{align-items:flex-start}.network-grid-4{grid-template-columns:1fr!important}.network-book-card{grid-template-columns:82px minmax(0,1fr)}}


/* v124: notifications get the same user profile panel as the feed, without the empty third column. */
.notifications-grid-v124{display:grid;grid-template-columns:255px minmax(0,1fr);gap:18px;align-items:start;}
.notification-profile-side{position:sticky;top:76px;}
@media(max-width:900px){.notifications-grid-v124{grid-template-columns:1fr}.notification-profile-side{position:relative;top:auto}}

/* v124: keep literary text readable; a little looser than v123, still compact. */
.post-body,.work-card .post-body,.card.post .post-body,.work-full .post-body,.work-show-main .post-body{line-height:1.38!important;}
.work-full .post-body{line-height:1.72!important;}

/* v125: profile overview, book references, mobile register/footer fixes */
.profile-overview-grid-v125{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:14px;}
.profile-overview-card{border:1px solid var(--line);border-radius:18px;background:#fff;padding:14px;box-shadow:0 1px 0 rgba(15,23,42,.02);min-width:0;}
.profile-overview-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;}
.profile-overview-head h3{margin:0;font-size:16px;letter-spacing:-.15px;color:#172033;}
.profile-overview-head .show-all-link{min-height:30px;padding:5px 10px;font-size:12px;}
.profile-mini-list{display:grid;gap:8px;}
.profile-mini-row{display:grid;grid-template-columns:42px minmax(0,1fr);gap:10px;align-items:center;min-height:56px;border:1px solid #edf2f7;background:#fbfdff;border-radius:14px;padding:8px;color:inherit;text-decoration:none;transition:.14s ease;}
.profile-mini-row:hover{border-color:#bfdbfe;background:#f8fbff;box-shadow:0 8px 20px rgba(15,23,42,.05);transform:translateY(-1px);}
.profile-mini-thumb{width:42px;height:42px;border-radius:12px;background:#edf5ff;color:#0a66c2;display:grid;place-items:center;overflow:hidden;}
.profile-mini-thumb img{width:100%;height:100%;object-fit:cover;display:block;}
.profile-mini-row b{display:block;font-size:13.5px;line-height:1.45;color:#1f2937;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.profile-mini-row small{display:block;margin-top:2px;font-size:11.5px;line-height:1.55;color:#64748b;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.profile-mini-image-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;}
.profile-mini-image-grid a{display:block;aspect-ratio:1/1;border-radius:14px;overflow:hidden;background:#f1f5f9;border:1px solid #edf2f7;}
.profile-mini-image-grid img{width:100%;height:100%;object-fit:cover;display:block;transition:.14s ease;}
.profile-mini-image-grid a:hover img{transform:scale(1.04);}
.profile-overview-empty{min-height:76px;display:grid;place-items:center;text-align:center;border:1px dashed #d7e2ef;border-radius:14px;background:#fbfdff;color:#64748b;font-size:12.5px;line-height:1.8;}
.profile-icon-btn{position:relative;}
.book-reference-link{margin-top:6px;}
.modal-book-links-v125{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
.book-inner-tabs{margin:8px 0 14px;display:flex;gap:8px;flex-wrap:wrap;}
.book-inner-tabs button{border:1px solid #d9e4f2;background:#fff;color:#334155;border-radius:999px;padding:8px 13px;font-weight:900;cursor:pointer;transition:.14s ease;}
.book-inner-tabs button:hover{border-color:#b8d5f2;background:#f8fbff;color:#0a66c2;}
.book-inner-tabs button.active{background:#0a66c2;border-color:#0a66c2;color:#fff;}
.book-tab-panel{display:none;}
.book-tab-panel.active{display:block;}
.book-show-activity{margin-top:16px;}
.book-work-list{display:grid;gap:10px;}
.book-work-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;border:1px solid #edf2f7;background:#fbfdff;border-radius:15px;padding:11px 12px;color:inherit;text-decoration:none;}
.book-work-row:hover{border-color:#bfdbfe;background:#f8fbff;}
.book-work-row b{display:block;font-size:14px;color:#172033;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.book-work-row p{margin:3px 0 0;color:#64748b;font-size:12px;line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.book-work-row small{color:#64748b;white-space:nowrap;font-size:11.5px;}

.footer-note{display:block!important;visibility:visible!important;opacity:1!important;}

@media(max-width:900px){
  .profile-overview-grid-v125{grid-template-columns:1fr;}
  .modal-book-links-v125{grid-template-columns:1fr;}
}
@media(max-width:700px){
  .folinq-register-shell{display:block!important;min-height:auto!important;padding:8px 8px 22px!important;overflow:visible!important;}
  .folinq-register-card{display:block!important;grid-template-columns:1fr!important;overflow:visible!important;width:100%!important;max-width:100%!important;}
  .register-intro-panel,.register-form-panel{display:block!important;visibility:visible!important;opacity:1!important;padding:18px 14px!important;}
  .register-form-panel h1{font-size:25px!important;line-height:1.45!important;}
  .register-modern-form,.register-grid-2{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;}
  .register-modern-form .field,.register-modern-form .field label{display:block!important;visibility:visible!important;opacity:1!important;}
  .register-modern-form .field input,.register-modern-form .field select,.register-modern-form textarea{display:block!important;visibility:visible!important;opacity:1!important;width:100%!important;min-height:44px!important;color:#111827!important;background:#fff!important;border:1px solid #d6e0ec!important;}
  .register-actions{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;}
  .footer-note{display:block!important;visibility:visible!important;opacity:1!important;margin:18px 10px 96px!important;padding:14px 12px!important;border-radius:16px!important;font-size:12px!important;line-height:1.8!important;}
  .book-inner-tabs{gap:6px;}
  .book-inner-tabs button{flex:1 1 auto;padding:8px 9px;font-size:12px;}
  .book-work-row{grid-template-columns:1fr;}
}

/* Folinq v126 - book social actions, compact book stats, profile info popup */
.compact-book-stats{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:8px!important;margin:12px 0!important;}
.compact-book-stats .book-commerce-card{display:block;text-decoration:none;color:inherit;padding:9px 10px!important;border-radius:14px!important;text-align:center;background:#fbfdff;transition:.14s ease;}
.compact-book-stats .book-commerce-card:hover{border-color:#bfdbfe;background:#f8fbff;transform:translateY(-1px);}
.compact-book-stats .book-commerce-card span{display:block;font-size:11.5px;font-weight:850;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.compact-book-stats .book-commerce-card b{font-size:17px!important;line-height:1.2;margin-top:3px!important;color:#0a66c2;}
.book-social-panel{margin-top:13px;border:1px solid #dbe7f5;background:linear-gradient(180deg,#fbfdff,#fff);border-radius:18px;padding:12px;display:grid;gap:11px;}
.book-reaction-row,.book-rating-row{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:0;}
.book-social-title{display:inline-flex;align-items:center;gap:6px;font-weight:950;color:#26364a;margin-inline-end:4px;}
.book-reaction-row form,.book-rating-row form{display:inline;}
.book-reaction-btn,.book-star-btn{border:1px solid #d9e4f2;background:#fff;color:#344054;border-radius:999px;min-height:34px;padding:6px 10px;display:inline-flex;align-items:center;gap:5px;font-weight:900;cursor:pointer;transition:.14s ease;}
.book-reaction-btn:hover,.book-star-btn:hover{border-color:#9cc7f2;background:#eef6ff;color:#0a66c2;}
.book-reaction-btn.active,.book-star-btn.active{border-color:#0a66c2;background:#e8f3ff;color:#0a66c2;box-shadow:0 0 0 3px rgba(10,102,194,.08);}
.book-reaction-btn b{background:#eef3f8;color:#0a66c2;border-radius:999px;padding:0 6px;font-size:11px;line-height:18px;}
.book-reaction-total,.book-rating-row small{color:#64748b;font-size:12px;font-weight:800;}
.book-star-btn{font-size:12px;min-width:38px;justify-content:center;letter-spacing:-1px;}
.profile-name-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
.profile-name-row h1{margin:0;}
.profile-info-open{width:38px;height:38px;}
.profile-info-modal[hidden]{display:none!important;}
.profile-info-modal{position:fixed;inset:0;z-index:3000;display:grid;place-items:center;padding:18px;}
.profile-info-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.36);backdrop-filter:blur(3px);}
.profile-info-box{position:relative;z-index:1;width:min(520px,94vw);max-height:82vh;overflow:auto;box-shadow:0 24px 80px rgba(15,23,42,.22);}
.profile-info-close{position:absolute;top:12px;left:12px;width:34px;height:34px;border:1px solid #dbe3ee;background:#fff;border-radius:50%;font-size:24px;line-height:1;cursor:pointer;color:#475467;}
.profile-info-section{margin-top:14px;display:grid;gap:8px;}
.profile-info-section h4{margin:0;font-size:14px;color:#26364a;}
.profile-info-box .profile-link-list{display:grid;gap:8px;}
.profile-info-box .contact-lines{display:grid;gap:8px;margin-top:0;}
@media(max-width:900px){.compact-book-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important;}.book-reaction-btn span{display:none}.book-social-panel{padding:10px}.book-star-btn{min-width:34px;padding:6px 8px}}
@media(max-width:700px){.compact-book-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;}.book-reaction-row,.book-rating-row{gap:6px}.book-social-title{width:100%;}.profile-info-modal{align-items:end;padding:10px}.profile-info-box{width:100%;max-height:86vh;border-radius:20px 20px 12px 12px}.profile-context-hero{margin-top:4px}}


/* Folinq v127 */
.profile-hero .profile-bio{display:none !important}
.profile-about-text{line-height:2.05}
.profile-ellipsis-link{display:inline-flex;align-items:center;justify-content:center;min-width:1.5rem;font-weight:800;text-decoration:none;color:#2260ff;margin-inline-start:.1rem}
.profile-inline-tooltip{position:relative}
.profile-inline-tooltip::after{content:attr(data-tip);position:absolute;inset-block-end:calc(100% + 8px);inset-inline-start:50%;transform:translateX(-50%) translateY(6px);background:#111827;color:#fff;border-radius:10px;padding:6px 10px;font-size:.78rem;white-space:nowrap;opacity:0;pointer-events:none;transition:.18s ease;box-shadow:0 10px 24px rgba(15,23,42,.24)}
.profile-inline-tooltip:hover::after,.profile-inline-tooltip:focus-visible::after{opacity:1;transform:translateX(-50%) translateY(0)}
.profile-about-page .profile-about-rich{line-height:2.2;font-size:1rem}
.profile-about-page .section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1rem;flex-wrap:wrap}
.book-stats-row.five-up{grid-template-columns:repeat(5,minmax(0,1fr));gap:.75rem}
.book-stats-row.five-up .book-commerce-card{padding:.9rem .7rem;border-radius:16px}
.book-stats-row.five-up .book-commerce-card span{font-size:.86rem}
.book-stats-row.five-up .book-commerce-card b{font-size:1.16rem}
.book-social-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.book-reaction-row.icon-only,.book-rating-row.enhanced{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center}
.book-reaction-btn.icon-chip,.book-star-btn{border:1px solid #d7dfec;background:#fff;border-radius:999px;min-width:46px;height:44px;padding:0 .9rem;display:inline-flex;align-items:center;justify-content:center;gap:.45rem;cursor:pointer;transition:.18s ease;box-shadow:none}
.book-reaction-btn.icon-chip .chip-count{font-weight:700;font-size:.88rem;color:#334155}
.book-reaction-btn.icon-chip:hover,.book-star-btn:hover{border-color:#2b6cff;transform:translateY(-1px)}
.book-reaction-btn.icon-chip.active,.book-star-btn.active{background:#eff6ff;border-color:#2b6cff;color:#1d4ed8}
.book-star-btn .star-value{letter-spacing:.08em;font-size:.95rem;font-weight:800}
.book-tab-actions{display:flex;justify-content:flex-start;align-items:center;min-height:50px;margin-top:.7rem}
.book-tab-action{display:none}
.book-tab-action.active{display:flex}
.book-tab-panel{display:none}
.book-tab-panel.active{display:block}
.book-comment-form{margin-top:1rem}
.activity-row .sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media (max-width: 980px){.book-social-grid{grid-template-columns:1fr}}
@media (max-width: 860px){.book-stats-row.five-up{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width: 520px){.book-stats-row.five-up{grid-template-columns:1fr 1fr}.book-reaction-btn.icon-chip,.book-star-btn{min-width:42px;height:42px;padding:0 .7rem}}


/* Folinq v128 */
body:has(.folinq-register-shell) main.container,.q-guest main.container:has(.folinq-register-shell){max-height:none!important;overflow:visible!important;height:auto!important;min-height:calc(100dvh - 80px)!important;padding-bottom:110px!important}
@media(max-width:700px){.folinq-register-shell{width:100%!important;max-width:100%!important;overflow:visible!important}.folinq-register-card{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;overflow:visible!important}.register-form-panel,.register-intro-panel{width:100%!important;max-width:100%!important;min-width:0!important}.register-modern-form input,.register-modern-form select{box-sizing:border-box!important;max-width:100%!important}.register-benefits{display:none!important}.auth-register-lead{font-size:12px!important}.register-form-panel{padding-bottom:120px!important}}
.book-card{position:relative;overflow:hidden}.book-discount-ribbon{position:absolute;top:10px;right:-34px;z-index:3;transform:rotate(35deg);background:#ef4444;color:#fff;font-size:11px;font-weight:950;line-height:1;padding:7px 36px;box-shadow:0 10px 24px rgba(239,68,68,.25)}.book-page-ribbon{display:inline-flex;margin:8px 0;background:#ef4444;color:#fff;border-radius:999px;padding:6px 12px;font-weight:950}.book-installment-note{display:flex;align-items:center;gap:7px;background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;border-radius:14px;padding:9px 12px;margin:8px 0;font-weight:850}.installment-box{margin-bottom:14px;background:#fbfdff}.checkline{display:flex!important;align-items:center;gap:8px;font-weight:900}.checkline input{width:auto!important}.epub-badge{background:#eef2ff!important;color:#3730a3!important}.installment-badge{background:#fff7ed!important;color:#9a3412!important}.publisher-logo-update-form{border:1px solid #dbeafe;background:#f8fbff;border-radius:18px;padding:14px;margin-bottom:14px}.profile-qr-card{text-align:center}.profile-qr-wrap{position:relative;width:190px;height:190px;margin:8px auto 6px;display:grid;place-items:center}.profile-qr-img{width:190px;height:190px;border-radius:18px;border:1px solid #e2e8f0;background:#fff;padding:6px}.profile-qr-avatar{position:absolute;width:54px;height:54px;border-radius:50%;object-fit:cover;border:4px solid #fff;box-shadow:0 8px 20px rgba(15,23,42,.18);background:#fff}.profile-qr-id{font-weight:950;color:#0a66c2;letter-spacing:.2px}


/* Folinq v129 */
.is-disabled-by-book-link{opacity:.58;filter:grayscale(.15)}
.is-disabled-by-book-link select{background:#f3f6fa!important;cursor:not-allowed!important}
.q-pagination-results{font-size:12px;color:#64748b;font-weight:800}


/* Folinq v130 fixes */
.profile-hero .hero-body > .hero-topline p:not(.muted){display:none!important}
.profile-about-card .profile-about-text{line-height:2.05;white-space:normal}
.profile-ellipsis-link.profile-inline-tooltip{position:relative}
.profile-ellipsis-link.profile-inline-tooltip:after{content:attr(data-tip);position:absolute;bottom:calc(100% + 8px);left:50%;transform:translateX(-50%) translateY(6px);background:#111827;color:#fff;border-radius:10px;padding:6px 10px;font-size:12px;font-weight:850;white-space:nowrap;opacity:0;pointer-events:none;transition:.18s;box-shadow:0 10px 24px rgba(15,23,42,.24);z-index:20}
.profile-ellipsis-link.profile-inline-tooltip:hover:after,.profile-ellipsis-link.profile-inline-tooltip:focus-visible:after{opacity:1;transform:translateX(-50%) translateY(0)}
.profile-qr-wrap{position:relative}
.profile-qr-center{position:absolute;width:62px;height:62px;border-radius:50%;display:grid;place-items:center;background:#fff;box-shadow:0 10px 24px rgba(15,23,42,.18);overflow:hidden;border:5px solid #fff}
.profile-qr-center .profile-qr-avatar{position:static!important;width:100%!important;height:100%!important;border:0!important;box-shadow:none!important;border-radius:50%!important;object-fit:cover!important;background:#fff!important}
.profile-qr-id{display:block;text-align:center;direction:ltr;font-family:Arial,sans-serif;font-weight:950;color:#0a66c2;margin-top:6px}
:root[dir="ltr"] .register-benefits span{direction:ltr;text-align:left}


/* Folinq v131 hotfix */
.profile-headline-compact{max-width:720px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.profile-about-more-link{display:inline-flex;align-items:center;margin-inline-start:6px;font-size:12px;font-weight:950;color:#0a66c2;text-decoration:none;border-bottom:1px dashed #0a66c2}.profile-about-more-link:hover{border-bottom-style:solid}
.book-detail.shell{max-width:1120px;margin-inline:auto}.book-detail .book-hero{display:grid!important;grid-template-columns:230px minmax(0,1fr)!important;gap:24px!important;align-items:start!important;overflow:hidden!important}.book-detail .book-cover-lg{width:230px!important;max-width:230px!important;aspect-ratio:2/3!important;min-height:0!important;height:auto!important;border-radius:18px!important;background:#eef3f8!important;display:grid!important;place-items:center!important;overflow:hidden!important;color:#0a66c2!important}.book-detail .book-cover-lg img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:none!important;object-fit:cover!important;border-radius:0!important}.book-detail .book-main{min-width:0!important}.book-detail .book-main h1{margin-top:0!important;line-height:1.45!important}.book-detail .book-meta-line{color:#64748b;font-weight:800;margin-bottom:8px}.book-detail .book-meta-list{display:flex!important;flex-wrap:wrap!important;gap:8px!important;margin:10px 0 12px!important}.book-detail .book-meta-list span{background:#eef3f8!important;border:1px solid #e2e8f0!important;border-radius:999px!important;padding:5px 10px!important;color:#475467!important;font-size:12px!important;font-weight:850!important}.book-detail .book-summary{line-height:2.05;margin:12px 0;color:#26364a}.book-detail .book-action-strip{display:flex!important;gap:8px!important;flex-wrap:wrap!important;margin:12px 0}.book-detail .book-stats-row.five-up{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:8px!important;margin:10px 0!important}.book-detail .book-commerce-card{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;min-height:68px!important;border:1px solid #dbe7f5!important;background:#f8fbff!important;border-radius:16px!important;text-decoration:none!important}.book-detail .book-commerce-card span{font-size:12px!important;color:#64748b!important;font-weight:900!important}.book-detail .book-commerce-card b{font-size:18px!important;color:#0a66c2!important;margin-top:4px!important}.book-detail .book-social-panel{margin-top:14px!important;border:1px solid #dbe7f5!important;background:linear-gradient(180deg,#fbfdff,#fff)!important;border-radius:18px!important;padding:14px!important}.book-detail .book-tab-nav{display:flex!important;gap:8px!important;flex-wrap:wrap!important}.book-detail .book-tab-nav button{border:1px solid #dbe7f5;background:#fff;border-radius:999px;padding:8px 14px;font-weight:950;cursor:pointer}.book-detail .book-tab-nav button.active{background:#0a66c2;color:#fff;border-color:#0a66c2}.profile-qr-wrap{width:220px!important;height:220px!important}.profile-qr-img{width:220px!important;height:220px!important;padding:8px!important;border-radius:18px!important}.profile-qr-center{width:42px!important;height:42px!important;border:4px solid #fff!important}.profile-qr-id{display:block!important;text-align:center!important;margin-top:8px!important;font-weight:950!important;color:#0a66c2!important;direction:ltr!important}
@media(max-width:900px){.book-detail .book-hero{grid-template-columns:180px minmax(0,1fr)!important;gap:16px!important}.book-detail .book-cover-lg{width:180px!important;max-width:180px!important}.book-detail .book-stats-row.five-up{grid-template-columns:repeat(3,minmax(0,1fr))!important}.profile-headline-compact{white-space:normal}}
@media(max-width:640px){.book-detail .book-hero{grid-template-columns:1fr!important}.book-detail .book-cover-lg{width:190px!important;max-width:190px!important;margin-inline:auto!important}.book-detail .book-stats-row.five-up{grid-template-columns:repeat(2,minmax(0,1fr))!important}.book-detail .book-social-grid{grid-template-columns:1fr!important}.profile-qr-wrap{width:200px!important;height:200px!important}.profile-qr-img{width:200px!important;height:200px!important}.profile-qr-center{width:38px!important;height:38px!important}}


/* Folinq v132 */
.profile-icon-btn[data-tooltip],.mini-icon-btn[data-tooltip]{position:relative!important;overflow:visible!important}
.profile-icon-btn[data-tooltip]::after,.mini-icon-btn[data-tooltip]::after{content:attr(data-tooltip);position:absolute;bottom:calc(100% + 8px);left:50%;transform:translateX(-50%) translateY(4px);background:#111827;color:#fff;border-radius:8px;padding:6px 9px;font-size:12px;font-weight:850;line-height:1;white-space:nowrap;opacity:0;pointer-events:none;transition:.15s;z-index:9999;box-shadow:0 10px 25px rgba(15,23,42,.22)}
.profile-icon-btn[data-tooltip]:hover::after,.mini-icon-btn[data-tooltip]:hover::after{opacity:1;transform:translateX(-50%) translateY(0)}
.book-detail .book-social-panel{padding:12px!important;margin-top:12px!important}
.book-detail .compact-social{display:grid!important;grid-template-columns:1fr 1fr!important;gap:14px!important;align-items:start!important}
.book-reaction-picker{position:relative;max-width:360px}.book-reaction-picker h3,.book-rating-picker h3{font-size:14px;margin:0 0 8px;color:#172033}.book-reaction-toggle{width:100%;height:44px;border:1px solid #dbe7f5;background:#fff;border-radius:999px;display:flex;align-items:center;justify-content:center;gap:8px;font-weight:950;color:#334155;cursor:pointer}.book-reaction-toggle:hover{border-color:#0a66c2;color:#0a66c2;background:#f8fbff}.book-reaction-menu{display:none;position:absolute;z-index:30;top:calc(100% + 8px);right:0;min-width:260px;background:#fff;border:1px solid #dbe7f5;border-radius:18px;box-shadow:0 18px 44px rgba(15,23,42,.16);padding:10px;gap:7px;flex-wrap:wrap}.book-reaction-picker.open .book-reaction-menu{display:flex}.book-reaction-btn.icon-chip{min-width:42px!important;height:42px!important;padding:0 10px!important}.book-reaction-btn.icon-chip .chip-count{font-size:11px}.book-rating-stars{direction:ltr;display:inline-flex;flex-direction:row-reverse;gap:4px;align-items:center}.book-rating-stars .book-star-btn{border:0!important;background:transparent!important;min-width:28px!important;height:32px!important;padding:0!important;font-size:26px!important;line-height:1!important;color:#cbd5e1!important;cursor:pointer;box-shadow:none!important}.book-rating-stars .book-star-btn:hover,.book-rating-stars .book-star-btn:hover ~ .book-star-btn,.book-rating-stars .book-star-btn.active,.book-rating-stars .book-star-btn.active ~ .book-star-btn{color:#f59e0b!important;transform:none!important}.modern-book-comment{margin-top:14px!important}.book-comment-input-wrap{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end;background:#f8fbff;border:1px solid #dbe7f5;border-radius:18px;padding:10px}.book-comment-input-wrap textarea{width:100%;min-height:64px;border:1px solid #d7e2ef;border-radius:14px;background:#fff;resize:vertical;padding:12px 14px;font-family:inherit;line-height:1.8}.book-comment-input-wrap .btn{height:42px;white-space:nowrap}.book-comment-item{background:#f8fbff;border:1px solid #e2e8f0;border-radius:14px;padding:10px 12px;margin:8px 0}.book-comment-item p{margin:4px 0 0;line-height:1.85;color:#334155}.book-reader-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.book-reader-shell{padding:12px;border:1px solid #dbe7f5;border-radius:18px;overflow:hidden;background:#fff}.book-pdf-reader{width:100%;height:78vh;border:0;border-radius:14px;background:#f8fafc}.epub-reader-toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px}.epub-reader-box{min-height:72vh;border:1px solid #e2e8f0;border-radius:14px;overflow:hidden;background:#fff}
@media(max-width:760px){.book-detail .compact-social{grid-template-columns:1fr!important}.book-comment-input-wrap{grid-template-columns:1fr}.book-comment-input-wrap .btn{justify-self:flex-start}.book-reaction-menu{left:0;right:auto}.profile-icon-btn[data-tooltip]::after,.mini-icon-btn[data-tooltip]::after{display:none}}


/* Folinq v133 fixes */
.profile-fa-zone{direction:rtl}
.profile-qr-actions{display:flex;gap:8px;justify-content:center;align-items:center;flex-wrap:wrap;margin-top:10px}.profile-qr-actions .tiny{height:32px;padding:0 10px;font-size:12px}
.profile-qr-center{width:42px!important;height:42px!important;border:5px solid #fff!important;border-radius:50%!important;overflow:hidden;background:#fff;box-shadow:0 2px 10px rgba(15,23,42,.14)}.profile-qr-avatar{width:100%;height:100%;border-radius:50%;object-fit:cover}.profile-qr-img{image-rendering:auto}
.book-reaction-toggle{width:auto!important;min-width:48px!important;height:44px!important;padding:0 12px!important}.book-reaction-toggle .sr-only{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important}.book-reaction-picker h3{display:none!important}.book-reaction-menu{right:auto!important;left:0!important}.book-reaction-picker.open .book-reaction-toggle{border-color:#0a66c2!important;color:#0a66c2!important;background:#eff6ff!important}
.book-social-grid.compact-social{grid-template-columns:auto minmax(260px,1fr)!important;align-items:center!important}.book-rating-picker h3{display:none!important}.book-rating-picker{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.book-rating-stars{direction:ltr;display:inline-flex!important;flex-direction:row-reverse!important;gap:2px}.book-rating-stars .book-star-btn{font-size:27px!important;color:#d7dee9!important;text-shadow:none!important}.book-rating-stars .book-star-btn:hover,.book-rating-stars .book-star-btn:hover ~ .book-star-btn,.book-rating-stars .book-star-btn.active,.book-rating-stars .book-star-btn.active ~ .book-star-btn{color:#f5b301!important}
.modern-book-comment{margin-top:16px!important}.book-comment-input-wrap{display:block!important;background:#fff!important;border:1px solid #dbe7f5!important;border-radius:18px!important;padding:12px!important;box-shadow:0 8px 24px rgba(15,23,42,.04)}.book-comment-input-wrap textarea{width:100%!important;min-height:110px!important;border:0!important;background:#f8fbff!important;border-radius:14px!important;resize:vertical!important;padding:12px 14px!important;outline:none!important}.book-comment-input-wrap textarea:focus{box-shadow:0 0 0 2px rgba(10,102,194,.12)!important}.book-comment-actions{display:flex;justify-content:flex-start;margin-top:10px}.book-comment-actions .btn{height:38px!important}
@media(max-width:760px){.book-social-grid.compact-social{grid-template-columns:1fr!important}.book-reaction-menu{left:auto!important;right:0!important}.profile-qr-actions{justify-content:center}}


/* Folinq v134 fixes */
.book-detail .book-hero,.book-detail .book-main,.book-detail .book-social-panel{overflow:visible!important;}
.book-reaction-picker.open .book-reaction-menu{display:flex!important;visibility:visible!important;opacity:1!important;z-index:99999!important;}
.book-reaction-menu{z-index:99999!important;}
.book-section-head h3{display:inline-flex;align-items:center;gap:8px;}
.mini-plus-btn{width:30px;height:30px;border:1px solid #dbe7f5;background:#fff;border-radius:999px;display:inline-grid;place-items:center;color:#0a66c2;text-decoration:none;vertical-align:middle;}
.mini-plus-btn:hover{background:#eff6ff;border-color:#0a66c2;}
.book-tab-actions:empty{display:none!important;}
.q-locale-en .profile-fa-zone{direction:ltr;text-align:left;}
.q-locale-en .profile-fa-zone .grid{direction:ltr;}
.q-locale-en .profile-bio-meta,.q-locale-en .hero-actions{direction:ltr;}
.profile-qr-id{font-size:12px!important;direction:ltr!important;unicode-bidi:plaintext!important;}


/* Folinq v135 */
.settings-section-cards{display:none!important}
.is-disabled-by-sale-type{opacity:.45;filter:grayscale(.4)}
.is-disabled-by-sale-type .modern-file{cursor:not-allowed!important;background:#f1f5f9!important;color:#94a3b8!important}
.book-card-shell{position:relative;display:block}
.book-card-shell .book-card{display:flex;text-decoration:none;color:inherit;height:100%}
.book-card-manage{position:absolute;top:10px;inset-inline-end:10px;display:flex;gap:6px;z-index:3}
.book-card-manage form{margin:0}.mini-icon-btn.danger{color:#dc2626!important}.mini-icon-btn.danger:hover{background:#fef2f2!important;border-color:#fecaca!important}
.book-cuts-badge.read-badge{background:#ecfdf5!important;color:#047857!important;border-color:#bbf7d0!important}
.book-view-btn{background:#eaf4ff!important;border-color:#bfdbfe!important;color:#0a66c2!important;font-weight:950!important}
.book-reaction-picker{overflow:visible!important;z-index:20}.book-social-panel{overflow:visible!important}.book-reaction-menu{max-width:min(330px,calc(100vw - 40px));}
.q-locale-en .profile-tabs-v125 a,.q-locale-en .profile-overview-head a,.q-locale-en .side-title,.q-locale-en .stat-row span,.q-locale-en .reader-book-tabs summary{text-align:left}
@media(max-width:640px){.book-card-manage{top:8px;inset-inline-end:8px}.book-card-manage .mini-icon-btn{width:30px;height:30px}}

.book-card-read-action{position:absolute;bottom:10px;inset-inline-end:10px;z-index:3}.mini-icon-btn.read{color:#047857!important;background:#ecfdf5!important;border-color:#bbf7d0!important}

/* Folinq v136 */
.import-map-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.import-map-card,.import-preview-card{margin:14px 0}.required-star{color:#dc2626}.table-scroll{overflow:auto;max-width:100%}.q-table{width:100%;border-collapse:separate;border-spacing:0}.q-table th,.q-table td{border-bottom:1px solid #e5edf7;padding:9px 10px;white-space:nowrap;text-align:right}.q-table th{background:#f8fbff;color:#334155;font-weight:900}.inline-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.danger-soft{color:#dc2626!important;background:#fff5f5!important;border-color:#fecaca!important}.epub-reader-box{position:relative}.epub-reader-status{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#64748b;background:#fff;z-index:2;font-weight:800}.epub-reader-box iframe{background:#fff}.book-reader-shell{min-height:76vh}.book-action-strip form{display:inline-flex;margin:0}.book-card-read-action,.book-card-manage{display:none!important}
@media(max-width:900px){.import-map-grid{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.import-map-grid{grid-template-columns:1fr}.book-reader-head{align-items:flex-start;flex-direction:column}.book-reader-shell{min-height:70vh}}


/* Folinq v137 */
.vip-badge{display:inline-flex;align-items:center;gap:4px;margin-inline-start:8px;border-radius:999px;background:linear-gradient(135deg,#f59e0b,#facc15);color:#422006;font-weight:950;font-size:11px;padding:4px 8px;vertical-align:middle;box-shadow:0 6px 16px rgba(245,158,11,.22)}
.profile-icon-btn.is-verified{background:#0a66c2!important;color:#fff!important;border-color:#0a66c2!important;box-shadow:0 8px 18px rgba(10,102,194,.25)!important}
.admin-vip-check{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line,#dbe3ee);border-radius:999px;padding:7px 10px;font-weight:900;color:#92400e;background:#fffbeb}
.book-owner-actions{display:inline-flex;gap:8px;align-items:center;margin-inline-end:6px}.book-owner-actions form{display:inline-flex;margin:0}.book-owner-actions .mini-icon-btn{width:42px;height:42px;border-radius:14px;border:1px solid var(--line,#dbe3ee);background:#fff;color:#0a66c2;display:inline-grid;place-items:center;cursor:pointer}.book-owner-actions .mini-icon-btn:hover{background:#eff6ff;border-color:#bfdbfe}.book-owner-actions .danger-soft{color:#dc2626}.epub-server-reader{height:74vh;overflow:auto;padding:28px 34px;line-height:2.15;font-size:16px;background:#fff;color:#1f2937;direction:rtl;text-align:right}.epub-server-reader h1,.epub-server-reader h2,.epub-server-reader h3{line-height:1.7;color:#111827}.epub-server-reader p{margin:0 0 1em}.epub-server-reader a{color:#0a66c2}.epub-server-reader img{max-width:100%;height:auto}.book-import-page a{color:#0a66c2;font-weight:900}


/* Folinq v138 fixes */
.book-page-icon-actions{display:inline-flex!important;flex-direction:row!important;align-items:center!important;gap:10px!important;margin-inline-end:8px!important}
.book-page-icon-actions form{display:inline-flex!important;margin:0!important}
.book-page-icon-actions .book-action-icon{width:48px!important;height:48px!important;border-radius:16px!important;font-size:18px!important;border:1px solid #cfe0f5!important;background:#fff!important;display:inline-grid!important;place-items:center!important;color:#0a66c2!important;box-shadow:0 8px 20px rgba(15,23,42,.06)!important}
.book-page-icon-actions .book-action-icon:hover{background:#eff6ff!important;border-color:#93c5fd!important;transform:translateY(-1px)}
.book-page-icon-actions .book-action-icon.danger-soft{color:#dc2626!important;background:#fff!important}
.book-page-icon-actions .book-action-icon.danger-soft:hover{background:#fff1f2!important;border-color:#fecdd3!important}
.book-action-strip{align-items:center!important}
.book-view-btn{display:none!important}
.epub-render-stage{width:100%;min-height:74vh;background:#fff;border-radius:14px;overflow:hidden}
.epub-book-fallback{display:block!important;max-width:820px!important;height:74vh!important;margin:0 auto!important;padding:52px 64px!important;overflow:auto!important;background:linear-gradient(90deg,#f8f1df 0,#fffaf0 4%,#fff 14%,#fff 86%,#fffaf0 96%,#f8f1df 100%)!important;border:1px solid #e6dcc8!important;box-shadow:inset 0 0 0 1px rgba(120,90,40,.05),0 18px 45px rgba(15,23,42,.10)!important;color:#172033!important;font-size:18px!important;line-height:2.25!important;text-align:justify!important;direction:rtl!important}
.epub-book-fallback[hidden]{display:none!important}
.epub-book-titlepage{text-align:center;margin:0 auto 34px;padding-bottom:24px;border-bottom:1px solid #eadfca}.epub-book-titlepage img{max-width:150px;max-height:220px;border-radius:12px;margin:0 auto 18px;display:block;box-shadow:0 14px 32px rgba(15,23,42,.16)}.epub-book-titlepage h1{font-size:34px;margin:0 0 10px;color:#111827}.epub-book-titlepage p{margin:0;color:#64748b;font-weight:800}
.epub-book-fallback .epub-chapter{max-width:680px;margin:0 auto 3rem;page-break-after:always}.epub-book-fallback h1,.epub-book-fallback h2,.epub-book-fallback h3{font-weight:950;line-height:1.7;text-align:center;color:#111827;margin:1.2em 0 .8em}.epub-book-fallback p{margin:0 0 1.15em}.epub-book-fallback img{max-width:100%;height:auto;display:block;margin:1.2em auto;border-radius:10px}.epub-book-fallback a{color:#0a66c2;text-decoration:none}.epub-reader-status{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#64748b;background:rgba(255,255,255,.94);z-index:3;font-weight:900}.epub-reader-box{position:relative;background:#f7f2e8!important;padding:16px!important;border-radius:16px!important}
@media(max-width:760px){.book-page-icon-actions .book-action-icon{width:42px!important;height:42px!important}.epub-book-fallback{height:72vh!important;padding:32px 24px!important;font-size:16px!important}.epub-book-titlepage h1{font-size:26px}}


/* Folinq v139 */
.feed-inline-text{position:relative;white-space:normal!important;padding-bottom:18px!important;line-height:1.85!important}
.feed-inline-text .feed-inline-content{white-space:pre-line}
.feed-inline-text.is-collapsed .feed-inline-content{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-height:3.8em}
.feed-inline-more{position:absolute;inset-inline-end:14px;bottom:0;border:0;background:linear-gradient(90deg,rgba(255,255,255,0),#fff 34%);color:#0a66c2;font-weight:900;cursor:pointer;padding:0 0 0 28px}
.feed-inline-more:hover{text-decoration:underline}
.feed-inline-text.is-expanded{padding-bottom:4px!important}.feed-inline-text.is-expanded .feed-inline-content{display:block;max-height:none;overflow:visible}.feed-inline-text.is-expanded .feed-inline-more{display:none}
.epub-server-mode{background:#f5efe3!important;padding:22px!important;min-height:76vh!important}
.epub-server-mode .epub-reader-status{position:static!important;min-height:56vh;border-radius:18px;background:#fff;color:#64748b;display:flex;align-items:center;justify-content:center}
.epub-book-fallback{display:block!important;max-width:820px!important;height:76vh!important;margin:0 auto!important;padding:58px 72px!important;overflow:auto!important;background:linear-gradient(90deg,#efe3cb 0,#fff8ec 4%,#fffdf8 12%,#fffdf8 88%,#fff8ec 96%,#efe3cb 100%)!important;border:1px solid #e2d2b8!important;border-radius:18px!important;box-shadow:inset 0 0 0 1px rgba(120,90,40,.06),0 22px 55px rgba(15,23,42,.14)!important;color:#172033!important;font-family:Georgia,'Times New Roman',Vazirmatn,serif!important;font-size:18px!important;line-height:2.35!important;text-align:justify!important;direction:rtl!important}
.epub-book-titlepage{text-align:center;margin:0 auto 38px!important;padding-bottom:26px!important;border-bottom:1px solid #eadfca!important}.epub-book-titlepage img{max-width:160px;max-height:230px;border-radius:12px;margin:0 auto 18px;display:block;box-shadow:0 14px 32px rgba(15,23,42,.16)}.epub-book-titlepage h1{font-size:35px;margin:0 0 10px;color:#111827}.epub-book-titlepage p{margin:0;color:#64748b;font-weight:800}.epub-book-fallback .epub-chapter{max-width:690px;margin:0 auto 3.2rem}.epub-book-fallback h1,.epub-book-fallback h2,.epub-book-fallback h3{font-family:Vazirmatn,Georgia,serif!important;font-weight:950;line-height:1.7;text-align:center;color:#111827;margin:1.25em 0 .85em}.epub-book-fallback p{margin:0 0 1.15em}.epub-book-fallback img{max-width:100%;height:auto;display:block;margin:1.2em auto;border-radius:10px}.epub-book-fallback a{color:#0a66c2;text-decoration:none}.book-page-icon-actions{display:inline-flex!important;flex-direction:row!important;align-items:center!important;gap:10px!important;vertical-align:middle}.book-page-icon-actions form{display:inline-flex!important;margin:0!important}.book-page-icon-actions .book-action-icon{width:50px!important;height:50px!important;border-radius:16px!important;display:inline-grid!important;place-items:center!important}.book-page-icon-actions .book-action-icon .li-icon{width:24px!important;height:24px!important}
@media(max-width:760px){.epub-server-mode{padding:10px!important}.epub-book-fallback{height:72vh!important;padding:32px 24px!important;font-size:16px!important}.epub-book-titlepage h1{font-size:26px}.feed-inline-more{inset-inline-end:12px}}


/* Folinq v140 */
.feed-inline-text{position:relative!important;line-height:1.78!important;padding-bottom:0!important;margin-bottom:10px!important;}
.feed-inline-text .feed-inline-content{white-space:pre-line!important;}
.feed-inline-text.is-collapsed .feed-inline-content{display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;max-height:3.56em!important;padding-inline-end:0!important;}
.feed-inline-more{position:absolute!important;inset-inline-end:auto!important;inset-inline-start:0!important;bottom:.08em!important;border:0!important;background:linear-gradient(90deg,#fff 0,#fff 68%,rgba(255,255,255,0))!important;color:#0a66c2!important;font-weight:950!important;cursor:pointer!important;padding:0 0 0 30px!important;line-height:1.5!important;z-index:2!important;}
html[dir="ltr"] .feed-inline-more{inset-inline-start:auto!important;inset-inline-end:0!important;background:linear-gradient(270deg,#fff 0,#fff 68%,rgba(255,255,255,0))!important;padding:0 30px 0 0!important;}
.feed-inline-more:before{content:'… ';}
.feed-inline-more:hover{text-decoration:underline!important;}
.feed-inline-text.is-expanded{padding-bottom:0!important;margin-bottom:10px!important}.feed-inline-text.is-expanded .feed-inline-content{display:block!important;max-height:none!important;overflow:visible!important}.feed-inline-text.is-expanded .feed-inline-more{display:none!important}
.comment-body-text{font-size:.95rem;color:#334155;line-height:1.75;margin-top:4px;}
.comment-body-text.feed-inline-text{margin-bottom:4px!important;}
.comment-body-text.feed-inline-text.is-collapsed .feed-inline-content{max-height:3.5em!important;}
.comment-inline-more{font-size:.9rem!important;bottom:0!important;}
.topbar .nav-myworks{display:none!important;}
.epub-frame-mode{padding:0!important;background:#f2eadb!important;border-radius:18px!important;overflow:hidden!important;min-height:78vh!important;}
.epub-doc-frame{display:block;width:100%;height:78vh;border:0;background:#f2eadb;border-radius:18px;}
.epub-pdf-hint{display:flex;justify-content:center;margin:12px 0 0;}
@media(max-width:760px){.feed-inline-more{bottom:.05em!important}.epub-doc-frame{height:76vh}.epub-frame-mode{min-height:76vh}}

/* Folinq v140b - place read-more at visual end of the second line */
.feed-inline-more{inset-inline-start:auto!important;inset-inline-end:0!important;background:linear-gradient(270deg,#fff 0,#fff 70%,rgba(255,255,255,0))!important;padding:0 28px 0 0!important;}
html[dir="ltr"] .feed-inline-more{inset-inline-start:auto!important;inset-inline-end:0!important;background:linear-gradient(270deg,#fff 0,#fff 70%,rgba(255,255,255,0))!important;padding:0 28px 0 0!important;}

/* Folinq v141 - LinkedIn-like inline more and compact Folio form */
.feed-inline-text{position:relative!important;line-height:1.9!important;padding-bottom:0!important;margin-bottom:10px!important;white-space:normal!important}
.feed-inline-preview{display:inline!important;white-space:normal!important;color:inherit!important}
.feed-inline-preview span{display:inline!important}
.feed-inline-dots{display:inline!important;color:inherit!important}
.feed-inline-content[hidden]{display:none!important}
.feed-inline-content{white-space:pre-line!important}
.feed-inline-more{position:static!important;display:inline!important;border:0!important;background:transparent!important;color:#0a66c2!important;font-weight:950!important;cursor:pointer!important;padding:0!important;margin-inline-start:4px!important;line-height:inherit!important;z-index:auto!important;vertical-align:baseline!important}
.feed-inline-more:before{content:none!important}
.feed-inline-more:hover{text-decoration:underline!important}
.feed-inline-text.is-collapsed .feed-inline-content{display:none!important}
.feed-inline-text.is-collapsed .feed-inline-preview{display:inline!important}
.feed-inline-text.is-expanded .feed-inline-content{display:block!important;max-height:none!important;overflow:visible!important}
.feed-inline-text.is-expanded .feed-inline-preview{display:none!important}
.comment-body-text.feed-inline-text{margin-bottom:3px!important;line-height:1.8!important}.comment-inline-more{font-size:inherit!important}

.folio-minimal-layout{grid-template-columns:minmax(0,1fr) 260px!important;gap:14px!important;align-items:start!important}.folio-minimal-card{max-width:900px!important;margin:0 auto!important;padding:18px!important;border-radius:20px!important}.folio-minimal-head{border-bottom:1px solid #e8eef7!important;padding-bottom:12px!important;margin-bottom:14px!important}.folio-minimal-head h2{margin:0!important;font-size:23px!important}.folio-minimal-head p{margin:2px 0 0!important}.folio-minimal-form .field{margin-bottom:10px!important}.folio-minimal-form .field label{font-size:12.5px!important;margin-bottom:5px!important;color:#334155!important}.folio-minimal-form .field small:not(.char-counter),.folio-minimal-form .media-main-hint{display:none!important}.folio-minimal-form input,.folio-minimal-form select,.folio-minimal-form textarea{border-radius:12px!important;padding:9px 11px!important}.folio-quick-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px}.folio-type-hints{margin:0 0 12px!important}.folio-type-hints .type-hint{padding:9px 11px!important;border-radius:13px!important;background:#f8fbff!important}.folio-type-hints .type-hint b{display:inline!important;margin:0 0 0 8px!important}.folio-type-hints .type-hint span{font-size:12px!important}.folio-book-links{display:grid;grid-template-columns:1fr 1fr;gap:10px}.folio-media-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:4px 0 10px}.folio-media-strip .field{border:1px solid #e5edf7;background:#fbfdff;border-radius:14px;padding:10px;margin:0!important}.folio-media-strip .modern-file{width:100%!important;min-height:40px!important;border-radius:12px!important;padding:8px 10px!important}.folio-body-field textarea{min-height:180px!important;font-size:15px!important;line-height:1.9!important;resize:vertical!important}.folio-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:-2px 0 8px}.folio-toolbar .emoji-row{margin:0!important}.folio-toolbar .editor-tools{margin:0!important}.folio-toolbar .btn{padding:8px 10px!important;border-radius:10px!important}.folio-meta-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,.8fr) auto;gap:10px;align-items:end}.folio-meta-grid .check-field{min-width:110px}.folio-submit-bar{display:flex;align-items:center;gap:10px;justify-content:flex-start;border-top:1px solid #e8eef7;margin-top:10px;padding-top:12px}.folio-help-card{position:sticky!important;top:76px!important;border-radius:18px!important}.folio-help-card h3{margin-top:0!important}.folio-help-card .clean-list{font-size:12.5px!important;line-height:1.9!important}.folio-minimal-form .seo-box{padding:10px!important;margin:8px 0!important;border-radius:14px!important}.folio-minimal-form .poll-box{padding:10px!important;border-radius:14px!important}.folio-minimal-form .poll-box h3{font-size:13px!important}.q-locale-en .folio-minimal-form,.q-locale-en .folio-help-card{direction:ltr!important;text-align:left!important}
@media(max-width:980px){.folio-minimal-layout{grid-template-columns:1fr!important}.folio-help-card{position:static!important}.folio-quick-grid,.folio-book-links,.folio-meta-grid{grid-template-columns:1fr 1fr!important}.folio-media-strip{grid-template-columns:1fr 1fr!important}}
@media(max-width:640px){.folio-minimal-card{padding:14px!important}.folio-quick-grid,.folio-book-links,.folio-meta-grid,.folio-media-strip{grid-template-columns:1fr!important}.folio-toolbar{display:block}.folio-toolbar .editor-tools{margin-top:8px!important}.folio-submit-bar{position:sticky;bottom:8px;background:#fff;border:1px solid #e5edf7;border-radius:16px;padding:10px;box-shadow:0 12px 28px rgba(15,23,42,.12);z-index:5}.folio-body-field textarea{min-height:150px!important}}

/* Folinq v142 polish */
.folinq-wordmark-top,.brand img.folinq-wordmark-top{height:46px!important;width:auto!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;padding:0!important}.brand{gap:12px}.book-detail-v142 .book-hero{position:relative!important;overflow:hidden!important}.book-discount-corner-ribbon{position:absolute;top:22px;left:-42px;z-index:3;display:flex;align-items:center;justify-content:center;width:150px;height:30px;background:linear-gradient(135deg,#ef4444,#f97316);color:#fff;font-weight:950;font-size:12px;transform:rotate(-45deg);box-shadow:0 10px 22px rgba(239,68,68,.28)}.book-title-row-v142{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.v142-actions{display:flex!important;flex-direction:row!important;align-items:center!important;gap:8px!important;position:static!important;margin:0!important}.v142-actions form{display:inline-flex}.v142-actions .mini-icon-btn{width:42px!important;height:42px!important;border-radius:14px!important}.v142-purchase-strip{gap:10px;flex-wrap:wrap}.book-section-head h3{display:flex;align-items:center;gap:8px}.mini-plus-btn{width:32px;height:32px;border:0;border-radius:12px;background:#eef6ff;color:#0969da;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.mini-plus-btn:hover{background:#dbeafe;transform:translateY(-1px)}.book-cut-inline-form{margin:12px 0 18px}.quote-compose-card{position:relative;border:1px solid #dbe4f0;background:linear-gradient(180deg,#fff,#fbfdff);border-radius:22px;padding:18px 22px 16px;box-shadow:0 12px 28px rgba(15,23,42,.05)}.quote-compose-card .quote-mark{font-size:54px;line-height:1;color:#0a66c2;opacity:.20;font-weight:900;position:absolute;top:8px;inset-inline-start:18px}.quote-compose-card input,.quote-compose-card textarea{width:100%;border:0;border-bottom:1px solid #e2e8f0;background:transparent;padding:10px 0;outline:none}.quote-compose-card textarea{resize:vertical;min-height:120px;font-size:15px;line-height:2.05}.quote-compose-actions{display:flex;justify-content:flex-end;margin-top:10px}.book-cut-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.book-quote-card{border:1px solid #dbe4f0;background:#fff;border-radius:20px;padding:18px;position:relative;min-height:150px}.book-quote-card:hover{box-shadow:0 16px 36px rgba(15,23,42,.08);transform:translateY(-1px)}.book-quote-card .quote-icon{position:absolute;top:10px;inset-inline-start:16px;font-size:42px;color:#0a66c2;opacity:.18;font-weight:900}.book-quote-card h4{margin:0 0 10px;font-size:16px}.book-quote-card p{margin:0;color:#334155;line-height:2}.book-quote-card small{display:block;margin-top:10px;color:#64748b}.book-editor-pro{max-width:1160px}.book-editor-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:14px}.book-editor-head h1{margin:2px 0 6px}.book-editor-form-v142{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:16px;align-items:start}.book-editor-main-v142{display:grid;gap:16px}.book-editor-section{overflow:visible}.book-editor-section .section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:12px}.book-editor-section h2{margin:0;font-size:18px}.compact-grid{display:grid;gap:12px;margin-bottom:12px}.compact-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.compact-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.compact-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.book-editor-form-v142 .field{margin-bottom:12px}.book-editor-form-v142 .field label{font-size:12px;font-weight:850;color:#334155}.book-editor-form-v142 input,.book-editor-form-v142 select,.book-editor-form-v142 textarea{min-height:42px}.book-editor-form-v142 textarea{min-height:118px}.installment-inline{display:grid;grid-template-columns:140px 1fr 1fr;gap:10px;align-items:center;margin:8px 0 14px;padding:10px;border:1px solid #e2e8f0;border-radius:16px;background:#f8fafc}.media-upload-grid .field{border:1px dashed #d7e1ef;border-radius:16px;padding:12px;background:#fbfdff}.saved-file-pill{display:inline-flex;margin-top:8px;padding:3px 9px;border-radius:999px;background:#ecfdf5;color:#047857;font-weight:800;font-size:12px}.book-editor-side-v142{display:grid;gap:14px;position:sticky;top:76px}.book-cover-panel-v142 h3,.book-editor-help-v142 h3{margin-top:0}.book-cover-preview-v142{height:270px;border-radius:22px;background:#edf3f9;border:1px solid #dbe4f0;display:grid;place-items:center;overflow:hidden;margin-bottom:12px}.book-cover-preview-v142 img{width:100%;height:100%;object-fit:cover}.modern-file.full{width:100%;justify-content:center}.book-editor-help-v142 ul{margin:0;padding-inline-start:18px;color:#64748b;line-height:2}.book-save-btn-v142{width:100%;justify-content:center;min-height:48px}.book-tile-wrap-pro{position:relative;display:inline-flex;align-items:stretch}.book-tile-wrap-pro .book-tile-pro{padding-inline-end:34px}.shelf-remove-book{position:absolute;top:8px;inset-inline-end:7px}.shelf-remove-book button{width:28px;height:28px;border:0;border-radius:10px;background:#fee2e2;color:#dc2626;display:grid;place-items:center;cursor:pointer}.shelf-remove-book button:hover{background:#fecaca}.shelf-status-form{margin-top:12px}.shelf-status-form select{width:100%;border:1px solid #dbe4f0;border-radius:12px;background:#f8fafc;min-height:38px;padding:0 10px}.book-page-ribbon,.book-discount-ribbon{display:none!important}@media(max-width:980px){.book-editor-form-v142{grid-template-columns:1fr}.book-editor-side-v142{position:static}.compact-grid.three,.compact-grid.four{grid-template-columns:repeat(2,minmax(0,1fr))}.book-cut-grid{grid-template-columns:1fr}}@media(max-width:640px){.book-editor-head,.book-title-row-v142{flex-direction:column}.compact-grid.two,.compact-grid.three,.compact-grid.four,.installment-inline{grid-template-columns:1fr}.book-cover-preview-v142{height:220px}}


/* Folinq v143 */
.book-detail-v142 .book-title-row-v142{padding-left:112px!important}
html[dir="rtl"] .book-detail-v142 .book-title-row-v142{padding-left:112px!important}
.book-detail-v142 .v142-actions{margin-left:88px!important}
.book-lazy-loading,.book-lazy-error{padding:24px;border:1px dashed #dbe4f0;border-radius:18px;background:#f8fafc;color:#64748b;text-align:center;font-weight:800}
.book-tab-load-more{margin:14px auto 0;display:flex!important}
.referral-hero-card .section-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.ref-credit-pill{display:inline-flex;align-items:center;gap:8px;border-radius:18px;background:linear-gradient(135deg,#fef3c7,#fff7ed);border:1px solid #fde68a;color:#92400e;padding:12px 16px;font-weight:950}.referral-code-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.copy-box{display:flex;gap:8px;align-items:center;border:1px solid #dbe4f0;background:#f8fafc;border-radius:16px;padding:8px}.copy-box code{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#0f172a}.referral-user-list{display:grid;gap:10px}.referral-user-row{display:flex;align-items:center;gap:12px;border:1px solid #dbe4f0;border-radius:16px;background:#fff;padding:10px 12px}.referral-user-row img{width:42px;height:42px;border-radius:50%;object-fit:cover}.referral-user-row span{display:grid;gap:2px;flex:1}.referral-user-row small{color:#64748b}.referral-user-row em{font-style:normal;color:#047857;background:#ecfdf5;border-radius:999px;padding:4px 10px;font-weight:900}.profile-icon-btn.is-verified{background:#0a66c2!important;color:#fff!important;border-color:#0a66c2!important}
@media(max-width:840px){.referral-code-grid{grid-template-columns:1fr}.book-detail-v142 .book-title-row-v142{padding-left:0!important}.book-detail-v142 .v142-actions{margin-left:0!important}}


/* Folinq v144 credit engine */
.credit-badge{background:linear-gradient(135deg,#132b55,#0f766e)!important;color:#fff!important}
.credit-admin-page .admin-table input[type="number"]{max-width:110px;text-align:center}
.inline-book-actions{display:inline-flex;align-items:center;gap:.45rem;margin-inline-start:.5rem;vertical-align:middle}
.inline-book-actions form{display:inline-flex;margin:0}
.book-action-strip.v142-purchase-strip{align-items:center;gap:.65rem;flex-wrap:wrap}
.book-discount-corner-ribbon{z-index:2}.book-title-row-v142{padding-inline-start:2.8rem}

/* Folinq v145 penalty/spend credit engine */
.admin-fold{border:1px solid #dbe4f0;border-radius:18px;background:#fff;margin:14px 0;overflow:hidden}.admin-fold>summary{cursor:pointer;display:flex;align-items:center;gap:8px;padding:14px 16px;font-weight:950;background:linear-gradient(180deg,#f8fbff,#fff);border-bottom:1px solid #e8eef7}.admin-fold .admin-table-wrap{border:0;margin:0}.report-review-form{display:grid!important;grid-template-columns:minmax(120px,.8fr) minmax(170px,1.2fr);gap:8px!important;align-items:center}.report-review-form input[name="admin_note"]{grid-column:1/-1;min-width:220px}.report-review-form button{grid-column:1/-1}.mini-field{display:inline-grid;gap:4px;font-size:11px;font-weight:800;color:#64748b}.mini-field input{max-width:115px}.comment-report-mini{border-top:1px solid #e5edf7;margin-top:5px;padding-top:5px}.comment-report-mini summary{cursor:pointer;display:flex;gap:6px;align-items:center;font-weight:800}.mini-report-form{display:grid;gap:6px;padding:6px}.mini-report-form select{min-height:34px;border-radius:10px;border:1px solid #dbe4f0}.mini-report-form button{justify-content:center}.trust-negative{color:#dc2626!important}.trust-positive{color:#047857!important}

/* Folinq v146 - cleaner comment report menu and credit wallet */
.comment-more-panel{min-width:270px!important;max-width:min(340px,calc(100vw - 32px))!important;overflow:visible!important}
.comment-more-panel a,.comment-more-panel button{white-space:nowrap!important;line-height:1.45!important;justify-content:flex-start!important}
.comment-report-inline{margin:0!important;padding:0!important;width:100%!important;display:block!important}
.comment-report-inline button{width:100%!important;text-align:start!important}
.comment-report-mini,.comment-report-mini summary,.comment-report-mini summary::marker{display:none!important}
.comment-more-menu summary::-webkit-details-marker,.comment-report-mini summary::-webkit-details-marker{display:none!important}
.credit-wallet-page{display:grid;gap:18px}.credit-wallet-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;background:linear-gradient(135deg,#fff,#f6fbff)}
.credit-wallet-hero .eyebrow{display:inline-flex;color:#0a66c2;font-weight:950;margin-bottom:6px}.credit-wallet-hero h1{margin:0 0 8px;font-size:1.7rem}.credit-wallet-stats{display:grid;grid-template-columns:repeat(3,minmax(120px,1fr));gap:10px}.credit-wallet-stats>div{border:1px solid #dbe7f5;background:#fff;border-radius:18px;padding:14px;text-align:center;box-shadow:0 10px 28px rgba(15,23,42,.06)}.credit-wallet-stats small{display:block;color:#64748b;font-weight:800;margin-bottom:6px}.credit-wallet-stats b{font-size:1.35rem;color:#0a66c2}
.credit-spend-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:18px}.credit-spend-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.credit-spend-card{background:#fff;border:1px solid #dbe7f5;border-radius:20px;padding:16px;display:grid;gap:12px;box-shadow:0 10px 28px rgba(15,23,42,.05)}.credit-spend-card.is-disabled,.credit-spend-card.is-low{opacity:.68}.credit-spend-top{display:flex;align-items:center;gap:10px}.credit-spend-top>span{width:40px;height:40px;border-radius:14px;background:#eff6ff;color:#0a66c2;display:grid;place-items:center}.credit-spend-top svg{width:20px;height:20px}.credit-cost{display:flex;align-items:baseline;gap:6px}.credit-cost strong{font-size:1.45rem;color:#0a66c2}.credit-cost small,.credit-duration{font-weight:800;color:#64748b}.credit-spend-card p{margin:0;color:#64748b;line-height:1.8;font-size:.88rem}.credit-spend-form{display:grid;gap:8px;margin-top:auto}.credit-spend-form select{height:42px;border:1px solid #d7e2ef;border-radius:13px;background:#fff;padding:0 10px;font-family:inherit}.credit-spend-form .btn{justify-content:center}.credit-side{align-self:start;position:sticky;top:84px}.credit-side h3{margin:0 0 10px}.credit-side hr{border:0;border-top:1px solid #e5edf7;margin:14px 0}.credit-active-row,.credit-tx-row{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:9px 0;border-bottom:1px dashed #e5edf7}.credit-active-row{display:grid}.credit-active-row small{color:#64748b}.credit-tx-row span{font-weight:800;color:#334155}.profile-icon-btn.is-verified{background:#0a66c2!important;color:#fff!important;border-color:#0a66c2!important}
@media(max-width:900px){.credit-wallet-hero,.credit-spend-layout{grid-template-columns:1fr}.credit-wallet-stats,.credit-spend-grid{grid-template-columns:1fr}.credit-side{position:static}}


/* Folinq v147 real credit spending */
.v147-wallet{gap:18px}.credit-wallet-hero-v147{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;background:linear-gradient(135deg,#fff,#f4f9ff);border-radius:26px}.credit-wallet-hero-v147 h1{margin:4px 0 8px;font-size:1.8rem}.v147-stats{display:grid;grid-template-columns:repeat(3,minmax(110px,1fr));gap:10px}.v147-stats>div{background:#fff;border:1px solid #dbe7f5;border-radius:18px;padding:14px;text-align:center;box-shadow:0 10px 24px rgba(15,23,42,.05)}.v147-stats small{display:block;color:#64748b;font-weight:850;margin-bottom:6px}.v147-stats b{font-size:1.35rem;color:#0a66c2}.credit-spend-real-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.real-spend-card{background:#fff;border:1px solid #dbe7f5;border-radius:24px;padding:18px;display:grid;grid-template-columns:52px minmax(0,1fr);gap:12px;align-items:start;box-shadow:0 14px 34px rgba(15,23,42,.055)}.real-spend-card:hover{transform:translateY(-1px);box-shadow:0 20px 42px rgba(15,23,42,.075)}.real-spend-icon{width:52px;height:52px;border-radius:18px;background:#eef6ff;color:#0a66c2;display:grid;place-items:center}.real-spend-icon svg{width:24px;height:24px}.real-spend-card h3{margin:0 0 6px;font-size:1.05rem}.real-spend-card p{margin:0;color:#64748b;line-height:1.85}.real-spend-price{grid-column:2;font-weight:950;color:#0a66c2}.real-spend-card .btn,.real-spend-card>a.btn{justify-content:center}.real-spend-form{grid-column:2;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;align-items:center}.real-spend-form select,.real-spend-form input{height:42px;border:1px solid #dbe7f5;border-radius:14px;background:#fff;padding:0 12px;font-family:inherit;min-width:0}.gift-form{grid-template-columns:130px minmax(0,1fr) 100px auto}.book-discount-info strong{grid-column:2;display:inline-flex;width:max-content;background:#ecfdf5;color:#047857;border-radius:999px;padding:6px 12px}.credit-ledger-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.book-purchase-credit-form{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.book-credit-use-mini{display:flex;align-items:center;gap:8px;background:#f8fbff;border:1px solid #dbe7f5;border-radius:16px;padding:7px 10px;font-size:.82rem;font-weight:850;color:#334155}.book-credit-use-mini input{width:88px;height:34px;border:1px solid #dbe7f5;border-radius:10px;text-align:center}.book-credit-use-mini small{color:#64748b;white-space:nowrap}@media(max-width:980px){.credit-wallet-hero-v147,.credit-spend-real-grid,.credit-ledger-grid{grid-template-columns:1fr}.v147-stats{grid-template-columns:repeat(3,1fr)}.real-spend-form,.gift-form{grid-template-columns:1fr}.real-spend-card{grid-template-columns:44px minmax(0,1fr)}.real-spend-icon{width:44px;height:44px;border-radius:16px}}@media(max-width:560px){.v147-stats{grid-template-columns:1fr}.book-credit-use-mini{width:100%;justify-content:space-between}}


/* Folinq v148 */
.work-show-layout.work-show-pdf-wide{display:block!important;max-width:980px;margin:0 auto}.work-show-pdf-wide .work-show-main{width:100%!important;max-width:none!important}.work-show-pdf-wide .work-author-sidebar{display:none!important}.folio-pdf-native-viewer{margin:16px 14px 18px;border:1px solid #dbe7f5;border-radius:22px;background:#f7fbff;overflow:hidden}.folio-pdf-native-viewer .pdf-book-head{padding:14px 16px;border-bottom:1px solid #dbe7f5;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff}.folio-pdf-native-viewer iframe{width:100%;height:82vh;border:0;background:#fff;display:block}.work-show-pdf-wide .post{box-shadow:0 16px 45px rgba(15,23,42,.08)}.work-show-pdf-wide .post-body{font-family:Vazirmatn,Tahoma,Arial,sans-serif!important;line-height:1.9!important;max-width:none!important}.wallet-pro-page{max-width:1120px}.wallet-pro-hero{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,.9fr);gap:18px;align-items:center;margin-bottom:18px;background:linear-gradient(135deg,#fff,#f7fbff)}.wallet-pro-hero h1{margin:4px 0 8px;font-size:28px;letter-spacing:-.7px}.wallet-pro-balance{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:10px}.wallet-pro-balance>div{border:1px solid #dbe7f5;background:#fff;border-radius:18px;padding:14px;min-height:82px}.wallet-pro-balance small{display:block;color:#64748b;font-weight:800;margin-bottom:6px}.wallet-pro-balance b{font-size:24px;color:#0a66c2}.wallet-action-wide{grid-column:span 2}.wallet-pro-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.wallet-action-card{background:#fff;border:1px solid #dbe7f5;border-radius:24px;padding:18px;box-shadow:0 12px 35px rgba(15,23,42,.05);display:grid;grid-template-columns:54px minmax(0,1fr);gap:14px;align-items:start}.wallet-action-card .btn{height:40px}.wallet-action-icon{width:48px;height:48px;border-radius:17px;background:#eef6ff;color:#0a66c2;display:grid;place-items:center}.wallet-action-icon .li-icon{width:23px;height:23px}.wallet-action-body h3{margin:0 0 6px;font-size:17px}.wallet-action-body p{margin:0;color:#64748b;line-height:1.9}.wallet-price{font-weight:950;color:#0a66c2;grid-column:2}.wallet-inline-form,.wallet-gift-form{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center}.wallet-inline-form select,.wallet-gift-form select,.wallet-gift-form input{height:42px;border:1px solid #dbe7f5;border-radius:12px;background:#fff;padding:0 12px;min-width:0}.wallet-gift-form{grid-template-columns:150px minmax(0,1fr) 110px auto}.wallet-inline-form.single{grid-template-columns:1fr}.wallet-ledger-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:18px}.wallet-row,.wallet-tx-row{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px dashed #e2e8f0;padding:10px 0}.wallet-row:last-child,.wallet-tx-row:last-child{border-bottom:0}.wallet-row small{color:#64748b}.trust-negative{color:#dc2626!important}.trust-positive{color:#059669!important}@media(max-width:900px){.wallet-pro-hero,.wallet-pro-grid,.wallet-ledger-grid{grid-template-columns:1fr}.wallet-action-wide{grid-column:auto}.wallet-pro-balance{grid-template-columns:1fr}.wallet-gift-form{grid-template-columns:1fr}.wallet-inline-form{grid-template-columns:1fr}.folio-pdf-native-viewer iframe{height:72vh}}

/* Folinq v149 admin, comments and health polish */
.required-dot{display:inline-flex;align-items:center;justify-content:center;margin-inline-start:4px;color:#dc2626;font-weight:950;font-size:15px}.field.is-required label:after{content:' *';color:#dc2626;font-weight:950}.comment-edit-pro{border:1px solid #dbe7f3!important;background:linear-gradient(180deg,#fff,#f8fbff)!important;border-radius:18px!important;padding:12px!important;box-shadow:0 18px 38px rgba(15,23,42,.08)!important;margin-top:10px!important;gap:10px!important}.comment-edit-pro.open{display:grid!important}.comment-edit-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:2px}.comment-edit-head b{font-size:13px;color:#0f172a}.comment-edit-cancel{width:32px;height:32px;border:0;border-radius:11px;background:#eef2f7;color:#475569;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.comment-edit-cancel:hover{background:#e2e8f0;color:#0f172a}.comment-edit-pro textarea{min-height:88px!important;border-radius:16px!important;background:#fff!important;box-shadow:inset 0 1px 0 rgba(15,23,42,.02)}.comment-edit-pro .reply-actions{position:sticky;bottom:8px;background:linear-gradient(180deg,rgba(255,255,255,.75),#fff);padding-top:6px;border-radius:14px}.q-removing{opacity:.35!important;transform:scale(.985)!important;transition:.18s ease!important}.q-updated-comment{animation:qUpdatedComment 1.2s ease}@keyframes qUpdatedComment{0%{box-shadow:0 0 0 0 rgba(10,102,194,.35)}55%{box-shadow:0 0 0 6px rgba(10,102,194,.10)}100%{box-shadow:none}}.admin-users-modern-v149{display:grid;gap:14px}.admin-users-filterbar{display:grid;grid-template-columns:minmax(220px,1fr) 160px 160px 115px auto;gap:10px;align-items:end;background:#fff;border:1px solid #dbe7f5;border-radius:22px;padding:14px;box-shadow:0 12px 32px rgba(15,23,42,.05)}.admin-users-filterbar input,.admin-users-filterbar select{width:100%;height:42px;border:1px solid #d7e2ef;border-radius:13px;background:#fff;padding:0 12px;color:#0f172a}.admin-users-filterbar label{display:grid;gap:5px;font-size:11.5px;font-weight:900;color:#64748b}.admin-users-filterbar .btn{height:42px;white-space:nowrap}.admin-users-headline{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#f8fbff;border:1px solid #dbe7f5;border-radius:18px;padding:12px 14px;color:#475569}.admin-users-headline b{color:#0f172a}.admin-user-list{display:grid;gap:12px}.admin-user-row{display:grid;grid-template-columns:minmax(235px,1.1fr) minmax(220px,.9fr) minmax(310px,1.35fr) 104px 96px;gap:12px;align-items:stretch;background:#fff;border:1px solid #dbe7f5;border-radius:24px;padding:14px;box-shadow:0 14px 36px rgba(15,23,42,.055);transition:.18s ease}.admin-user-row:hover{box-shadow:0 18px 44px rgba(15,23,42,.08);transform:translateY(-1px)}.admin-user-identity{display:flex;gap:12px;align-items:center;min-width:0}.admin-user-avatar{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#0a66c2,#083b75);color:#fff;font-weight:950;box-shadow:inset 0 0 0 3px rgba(255,255,255,.2)}.admin-user-name{font-weight:950;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.admin-user-meta,.admin-user-email{font-size:12px;color:#64748b;line-height:1.8;overflow:hidden;text-overflow:ellipsis}.admin-user-email b{display:block;color:#334155;font-size:12px}.admin-user-controls{display:grid;grid-template-columns:1fr 1fr;gap:8px}.admin-user-controls label,.admin-user-credit label{display:grid;gap:4px;font-size:11px;font-weight:900;color:#64748b}.admin-user-controls input,.admin-user-controls select,.admin-user-credit input,.admin-user-password-form input{width:100%;height:40px;border:1px solid #d7e2ef;border-radius:12px;background:#fff;padding:0 10px}.admin-user-credit{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.admin-user-vip{display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid #f4d79b;background:#fff9e8;color:#92400e;border-radius:18px;font-weight:950}.admin-user-actions{display:grid;gap:8px;align-content:center}.admin-user-actions .btn,.admin-user-actions button{width:100%;height:40px;border-radius:12px}.admin-user-password-form{grid-column:3/4;display:grid;grid-template-columns:1fr 1fr auto;gap:8px;margin-top:-4px}.admin-user-password-form input{min-width:0}.admin-user-delete-form{grid-column:5/6}.admin-user-delete-form .btn{background:#fee2e2!important;color:#b91c1c!important;border-color:#fecaca!important}.admin-empty-state{border:1px dashed #cbd5e1;border-radius:22px;padding:28px;text-align:center;color:#64748b;background:#fff}.pagination-wrap{display:flex;align-items:center;justify-content:center;margin:16px 0}.health-refresh-btn{display:inline-flex;align-items:center;gap:7px;min-height:38px;border-radius:13px;font-weight:900}.q-toast{position:fixed;z-index:9999;left:18px;bottom:18px;max-width:min(420px,calc(100vw - 36px));background:#0f172a;color:#fff;border-radius:16px;padding:12px 14px;box-shadow:0 18px 45px rgba(15,23,42,.28);font-weight:850;line-height:1.8;opacity:0;transform:translateY(10px);transition:.22s ease}.q-toast.show{opacity:1;transform:translateY(0)}.q-toast.ok{background:#065f46}.q-toast.bad{background:#991b1b}.is-loading{opacity:.72;pointer-events:none}.q-locale-en .admin-users-filterbar,.q-locale-en .admin-user-row,.q-locale-en .comment-edit-pro{direction:ltr;text-align:left}@media(max-width:1180px){.admin-user-row{grid-template-columns:1fr 1fr}.admin-user-password-form,.admin-user-delete-form{grid-column:auto}.admin-user-credit{grid-template-columns:repeat(3,minmax(0,1fr))}.admin-users-filterbar{grid-template-columns:1fr 1fr 1fr}.admin-users-filterbar .btn{grid-column:auto}}@media(max-width:760px){.admin-users-filterbar{grid-template-columns:1fr;padding:12px;border-radius:18px}.admin-user-row{grid-template-columns:1fr;border-radius:20px;padding:12px}.admin-user-controls,.admin-user-credit,.admin-user-password-form{grid-template-columns:1fr}.admin-user-vip{justify-content:flex-start;padding:10px 12px}.admin-user-delete-form{grid-column:auto}.comment-edit-box.open{position:fixed!important;z-index:1000!important;left:0!important;right:0!important;bottom:0!important;display:grid!important;width:100%!important;max-height:72vh!important;overflow:auto!important;border-radius:24px 24px 0 0!important;padding:16px!important;box-shadow:0 -18px 45px rgba(15,23,42,.18)!important}.comment-edit-box.open:before{content:'';position:absolute;top:8px;left:50%;width:44px;height:5px;border-radius:999px;background:#cbd5e1;transform:translateX(-50%)}.comment-edit-head{padding-top:6px}.q-toast{left:10px;right:10px;bottom:10px;max-width:none}.pagination-wrap{overflow:auto;justify-content:flex-start;padding-bottom:6px}}
.admin-users-count{display:flex;align-items:baseline;gap:6px;color:#64748b}.admin-users-count b{font-size:24px;color:#0a66c2}.admin-users-list{display:grid;gap:12px}.admin-user-badges{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.admin-user-badges .status{font-size:11px;padding:4px 8px;border-radius:999px;background:#eef2f7;color:#334155}.admin-user-badges .vip-badge{background:#fff7ed;color:#9a3412;border:1px solid #fed7aa;border-radius:999px;padding:4px 8px;font-size:11px;font-weight:950}.admin-user-edit-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-items:end}.admin-user-edit-form label{display:grid;gap:4px;font-size:11px;font-weight:900;color:#64748b}.admin-user-edit-form input,.admin-user-edit-form select,.admin-user-password-form input{height:40px;border:1px solid #d7e2ef;border-radius:12px;background:#fff;padding:0 10px;min-width:0}.admin-user-edit-form button{grid-column:span 2}.admin-vip-toggle{display:flex!important;flex-direction:row!important;align-items:center!important;gap:8px;border:1px solid #f4d79b;background:#fff9e8;color:#92400e;border-radius:13px;padding:0 10px;height:40px}.admin-vip-toggle input{height:auto;width:auto}.admin-user-more{align-self:stretch;border:1px solid #e2e8f0;border-radius:16px;background:#fbfdff;padding:8px}.admin-user-more summary{height:38px;display:flex;align-items:center;justify-content:center;gap:6px;list-style:none;cursor:pointer;font-weight:950;color:#0a66c2}.admin-user-more summary::-webkit-details-marker{display:none}.admin-user-more[open] summary{border-bottom:1px dashed #dbe7f5;margin-bottom:8px}.admin-user-more form{display:grid;gap:8px;margin-top:8px}.admin-user-more .btn{width:100%;justify-content:center}.admin-users-pagination{display:flex;justify-content:center;margin-top:16px;overflow:auto}.empty-panel{border:1px dashed #cbd5e1;background:#fff;border-radius:22px;padding:28px;display:flex;align-items:center;justify-content:center;gap:8px;color:#64748b}.admin-user-row .user-cell{display:flex!important;align-items:center;gap:10px;min-width:0}.admin-user-row .avatar-mini{width:46px;height:46px;border-radius:50%;object-fit:cover}.admin-user-row .user-cell b{display:block;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.admin-user-row .user-cell small{display:block;color:#64748b}@media(max-width:1180px){.admin-user-edit-form{grid-template-columns:repeat(3,minmax(0,1fr))}.admin-user-edit-form button{grid-column:span 3}.admin-user-more{grid-column:1/-1}}@media(max-width:760px){.admin-user-edit-form{grid-template-columns:1fr}.admin-user-edit-form button{grid-column:auto}.admin-user-identity{align-items:flex-start}.admin-user-email{width:100%}.admin-user-badges{width:100%}.admin-users-count b{font-size:20px}}

/* Folinq v150: comment edit, reaction hover, network and 404 polish */
.comment-edit-pro .comment-edit-cancel{position:static!important;inset:auto!important;width:34px!important;height:34px!important;min-width:34px!important;border:1px solid #dbe7f3!important;border-radius:12px!important;background:#f8fbff!important;color:#334155!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:0!important;font-size:22px!important;font-weight:900!important;line-height:1!important;box-shadow:none!important}.comment-edit-pro .comment-edit-cancel:hover{background:#eef6ff!important;color:#0a66c2!important;border-color:#b8d8f6!important}.comment-edit-pro .comment-edit-cancel span{display:block;line-height:1;transform:translateY(-1px)}.comment-edit-pro .comment-edit-head{position:relative;z-index:2}.comment-edit-pro .comment-input-wrap>button{position:absolute!important;left:5px!important;top:5px!important}.comment-edit-pro .comment-input-wrap textarea{padding-left:48px!important}.post-actions .react-wrap-hover .post-react-menu{display:flex!important;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(8px) scale(.96);transition:opacity .14s ease,transform .14s ease,visibility .14s ease}.post-actions .react-wrap-hover:hover .post-react-menu,.post-actions .react-wrap-hover:focus-within .post-react-menu,.post-actions .react-wrap-hover.is-open .post-react-menu{opacity:1!important;visibility:visible!important;pointer-events:auto!important;transform:translateY(0) scale(1)!important}.post-actions .react-wrap-hover:before{content:'';position:absolute;left:-10px;right:-10px;top:-8px;bottom:30px;z-index:-1}.post-react-menu button[data-tooltip]::after{display:none!important}
.network-pro-shell{max-width:1180px;margin:0 auto 28px;display:grid;gap:16px}.network-hero-pro{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:18px;align-items:stretch;padding:22px;border-radius:26px;background:linear-gradient(135deg,#ffffff 0%,#f7fbff 55%,#eef6ff 100%);border-color:#dbe7f5;box-shadow:0 18px 55px rgba(15,23,42,.06);overflow:hidden;position:relative}.network-hero-pro:before{content:'';position:absolute;inset:auto -120px -190px auto;width:340px;height:340px;border-radius:50%;background:radial-gradient(circle,rgba(10,102,194,.12),rgba(10,102,194,0) 62%)}.network-hero-copy{position:relative;z-index:1}.network-hero-copy .eyebrow{display:inline-flex;border:1px solid #cfe2f8;background:#fff;color:#0a66c2;border-radius:999px;padding:3px 10px;font-size:12px;font-weight:950}.network-hero-copy h1{margin:8px 0 8px;font-size:28px;letter-spacing:-.7px;color:#0f172a}.network-hero-copy p{margin:0;max-width:700px;color:#475569;line-height:2}.network-quota-pro{position:relative;z-index:1;background:rgba(255,255,255,.82);border:1px solid #dbe7f5;border-radius:22px;padding:16px;display:grid;align-content:center;gap:5px;box-shadow:0 14px 40px rgba(15,23,42,.06)}.network-quota-pro span,.network-quota-pro small{color:#64748b;font-size:12px;font-weight:850}.network-quota-pro b{font-size:30px;color:#0a66c2;line-height:1.25}.quota-bar{height:8px;background:#e6edf5;border-radius:999px;overflow:hidden;margin-top:7px}.quota-bar i{display:block;height:100%;background:linear-gradient(90deg,#0a66c2,#38bdf8);border-radius:inherit}.network-stat-grid-pro{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.network-stat-pro{padding:14px 16px;border-radius:20px;border-color:#dbe7f5;background:#fff}.network-stat-pro span{display:block;color:#64748b;font-size:12px;font-weight:900}.network-stat-pro b{display:block;color:#0f172a;font-size:24px;line-height:1.35}.network-stat-pro small{display:block;color:#94a3b8;font-size:11.5px}.network-layout-pro{display:grid;grid-template-columns:250px minmax(0,1fr);gap:16px;align-items:start}.network-side-pro{position:sticky;top:76px;border-radius:22px;padding:14px;border-color:#dbe7f5}.network-side-title{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:4px 2px 12px;border-bottom:1px solid #eef2f7}.network-side-title b{color:#0f172a}.network-side-title small{color:#64748b;font-size:11px;text-align:left}.network-side-nav-pro{display:grid;gap:6px;margin-top:10px}.network-side-nav-pro a{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 11px;border-radius:14px;color:#334155;font-weight:900;transition:.14s ease}.network-side-nav-pro a:hover{background:#eff6ff;color:#0a66c2}.network-side-nav-pro b{min-width:30px;height:24px;border-radius:999px;background:#eef3f8;display:inline-grid;place-items:center;color:#0a66c2;font-size:12px}.network-main-pro{display:grid;gap:16px}.network-section-pro{border-radius:24px;border-color:#dbe7f5;padding:16px;box-shadow:0 14px 44px rgba(15,23,42,.045)}.network-section-head-pro{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}.network-section-head-pro h2{margin:3px 0 2px;color:#0f172a;font-size:20px;letter-spacing:-.35px}.network-section-head-pro p{margin:0;color:#64748b;font-size:12.5px;line-height:1.8}.section-kicker{display:inline-flex;align-items:center;justify-content:center;height:24px;min-width:34px;padding:0 9px;border-radius:999px;background:#eef6ff;color:#0a66c2;font-size:11px;font-weight:950}.show-all-link.pro{border:1px solid #bfdbfe;color:#0a66c2;background:#f8fbff;border-radius:999px;padding:7px 12px;font-size:12px;font-weight:950;white-space:nowrap}.show-all-link.pro:hover{background:#0a66c2;color:#fff}.network-grid-pro{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.network-pro-card{display:grid;grid-template-columns:58px minmax(0,1fr) 116px;gap:12px;align-items:center;border:1px solid #e2e8f0;border-radius:18px;background:linear-gradient(180deg,#fff,#fbfdff);padding:12px;min-height:112px;transition:.16s ease}.network-pro-card:hover{border-color:#bfdbfe;box-shadow:0 16px 42px rgba(15,23,42,.07);transform:translateY(-1px)}.network-pro-avatar{width:58px;height:58px;border-radius:18px;display:grid;place-items:center;overflow:hidden;background:#eef3f8;border:1px solid #e2e8f0}.network-pro-avatar img{width:100%;height:100%;object-fit:cover;display:block}.network-pro-avatar.publisher{border-radius:16px;background:#fff}.network-pro-cover{width:58px;height:78px;border-radius:13px;background:#eef3f8;color:#0a66c2;display:grid;place-items:center;overflow:hidden;border:1px solid #e2e8f0}.network-pro-cover img{width:100%;height:100%;object-fit:cover;display:block}.network-pro-info{min-width:0}.network-pro-info h3{margin:0;font-size:14.5px;line-height:1.45;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.network-pro-info a:hover h3{color:#0a66c2}.network-pro-info small{display:block;color:#64748b;font-size:11.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.network-pro-info p{margin:4px 0 0;color:#475569;font-size:12px;line-height:1.65;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.network-pro-card form{margin:0}.network-pro-card .btn{width:100%;min-height:36px;border-radius:12px;padding:7px 8px;font-size:12px}.network-empty-pro{grid-column:1/-1;border:1px dashed #cbd5e1;border-radius:18px;background:#fff;padding:26px;text-align:center;color:#64748b}.network-empty-pro .li-icon{width:30px;height:30px;color:#0a66c2}.error-404-pro{max-width:900px;margin:48px auto;padding:0;border-radius:30px;background:linear-gradient(135deg,#ffffff,#f8fbff);border:1px solid #dbe7f5;overflow:hidden;box-shadow:0 26px 80px rgba(15,23,42,.08)}.error-404-inner{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:18px;align-items:center;padding:34px}.error-404-kicker{display:inline-flex;align-items:center;gap:8px;background:#eef6ff;color:#0a66c2;border:1px solid #bfdbfe;border-radius:999px;padding:4px 11px;font-size:12px;font-weight:950}.error-404-pro h1{margin:12px 0 8px;font-size:30px;letter-spacing:-.7px;color:#0f172a}.error-404-pro p{margin:0;color:#475569;line-height:2}.error-404-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.error-404-visual{height:230px;border-radius:26px;background:radial-gradient(circle at 28% 22%,#dbeafe,#fff 30%,#eef6ff 70%);display:grid;place-items:center;position:relative;overflow:hidden}.error-404-visual b{font-size:72px;color:#0a66c2;letter-spacing:-4px}.error-404-visual:before,.error-404-visual:after{content:'';position:absolute;border-radius:999px;background:rgba(10,102,194,.10)}.error-404-visual:before{width:92px;height:92px;right:24px;top:24px}.error-404-visual:after{width:130px;height:130px;left:-28px;bottom:-30px}body.q-dark-active .network-hero-pro,body.q-dark-active .network-quota-pro,body.q-dark-active .network-stat-pro,body.q-dark-active .network-section-pro,body.q-dark-active .network-side-pro,body.q-dark-active .network-pro-card,body.q-dark-active .error-404-pro{background:#111827!important;border-color:#263244!important;color:#e5e7eb!important;box-shadow:none!important}body.q-dark-active .network-hero-copy h1,body.q-dark-active .network-section-head-pro h2,body.q-dark-active .network-stat-pro b,body.q-dark-active .network-side-title b,body.q-dark-active .network-pro-info h3,body.q-dark-active .error-404-pro h1{color:#e5e7eb!important}body.q-dark-active .network-pro-info p,body.q-dark-active .network-hero-copy p,body.q-dark-active .network-section-head-pro p,body.q-dark-active .error-404-pro p{color:#a8b3c7!important}@media(max-width:1080px){.network-hero-pro{grid-template-columns:1fr}.network-stat-grid-pro{grid-template-columns:repeat(2,minmax(0,1fr))}.network-layout-pro{grid-template-columns:1fr}.network-side-pro{position:relative;top:auto}.network-side-nav-pro{grid-template-columns:repeat(3,minmax(0,1fr))}.network-grid-pro{grid-template-columns:1fr 1fr}}@media(max-width:760px){.network-pro-shell{gap:12px}.network-hero-pro{padding:18px;border-radius:22px}.network-hero-copy h1{font-size:24px}.network-stat-grid-pro,.network-side-nav-pro,.network-grid-pro{grid-template-columns:1fr}.network-section-pro{padding:13px;border-radius:20px}.network-section-head-pro{align-items:flex-start}.network-pro-card{grid-template-columns:52px minmax(0,1fr);gap:10px}.network-pro-card form{grid-column:1/-1}.network-pro-avatar{width:52px;height:52px;border-radius:16px}.network-pro-cover{width:52px;height:72px}.error-404-inner{grid-template-columns:1fr;padding:24px}.error-404-visual{height:180px;order:-1}.error-404-visual b{font-size:56px}.comment-edit-box.open{max-height:76vh!important}.comment-edit-pro .comment-edit-cancel{width:36px!important;height:36px!important}}

/* Folinq v151: stable mobile comment editor + built-in bilingual features page */
.folinq-features-page{max-width:1180px;margin:0 auto 32px;display:grid;gap:18px;color:#14213d}.features-hero{position:relative;overflow:hidden;border-radius:30px;padding:34px;display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:20px;align-items:center;background:linear-gradient(135deg,#fff 0%,#f8fbff 52%,#edf6ff 100%);border-color:#dbe7f5;box-shadow:0 24px 70px rgba(15,23,42,.07)}.features-hero:before{content:"";position:absolute;inset:auto -130px -210px auto;width:360px;height:360px;border-radius:50%;background:radial-gradient(circle,rgba(10,102,194,.13),rgba(10,102,194,0) 64%)}.features-badge{display:inline-flex;align-items:center;border:1px solid #bfdbfe;background:#eef6ff;color:#0a66c2;border-radius:999px;padding:5px 12px;font-size:12px;font-weight:950}.features-hero h1{position:relative;margin:12px 0 10px;font-size:clamp(28px,4vw,46px);line-height:1.45;letter-spacing:-1px;color:#0f172a}.features-hero p{position:relative;margin:0;max-width:790px;color:#475569;line-height:2;font-size:15.5px}.features-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}.features-hero-card{position:relative;z-index:1;min-height:210px;border:1px solid #dbe7f5;border-radius:26px;background:rgba(255,255,255,.86);box-shadow:0 18px 50px rgba(15,23,42,.07);display:grid;align-content:center;padding:22px}.features-hero-card b{font-size:32px;color:#0a66c2;letter-spacing:-.8px}.features-hero-card span{color:#64748b;line-height:2}.features-section{border-radius:26px;border-color:#dbe7f5;box-shadow:0 18px 50px rgba(15,23,42,.045)}.features-head{margin-bottom:18px}.features-head>span{display:inline-flex;background:#eef6ff;color:#0a66c2;border:1px solid #d6eaff;border-radius:999px;padding:4px 11px;font-size:12px;font-weight:950}.features-head h2{margin:10px 0 5px;color:#0f172a;font-size:clamp(22px,3vw,30px);letter-spacing:-.5px}.features-head p{margin:0;color:#64748b;line-height:2}.features-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.features-card{border:1px solid #e2e8f0;background:linear-gradient(180deg,#fff,#fbfdff);border-radius:22px;padding:20px;transition:.16s ease}.features-card:hover{transform:translateY(-2px);border-color:#bfdbfe;box-shadow:0 16px 42px rgba(15,23,42,.07)}.features-card i{width:46px;height:46px;border-radius:16px;background:linear-gradient(135deg,#0a66c2,#07569f);box-shadow:0 13px 28px rgba(10,102,194,.18);display:grid;place-items:center;font-style:normal;font-size:22px;margin-bottom:12px}.features-card h3{margin:0 0 7px;color:#0f172a;font-size:16px}.features-card p{margin:0;color:#64748b;line-height:1.9;font-size:13.5px}.features-audience{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.features-audience>div{border:1px solid #e2e8f0;border-radius:20px;background:#f8fbff;padding:18px}.features-audience b{display:block;color:#0f172a;font-size:16px}.features-audience small{display:block;color:#64748b;line-height:1.9;margin-top:5px}.features-table-wrap{overflow-x:auto;border:1px solid #dfe8f3;border-radius:22px;background:#fff}.features-table{width:100%;min-width:940px;border-collapse:collapse}.features-table th,.features-table td{padding:15px 13px;border-bottom:1px solid #edf2f7;text-align:start;vertical-align:top;font-size:13.5px;line-height:1.8}.features-table th{background:#f3f7fc;color:#173153;font-weight:950;white-space:nowrap}.features-table tr:last-child td{border-bottom:0}.features-table td{color:#56687f}.features-table-main{color:#075ca8!important;font-weight:950}.features-callout-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.features-callout-grid>div{border:1px solid #e2e8f0;border-radius:22px;background:#fff;padding:20px}.features-callout-grid b{display:block;color:#0f172a;font-size:16px}.features-callout-grid p{margin:7px 0 0;color:#64748b;line-height:1.9}body.q-dark-active .features-hero,body.q-dark-active .features-section,body.q-dark-active .features-card,body.q-dark-active .features-audience>div,body.q-dark-active .features-callout-grid>div,body.q-dark-active .features-table-wrap,body.q-dark-active .features-hero-card{background:#111827!important;border-color:#263244!important;color:#e5e7eb!important;box-shadow:none!important}body.q-dark-active .features-hero h1,body.q-dark-active .features-head h2,body.q-dark-active .features-card h3,body.q-dark-active .features-audience b,body.q-dark-active .features-callout-grid b{color:#e5e7eb!important}body.q-dark-active .features-hero p,body.q-dark-active .features-card p,body.q-dark-active .features-head p,body.q-dark-active .features-audience small,body.q-dark-active .features-callout-grid p{color:#a8b3c7!important}body.q-dark-active .features-table th{background:#1f2937!important;color:#e5e7eb!important}body.q-dark-active .features-table td{border-color:#263244!important;color:#a8b3c7!important}
@media(max-width:900px){.features-hero{grid-template-columns:1fr;padding:24px;border-radius:24px}.features-hero-card{min-height:auto}.features-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.features-audience,.features-callout-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.features-grid,.features-audience,.features-callout-grid{grid-template-columns:1fr}.features-hero{padding:20px}.features-actions .btn{width:100%}.comment-edit-box.comment-edit-pro.open{position:fixed!important;left:0!important;right:0!important;bottom:0!important;top:auto!important;width:100%!important;max-width:none!important;max-height:min(72vh,560px)!important;overflow:auto!important;z-index:220!important;margin:0!important;border:0!important;border-radius:24px 24px 0 0!important;background:#fff!important;padding:16px 14px calc(18px + env(safe-area-inset-bottom))!important;box-shadow:0 -24px 70px rgba(15,23,42,.22)!important;display:block!important;transform:none!important}.comment-edit-box.comment-edit-pro.open:before{content:"";display:block;width:44px;height:5px;border-radius:999px;background:#cbd5e1;margin:0 auto 12px}.comment-edit-pro.open .comment-edit-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;margin:0 0 12px!important;padding:0!important}.comment-edit-pro.open .comment-edit-head b{font-size:15px;color:#0f172a}.comment-edit-pro.open .comment-edit-cancel{position:static!important;inset:auto!important;transform:none!important;width:38px!important;height:38px!important;min-width:38px!important;border-radius:14px!important;background:#eef6ff!important;color:#0a66c2!important;border:1px solid #bfdbfe!important;display:grid!important;place-items:center!important;box-shadow:none!important}.comment-edit-pro.open .comment-edit-cancel span{font-size:20px!important;line-height:1!important}.comment-edit-pro.open .comment-input-wrap{display:block!important;grid-column:auto!important;width:100%!important;position:relative!important;background:transparent!important;border:0!important;padding:0!important}.comment-edit-pro.open .comment-input-wrap textarea{width:100%!important;min-height:132px!important;max-height:44vh!important;padding:12px 14px 62px 14px!important;border:1px solid #cfe0f3!important;border-radius:18px!important;background:#fff!important;font-size:16px!important;line-height:1.9!important;box-shadow:inset 0 1px 0 rgba(15,23,42,.03)!important}.comment-edit-pro.open .comment-input-wrap>button:not(.mini-action){position:absolute!important;left:10px!important;right:auto!important;bottom:10px!important;top:auto!important;transform:none!important;width:42px!important;height:42px!important;border-radius:15px!important;background:#0a66c2!important;color:#fff!important;z-index:5!important}.comment-edit-pro.open .emoji-row,.comment-edit-pro.open .comment-upload{display:none!important}body.q-dark-active .comment-edit-box.comment-edit-pro.open{background:#111827!important}body.q-dark-active .comment-edit-pro.open .comment-input-wrap textarea{background:#0f172a!important;color:#e5e7eb!important;border-color:#334155!important}body.q-dark-active .comment-edit-pro.open .comment-edit-head b{color:#e5e7eb!important}}


/* Folinq v153: compact comment typography */
.comment{margin-top:9px!important}.comment-bubble{padding:6px 10px!important}.comment-bubble b{font-size:12.5px!important;line-height:1.45!important}.comment-headline{font-size:11.2px!important;line-height:1.45!important}.comment-time{font-size:11px!important}.comment-top-pro{gap:6px!important;margin-bottom:3px!important}.comment-body-text,.comment-body-text .feed-inline-content,.comment-body-text .feed-inline-preview,.comment-bubble p{font-size:13px!important;line-height:1.68!important}.comment-actions{font-size:11px!important;line-height:1.45!important;padding:2px 10px!important}.comment-reaction-summary,.comment-reply-count{font-size:11px!important}@media(max-width:760px){.comment{gap:7px!important;margin-top:8px!important}.comment-bubble{padding:6px 9px!important;border-radius:13px 0 13px 13px!important}.comment-bubble b{font-size:12.2px!important}.comment-headline{font-size:10.8px!important}.comment-time{font-size:10.5px!important}.comment-body-text,.comment-body-text .feed-inline-content,.comment-body-text .feed-inline-preview,.comment-bubble p{font-size:12.6px!important;line-height:1.58!important}.comment-actions{font-size:10.5px!important;padding:1px 9px!important;gap:10px!important}.comment .avatar-mini{width:31px!important;height:31px!important}}

/* Folinq v155 - English LTR cleanup and remaining bilingual UI polish */
body.q-locale-en, body.q-dir-ltr{direction:ltr!important;text-align:left!important;font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Inter,Arial,sans-serif!important;}
.q-locale-en .container,.q-locale-en .grid,.q-locale-en .card,.q-locale-en .post,.q-locale-en .profile-fa-zone,.q-locale-en .network-pro-shell,.q-locale-en .admin-layout,.q-locale-en .da-admin-panel,.q-locale-en .publisher-page,.q-locale-en .shelf-page,.q-locale-en .works-mine-page{direction:ltr!important;text-align:left!important;}
.q-locale-en .topbar-inner,.q-locale-en .nav,.q-locale-en .post-head,.q-locale-en .hero-topline,.q-locale-en .profile-tabs,.q-locale-en .profile-action-bar,.q-locale-en .network-section-head-pro,.q-locale-en .network-side-title,.q-locale-en .book-title-row-v142{direction:ltr!important;text-align:left!important;}
.q-locale-en .nav{margin-left:auto!important;margin-right:0!important;}
.q-locale-en .search input{padding:0 12px 0 42px!important;text-align:left!important;direction:ltr!important;}
.q-locale-en .search .li-icon{right:auto!important;left:13px!important;}
.q-locale-en .profile-card .avatar{margin:-37px 0 0 16px!important;}
.q-locale-en .hero-avatar{margin:-66px 0 0 24px!important;}
.q-locale-en .profile-cover,.q-locale-en .hero-cover{direction:ltr!important;text-align:left!important;}
.q-locale-en .visibility-ribbon{left:-24px!important;right:auto!important;transform:rotate(-45deg)!important;}
.q-locale-en .visibility-ribbon + .post-head{padding-left:30px!important;padding-right:14px!important;}
.q-locale-en .post-head .meta,.q-locale-en .post-head .meta h4,.q-locale-en .post-head .meta .small,.q-locale-en .post-title,.q-locale-en .post-body,.q-locale-en .post-stats,.q-locale-en .tags,.q-locale-en .comments,.q-locale-en .comment-bubble,.q-locale-en .side-title,.q-locale-en .muted,.q-locale-en .small{text-align:left!important;direction:ltr!important;}
.q-locale-en .comment-bubble{border-radius:0 14px 14px 14px!important;}
.q-locale-en .comment-box textarea{padding:9px 48px 9px 15px!important;text-align:left!important;direction:ltr!important;}
.q-locale-en .comment-box button{left:auto!important;right:5px!important;}
.q-locale-en .stat-row,.q-locale-en .network-stat-pro,.q-locale-en .network-pro-card,.q-locale-en .profile-qr-actions,.q-locale-en .profile-hero-actions{direction:ltr!important;text-align:left!important;}
.q-locale-en .stat-row{flex-direction:row!important;}
.q-locale-en .dropdown-menu{left:0!important;right:auto!important;text-align:left!important;direction:ltr!important;}
.q-locale-en .dropdown-menu a,.q-locale-en .dropdown-menu button{text-align:left!important;justify-content:flex-start!important;direction:ltr!important;}
.q-locale-en input,.q-locale-en textarea,.q-locale-en select{direction:ltr;text-align:left;}
.q-locale-en .da-admin-panel{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Inter,Arial,sans-serif!important;}
.q-locale-en .da-admin-columns,.q-locale-en .da-admin-column,.q-locale-en .admin-table,.q-locale-en .table{text-align:left!important;direction:ltr!important;}
.q-locale-en .da-admin-column h3,.q-locale-en .da-admin-column a,.q-locale-en .da-admin-search input,.q-locale-en .da-admin-search-hint{text-align:left!important;direction:ltr!important;}
.q-locale-en .network-hero-pro{direction:ltr!important;}
.q-locale-en .network-quota-pro,.q-locale-en .network-hero-copy,.q-locale-en .network-main-pro,.q-locale-en .network-side-pro{text-align:left!important;direction:ltr!important;}
.q-locale-en .network-side-nav-pro a{direction:ltr!important;}
@media(max-width:760px){.q-locale-en .visibility-ribbon{left:-25px!important;right:auto!important}.q-locale-en .hero-avatar{margin-left:18px!important;margin-right:0!important}.q-locale-en .profile-card .avatar{margin-left:16px!important;margin-right:0!important}}

/* Folinq v156 - product UI only translation and English ribbon alignment */
.q-locale-en .visibility-ribbon{
  direction:ltr!important;
  text-align:center!important;
  letter-spacing:.01em!important;
  left:auto!important;
  right:-35px!important;
  transform:rotate(45deg)!important;
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Inter,Arial,sans-serif!important;
}
.q-locale-en .visibility-ribbon + .post-head{padding-left:14px!important;padding-right:30px!important;}
.q-locale-en [data-no-translate],
.q-locale-en .post-title,
.q-locale-en .post-body,
.q-locale-en .feed-inline-content,
.q-locale-en .feed-inline-preview,
.q-locale-en .comment-body-text,
.q-locale-en .comment-headline,
.q-locale-en .profile-bio,
.q-locale-en .user-bio,
.q-locale-en .publisher-description{
  unicode-bidi:plaintext!important;
}
.q-locale-en .comment-time,.q-locale-en .post-head .small.muted{direction:ltr!important;text-align:left!important;}
@media(max-width:760px){
  .q-locale-en .visibility-ribbon{right:-34px!important;left:auto!important;transform:rotate(45deg)!important;}
}


/* Folinq v157 - English UI coverage without translating user content */
.q-locale-en [data-user-content],
.q-locale-en .user-content,
.q-locale-en .ugc,
.q-locale-en .book-title,
.q-locale-en .book-summary,
.q-locale-en .book-quote-card,
.q-locale-en .work-tease,
.q-locale-en .comment-text{
  unicode-bidi:plaintext!important;
}
.q-locale-en .book-detail,
.q-locale-en .book-detail .book-main,
.q-locale-en .book-detail .book-meta-line,
.q-locale-en .book-detail .book-meta-list,
.q-locale-en .book-detail .book-stats-row,
.q-locale-en .book-detail .book-tabs,
.q-locale-en .book-detail .section-head,
.q-locale-en .book-detail .book-comment-form,
.q-locale-en .book-detail .book-social-panel{
  direction:ltr!important;
  text-align:left!important;
}
.q-locale-en .book-detail .book-meta-list{justify-content:flex-start!important;}
.q-locale-en .book-detail .book-action-strip{justify-content:flex-start!important;}
.q-locale-en .book-detail .book-tab-nav{justify-content:flex-start!important;}
.q-locale-en .book-detail textarea,
.q-locale-en .book-detail input{direction:ltr!important;text-align:left!important;}
.q-locale-en .book-discount-corner-ribbon{left:auto!important;right:-42px!important;transform:rotate(45deg)!important;}
.q-locale-en .quote-compose-actions,.q-locale-en .book-comment-actions{justify-content:flex-end!important;}

/* Folinq v158 - robust product UI translation support */
html[lang="en"] .book-editor-form-v142,
html[lang="en"] .book-editor-pro,
html[lang="en"] .book-detail-pro,
html[lang="en"] .features-page,
html[lang="en"] .profile-shell,
html[lang="en"] .network-shell {
  direction: ltr;
  text-align: left;
}
html[lang="en"] .book-editor-form-v142 .field label,
html[lang="en"] .book-editor-side-v142,
html[lang="en"] .book-editor-help-v142 li,
html[lang="en"] .book-editor-head,
html[lang="en"] .section-head {
  text-align: left;
}
html[lang="en"] .price-currency-row,
html[lang="en"] .compact-grid,
html[lang="en"] .inline-actions {
  direction: ltr;
}

/* Folinq v159 - profile hero, activity slider, book detail, menus and English UI fixes */
.profile-hero{overflow:visible!important;border-radius:18px!important}.profile-hero .hero-cover{border-radius:18px 18px 0 0!important;position:relative!important}.profile-hero .hero-avatar{position:relative!important;z-index:2!important;display:block!important}.profile-hero .hero-body{position:relative!important;z-index:1!important}.hero-topline{min-width:0!important}.hero-actions{align-items:center!important}.profile-icon-btn,.hero-actions .profile-icon-btn{flex:0 0 auto!important}.q-locale-en .profile-hero{direction:ltr!important;text-align:left!important}.q-locale-en .profile-hero .hero-avatar{margin:-66px 0 0 24px!important}.q-locale-en .profile-hero .hero-body{padding-left:24px!important;padding-right:24px!important}.q-locale-en .profile-hero .hero-topline{direction:ltr!important;text-align:left!important;display:flex!important;align-items:flex-start!important;justify-content:space-between!important}.q-locale-en .profile-hero .hero-actions{margin-left:auto!important;margin-right:0!important;justify-content:flex-end!important;direction:ltr!important}.q-locale-en .profile-hero .badge-row{justify-content:flex-start!important;direction:ltr!important}.q-locale-en .profile-tabs-v125{direction:ltr!important;justify-content:flex-start!important}.q-locale-en .profile-tabs-v125 a{direction:ltr!important;text-align:center!important}.q-locale-en .profile-card .stat-row span,.q-locale-en .profile-card .stat-row b{direction:ltr!important;text-align:left!important}
@media(max-width:760px){.profile-hero .hero-cover{height:124px!important}.profile-hero .hero-avatar{width:92px!important;height:92px!important;margin-top:-46px!important}.q-locale-en .profile-hero .hero-avatar{margin:-46px 0 0 18px!important}.profile-hero .hero-topline{display:block!important}.profile-hero .hero-actions{margin-top:12px!important;overflow-x:auto!important;flex-wrap:nowrap!important;padding-bottom:6px}.profile-hero .hero-actions::-webkit-scrollbar{display:none}.profile-icon-btn{min-width:42px!important}.q-locale-en .profile-hero .hero-actions{justify-content:flex-start!important}}

.q-locale-en .visibility-ribbon{width:96px!important;min-height:24px!important;padding:2px 6px!important;right:-31px!important;left:auto!important;top:13px!important;transform:rotate(45deg)!important;font-size:10px!important;line-height:1.1!important;white-space:nowrap!important;z-index:3!important}.q-locale-en .visibility-ribbon i{display:none!important}.q-locale-en .work-visibility-public,.q-locale-en .post{overflow:visible!important}.q-locale-en .visibility-ribbon + .post-head{padding-right:38px!important;padding-left:14px!important}.q-locale-en .dropdown{position:relative!important}.q-locale-en .post-head>.dropdown .dropdown-menu{right:0!important;left:auto!important;top:36px!important;max-width:min(280px,calc(100vw - 38px))!important;width:max-content!important;min-width:232px!important;white-space:nowrap!important;transform:none!important;z-index:80!important}.q-locale-en .post-head>.dropdown .dropdown-menu a,.q-locale-en .post-head>.dropdown .dropdown-menu button{font-size:13px!important;line-height:1.3!important}.q-locale-en .post-head>.dropdown .dropdown-menu svg{flex:0 0 auto!important}
@media(max-width:760px){.q-locale-en .post-head>.dropdown .dropdown-menu{right:0!important;left:auto!important;max-width:calc(100vw - 28px)!important;white-space:normal!important}.q-locale-en .visibility-ribbon{right:-30px!important;top:12px!important}}

.q-locale-en .comment-box .comment-input-wrap{direction:ltr!important}.q-locale-en .comment-box textarea{padding:9px 88px 9px 15px!important;text-align:left!important;direction:ltr!important}.q-locale-en .comment-box .comment-upload{left:auto!important;right:48px!important;top:6px!important}.q-locale-en .comment-box button{left:auto!important;right:6px!important;top:5px!important}.q-locale-en .comment-upload svg{width:16px!important;height:16px!important}.comment-upload{position:absolute!important;left:44px!important;top:6px!important;width:30px!important;height:30px!important;border-radius:50%!important;display:grid!important;place-items:center!important;background:#eef6ff!important;color:#0a66c2!important;cursor:pointer!important}.comment-upload input{display:none!important}.comment-box button{z-index:4!important}.comment-upload{z-index:3!important}

.profile-activity-pro-v159{margin-bottom:16px!important;overflow:visible!important}.profile-activity-head-v159{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px}.profile-activity-head-v159 h2{margin:0 0 2px;font-size:24px;letter-spacing:-.4px}.profile-activity-followers-v159{font-weight:900;color:#0a66c2}.profile-activity-customize-v159{position:relative}.profile-activity-edit-v159{width:42px;height:42px;border:1px solid #0a66c2;color:#0a66c2;background:#fff;border-radius:999px;display:grid;place-items:center;cursor:pointer;list-style:none}.profile-activity-edit-v159::-webkit-details-marker{display:none}.profile-activity-popover-v159{position:absolute;inset-inline-end:0;top:48px;width:min(410px,calc(100vw - 40px));z-index:60;background:#fff;border:1px solid #d8e4f2;border-radius:20px;padding:18px;box-shadow:0 22px 55px rgba(15,23,42,.18)}.profile-activity-popover-v159 h3{margin:0 0 6px;font-size:17px}.profile-activity-popover-v159 p{margin:0 0 12px;color:#64748b;line-height:1.7}.activity-option-grid-v159{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:14px}.activity-option-grid-v159 label{display:flex;align-items:center;gap:7px;border:1px solid #e2e8f0;border-radius:12px;padding:8px 10px;font-weight:800;background:#f8fbff}.activity-tabs-v159{display:flex;gap:8px;overflow-x:auto;padding-bottom:8px;margin-bottom:12px}.activity-tabs-v159 button{border:1px solid #cfdcec;background:#fff;border-radius:999px;padding:7px 14px;font-weight:900;color:#475569;white-space:nowrap;cursor:pointer}.activity-tabs-v159 button.active{background:#0a66c2;color:#fff;border-color:#0a66c2}.activity-slider-v159{overflow:hidden}.activity-panel-v159{display:none;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.activity-panel-v159.active{display:grid}.activity-card-v159{border:1px solid #e2e8f0;background:#fff;border-radius:18px;padding:16px;min-height:120px;display:block}.activity-card-v159:hover{border-color:#bfdbfe;box-shadow:0 14px 36px rgba(15,23,42,.07)}.activity-card-v159 b{display:block;color:#0f172a}.activity-card-v159 p{margin:6px 0;color:#475569;line-height:1.7}.activity-card-v159 small{color:#64748b}.activity-image-card-v159 img{width:100%;height:160px;object-fit:cover;border-radius:14px;margin-bottom:8px}.activity-card-v159.empty{background:#f8fafc;color:#64748b}.profile-activity-foot-v159{border-top:1px solid #e2e8f0;margin-top:14px;padding-top:12px;text-align:center;font-weight:900}.q-locale-en .profile-activity-pro-v159,.q-locale-en .profile-activity-popover-v159,.q-locale-en .activity-card-v159{direction:ltr!important;text-align:left!important}.q-locale-en .profile-activity-head-v159{direction:ltr!important}.q-locale-en .profile-activity-popover-v159{right:0!important;left:auto!important}
@media(max-width:760px){.profile-activity-head-v159{align-items:flex-start}.activity-panel-v159{grid-template-columns:1fr}.activity-option-grid-v159{grid-template-columns:1fr}.profile-activity-popover-v159{position:fixed!important;left:12px!important;right:12px!important;top:auto!important;bottom:12px!important;width:auto!important}}

.book-detail-v142 .book-hero{display:grid!important;grid-template-columns:260px minmax(0,1fr) 300px!important;gap:22px!important;align-items:start!important;border-radius:24px!important;background:linear-gradient(180deg,#fff,#fbfdff)!important}.book-detail-v142 .book-cover-lg{width:260px!important;min-height:360px!important;border-radius:24px!important;box-shadow:0 18px 46px rgba(15,23,42,.12)!important}.book-detail-v142 .book-cover-lg img{width:100%!important;height:100%!important;object-fit:cover!important}.book-detail-v142 .book-main{display:grid!important;gap:14px!important}.book-detail-v142 .book-title{font-size:30px!important;line-height:1.28!important;margin:0!important}.book-detail-v142 .book-meta-line{font-size:13px!important;color:#475569!important;margin-top:6px!important}.book-detail-v142 .book-meta-list{display:flex!important;flex-wrap:wrap!important;gap:8px!important}.book-detail-v142 .book-meta-list span{border:1px solid #dbe7f5!important;background:#f8fbff!important;color:#173153!important;border-radius:999px!important;padding:7px 12px!important;font-weight:850!important;font-size:12px!important}.book-availability-pill.available{background:#dcfce7!important;color:#166534!important;border-color:#bbf7d0!important}.book-availability-pill.unavailable{background:#fee2e2!important;color:#991b1b!important;border-color:#fecaca!important}.book-detail-v142 .book-stats-row{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:10px!important}.book-detail-v142 .book-commerce-card{border-radius:18px!important;background:#fff!important;border:1px solid #dbe7f5!important;text-align:center!important;padding:14px 10px!important}.book-detail-v142 .book-commerce-card span{display:block;font-size:12px;color:#475569;font-weight:850}.book-detail-v142 .book-commerce-card b{display:block;font-size:24px;color:#0a66c2;margin-top:4px}.book-detail-v142 .book-summary{font-size:14.5px!important;line-height:1.9!important;color:#334155!important;white-space:normal!important}.book-detail-v142 .book-action-strip{border:1px solid #dbe7f5!important;background:#fff!important;border-radius:18px!important;padding:10px!important;display:flex!important;align-items:center!important;gap:10px!important}.book-detail-v142 .book-social-panel{box-shadow:none!important}.book-detail-v142 .book-tabs{border-radius:24px!important;margin-top:14px!important}.book-detail-v142 .book-tab-nav{display:flex!important;gap:8px!important;overflow-x:auto!important}.book-detail-v142 .book-tab-nav button{border-radius:999px!important;padding:10px 16px!important}.q-locale-en .book-detail-v142 .book-hero{direction:ltr!important;text-align:left!important}.q-locale-en .book-detail-v142 .book-meta-list span{text-align:left!important}.q-locale-en .book-detail-v142 .book-action-strip{justify-content:flex-start!important}.q-locale-en .book-detail-v142 .book-tab-nav{justify-content:flex-start!important}
@media(max-width:1080px){.book-detail-v142 .book-hero{grid-template-columns:220px minmax(0,1fr)!important}.book-detail-v142 .book-cover-lg{width:220px!important;min-height:310px!important}.book-detail-v142 .book-stats-row{grid-template-columns:repeat(3,minmax(0,1fr))!important}}@media(max-width:760px){.book-detail-v142 .book-hero{grid-template-columns:1fr!important}.book-detail-v142 .book-cover-lg{width:100%!important;max-width:310px!important;min-height:410px!important;margin:auto!important}.book-detail-v142 .book-stats-row{grid-template-columns:repeat(2,minmax(0,1fr))!important}.book-detail-v142 .book-title{font-size:24px!important}.book-detail-v142 .book-action-strip{align-items:stretch!important;flex-direction:column!important}.book-detail-v142 .book-action-strip .btn{width:100%!important}}

.credits-page .btn,.credit-page .btn,a[href*="books"].btn{min-width:max-content!important;white-space:nowrap!important}.q-locale-en a[href*="books"].btn{padding-inline:14px!important}.profile-icon-btn.is-followed,.mini-follow.is-followed{background:#eef6ff!important;color:#0a66c2!important;border-color:#bfdbfe!important}.q-locale-en .icon-actions .act[title="Read"],.q-locale-en .icon-actions .act[data-tooltip="Read"]{font-weight:950!important}
.book-side-v159{display:grid;gap:14px!important}.book-side-v159 .card{border-radius:18px!important;box-shadow:none!important}.book-side-v159 h3{margin:0 0 12px!important;font-size:15px!important}.book-side-row-v159{display:flex;justify-content:space-between;gap:10px;padding:8px 0;border-top:1px solid #edf2f7;font-size:12.5px}.book-side-row-v159:first-of-type{border-top:0}.book-side-row-v159 span{color:#64748b}.book-side-row-v159 b{color:#173153;text-align:end}.book-theme-list-v159{display:flex;gap:7px;flex-wrap:wrap}.book-theme-list-v159 span{background:#eef6ff;color:#0a66c2;border:1px solid #d6eaff;border-radius:999px;padding:5px 10px;font-weight:850;font-size:12px}.book-side-link-v159{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #edf2f7;padding:10px 0;color:#173153;font-weight:850}.book-side-link-v159:first-of-type{border-top:0}.book-side-link-v159 small{color:#0a66c2;font-weight:950}.q-locale-en .book-side-v159,.q-locale-en .book-side-v159 *{direction:ltr;text-align:left}.q-locale-en .book-side-row-v159 b{text-align:right}@media(max-width:1080px){.book-side-v159{grid-column:1 / -1;grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){.book-side-v159{grid-template-columns:1fr}.book-side-row-v159 b{text-align:end}}


/* Folinq v160 - stable profile hero under-cover layout + profile crash polish */
.profile-hero.q-profile-hero{overflow:hidden!important;border-radius:18px!important;background:#fff!important;isolation:isolate!important;}
.profile-hero.q-profile-hero .hero-cover{height:180px!important;border-radius:18px 18px 0 0!important;overflow:hidden!important;position:relative!important;z-index:1!important;}
.profile-hero.q-profile-hero .hero-cover img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important;}
.profile-hero.q-profile-hero .hero-avatar{width:132px!important;height:132px!important;min-width:132px!important;min-height:132px!important;border:4px solid #fff!important;border-radius:50%!important;background:#fff!important;overflow:hidden!important;position:relative!important;z-index:3!important;display:grid!important;place-items:center!important;box-shadow:0 0 0 1px var(--line),0 12px 34px rgba(16,24,40,.16)!important;}
.profile-hero.q-profile-hero .hero-avatar img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important;position:absolute!important;inset:0!important;}
.profile-hero.q-profile-hero .hero-avatar .avatar-initials{position:relative!important;z-index:1!important;font-weight:950!important;color:#0a66c2!important;}
.profile-hero.q-profile-hero .hero-body{position:relative!important;z-index:2!important;padding:0 24px 22px!important;margin-top:0!important;}
.profile-hero.q-profile-hero .hero-topline{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:18px!important;min-width:0!important;}
.profile-hero.q-profile-hero .hero-topline>div:first-child{flex:1 1 auto!important;min-width:0!important;}
.profile-hero.q-profile-hero .hero-actions{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important;max-width:440px!important;min-width:0!important;margin-top:10px!important;}
.profile-hero.q-profile-hero .profile-icon-btn{flex:0 0 auto!important;}
body.q-dir-rtl .profile-hero.q-profile-hero{direction:rtl!important;text-align:right!important;}
body.q-dir-rtl .profile-hero.q-profile-hero .hero-avatar{margin:-66px 24px 0 0!important;}
body.q-dir-rtl .profile-hero.q-profile-hero .hero-topline{direction:rtl!important;}
body.q-dir-rtl .profile-hero.q-profile-hero .hero-actions{direction:rtl!important;justify-content:flex-start!important;margin-right:auto!important;margin-left:0!important;}
body.q-dir-ltr .profile-hero.q-profile-hero{direction:ltr!important;text-align:left!important;}
body.q-dir-ltr .profile-hero.q-profile-hero .hero-avatar{margin:-66px 0 0 24px!important;}
body.q-dir-ltr .profile-hero.q-profile-hero .hero-topline{direction:ltr!important;}
body.q-dir-ltr .profile-hero.q-profile-hero .hero-actions{direction:ltr!important;justify-content:flex-end!important;margin-left:auto!important;margin-right:0!important;}
body.q-dir-ltr .profile-hero.q-profile-hero .profile-bio-meta,body.q-dir-ltr .profile-hero.q-profile-hero .badge{direction:ltr!important;}
@media(max-width:760px){
  .profile-hero.q-profile-hero .hero-cover{height:126px!important;}
  .profile-hero.q-profile-hero .hero-avatar{width:94px!important;height:94px!important;min-width:94px!important;min-height:94px!important;}
  body.q-dir-rtl .profile-hero.q-profile-hero .hero-avatar{margin:-47px 18px 0 0!important;}
  body.q-dir-ltr .profile-hero.q-profile-hero .hero-avatar{margin:-47px 0 0 18px!important;}
  .profile-hero.q-profile-hero .hero-body{padding:0 18px 18px!important;}
  .profile-hero.q-profile-hero .hero-topline{display:block!important;}
  .profile-hero.q-profile-hero .hero-actions{max-width:100%!important;overflow-x:auto!important;flex-wrap:nowrap!important;padding-bottom:6px!important;justify-content:flex-start!important;}
  .profile-hero.q-profile-hero .hero-actions::-webkit-scrollbar{display:none!important;}
}

/* Folinq v161 - stable profile context hero, real activity carousel, book language/detail polish */
.profile-context-hero.card{
  overflow:hidden!important;
  border-radius:22px!important;
  background:#fff!important;
  border:1px solid #dbe5f1!important;
}
.profile-context-cover{height:150px!important;border-radius:22px 22px 0 0!important;overflow:hidden!important;background-size:cover!important;background-position:center!important;}
.profile-context-body{
  position:relative!important;
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:flex-start!important;
  gap:14px 18px!important;
  padding:18px 24px 20px!important;
  min-height:168px!important;
}
.profile-context-avatar{
  position:absolute!important;
  inset-block-start:-58px!important;
  inset-inline-start:24px!important;
  width:118px!important;
  height:118px!important;
  min-width:118px!important;
  min-height:118px!important;
  margin:0!important;
  border:5px solid #fff!important;
  z-index:3!important;
}
.profile-context-info{
  flex:1 1 360px!important;
  min-width:0!important;
  margin-inline-start:138px!important;
  padding-top:0!important;
  align-self:flex-start!important;
}
.profile-context-kicker{max-width:96px!important;text-align:center!important;line-height:1.35!important;white-space:normal!important;}
.profile-context-info h2{font-size:22px!important;line-height:1.35!important;margin:0 0 3px!important;}
.profile-context-info p{max-width:680px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
.profile-context-badges{gap:7px!important;align-items:center!important;}
.profile-context-badges span{white-space:nowrap!important;}
.profile-context-actions{
  flex:1 1 100%!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:8px!important;
  margin-top:8px!important;
  padding-inline-start:138px!important;
  padding-bottom:0!important;
  overflow-x:auto!important;
  flex-wrap:nowrap!important;
  scrollbar-width:none!important;
}
.profile-context-actions::-webkit-scrollbar{display:none!important;}
.profile-context-actions a{white-space:nowrap!important;flex:0 0 auto!important;min-height:38px!important;}
body.q-dir-ltr .profile-context-hero, html[lang="en"] .profile-context-hero{direction:ltr!important;text-align:left!important;}
body.q-dir-rtl .profile-context-hero, html[lang="fa"] .profile-context-hero{direction:rtl!important;text-align:right!important;}
@media(max-width:720px){
  .profile-context-cover{height:112px!important;}
  .profile-context-body{display:block!important;min-height:auto!important;padding:0 16px 16px!important;}
  .profile-context-avatar{position:relative!important;inset:auto!important;width:94px!important;height:94px!important;min-width:94px!important;min-height:94px!important;margin:-47px 0 10px!important;}
  .profile-context-info{margin-inline-start:0!important;padding-top:0!important;}
  .profile-context-info p{white-space:normal!important;}
  .profile-context-actions{padding-inline-start:0!important;margin-top:12px!important;}
}

/* Main profile hero: keep avatar, badges and action icons stable in both directions */
.profile-hero.q-profile-hero-v60{overflow:hidden!important;border-radius:22px!important;}
.profile-hero.q-profile-hero-v60 .hero-cover{height:180px!important;}
.profile-hero.q-profile-hero-v60 .hero-avatar{margin-block-start:-66px!important;}
.profile-hero.q-profile-hero-v60 .hero-topline{display:flex!important;align-items:flex-start!important;gap:16px!important;}
.profile-hero.q-profile-hero-v60 .hero-actions{display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:flex-end!important;max-width:min(520px,45vw)!important;gap:8px!important;}
body.q-dir-rtl .profile-hero.q-profile-hero-v60 .hero-actions{justify-content:flex-start!important;margin-inline-start:auto!important;}
body.q-dir-ltr .profile-hero.q-profile-hero-v60 .hero-actions{justify-content:flex-end!important;margin-inline-start:auto!important;}
.profile-hero.q-profile-hero-v60 .profile-icon-btn{width:42px!important;height:42px!important;min-width:42px!important;}
@media(max-width:760px){
 .profile-hero.q-profile-hero-v60 .hero-topline{display:block!important;}
 .profile-hero.q-profile-hero-v60 .hero-actions{max-width:100%!important;overflow-x:auto!important;flex-wrap:nowrap!important;justify-content:flex-start!important;}
}

/* Activity should be a horizontal carousel, not another top tab strip */
.profile-activity-pro-v159{border-radius:22px!important;background:#fff!important;}
.activity-carousel-v161{display:grid!important;gap:18px!important;}
.activity-lane-v161{min-width:0!important;}
.activity-lane-head-v161{display:flex!important;align-items:center!important;justify-content:space-between!important;margin:0 0 10px!important;}
.activity-lane-head-v161 h3{margin:0!important;font-size:17px!important;font-weight:950!important;}
.activity-lane-head-v161 span{min-width:28px;height:24px;border-radius:999px;background:#eef6ff;color:#0a66c2;font-weight:950;display:inline-grid;place-items:center;font-size:12px;}
.activity-lane-scroll-v161{display:grid!important;grid-auto-flow:column!important;grid-auto-columns:minmax(260px,360px)!important;gap:14px!important;overflow-x:auto!important;scroll-snap-type:x proximity!important;padding:2px 2px 10px!important;scrollbar-width:thin!important;}
.activity-lane-scroll-v161 .activity-card-v159{scroll-snap-align:start!important;min-height:154px!important;}
.activity-lane-scroll-v161 .activity-card-v159.empty{display:flex!important;flex-direction:column!important;justify-content:center!important;}
body.q-dir-ltr .activity-carousel-v161, html[lang="en"] .activity-carousel-v161{direction:ltr!important;text-align:left!important;}
body.q-dir-rtl .activity-carousel-v161, html[lang="fa"] .activity-carousel-v161{direction:rtl!important;text-align:right!important;}
@media(max-width:760px){.activity-lane-scroll-v161{grid-auto-columns:minmax(235px,82vw)!important;}}

/* Book detail closer to the requested three-column card layout */
.book-detail-v142.shell{max-width:1180px!important;}
.book-detail-v142 .book-hero.card{display:grid!important;grid-template-columns:260px minmax(0,1fr) 305px!important;gap:24px!important;align-items:start!important;padding:22px!important;border-radius:24px!important;background:#fff!important;box-shadow:0 14px 50px rgba(15,23,42,.045)!important;}
.book-detail-v142 .book-cover-lg{width:260px!important;min-height:382px!important;aspect-ratio:2/3!important;border-radius:22px!important;box-shadow:0 18px 45px rgba(15,23,42,.13)!important;background:#eef3f8!important;}
.book-detail-v142 .book-main{gap:12px!important;}
.book-detail-v142 .book-title{font-size:34px!important;line-height:1.18!important;letter-spacing:-.8px!important;}
.book-detail-v142 .book-meta-line{display:flex!important;gap:8px!important;flex-wrap:wrap!important;align-items:center!important;font-size:13px!important;}
.book-detail-v142 .book-meta-list span{padding:7px 12px!important;background:#f8fbff!important;border:1px solid #dce8f6!important;color:#173153!important;}
.book-detail-v142 .book-stats-row.compact.five-up{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:10px!important;}
.book-detail-v142 .book-commerce-card{min-height:92px!important;border-radius:18px!important;background:#fff!important;border:1px solid #dbe7f5!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;}
.book-detail-v142 .book-commerce-card b{font-size:28px!important;line-height:1.1!important;color:#0a66c2!important;}
.book-detail-v142 .book-action-strip{border-radius:18px!important;border:1px solid #dbe7f5!important;background:#fff!important;padding:10px!important;display:flex!important;align-items:center!important;gap:12px!important;flex-wrap:wrap!important;}
.book-detail-v142 .book-social-panel{border-radius:18px!important;background:#fff!important;border:1px solid #dbe7f5!important;box-shadow:none!important;}
.book-side-v159{gap:14px!important;}
.book-side-v159 .card{border-radius:18px!important;border:1px solid #dbe7f5!important;background:#fff!important;}
@media(max-width:1080px){.book-detail-v142 .book-hero.card{grid-template-columns:220px minmax(0,1fr)!important}.book-detail-v142 .book-cover-lg{width:220px!important;min-height:330px!important}.book-detail-v142 .book-side-v159{grid-column:1 / -1!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}.book-detail-v142 .book-stats-row.compact.five-up{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:760px){.book-detail-v142 .book-hero.card{grid-template-columns:1fr!important;padding:16px!important}.book-detail-v142 .book-cover-lg{width:min(310px,100%)!important;margin:auto!important}.book-detail-v142 .book-title{font-size:26px!important}.book-detail-v142 .book-side-v159{grid-template-columns:1fr!important}.book-detail-v142 .book-stats-row.compact.five-up{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* Book editor small polish for the new language field */
.book-editor-form-v142 select[name="book_language"]{min-height:44px!important;}

/* v162 enhancements */
.profile-owned-publisher{margin-top:8px}.profile-owned-publisher a{display:inline-flex;align-items:center;gap:8px;padding:6px 12px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--brand);font-weight:700}
.q-profile-hero-v60{overflow:hidden}.q-profile-hero-v60 .hero-main{align-items:flex-start}.q-profile-hero-v60 .hero-avatar-wrap{flex-shrink:0}.q-profile-hero-v60 .profile-hero-actions{flex-wrap:wrap}
.profile-activity-pro-v162{display:grid;gap:16px}.activity-slider-shell-v162{display:grid;gap:14px}.activity-kind-tabs-v162{display:flex;gap:10px;flex-wrap:wrap}.activity-kind-tab-v162{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--text);font-weight:700}.activity-kind-tab-v162 b{display:inline-flex;min-width:22px;height:22px;border-radius:999px;background:#f3f6ff;align-items:center;justify-content:center;color:var(--brand);font-size:12px}.activity-kind-tab-v162.active{background:var(--brand);color:#fff;border-color:var(--brand)}.activity-kind-tab-v162.active b{background:rgba(255,255,255,.18);color:#fff}
.activity-lane-v162{display:none;gap:12px}.activity-lane-v162.active{display:grid}.activity-lane-toolbar-v162{display:flex;align-items:center;justify-content:space-between;gap:12px}.activity-lane-nav-v162{display:flex;gap:8px}.activity-lane-scroll-v162{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(250px,280px);gap:14px;overflow:auto;padding-bottom:4px;scroll-snap-type:x proximity}.activity-card-v162{display:grid;grid-template-rows:auto 1fr;border:1px solid var(--line);border-radius:18px;background:#fff;overflow:hidden;min-height:230px;scroll-snap-align:start}.activity-card-cover-v162{aspect-ratio:16/9;background:#f5f7fd}.activity-card-cover-v162 img{width:100%;height:100%;object-fit:cover}.activity-card-body-v162{display:grid;gap:8px;padding:14px}.activity-card-body-v162 b{font-size:15px}.activity-card-body-v162 p{margin:0;color:var(--muted);line-height:1.7}.activity-card-body-v162 small{color:var(--muted)}
.network-v162-shell{display:grid;gap:16px}.network-v162-hero{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:18px;padding:20px;background:linear-gradient(180deg,#f8fbff,#eef5ff)}.network-v162-hero-copy .eyebrow{display:inline-flex;padding:8px 12px;border:1px solid #d6e3ff;border-radius:999px;background:#fff;color:var(--brand);font-size:12px;font-weight:700}.network-v162-hero-copy h1{font-size:52px;margin:10px 0 8px}.network-v162-hero-copy p{max-width:760px;color:var(--muted);line-height:1.8}.network-v162-quota{padding:18px;display:grid;gap:8px;align-self:start}.network-v162-quota b{font-size:40px;color:var(--brand)}.quota-bar{height:8px;border-radius:999px;background:#e8edf7;overflow:hidden}.quota-bar i{display:block;height:100%;background:var(--brand);border-radius:inherit}.network-v162-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 16px}.network-v162-chips{display:flex;gap:10px;flex-wrap:wrap}.network-v162-chip{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border-radius:999px;border:1px solid var(--line);background:#fff;color:var(--text);font-weight:700}.network-v162-chip b{min-width:20px;text-align:center;padding:3px 8px;border-radius:999px;background:#f3f6ff;color:var(--brand);font-size:12px}.network-v162-chip.active{background:#eef4ff;border-color:#cddcff;color:var(--brand)}.network-v162-search{display:flex;align-items:center;gap:12px}.network-v162-search label{display:flex;align-items:center;gap:10px;min-width:300px;padding:10px 14px;border:1px solid var(--line);border-radius:14px;background:#fff}.network-v162-search input{border:0;outline:0;width:100%;background:transparent}.network-v162-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.network-v162-card{position:relative;overflow:hidden;padding-bottom:14px}.network-v162-cover{height:110px;background:linear-gradient(135deg,#bed1ff,#eef5ff);position:relative}.network-v162-cover img{width:100%;height:100%;object-fit:cover}.network-v162-mini-follow{position:absolute;top:12px;right:12px}.network-v162-avatar{position:relative;display:block;width:104px;height:104px;border-radius:50%;overflow:hidden;border:4px solid #fff;margin:-52px auto 0;background:#fff;box-shadow:0 10px 24px rgba(16,35,86,.12)}.network-v162-avatar img{width:100%;height:100%;object-fit:cover}.network-v162-body{display:grid;gap:8px;padding:12px 16px 0;text-align:center}.network-v162-body h3{margin:0;font-size:28px}.network-v162-role{font-weight:700;color:var(--muted)}.network-v162-subline,.network-v162-connections,.network-v162-meta{color:var(--muted);font-size:14px}.network-v162-meta span{display:inline-flex;align-items:center;gap:6px;justify-content:center}.network-v162-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px}.network-v162-publisher-link{color:var(--brand);font-weight:700}.network-v162-more{display:flex;justify-content:center;padding:4px 0 10px}.network-empty-pro{padding:32px;display:grid;place-items:center;gap:10px;grid-column:1/-1}
.publisher-v162-shell{display:grid;gap:16px}.publisher-v162-hero{overflow:hidden;padding:0}.publisher-v162-banner{height:220px;background:linear-gradient(135deg,#f0f4ff,#d9e7ff)}.publisher-v162-banner img{width:100%;height:100%;object-fit:cover}.publisher-v162-head{display:flex;justify-content:space-between;gap:20px;padding:20px}.publisher-v162-brand{display:flex;gap:18px;align-items:flex-start}.publisher-v162-avatar{width:96px;height:96px;border-radius:28px;overflow:hidden;display:grid;place-items:center;background:#fff;border:1px solid var(--line);box-shadow:0 12px 30px rgba(16,35,86,.08);margin-top:-58px}.publisher-v162-avatar img{width:100%;height:100%;object-fit:cover}.publisher-v162-title-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.publisher-v162-title-row h1{margin:0}.publisher-v162-meta{display:flex;gap:14px;flex-wrap:wrap;margin:8px 0;color:var(--muted)}.publisher-v162-meta a{color:var(--brand)}.publisher-v162-bio{margin:0;color:var(--muted);line-height:1.85;max-width:840px}.publisher-v162-actions{display:flex;gap:12px;align-items:flex-start;padding-top:8px}.publisher-v162-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:0 20px 20px}.publisher-v162-stat{padding:18px;display:grid;gap:8px}.publisher-v162-stat span{color:var(--muted)}.publisher-v162-stat b{font-size:32px;color:var(--brand)}.publisher-v162-tabs{display:flex;gap:12px;flex-wrap:wrap}.publisher-v162-tabs a{padding:10px 16px;border-radius:999px;border:1px solid var(--line);background:#fff;color:var(--text);font-weight:700}.publisher-v162-tabs a.active{background:#eef4ff;color:var(--brand);border-color:#cfe0ff}.publisher-v162-books,.publisher-v162-list,.publisher-v162-writers,.publisher-v162-about{padding:18px}.publisher-v162-book-tools{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:16px}.publisher-v162-book-tools label{display:flex;align-items:center;gap:10px;min-width:340px;padding:10px 14px;border:1px solid var(--line);border-radius:14px}.publisher-v162-book-tools input,.publisher-v162-book-tools select{border:0;outline:0;background:transparent;width:100%}.publisher-v162-book-tools select{width:auto;padding:10px 14px;border:1px solid var(--line);border-radius:14px;background:#fff}.publisher-v162-book-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.publisher-v162-book-card{overflow:hidden}.publisher-v162-book-cover{display:block;aspect-ratio:4/5;background:#f5f7fd}.publisher-v162-book-cover img{width:100%;height:100%;object-fit:cover}.publisher-v162-book-body{display:grid;gap:10px;padding:14px}.publisher-v162-book-body h3{margin:0;font-size:20px}.publisher-v162-book-meta{color:var(--muted)}.publisher-v162-book-pills{display:flex;gap:8px;flex-wrap:wrap}.publisher-v162-book-pills span{padding:6px 10px;border-radius:999px;background:#f5f7fd;color:var(--brand);font-size:12px}.publisher-v162-more{display:flex;justify-content:center;margin-top:16px}.publisher-v162-line{display:flex;justify-content:space-between;gap:18px;padding:16px 0;border-bottom:1px solid var(--line)}.publisher-v162-line:last-child{border-bottom:0}.publisher-v162-line h3{margin:0 0 6px}.publisher-v162-line p{margin:0;color:var(--muted)}.publisher-v162-writer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.publisher-v162-writer-card{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid var(--line);border-radius:16px;background:#fff}.publisher-v162-writer-card img{width:56px;height:56px;border-radius:50%;object-fit:cover}.publisher-v162-writer-card span{display:grid}.publisher-v162-writer-card small{color:var(--muted)}.publisher-v162-about .stat-row{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}.publisher-v162-about .stat-row:last-child{border-bottom:0}.publisher-v162-about-text{margin-top:16px;color:var(--muted);line-height:1.85}
@media (max-width: 1200px){.network-v162-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.publisher-v162-book-grid,.publisher-v162-writer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width: 900px){.network-v162-hero{grid-template-columns:1fr}.network-v162-toolbar,.publisher-v162-head,.publisher-v162-book-tools{flex-direction:column;align-items:stretch}.network-v162-search label,.publisher-v162-book-tools label{min-width:0}.publisher-v162-stats{grid-template-columns:1fr}.activity-lane-scroll-v162{grid-auto-columns:minmax(220px,82vw)}}
@media (max-width: 640px){.network-v162-grid,.publisher-v162-book-grid,.publisher-v162-writer-grid{grid-template-columns:1fr}.network-v162-hero-copy h1{font-size:38px}.network-v162-quota b{font-size:30px}.publisher-v162-brand{flex-direction:column}.publisher-v162-avatar{margin-top:-48px}}

/* Folinq v163 - operational hotfix: activity tabs, network follow FAB, book follows */
.activity-kind-tab-v162.active{background:var(--brand,#0a66c2)!important;color:#fff!important;border-color:var(--brand,#0a66c2)!important;box-shadow:0 10px 24px rgba(10,102,194,.18)!important}
.activity-kind-tab-v162.active svg,.activity-kind-tab-v162.active .li-icon{color:#fff!important;stroke:#fff!important}
.activity-kind-tab-v162.active span{color:#fff!important}.activity-kind-tab-v162.active b{background:rgba(255,255,255,.18)!important;color:#fff!important}
.profile-activity-settings-v163{border:1px solid #dbe7f5;border-radius:18px;background:#f8fbff;padding:14px;margin-top:-4px;margin-bottom:12px}.profile-activity-settings-v163 .activity-option-grid-v159{margin-bottom:12px}.profile-activity-settings-v163 .btn{justify-self:start}
.network-v162-footer-center{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-end!important;gap:10px!important;margin-top:10px!important}.network-follow-center-form{display:flex!important;justify-content:center!important;width:100%!important}.network-follow-fab{width:54px!important;height:54px!important;border-radius:50%!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;font-size:20px!important;box-shadow:0 14px 30px rgba(15,23,42,.10)!important}.network-follow-fab.is-followed{background:#eef6ff!important;color:#0a66c2!important;border-color:#bfdbfe!important}.network-v162-books-block{padding:18px!important;display:grid!important;gap:16px!important}.network-book-cover-v163{width:112px;height:150px;border-radius:16px;margin:18px auto 0;background:#f3f6fb;display:grid;place-items:center;overflow:hidden;border:1px solid #e2e8f0}.network-book-cover-v163 img{width:100%;height:100%;object-fit:cover}.network-v162-book-card .network-v162-body h3{font-size:20px!important;line-height:1.55!important}.network-v162-book-card{padding-bottom:14px!important}
.hero-avatar .avatar-initials{pointer-events:none}.hero-avatar img[src]:not([src=""])+.avatar-initials{display:none!important}

/* Folinq v164 - operational polish: lazy network, default profile cover, simpler roles */
.admin-user-email{display:block!important;visibility:visible!important;opacity:1!important;max-width:100%;direction:ltr;text-align:left;background:#f8fbff;border:1px solid #dbe7f5;border-radius:12px;padding:6px 8px;margin-top:6px;color:#334155!important;font-weight:800;word-break:break-all;overflow:visible!important;white-space:normal!important}
.admin-user-email b{display:block!important;color:#64748b!important;font-size:11px!important;margin-bottom:2px;direction:rtl;text-align:right}
.network-v162-lazy-sentinel{display:flex;align-items:center;justify-content:center;min-height:54px;margin:8px 0 18px;color:#64748b;font-weight:900;border:1px dashed #dbe7f5;border-radius:18px;background:#fbfdff}
.network-v162-lazy-sentinel.done{display:none}
.network-v162-grid.is-loading-more{opacity:.78}
.network-follow-fab{width:54px!important;height:54px!important;border-radius:50%!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;box-shadow:0 16px 38px rgba(10,102,194,.18)!important}
.network-follow-fab svg{width:23px!important;height:23px!important}
.network-follow-fab.is-followed{background:#eef4ff!important;color:#0a66c2!important;border-color:#bdd7ff!important}
.network-v162-footer-center{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-end!important;gap:10px!important;min-height:64px!important}
.network-follow-center-form{display:flex!important;justify-content:center!important;width:100%!important}
.network-v162-cover img{object-position:center center!important}
.network-v162-book-card{display:grid!important;grid-template-rows:auto 1fr!important}
.network-v162-books-block{padding:18px!important;margin-top:18px!important}
.q-role-editor,.q-role-translator,.q-role-designer{--role-note:'deprecated'}


/* Folinq v165 - notification menu and test mail route polish */
.notification-item-v165{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;position:relative!important;padding:0!important;}
.notification-main-link-v165{display:flex!important;align-items:center!important;gap:12px!important;min-width:0!important;flex:1!important;padding:16px 18px!important;color:inherit!important;}
.notification-menu-v165{position:relative!important;z-index:5!important;margin-inline-end:12px!important;}
.notification-menu-v165 summary{list-style:none!important;cursor:pointer!important;width:42px!important;height:42px!important;border-radius:999px!important;display:grid!important;place-items:center!important;border:1px solid transparent!important;color:#64748b!important;background:transparent!important;}
.notification-menu-v165 summary::-webkit-details-marker{display:none!important;}
.notification-menu-v165[open] summary,.notification-menu-v165 summary:hover{background:#fff!important;border-color:#dbeafe!important;color:#0a66c2!important;box-shadow:0 10px 24px rgba(15,23,42,.08)!important;}
.notification-menu-panel-v165{position:absolute!important;inset-inline-start:0!important;top:48px!important;min-width:210px!important;background:#fff!important;border:1px solid #dbe3ef!important;border-radius:16px!important;box-shadow:0 24px 60px rgba(15,23,42,.16)!important;padding:8px!important;display:grid!important;gap:4px!important;z-index:80!important;}
html[dir="ltr"] .notification-menu-panel-v165{inset-inline-start:auto!important;inset-inline-end:0!important;}
.notification-menu-panel-v165 a,.notification-menu-panel-v165 button{width:100%!important;border:0!important;background:transparent!important;display:flex!important;align-items:center!important;gap:8px!important;padding:10px 12px!important;border-radius:12px!important;color:#243244!important;text-align:inherit!important;font-family:inherit!important;font-weight:800!important;cursor:pointer!important;text-decoration:none!important;}
.notification-menu-panel-v165 a:hover,.notification-menu-panel-v165 button:hover{background:#f1f6ff!important;color:#0a66c2!important;}
.notification-menu-panel-v165 .danger{color:#dc2626!important;}
.notification-menu-panel-v165 .danger:hover{background:#fff1f2!important;color:#b91c1c!important;}
@media(max-width:760px){.notification-main-link-v165{padding:14px 12px!important}.notification-menu-panel-v165{position:fixed!important;left:12px!important;right:12px!important;top:auto!important;bottom:16px!important;min-width:0!important}}

/* Folinq v166 - notification menu containment, admin users UX, destructive admin actions */
.notification-list-v166{overflow:visible!important;position:relative!important}
.notification-item-v166{display:flex!important;align-items:center!important;gap:12px!important;position:relative!important;overflow:visible!important;padding:0!important;border-bottom:1px solid #dbe7f5!important;background:#fff!important}
.notification-item-v166.unread{background:#eef6ff!important}
.notification-main-link-v166{display:flex!important;align-items:center!important;gap:12px!important;min-width:0!important;flex:1!important;padding:16px 18px!important;color:inherit!important;text-decoration:none!important}
.notification-menu-v166{position:relative!important;z-index:30!important;margin-inline-start:12px!important;flex:0 0 auto!important;overflow:visible!important}
.notification-more-v166{list-style:none!important;cursor:pointer!important;width:42px!important;height:42px!important;border-radius:999px!important;display:grid!important;place-items:center!important;border:1px solid #dbeafe!important;color:#0a66c2!important;background:#fff!important;box-shadow:0 8px 20px rgba(15,23,42,.06)!important}
.notification-more-v166::-webkit-details-marker{display:none!important}
.notification-menu-v166[open] .notification-more-v166{background:#0a66c2!important;color:#fff!important;border-color:#0a66c2!important}
.notification-menu-panel-v166{position:absolute!important;top:48px!important;left:0!important;right:auto!important;min-width:224px!important;max-width:min(260px,calc(100vw - 24px))!important;background:#fff!important;border:1px solid #dbe3ef!important;border-radius:16px!important;box-shadow:0 24px 60px rgba(15,23,42,.18)!important;padding:8px!important;display:grid!important;gap:4px!important;z-index:1000!important;text-align:right!important;direction:rtl!important}
html[dir="ltr"] .notification-menu-panel-v166{left:auto!important;right:0!important;text-align:left!important;direction:ltr!important}
.notification-menu-panel-v166 a,.notification-menu-panel-v166 button{width:100%!important;border:0!important;background:transparent!important;display:flex!important;align-items:center!important;gap:8px!important;padding:10px 12px!important;border-radius:12px!important;color:#243244!important;text-align:inherit!important;font-family:inherit!important;font-weight:850!important;cursor:pointer!important;text-decoration:none!important;white-space:nowrap!important}
.notification-menu-panel-v166 a:hover,.notification-menu-panel-v166 button:hover{background:#f1f6ff!important;color:#0a66c2!important}
.notification-menu-panel-v166 .danger{color:#dc2626!important}
.notification-menu-panel-v166 .danger:hover{background:#fff1f2!important;color:#b91c1c!important}
@media(max-width:760px){.notification-main-link-v166{padding:14px 10px!important}.notification-menu-panel-v166{position:fixed!important;left:12px!important;right:12px!important;top:auto!important;bottom:16px!important;min-width:0!important;max-width:none!important}}

.admin-users-pro-v166{display:grid!important;gap:16px!important}.admin-users-hero-v166{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;background:linear-gradient(135deg,#fff,#f3f8ff)!important}.admin-users-hero-v166 h1{margin:4px 0 6px!important;font-size:34px!important}.admin-users-count-v166{min-width:110px;border:1px solid #dbeafe;border-radius:20px;background:#fff;padding:14px;text-align:center;color:#64748b}.admin-users-count-v166 b{display:block;color:#0a66c2;font-size:32px;line-height:1}.admin-users-filter-v166{display:grid!important;grid-template-columns:minmax(260px,1fr) 160px 160px 120px auto!important;gap:10px!important;align-items:center!important;padding:14px!important;border-radius:22px!important;background:#fff!important;border:1px solid #dbe7f5!important}.admin-user-search-v166{display:flex!important;align-items:center!important;gap:8px!important;border:1px solid #d7e2ef!important;border-radius:14px!important;padding:0 12px!important;height:44px!important}.admin-user-search-v166 input{border:0!important;background:transparent!important;outline:0!important;width:100%!important}.admin-users-filter-v166 select{height:44px!important;border:1px solid #d7e2ef!important;border-radius:14px!important;background:#fff!important;padding:0 12px!important}.admin-users-cards-v166{display:grid!important;gap:14px!important}.admin-user-card-v166{display:grid!important;grid-template-columns:minmax(270px,1.1fr) minmax(150px,.55fr) minmax(520px,1.8fr) minmax(190px,.65fr)!important;gap:14px!important;align-items:center!important;padding:16px!important;border-radius:24px!important;border:1px solid #dbe7f5!important;background:#fff!important;box-shadow:0 14px 36px rgba(15,23,42,.055)!important}.admin-user-main-v166{display:flex;align-items:center;gap:12px;min-width:0}.admin-user-avatar-v166{width:60px;height:60px;border-radius:50%;overflow:hidden;flex:0 0 auto;box-shadow:0 12px 24px rgba(15,23,42,.1);background:#eef6ff}.admin-user-avatar-v166 img{width:100%;height:100%;object-fit:cover}.admin-user-namebox-v166{min-width:0;display:grid;gap:4px}.admin-user-namebox-v166 h3{margin:0;font-size:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.admin-user-namebox-v166 small{color:#64748b}.admin-user-email-v166{display:inline-grid!important;grid-template-columns:auto 1fr!important;gap:6px!important;align-items:center!important;width:max-content!important;max-width:100%!important;background:#f8fbff!important;border:1px solid #dbeafe!important;color:#0f172a!important;border-radius:14px!important;padding:7px 10px!important;text-decoration:none!important}.admin-user-email-v166 span{color:#64748b;font-size:11px;font-weight:900}.admin-user-email-v166 b{font-size:12px;white-space:normal;overflow-wrap:anywhere}.admin-user-badges-v166{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.admin-user-badges-v166 span{border-radius:999px;padding:7px 10px;font-size:12px;font-weight:950;background:#eef2f7;color:#334155}.admin-user-badges-v166 .vip{background:#fff7ed;color:#9a3412;border:1px solid #fed7aa}.admin-user-edit-v166{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr)) auto!important;gap:8px!important;align-items:end!important}.admin-user-edit-v166 label{display:grid!important;gap:4px!important;color:#64748b!important;font-size:11px!important;font-weight:900!important}.admin-user-edit-v166 input,.admin-user-edit-v166 select{height:40px!important;border:1px solid #d7e2ef!important;border-radius:12px!important;background:#fff!important;padding:0 10px!important;min-width:0!important}.admin-vip-toggle-v166{display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;border:1px solid #f4d79b!important;background:#fff9e8!important;color:#92400e!important;border-radius:13px!important;padding:0 10px!important;height:40px!important}.admin-vip-toggle-v166 input{height:auto!important;width:auto!important}.admin-user-actions-v166{align-self:stretch;border:1px solid #e2e8f0;border-radius:18px;background:#fbfdff;padding:8px;position:relative}.admin-user-actions-v166 summary{height:38px;display:flex;align-items:center;justify-content:center;gap:6px;list-style:none;cursor:pointer;font-weight:950;color:#0a66c2}.admin-user-actions-v166 summary::-webkit-details-marker{display:none}.admin-user-actions-v166[open] summary{border-bottom:1px dashed #dbe7f5;margin-bottom:8px}.admin-user-actions-v166 form{display:grid;gap:8px;margin-top:8px}.admin-user-password-v166{grid-template-columns:1fr!important}.admin-user-password-v166 input{height:38px;border:1px solid #d7e2ef;border-radius:12px;padding:0 10px}.admin-user-actions-v166 .btn{width:100%;justify-content:center}.admin-users-pagination{display:flex;justify-content:center;margin-top:16px;overflow:auto}.admin-table-wrap-v166{overflow:auto;border:1px solid #e2e8f0;border-radius:18px}.admin-comments-table-v166,.tx-table-v166{min-width:980px}.admin-row-actions-v166{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.admin-row-actions-v166 .inline-admin-form{display:flex;gap:8px;align-items:center}.btn.danger,.danger{background:#fee2e2!important;color:#b91c1c!important;border-color:#fecaca!important}.btn.tiny{min-height:34px!important;padding:7px 10px!important;font-size:12px!important}.tx-table-v166 form{margin:0}@media(max-width:1280px){.admin-user-card-v166{grid-template-columns:1fr!important}.admin-user-edit-v166{grid-template-columns:repeat(3,minmax(0,1fr)) auto!important}.admin-user-actions-v166{max-width:none}}@media(max-width:760px){.admin-users-hero-v166{display:grid!important}.admin-users-filter-v166{grid-template-columns:1fr!important}.admin-user-edit-v166{grid-template-columns:1fr!important}.admin-user-main-v166{align-items:flex-start}.admin-row-actions-v166,.admin-row-actions-v166 .inline-admin-form{display:grid;width:100%}.admin-comments-table-v166,.tx-table-v166{min-width:760px}}


/* Folinq v167 - notification menu open-state cleanup + admin account popup */
.notification-menu-v166[open]{z-index:5000!important;}
.notification-menu-v166[open] > .notification-more-v166{opacity:0!important;visibility:hidden!important;pointer-events:none!important;}
.notification-menu-panel-v166{z-index:6000!important;}
.notification-item-v166{isolation:isolate!important;}
.notification-main-link-v166{position:relative!important;z-index:1!important;}
.notification-menu-v166{position:relative!important;z-index:5!important;}
.notification-menu-v166[open] .notification-menu-panel-v166{display:grid!important;}

.admin-user-account-actions-v167{display:flex!important;align-items:center!important;justify-content:center!important;}
.admin-account-open-v167{width:100%!important;justify-content:center!important;min-height:44px!important;border-radius:16px!important;}
.admin-account-modal-v167[hidden]{display:none!important;}
.admin-account-modal-v167{position:fixed!important;inset:0!important;z-index:10000!important;display:grid!important;place-items:center!important;padding:18px!important;}
.admin-account-backdrop-v167{position:absolute!important;inset:0!important;background:rgba(15,23,42,.35)!important;backdrop-filter:blur(4px)!important;}
.admin-account-dialog-v167{position:relative!important;width:min(680px,calc(100vw - 28px))!important;max-height:calc(100vh - 32px)!important;overflow:auto!important;border-radius:24px!important;border:1px solid #dbe7f5!important;box-shadow:0 30px 80px rgba(15,23,42,.28)!important;background:#fff!important;}
.admin-account-head-v167{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:14px!important;margin-bottom:16px!important;}
.admin-account-head-v167 h2{margin:4px 0 4px!important;font-size:24px!important;}
.admin-user-account-form-v167{display:grid!important;gap:14px!important;}
.admin-user-account-form-v167 .field{display:grid!important;gap:6px!important;}
.admin-user-account-form-v167 input{height:44px!important;border:1px solid #d7e2ef!important;border-radius:14px!important;background:#fff!important;padding:0 12px!important;outline:0!important;}
.admin-user-account-form-v167 input:focus{border-color:#0a66c2!important;box-shadow:0 0 0 4px rgba(10,102,194,.1)!important;}
.admin-account-foot-v167{display:flex!important;gap:10px!important;justify-content:flex-start!important;align-items:center!important;margin-top:4px!important;}
.admin-account-delete-v167{border-top:1px dashed #e2e8f0!important;margin-top:16px!important;padding-top:14px!important;}
.admin-account-delete-v167 .btn{width:100%!important;justify-content:center!important;}
@media(max-width:760px){.admin-account-foot-v167{display:grid!important}.admin-account-foot-v167 .btn{width:100%!important}.admin-account-dialog-v167{width:calc(100vw - 20px)!important}.admin-user-account-actions-v167{justify-content:stretch!important}}

/* Folinq v169 - notifications lazy loading, RTL/LTR action menu alignment, register leafy background */
.notifications-page-v169{max-width:820px!important;overflow:visible!important;}
.notification-list-v169{overflow:visible!important;display:grid!important;gap:10px!important;background:transparent!important;border:0!important;box-shadow:none!important;}
.notification-item-v169{border:1px solid #dbe7f5!important;border-radius:18px!important;min-height:112px!important;background:#fff!important;box-shadow:0 10px 28px rgba(15,23,42,.035)!important;overflow:visible!important;isolation:isolate!important;}
.notification-item-v169.unread{background:#eaf5ff!important;}
.notification-main-link-v169{order:1!important;min-height:112px!important;border-radius:18px!important;padding:16px 78px 16px 18px!important;}
html[dir="ltr"] .notification-main-link-v169{padding:16px 18px 16px 78px!important;}
.notification-menu-v169{order:2!important;position:absolute!important;top:26px!important;left:18px!important;right:auto!important;margin:0!important;z-index:50!important;}
html[dir="ltr"] .notification-menu-v169{left:auto!important;right:18px!important;}
.notification-menu-v169[open]{z-index:9000!important;}
.notification-menu-v169[open] > .notification-more-v169{opacity:0!important;visibility:hidden!important;pointer-events:none!important;}
.notification-menu-panel-v169{top:0!important;left:0!important;right:auto!important;transform:translateY(48px)!important;min-width:230px!important;z-index:9500!important;direction:rtl!important;text-align:right!important;}
html[dir="ltr"] .notification-menu-panel-v169{left:auto!important;right:0!important;direction:ltr!important;text-align:left!important;}
.notification-item-v169:has(.notification-menu-v169[open]){min-height:232px!important;z-index:7000!important;}
.notification-item-v169:has(.notification-menu-v169[open]) .notification-main-link-v169{align-self:start!important;}
.notification-lazy-sentinel-v169{display:grid;place-items:center;min-height:58px;color:#64748b;font-weight:850;margin:8px 0 20px;}
.notification-lazy-sentinel-v169 span:before{content:'';display:inline-block;width:18px;height:18px;margin-inline-end:8px;border:3px solid #bfdbfe;border-top-color:#0a66c2;border-radius:999px;vertical-align:-5px;animation:qSpin 1s linear infinite;}
.notification-lazy-sentinel-v169.done{min-height:0;margin:0;display:none;}
@keyframes qSpin{to{transform:rotate(360deg)}}
@media(max-width:760px){.notification-menu-v169{top:20px!important;left:12px!important}.notification-menu-panel-v169{position:absolute!important;left:0!important;right:auto!important;bottom:auto!important;top:0!important;max-width:calc(100vw - 38px)!important}.notification-main-link-v169{padding-inline-end:70px!important}.notification-item-v169:has(.notification-menu-v169[open]){min-height:238px!important}}

.folinq-register-shell{position:relative!important;border-radius:28px!important;isolation:isolate!important;padding:24px 12px 34px!important;overflow:hidden!important;background:linear-gradient(120deg,rgba(255,255,255,.92),rgba(248,251,255,.86)),url('/assets/brand/folinq-register-leaves.png') center/cover no-repeat!important;}
.folinq-register-shell:before{content:'';position:absolute;inset:0;background:radial-gradient(circle at 18% 24%,rgba(219,234,254,.46),transparent 34%),radial-gradient(circle at 88% 18%,rgba(191,219,254,.38),transparent 30%);z-index:-1;}
.folinq-register-card{background:rgba(255,255,255,.88)!important;backdrop-filter:blur(10px)!important;box-shadow:0 28px 80px rgba(15,23,42,.13)!important;}
.register-intro-panel{background:linear-gradient(145deg,rgba(255,255,255,.82),rgba(238,246,255,.74)),url('/assets/brand/folinq-register-leaves.png') left center/cover no-repeat!important;}
.register-intro-panel h2{font-size:31px!important;color:#0f2b56!important;}
.register-intro-panel p{color:#334155!important;font-size:14.5px!important;}
.register-benefits span{background:rgba(255,255,255,.82)!important;backdrop-filter:blur(6px)!important;border-color:#dbeafe!important;}


/* Folinq v170 - folio editor, profile credit/birthdays, error art and menu layering */
.folio-leaf-icon{color:#0a66c2!important}
.folio-create-v170-shell{max-width:1180px;margin:16px auto;padding:0 14px}.folio-create-v170-card{overflow:visible!important;border-radius:28px!important;box-shadow:0 22px 70px rgba(15,23,42,.10)!important}.folio-create-v170-form{padding:24px 28px}.folio-create-v170-head{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:18px;align-items:center}.folio-create-v170-user{display:flex;align-items:center;gap:12px}.folio-create-v170-user img{width:60px;height:60px;border-radius:50%;object-fit:cover;border:3px solid #fff;box-shadow:0 0 0 1px #dbe7f5}.folio-create-v170-user b{font-size:19px}.folio-visibility-icons{display:flex;gap:10px;color:#64748b;margin-top:4px}.folio-create-v170-titlemark{display:flex;align-items:center;gap:10px}.folio-create-v170-titlemark b{font-size:18px;display:block}.folio-create-v170-titlemark small{color:#64748b}.folio-create-v170-close{width:48px;height:48px;border:1px solid #dbe7f5;border-radius:14px;display:grid;place-items:center;font-size:34px;line-height:1;color:#475569;background:#fff}.folio-create-v170-editor{padding:48px 10px 34px;border-bottom:1px solid #dbe7f5}.folio-create-v170-title{width:100%;border:0!important;box-shadow:none!important;background:transparent!important;font-size:26px!important;font-weight:950!important;text-align:right!important;padding:0!important;color:#172033}.folio-create-v170-body{width:100%;min-height:190px;border:0!important;box-shadow:none!important;background:transparent!important;font-size:20px!important;line-height:2.1!important;resize:vertical;padding:24px 0 0!important}.folio-create-v170-actions{display:grid;grid-template-columns:repeat(6,1fr);gap:18px;padding:28px 10px}.folio-action-tile{border:0;background:transparent;display:flex;flex-direction:column;align-items:center;gap:8px;cursor:pointer;color:#26344d}.folio-action-tile span{width:58px;height:58px;border:1px solid #dbe7f5;border-radius:16px;background:#fff;display:grid;place-items:center;transition:.15s}.folio-action-tile:hover span{border-color:#0a66c2;color:#0a66c2;background:#f7fbff;transform:translateY(-2px)}.folio-action-tile input{display:none}.folio-tags-v170{display:flex;align-items:center;gap:12px;border:1px solid #dbe7f5;border-radius:18px;padding:0 16px;min-height:60px;background:#fff}.folio-tags-v170 input{border:0!important;box-shadow:none!important;flex:1;background:transparent!important}.folio-reference-row-v170{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:18px 6px}.folio-reference-row-v170 label{display:grid;grid-template-columns:auto auto minmax(0,1fr);align-items:center;gap:10px}.folio-reference-row-v170 select{min-width:0}.folio-branch-link-v170{display:grid;grid-template-columns:auto minmax(190px,.7fr) minmax(260px,1fr);gap:14px;align-items:center;border:1px solid #dbe7f5;border-radius:18px;padding:14px 18px}.folio-branch-link-v170 b,.folio-branch-link-v170 small{display:block}.folio-branch-link-v170 small{color:#64748b}.folio-panel-v170{border:1px solid #dbe7f5;border-radius:18px;background:#f8fbff;padding:16px;margin-top:16px}.folio-panel-head{display:flex;align-items:center;justify-content:space-between}.folio-panel-head h3{margin:0}.folio-panel-head button{border:0;background:transparent;font-size:24px;cursor:pointer}.folio-create-v170-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:24px}.folio-submit-actions{display:flex;gap:10px}.folio-publish-v170{min-width:160px;height:52px;font-size:16px}.folio-schedule-v170{border:1px solid #dbe7f5;background:#fff;border-radius:16px;min-height:52px;padding:0 18px;display:flex;align-items:center;gap:8px;cursor:pointer;color:#334155}.folio-current-cover-v170 img{max-width:220px;border-radius:16px}
.error-404-v170{max-width:980px;margin:26px auto;padding:24px;text-align:center;border-radius:28px!important}.error-404-v170-art{display:block;width:min(760px,100%);max-height:340px;object-fit:cover;object-position:top center;margin:0 auto;border-radius:24px}.error-404-v170-copy{max-width:660px;margin:-12px auto 0}.error-404-v170-copy h1{font-size:34px;margin:12px 0 8px}.error-404-v170-copy p{color:#64748b;font-size:16px;line-height:2}.error-404-v170-actions{display:flex;justify-content:center;gap:12px;margin-top:22px}
.profile-panel-title-v170{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.profile-panel-title-v170>div{display:flex;align-items:center;gap:10px}.profile-panel-title-v170 span b,.profile-panel-title-v170 span small{display:block}.profile-panel-title-v170 small{color:#64748b}.profile-panel-title-v170>a{color:#0a66c2;font-weight:900}.profile-mini-people-v170{display:grid;gap:8px}.profile-mini-people-v170>a,.birthday-person-v170{display:flex;align-items:center;gap:10px;border:1px solid #e2e8f0;border-radius:14px;padding:9px;background:#fbfdff}.profile-mini-people-v170 img,.birthday-person-v170 img{width:42px;height:42px;border-radius:50%;object-fit:cover}.profile-mini-people-v170 span{min-width:0;flex:1}.profile-mini-people-v170 span b,.profile-mini-people-v170 span small{display:block}.profile-mini-people-v170 em{font-style:normal;color:#0a66c2;font-weight:950}.birthday-person-v170{justify-content:space-between}.birthday-person-v170>a:first-child{display:flex;align-items:center;gap:10px;min-width:0}.birthdays-grid-v170{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.birthdays-grid-v170 article{border:1px solid #dbe7f5;border-radius:18px;padding:14px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff}.birthdays-grid-v170 article>a:first-child{display:flex;align-items:center;gap:10px}.birthdays-grid-v170 img{width:52px;height:52px;border-radius:50%;object-fit:cover}
.comment,.comment-main,.comment-bubble,.comments-list,.comments-wrap{overflow:visible!important}.comment:has(.comment-more-menu[open]){position:relative!important;z-index:100000!important}.comment-more-menu[open]{z-index:100001!important}.comment-more-panel{position:absolute!important;z-index:100002!important;top:34px!important;inset-inline-end:0!important;bottom:auto!important;max-height:none!important}.comment-more-menu[open] summary{position:relative!important;z-index:100003!important}
@media(max-width:860px){.folio-create-v170-head{grid-template-columns:1fr auto}.folio-create-v170-titlemark{grid-column:1/-1;grid-row:2}.folio-create-v170-actions{grid-template-columns:repeat(3,1fr)}.folio-reference-row-v170{grid-template-columns:1fr}.folio-branch-link-v170{grid-template-columns:auto 1fr}.folio-branch-link-v170 input{grid-column:1/-1}.birthdays-grid-v170{grid-template-columns:1fr}}
@media(max-width:600px){.folio-create-v170-form{padding:18px 14px}.folio-create-v170-user img{width:50px;height:50px}.folio-create-v170-title{font-size:21px!important}.folio-create-v170-body{font-size:17px!important}.folio-create-v170-actions{gap:10px}.folio-action-tile span{width:50px;height:50px}.folio-create-v170-footer{align-items:stretch;flex-direction:column}.folio-submit-actions{order:2}.folio-submit-actions .btn{flex:1}.folio-schedule-v170{justify-content:center}.comment-more-panel{position:absolute!important;inset-inline-end:0!important;left:auto!important;right:auto!important;bottom:auto!important;top:34px!important;max-width:calc(100vw - 48px)!important}}
[data-folio-panel="poll"]:not([hidden]){display:block!important}
.post:has(.comment-more-menu[open]),.work-full:has(.comment-more-menu[open]),.card:has(.comment-more-menu[open]){overflow:visible!important;position:relative!important;z-index:99990!important}


/* Folinq v171 - folio form redesign + compact credit network */
.folio-create-v171-shell{max-width:1380px;margin:20px auto;padding:0 18px}
.folio-create-v171-card{overflow:visible!important;border-radius:30px!important;border:1px solid #d8e2f0!important;box-shadow:0 18px 55px rgba(15,23,42,.06)!important;background:linear-gradient(180deg,#fff 0%,#fcfdff 100%)!important}
.folio-create-v171-form{padding:26px 26px 30px}
.folio-create-v171-head{display:grid;grid-template-columns:72px minmax(280px,1fr) minmax(280px,1fr);align-items:center;gap:18px;margin-bottom:18px}
.folio-create-v171-close{width:66px;height:66px;border-radius:18px;border:1px solid #dbe5f2;background:#fff;display:grid;place-items:center;color:#334155;text-decoration:none;box-shadow:0 8px 22px rgba(15,23,42,.04)}
.folio-create-v171-close span{font-size:34px;line-height:1}
.folio-create-v171-brand{display:flex;align-items:center;gap:16px}
.folio-create-v171-brand-icon{width:58px;height:58px;border-radius:18px;display:grid;place-items:center;background:#f4f8ff;color:#0a66c2;border:1px solid #dbe8fb;flex:0 0 auto}
.folio-create-v171-brand .folio-leaf-icon{width:33px;height:33px}
.folio-create-v171-brand b{display:block;font-size:24px;line-height:1.3;color:#172033}
.folio-create-v171-brand small{display:block;margin-top:4px;font-size:14px;color:#64748b}
.folio-create-v171-user{display:flex;align-items:center;justify-content:flex-end;gap:16px;text-align:right}
.folio-create-v171-user img{width:76px;height:76px;border-radius:50%;object-fit:cover;border:4px solid #fff;box-shadow:0 0 0 1px #dbe7f5,0 8px 18px rgba(15,23,42,.08)}
.folio-create-v171-user-meta{display:flex;flex-direction:column;align-items:flex-end;gap:8px}
.folio-create-v171-user-line{display:flex;align-items:center;gap:8px;color:#172033}
.folio-create-v171-user-line b{font-size:22px;line-height:1.25}
.folio-create-v171-visibility{display:flex;gap:8px;color:#7c8aa5}
.folio-create-v171-visibility span{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#f8fbff;border:1px solid #dbe7f5}
.folio-create-v171-visibility span.is-active{color:#0a66c2;background:#eff6ff;border-color:#bfdbfe}
.folio-create-v171-editor{padding:42px 14px 30px;border-bottom:1px solid #dbe7f5}
.folio-create-v171-title{font-size:29px!important;font-weight:950!important;line-height:1.6!important;color:#1e2a44!important;letter-spacing:-.02em}
.folio-create-v171-body{min-height:215px;font-size:21px!important;line-height:2.05!important;color:#475569!important;padding-top:18px!important}
.folio-create-v171-actions{direction:rtl;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:18px;padding:34px 6px 22px}
.folio-action-tile-v171{padding:0;background:transparent;border:0;color:#22314d}
.folio-action-tile-v171 b{font-size:14px;font-weight:900}
.folio-action-tile-v171 span{width:78px;height:78px;border-radius:20px;border:1px solid #dbe7f5;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.04)}
.folio-action-tile-v171:hover span{transform:translateY(-3px);box-shadow:0 14px 30px rgba(10,102,194,.10)}
.folio-current-cover-v171{padding:4px 6px 18px}
.folio-current-cover-v171 img{max-width:240px;border-radius:18px;box-shadow:0 10px 24px rgba(15,23,42,.07)}
.folio-tags-v171{margin-top:6px;display:flex;align-items:center;gap:12px;border:1px solid #dbe7f5;border-radius:18px;padding:0 18px;min-height:68px;background:#fff}
.folio-tags-v171 .li-icon,.folio-tags-v171 svg{width:24px;height:24px;color:#475569}
.folio-tags-v171 input{font-size:15px!important}
.folio-reference-row-v171{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:20px 2px 10px}
.folio-reference-row-v171 label{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;border-top:1px solid #dbe7f5}
.folio-reference-label-v171{display:inline-flex;align-items:center;gap:10px;color:#22314d;font-weight:900;white-space:nowrap}
.folio-reference-label-v171 .li-icon,.folio-reference-label-v171 svg{width:22px;height:22px}
.folio-reference-row-v171 select{min-width:220px;max-width:100%;border-color:#dbe7f5!important;border-radius:14px!important;background:#fff!important}
.folio-branch-link-v171{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(280px,1fr);align-items:center;gap:16px;border:1px solid #dbe7f5;border-radius:20px;background:#fff;padding:18px 20px;margin-top:8px}
.folio-branch-head-v171{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#22314d}
.folio-branch-head-v171 b{font-size:18px;line-height:1.5}
.folio-branch-copy-v171 small{display:block;margin-top:6px;color:#64748b;line-height:1.8}
.folio-branch-link-v171 input{border:0!important;box-shadow:none!important;background:#f8fbff!important;border-radius:16px!important;min-height:56px;padding:0 16px!important}
.folio-panel-v171{margin-top:18px;background:#f8fbff;border:1px solid #dbe7f5;border-radius:20px;padding:18px}
.folio-panel-v171 .field input,.folio-panel-v171 .field select{border-radius:14px!important}
.folio-create-v171-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:22px}
.folio-publish-v171{min-width:190px;height:54px;font-size:17px;border-radius:16px}
.folio-cancel-v171{min-width:140px;height:54px;border-radius:16px}
.folio-schedule-v171{min-height:54px;border-radius:16px;padding:0 22px}
.profile-credit-network-v171{border-style:solid!important}
.profile-panel-title-v171{align-items:flex-start!important}
.profile-credit-name-list-v171{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.profile-credit-name-list-v171 a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 16px;border-radius:999px;background:#f8fbff;border:1px solid #dbe7f5;color:#172033;font-weight:800;text-decoration:none;transition:.15s}
.profile-credit-name-list-v171 a:hover{background:#eff6ff;border-color:#bfdbfe;color:#0a66c2;transform:translateY(-1px)}
@media(max-width:980px){
  .folio-create-v171-head{grid-template-columns:72px 1fr;grid-template-areas:'close user' 'brand brand'}
  .folio-create-v171-close{grid-area:close}
  .folio-create-v171-user{grid-area:user}
  .folio-create-v171-brand{grid-area:brand}
  .folio-create-v171-actions{grid-template-columns:repeat(3,minmax(0,1fr))}
  .folio-reference-row-v171{grid-template-columns:1fr}
  .folio-branch-link-v171{grid-template-columns:1fr}
}
@media(max-width:640px){
  .folio-create-v171-shell{padding:0 10px}
  .folio-create-v171-form{padding:16px 14px 22px}
  .folio-create-v171-head{grid-template-columns:58px 1fr;gap:12px}
  .folio-create-v171-close{width:58px;height:58px;border-radius:16px}
  .folio-create-v171-brand{gap:12px}
  .folio-create-v171-brand-icon{width:50px;height:50px;border-radius:16px}
  .folio-create-v171-brand b{font-size:21px}
  .folio-create-v171-user img{width:62px;height:62px}
  .folio-create-v171-user-line b{font-size:19px}
  .folio-create-v171-editor{padding:28px 8px 22px}
  .folio-create-v171-title{font-size:23px!important}
  .folio-create-v171-body{min-height:170px;font-size:18px!important;line-height:1.9!important}
  .folio-create-v171-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:24px 0 16px}
  .folio-action-tile-v171 span{width:62px;height:62px;border-radius:18px}
  .folio-reference-row-v171 label{flex-direction:column;align-items:stretch}
  .folio-reference-row-v171 select{min-width:0;width:100%}
  .folio-create-v171-footer{flex-direction:column;align-items:stretch}
  .folio-submit-actions{width:100%}
  .folio-submit-actions .btn{flex:1}
  .folio-schedule-v171{width:100%;justify-content:center}
  .profile-credit-name-list-v171 a{width:100%;justify-content:flex-start}
}


/* Folinq v173 - strict leaf sizing, true editor redesign and bilingual 404 */
.folio-leaf-icon{width:18px!important;height:18px!important;min-width:18px!important;max-width:18px!important;display:inline-block!important;vertical-align:middle!important;color:#0a66c2!important;flex:0 0 18px!important}
.folio-leaf-compact,.quick-actions-minimal .folio-leaf-icon,.quick-actions .folio-leaf-icon{width:16px!important;height:16px!important;min-width:16px!important;max-width:16px!important;flex-basis:16px!important}
.folio-editor-v173-brandmark .folio-leaf-icon{width:27px!important;height:27px!important;min-width:27px!important;max-width:27px!important;flex-basis:27px!important}

.folio-editor-v173-shell{max-width:1380px;margin:18px auto;padding:0 18px}
.folio-editor-v173-card{background:#fff;border:1px solid #dbe4ef;border-radius:30px;box-shadow:0 22px 64px rgba(15,23,42,.08);overflow:visible}
.folio-editor-v173-form{padding:26px 30px 30px}
.folio-editor-v173-header{display:grid;grid-template-columns:70px minmax(260px,1fr) minmax(320px,1fr);gap:18px;align-items:center}
.folio-editor-v173-close{width:64px;height:64px;border-radius:17px;border:1px solid #dbe4ef;background:#fff;color:#334155;display:grid;place-items:center;font-size:34px;line-height:1;text-decoration:none;box-shadow:0 7px 20px rgba(15,23,42,.04)}
.folio-editor-v173-close:hover{background:#f8fbff;color:#0a66c2;border-color:#bfdbfe}
.folio-editor-v173-brand{display:flex;align-items:center;gap:14px}
.folio-editor-v173-brandmark{width:54px;height:54px;border-radius:16px;background:#f1f7ff;border:1px solid #d5e6fb;display:grid;place-items:center;color:#0a66c2}
.folio-editor-v173-brand>span:last-child{display:flex;flex-direction:column}
.folio-editor-v173-brand b{font-size:23px;line-height:1.35;color:#172033}
.folio-editor-v173-brand small{margin-top:4px;color:#64748b;font-size:14px}
.folio-editor-v173-account{display:flex;align-items:center;justify-content:flex-end;gap:12px;text-align:right}
.folio-editor-v173-account>img{width:74px;height:74px;border-radius:50%;object-fit:cover;border:4px solid #fff;box-shadow:0 0 0 1px #dbe4ef,0 8px 20px rgba(15,23,42,.08)}
.folio-editor-v173-account-copy{display:flex;flex-direction:column;align-items:flex-end;gap:8px}
.folio-editor-v173-account-copy>b{font-size:22px;color:#172033}
.folio-editor-v173-visibility{display:flex;align-items:center;gap:8px}
.folio-editor-v173-visibility i{font-style:normal;width:28px;height:28px;border-radius:50%;background:#f8fbff;border:1px solid #dbe4ef;color:#718096;display:grid;place-items:center}
.folio-editor-v173-visibility i.active{color:#0a66c2;background:#eff6ff;border-color:#bfdbfe}
.folio-editor-v173-visibility svg{width:14px!important;height:14px!important}
.folio-editor-v173-main{padding:44px 12px 34px;border-bottom:1px solid #dbe4ef}
.folio-editor-v173-title{display:block;width:100%;border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important;text-align:right!important;font-size:29px!important;font-weight:950!important;line-height:1.65!important;color:#1d2940!important}
.folio-editor-v173-body{display:block;width:100%;min-height:210px;border:0!important;background:transparent!important;box-shadow:none!important;resize:vertical;padding:20px 0 0!important;text-align:right!important;font-size:21px!important;line-height:2!important;color:#475569!important}
.folio-editor-v173-tools{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:22px;padding:34px 6px 26px}
.folio-editor-v173-tool{border:0;background:transparent;color:#26344d;display:flex;flex-direction:column;align-items:center;gap:10px;cursor:pointer;padding:0}
.folio-editor-v173-tool>span{width:68px;height:68px;border:1px solid #dbe4ef;border-radius:18px;background:#fff;display:grid;place-items:center;box-shadow:0 8px 22px rgba(15,23,42,.035);transition:.16s}
.folio-editor-v173-tool>span svg{width:25px!important;height:25px!important}
.folio-editor-v173-tool>b{font-size:14px;font-weight:900}
.folio-editor-v173-tool:hover>span{transform:translateY(-3px);color:#0a66c2;border-color:#a8cdf5;background:#f8fbff;box-shadow:0 14px 28px rgba(10,102,194,.10)}
.folio-editor-v173-tool input{display:none}
.folio-editor-v173-cover{padding:0 6px 20px}
.folio-editor-v173-cover img{max-width:240px;border-radius:18px;box-shadow:0 10px 26px rgba(15,23,42,.08)}
.folio-editor-v173-tags{min-height:66px;border:1px solid #dbe4ef;border-radius:18px;background:#fff;display:flex;align-items:center;gap:12px;padding:0 18px}
.folio-editor-v173-tags>svg{width:23px!important;height:23px!important;color:#475569}
.folio-editor-v173-tags input{flex:1;border:0!important;box-shadow:none!important;background:transparent!important;font-size:15px!important}
.folio-editor-v173-references{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:18px 4px 10px}
.folio-editor-v173-references label{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 0;border-top:1px solid #dbe4ef}
.folio-editor-v173-references label>span{display:inline-flex;align-items:center;gap:9px;white-space:nowrap;color:#26344d}
.folio-editor-v173-references select{min-width:220px;border-radius:14px!important;border-color:#dbe4ef!important;background:#fff!important}
.folio-editor-v173-branch{display:grid;grid-template-columns:minmax(240px,.82fr) minmax(300px,1.18fr);align-items:center;gap:16px;border:1px solid #dbe4ef;border-radius:19px;background:#fff;padding:18px 20px;margin-top:8px}
.folio-editor-v173-branch-copy{display:flex;flex-direction:column}
.folio-editor-v173-branch-title{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#26344d}
.folio-editor-v173-branch-title b{font-size:17px}
.folio-editor-v173-branch-copy small{margin-top:5px;color:#64748b;line-height:1.8}
.folio-editor-v173-branch>input{min-height:54px;border:0!important;background:#f8fbff!important;border-radius:15px!important;box-shadow:none!important;padding:0 15px!important}
.folio-editor-v173-panel{margin-top:18px;padding:18px;border:1px solid #dbe4ef;border-radius:19px;background:#f8fbff}
.folio-editor-v173-panel-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.folio-editor-v173-panel-head h3{margin:0}
.folio-editor-v173-panel-head button{border:0;background:transparent;font-size:25px;cursor:pointer}
.folio-editor-v173-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:24px}
.folio-editor-v173-footer>div{display:flex;gap:10px}
.folio-editor-v173-publish{min-width:190px;height:54px;border-radius:16px;font-size:17px}
.folio-editor-v173-cancel{min-width:135px;height:54px;border-radius:16px}
.folio-editor-v173-schedule{min-height:54px;border:1px solid #dbe4ef;background:#fff;border-radius:16px;padding:0 20px;color:#334155;display:inline-flex;align-items:center;gap:8px;cursor:pointer;font-weight:850}

.error-404-v173{max-width:920px;margin:34px auto;padding:30px 28px 34px;background:#fff;border:1px solid #dbe4ef;border-radius:26px;box-shadow:0 18px 50px rgba(15,23,42,.06);text-align:center}
.error-404-v173-art{display:block;width:min(620px,88%);max-height:290px;object-fit:contain;margin:0 auto 4px}
.error-404-v173-copy h1{margin:0;color:#1f2937;font-size:34px;line-height:1.45}
.error-404-v173-lead{margin:14px 0 4px;color:#475569;font-size:17px}
.error-404-v173-note{margin:0;color:#64748b;font-size:14px}
.error-404-v173-request{display:block;margin-top:16px;color:#475569}
.error-404-v173-actions{display:flex;justify-content:center;gap:10px;margin-top:24px}
.error-404-v173[dir="ltr"]{font-family:Inter,Arial,sans-serif}
.error-404-v173[dir="ltr"] .error-404-v173-copy h1,.error-404-v173[dir="ltr"] .error-404-v173-lead,.error-404-v173[dir="ltr"] .error-404-v173-note{text-align:center;direction:ltr}
@media(max-width:900px){
  .folio-editor-v173-header{grid-template-columns:64px 1fr;grid-template-areas:'close account' 'brand brand'}
  .folio-editor-v173-close{grid-area:close}
  .folio-editor-v173-brand{grid-area:brand}
  .folio-editor-v173-account{grid-area:account}
  .folio-editor-v173-tools{grid-template-columns:repeat(3,minmax(0,1fr))}
  .folio-editor-v173-references{grid-template-columns:1fr}
  .folio-editor-v173-branch{grid-template-columns:1fr}
}
@media(max-width:620px){
  .folio-editor-v173-shell{padding:0 8px;margin:8px auto}
  .folio-editor-v173-card{border-radius:20px}
  .folio-editor-v173-form{padding:15px 13px 22px}
  .folio-editor-v173-header{grid-template-columns:54px 1fr;gap:10px}
  .folio-editor-v173-close{width:54px;height:54px;border-radius:15px}
  .folio-editor-v173-brandmark{width:48px;height:48px}
  .folio-editor-v173-brand b{font-size:20px}
  .folio-editor-v173-account>img{width:58px;height:58px}
  .folio-editor-v173-account-copy>b{font-size:18px}
  .folio-editor-v173-main{padding:28px 7px 22px}
  .folio-editor-v173-title{font-size:22px!important}
  .folio-editor-v173-body{font-size:17px!important;min-height:170px}
  .folio-editor-v173-tools{gap:12px;padding:24px 0 18px}
  .folio-editor-v173-tool>span{width:56px;height:56px;border-radius:16px}
  .folio-editor-v173-tool>b{font-size:12px}
  .folio-editor-v173-references label{align-items:stretch;flex-direction:column}
  .folio-editor-v173-references select{min-width:0;width:100%}
  .folio-editor-v173-footer{align-items:stretch;flex-direction:column}
  .folio-editor-v173-footer>div{width:100%}
  .folio-editor-v173-footer .btn{flex:1}
  .folio-editor-v173-schedule{width:100%;justify-content:center}
  .error-404-v173{margin:14px 8px;padding:22px 16px 28px}
  .error-404-v173-copy h1{font-size:27px}
  .error-404-v173-actions{flex-direction:column}
}


/* Folinq v174 - redesigned quick create Folio modal */
.post-modal.open{display:flex!important;align-items:center!important;justify-content:center!important;padding:14px!important;overflow:auto!important}
.post-modal .folio-quick-v174-card{width:min(1240px,calc(100vw - 32px))!important;max-width:1240px!important;max-height:calc(100vh - 28px)!important;overflow:auto!important;margin:auto!important;padding:26px 30px 30px!important;border-radius:28px!important;border:1px solid #dbe4ef!important;background:#fff!important;box-shadow:0 28px 80px rgba(15,23,42,.18)!important;position:relative!important;z-index:2!important}
.folio-quick-v174-header{display:grid;grid-template-columns:64px minmax(260px,1fr) minmax(300px,1fr);gap:18px;align-items:center}
.folio-quick-v174-close{width:60px;height:60px;border:1px solid #dbe4ef;border-radius:17px;background:#fff;color:#334155;font-size:32px;line-height:1;cursor:pointer;display:grid;place-items:center}
.folio-quick-v174-brand{display:flex;align-items:center;gap:13px}.folio-quick-v174-brand>span:last-child{display:flex;flex-direction:column}.folio-quick-v174-brand b{font-size:23px;color:#172033}.folio-quick-v174-brand small{margin-top:3px;color:#64748b;font-size:13px}.folio-quick-v174-leaf{width:52px;height:52px;border-radius:16px;background:#f1f7ff;border:1px solid #d5e6fb;color:#0a66c2;display:grid;place-items:center}.folio-quick-v174-leaf .folio-leaf-icon{width:25px!important;height:25px!important;min-width:25px!important;max-width:25px!important}
.folio-quick-v174-account{display:flex;align-items:center;justify-content:flex-end;gap:12px;text-align:right}.folio-quick-v174-account>span{display:flex;flex-direction:column;align-items:flex-end}.folio-quick-v174-account b{font-size:20px;color:#172033}.folio-quick-v174-account small{margin-top:3px;color:#64748b}.folio-quick-v174-account img{width:70px;height:70px;border-radius:50%;object-fit:cover;border:4px solid #fff;box-shadow:0 0 0 1px #dbe4ef,0 8px 20px rgba(15,23,42,.08)}
.folio-quick-v174-editor{padding:38px 10px 28px;border-bottom:1px solid #dbe4ef}.folio-quick-v174-title{width:100%;border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important;text-align:right!important;font-size:27px!important;font-weight:950!important;line-height:1.6!important;color:#1d2940!important}.folio-quick-v174-body{width:100%;min-height:190px;border:0!important;background:transparent!important;box-shadow:none!important;resize:vertical;padding:18px 0 0!important;text-align:right!important;font-size:20px!important;line-height:2!important;color:#475569!important}
.folio-quick-v174-tools{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:20px;padding:30px 4px 24px}.folio-quick-v174-tool{border:0;background:transparent;color:#26344d;display:flex;flex-direction:column;align-items:center;gap:9px;cursor:pointer;padding:0}.folio-quick-v174-tool>span{width:66px;height:66px;border:1px solid #dbe4ef;border-radius:18px;background:#fff;display:grid;place-items:center;box-shadow:0 8px 22px rgba(15,23,42,.035);transition:.16s}.folio-quick-v174-tool>span svg{width:24px!important;height:24px!important}.folio-quick-v174-tool>b{font-size:13px;font-weight:900}.folio-quick-v174-tool:hover>span{transform:translateY(-3px);color:#0a66c2;border-color:#a8cdf5;background:#f8fbff}.folio-quick-v174-tool input{display:none}
.folio-quick-v174-tags{min-height:64px;border:1px solid #dbe4ef;border-radius:18px;background:#fff;display:flex;align-items:center;gap:12px;padding:0 18px}.folio-quick-v174-tags>svg{width:22px!important;height:22px!important;color:#475569}.folio-quick-v174-tags input{flex:1;border:0!important;box-shadow:none!important;background:transparent!important;font-size:15px!important}
.folio-quick-v174-references{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:18px 4px 10px}.folio-quick-v174-references label{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 0;border-top:1px solid #dbe4ef}.folio-quick-v174-references label>span{display:inline-flex;align-items:center;gap:9px;white-space:nowrap}.folio-quick-v174-references select{min-width:220px;border-radius:14px!important;border-color:#dbe4ef!important;background:#fff!important}
.folio-quick-v174-branch{display:grid;grid-template-columns:minmax(220px,.8fr) auto minmax(280px,1.2fr);gap:14px;align-items:center;border:1px solid #dbe4ef;border-radius:19px;background:#fff;padding:17px 19px;margin-top:8px}.folio-quick-v174-branch>span{display:flex;flex-direction:column}.folio-quick-v174-branch small{margin-top:4px;color:#64748b}.folio-quick-v174-branch>svg{width:22px!important;height:22px!important;color:#475569}.folio-quick-v174-branch input{min-height:52px;border:0!important;background:#f8fbff!important;border-radius:15px!important;box-shadow:none!important;padding:0 15px!important}
.folio-quick-v174-panel{margin-top:16px;padding:17px;border:1px solid #dbe4ef;border-radius:18px;background:#f8fbff}.folio-quick-v174-panel-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.folio-quick-v174-panel-head h3{margin:0}.folio-quick-v174-panel-head button{border:0;background:transparent;font-size:24px;cursor:pointer}.folio-quick-v174-panel input,.folio-quick-v174-panel select{border-radius:13px!important}
.folio-quick-v174-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:22px}.folio-quick-v174-footer>div{display:flex;gap:10px}.folio-quick-v174-publish{min-width:180px;height:52px;border-radius:16px;font-size:16px}.folio-quick-v174-footer .secondary{min-width:130px;height:52px;border-radius:16px}.folio-quick-v174-schedule{min-height:52px;border:1px solid #dbe4ef;background:#fff;border-radius:16px;padding:0 18px;color:#334155;display:inline-flex;align-items:center;gap:8px;cursor:pointer;font-weight:850}
form[data-birthday-congratulation]{margin:0;display:inline-flex}form[data-birthday-congratulation].is-sent button{background:#ecfdf5!important;border-color:#a7f3d0!important;color:#047857!important;cursor:default}
@media(max-width:900px){.folio-quick-v174-header{grid-template-columns:60px 1fr;grid-template-areas:'close account' 'brand brand'}.folio-quick-v174-close{grid-area:close}.folio-quick-v174-brand{grid-area:brand}.folio-quick-v174-account{grid-area:account}.folio-quick-v174-tools{grid-template-columns:repeat(3,minmax(0,1fr))}.folio-quick-v174-references{grid-template-columns:1fr}.folio-quick-v174-branch{grid-template-columns:1fr}.folio-quick-v174-branch>svg{display:none}}
@media(max-width:620px){.post-modal{padding:0!important}.post-modal .folio-quick-v174-card{width:100%!important;max-height:100vh!important;border-radius:0!important;padding:15px 13px 22px!important}.folio-quick-v174-header{grid-template-columns:52px 1fr;gap:10px}.folio-quick-v174-close{width:52px;height:52px}.folio-quick-v174-account img{width:56px;height:56px}.folio-quick-v174-account b{font-size:17px}.folio-quick-v174-brand b{font-size:20px}.folio-quick-v174-editor{padding:26px 6px 20px}.folio-quick-v174-title{font-size:21px!important}.folio-quick-v174-body{min-height:160px;font-size:17px!important}.folio-quick-v174-tools{gap:10px;padding:22px 0 16px}.folio-quick-v174-tool>span{width:55px;height:55px}.folio-quick-v174-references label{flex-direction:column;align-items:stretch}.folio-quick-v174-references select{min-width:0;width:100%}.folio-quick-v174-footer{flex-direction:column;align-items:stretch}.folio-quick-v174-footer>div{width:100%}.folio-quick-v174-footer>div .btn{flex:1}.folio-quick-v174-schedule{width:100%;justify-content:center}}


/* Folinq v175 - compact quick-create modal, language persistence UI and profile create action */
.post-modal.open{padding:18px!important;align-items:center!important;justify-content:center!important}
.post-modal .folio-quick-v174-card{width:min(780px,calc(100vw - 34px))!important;max-width:780px!important;max-height:calc(100vh - 36px)!important;min-height:0!important;margin:auto!important;padding:18px 20px 20px!important;border-radius:20px!important;overflow:auto!important}
.folio-quick-v174-header{grid-template-columns:48px minmax(180px,1fr) minmax(220px,1fr)!important;gap:12px!important}
.folio-quick-v174-close{width:46px!important;height:46px!important;border-radius:14px!important;font-size:27px!important}
.folio-quick-v174-leaf{width:42px!important;height:42px!important;border-radius:13px!important}
.folio-quick-v174-leaf .folio-leaf-icon{width:19px!important;height:19px!important;min-width:19px!important;max-width:19px!important}
.folio-quick-v174-brand{gap:9px!important}.folio-quick-v174-brand b{font-size:18px!important}.folio-quick-v174-brand small{font-size:11px!important}
.folio-quick-v174-account{gap:9px!important}.folio-quick-v174-account img{width:48px!important;height:48px!important;border-width:3px!important}.folio-quick-v174-account b{font-size:16px!important}.folio-quick-v174-account small{font-size:11px!important}
.folio-quick-v174-editor{padding:20px 4px 14px!important}.folio-quick-v174-title{font-size:19px!important;line-height:1.5!important}.folio-quick-v174-body{min-height:105px!important;max-height:180px!important;font-size:15px!important;line-height:1.8!important;padding-top:10px!important}
.folio-quick-v174-tools{gap:8px!important;padding:16px 0 12px!important}.folio-quick-v174-tool{gap:5px!important}.folio-quick-v174-tool>span{width:44px!important;height:44px!important;border-radius:13px!important}.folio-quick-v174-tool>span svg{width:18px!important;height:18px!important}.folio-quick-v174-tool>b{font-size:11px!important}
.folio-quick-v174-tags{min-height:46px!important;border-radius:14px!important;padding:0 13px!important}.folio-quick-v174-tags input{font-size:12.5px!important}.folio-quick-v174-tags>svg{width:18px!important;height:18px!important}
.folio-quick-v174-references{gap:10px!important;padding:10px 0 6px!important}.folio-quick-v174-references label{gap:8px!important;padding:7px 0!important;font-size:12px!important}.folio-quick-v174-references select{min-width:160px!important;height:38px!important;border-radius:11px!important;font-size:12px!important}
.folio-quick-v174-branch{grid-template-columns:minmax(180px,.8fr) auto minmax(220px,1.2fr)!important;gap:10px!important;padding:10px 13px!important;border-radius:14px!important;margin-top:4px!important}.folio-quick-v174-branch b{font-size:13px!important}.folio-quick-v174-branch small{font-size:11px!important}.folio-quick-v174-branch input{min-height:40px!important;border-radius:11px!important;font-size:12px!important}
.folio-quick-v174-panel{margin-top:10px!important;padding:12px!important;border-radius:14px!important}.folio-quick-v174-panel-head{margin-bottom:8px!important}.folio-quick-v174-panel-head h3{font-size:14px!important}
.folio-quick-v174-footer{padding-top:12px!important;gap:10px!important}.folio-quick-v174-publish{min-width:130px!important;height:42px!important;border-radius:12px!important;font-size:13px!important}.folio-quick-v174-footer .secondary{min-width:92px!important;height:42px!important;border-radius:12px!important}.folio-quick-v174-schedule{min-height:42px!important;border-radius:12px!important;padding:0 13px!important;font-size:12px!important}
.profile-tabs-v175{display:flex!important;align-items:center!important;gap:8px!important}
.profile-create-folio-btn-v175{margin-left:auto!important;background:#0a66c2!important;color:#fff!important;border-color:#0a66c2!important;display:inline-flex!important;align-items:center!important;gap:7px!important;box-shadow:0 8px 18px rgba(10,102,194,.16)!important}
.profile-create-folio-btn-v175:hover{background:#084f98!important;color:#fff!important}
.q-locale-en .profile-create-folio-btn-v175{margin-left:0!important;margin-right:auto!important}
@media(max-width:820px){.post-modal .folio-quick-v174-card{width:min(680px,calc(100vw - 20px))!important;padding:15px 14px 18px!important}.folio-quick-v174-header{grid-template-columns:46px 1fr!important;grid-template-areas:'close account' 'brand brand'!important}.folio-quick-v174-tools{grid-template-columns:repeat(3,minmax(0,1fr))!important}.folio-quick-v174-references{grid-template-columns:1fr!important}.folio-quick-v174-branch{grid-template-columns:1fr!important}}
@media(max-width:560px){.post-modal.open{padding:0!important}.post-modal .folio-quick-v174-card{width:100%!important;max-height:100vh!important;border-radius:0!important}.profile-tabs-v175{flex-wrap:wrap!important}.profile-create-folio-btn-v175{width:100%!important;justify-content:center!important;margin:4px 0 0!important}}


/* Folinq v176 - compact bilingual folio forms */
.folio-tools-v176 .folio-editor-v173-tool>b,.folio-tools-v176 .folio-quick-v174-tool>b{display:none!important}
.folio-tools-v176 .folio-editor-v173-tool,.folio-tools-v176 .folio-quick-v174-tool{gap:0!important}
.folio-tools-v176{padding-top:14px!important;padding-bottom:14px!important}
.folio-tools-v176 .folio-editor-v173-tool>span,.folio-tools-v176 .folio-quick-v174-tool>span{width:46px!important;height:46px!important;border-radius:13px!important}
.folio-tools-v176 .folio-editor-v173-tool>span svg,.folio-tools-v176 .folio-quick-v174-tool>span svg{width:19px!important;height:19px!important}
.folio-visibility-v176{display:inline-flex!important;align-items:center!important;gap:5px!important}
.folio-visibility-v176 button{appearance:none;border:1px solid #dbe7f5;background:#fff;color:#7a8799;width:28px;height:28px;border-radius:999px;display:grid;place-items:center;padding:0;cursor:pointer;transition:.15s}
.folio-visibility-v176 button svg{width:14px!important;height:14px!important}
.folio-visibility-v176 button:hover,.folio-visibility-v176 button.active{color:#0a66c2;border-color:#9dc8f4;background:#eef6ff;box-shadow:0 0 0 2px rgba(10,102,194,.07)}
.folio-quick-v176-visibility{margin-top:4px}
.folio-tags-widget-v176{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:7px!important;cursor:text}
.folio-tags-widget-v176>[data-tag-entry]{min-width:150px!important;flex:1 1 180px!important;border:0!important;box-shadow:none!important;background:transparent!important}
.folio-tags-widget-v176>[data-tag-value]{display:none!important}
.folio-tag-chips-v176{display:flex;align-items:center;flex-wrap:wrap;gap:6px}
.folio-tag-chip-v176{display:inline-flex;align-items:center;gap:5px;min-height:28px;padding:0 9px;border-radius:999px;background:#eaf4ff;border:1px solid #bfdbfe;color:#075da8;font-size:12px}
.folio-tag-chip-v176 b{font-weight:850}
.folio-tag-chip-v176 button{border:0;background:transparent;color:#075da8;cursor:pointer;font-size:16px;line-height:1;padding:0}
.folio-references-v176 label{align-content:start!important;flex-wrap:wrap!important}
.folio-selected-reference-v176{width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:7px;padding:7px 10px;border-radius:10px;background:#eaf4ff;border:1px solid #bfdbfe;color:#075da8;font-size:12px;font-weight:800}
.folio-selected-reference-v176[hidden]{display:none!important}
.folio-selected-reference-v176 button{border:0;background:transparent;color:#075da8;cursor:pointer;font-size:17px;padding:0;line-height:1}
.folio-panel-v176{padding:10px 12px!important;margin-top:9px!important;border-radius:13px!important;max-height:none!important}
.folio-panel-v176 .folio-editor-v173-panel-head,.folio-panel-v176 .folio-quick-v174-panel-head{margin-bottom:7px!important}
.folio-panel-v176 .folio-editor-v173-panel-head h3,.folio-panel-v176 .folio-quick-v174-panel-head h3{font-size:13px!important;margin:0!important}
.folio-settings-grid-v176{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px 9px}
.folio-settings-grid-v176 .field{margin:0!important}
.folio-settings-grid-v176 .field>label{display:block;margin-bottom:3px;font-size:10px!important;color:#475569;font-weight:850}
.folio-settings-grid-v176 input,.folio-settings-grid-v176 select{min-height:34px!important;height:34px!important;padding:4px 8px!important;border-radius:9px!important;font-size:11px!important}
.folio-settings-grid-v176 .toggle-line{min-height:34px;display:flex!important;align-items:center!important;gap:6px!important;margin:0!important}
.folio-editor-v176-shell{max-width:820px!important}
.folio-editor-v176-card{border-radius:20px!important}
.folio-editor-v176-main{padding-top:20px!important;padding-bottom:14px!important}
.q-locale-en .folio-editor-v173-title,.q-locale-en .folio-editor-v173-body,.q-locale-en .folio-quick-v174-title,.q-locale-en .folio-quick-v174-body{text-align:left!important;direction:ltr!important}
.q-locale-en .folio-editor-v173-account,.q-locale-en .folio-quick-v174-account{text-align:left!important}
@media(max-width:720px){.folio-settings-grid-v176{grid-template-columns:repeat(2,minmax(0,1fr))}.folio-tools-v176{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:5px!important}.folio-tools-v176 .folio-editor-v173-tool>span,.folio-tools-v176 .folio-quick-v174-tool>span{width:42px!important;height:42px!important}}
@media(max-width:480px){.folio-settings-grid-v176{grid-template-columns:1fr}.folio-tools-v176{grid-template-columns:repeat(3,minmax(0,1fr))!important}}


/* Folinq v177 - LinkedIn-sized compact folio composer */
.folio-editor-v177-shell{max-width:660px!important;margin:14px auto!important;padding:0 10px!important}
.folio-editor-v177-card{border-radius:18px!important;box-shadow:0 14px 38px rgba(15,23,42,.08)!important;overflow:visible!important}
.folio-editor-v177-card .folio-editor-v173-form{padding:14px 16px 16px!important}
.folio-editor-v177-header{gap:10px!important;margin-bottom:6px!important}
.folio-editor-v177-close{width:40px!important;height:40px!important;border-radius:12px!important;font-size:24px!important}
.folio-editor-v177-brand{gap:8px!important}
.folio-editor-v177-brandmark{width:40px!important;height:40px!important;border-radius:12px!important}
.folio-editor-v177-brandmark svg{width:21px!important;height:21px!important}
.folio-editor-v177-brand b{font-size:15px!important}
.folio-editor-v177-brand small{font-size:10px!important;margin-top:1px!important}
.folio-editor-v177-account img{width:44px!important;height:44px!important}
.folio-editor-v177-account b{font-size:14px!important}
.folio-editor-v177-main{padding:10px 2px 8px!important}
.folio-editor-v177-title{font-size:17px!important;line-height:1.45!important;min-height:34px!important}
.folio-editor-v177-body{font-size:14px!important;line-height:1.75!important;min-height:105px!important;padding-top:6px!important}
.folio-editor-v177-main .char-counter{font-size:9px!important}
#postComposer .folio-quick-v177-card{width:min(620px,calc(100vw - 28px))!important;max-height:88vh!important;border-radius:18px!important;padding:14px 16px 16px!important;overflow-y:auto!important;overscroll-behavior:contain}
.folio-quick-v177-header{gap:10px!important;margin-bottom:4px!important}
.folio-quick-v177-brand b{font-size:15px!important}.folio-quick-v177-brand small{font-size:10px!important}
.folio-quick-v177-account img{width:44px!important;height:44px!important}.folio-quick-v177-account b{font-size:14px!important}
.folio-quick-v177-editor{padding:10px 2px 8px!important;min-height:0!important}
.folio-quick-v177-title{font-size:17px!important;min-height:34px!important}
.folio-quick-v177-body{font-size:14px!important;line-height:1.75!important;min-height:105px!important;padding-top:6px!important}
.folio-tools-v177{display:flex!important;align-items:flex-start!important;justify-content:center!important;gap:10px!important;padding:12px 0 8px!important;border-top:1px solid #e4ebf4!important;flex-wrap:nowrap!important;overflow-x:auto!important}
.folio-tool-v177{flex:0 0 auto!important;min-width:42px!important;max-width:72px!important;position:relative!important}
.folio-tool-v177>span{width:38px!important;height:38px!important;border-radius:11px!important;box-shadow:none!important}
.folio-tool-v177>span svg{width:16px!important;height:16px!important}
.folio-tool-v177.active>span{color:#0a66c2!important;background:#eef6ff!important;border-color:#9dc8f4!important}
.folio-tool-v177 small[data-file-name-for]{display:block!important;width:72px!important;max-width:72px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;margin-top:4px!important;font-size:8.5px!important;line-height:1.2!important;color:#64748b!important;text-align:center!important;direction:ltr!important}
.folio-inline-pickers-v177{display:grid;grid-template-columns:1fr;gap:7px;margin:4px 0 8px}
.folio-inline-picker-v177{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px;align-items:center;padding:8px 10px;border:1px solid #dbe7f5;border-radius:12px;background:#f8fbff}
.folio-inline-picker-v177[hidden]{display:none!important}
.folio-inline-picker-v177>div:first-child{display:flex;align-items:center;gap:6px;white-space:nowrap;color:#334155;font-size:11px}
.folio-inline-picker-v177>div:first-child svg{width:15px;height:15px}
.folio-inline-picker-v177 select{height:32px!important;min-height:32px!important;border-radius:9px!important;font-size:10px!important;padding:2px 8px!important}
.folio-inline-picker-v177 .folio-selected-reference-v176{grid-column:1/-1;margin-top:0!important;padding:6px 8px!important;font-size:10px!important}
.folio-image-preview-v177{position:relative;margin:6px 0 8px;border-radius:13px;overflow:hidden;border:1px solid #dbe7f5;background:#f8fbff;max-height:240px}
.folio-image-preview-v177[hidden]{display:none!important}
.folio-image-preview-v177 img{display:block;width:100%;max-height:240px;object-fit:contain;background:#eef3f8}
.folio-image-preview-actions-v177{position:absolute;inset-inline-end:8px;bottom:8px;display:flex;gap:6px}
.folio-image-preview-actions-v177 button{border:1px solid rgba(255,255,255,.72);background:rgba(15,23,42,.78);color:#fff;border-radius:9px;padding:6px 9px;font-size:10px;cursor:pointer;backdrop-filter:blur(6px)}
.folio-tags-v177{min-height:42px!important;border-radius:12px!important;padding:4px 10px!important;margin-top:2px!important}
.folio-tags-v177 input{font-size:11px!important}
.folio-branch-v177{min-height:56px!important;padding:9px 12px!important;border-radius:12px!important;grid-template-columns:minmax(140px,.8fr) minmax(160px,1fr)!important;gap:10px!important}
.folio-branch-v177 b{font-size:11px!important}.folio-branch-v177 small{font-size:9px!important;line-height:1.45!important}.folio-branch-v177 input{height:34px!important;min-height:34px!important;font-size:10px!important}
.folio-panel-v177{padding:8px 10px!important;margin-top:7px!important;border-radius:12px!important}
.folio-panel-v177 .folio-editor-v173-panel-head,.folio-panel-v177 .folio-quick-v174-panel-head{margin-bottom:6px!important}
.folio-panel-v177 .folio-editor-v173-panel-head h3,.folio-panel-v177 .folio-quick-v174-panel-head h3{font-size:11px!important}
.folio-settings-grid-v177{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important}
.folio-settings-grid-v177 .field>label{font-size:9px!important;margin-bottom:2px!important}
.folio-settings-grid-v177 input,.folio-settings-grid-v177 select{height:30px!important;min-height:30px!important;font-size:9.5px!important;border-radius:8px!important;padding:3px 7px!important}
.folio-footer-v177{padding-top:10px!important;gap:8px!important}
.folio-footer-v177 .btn,.folio-footer-v177 .folio-editor-v173-schedule,.folio-footer-v177 .folio-quick-v174-schedule{height:38px!important;min-height:38px!important;border-radius:10px!important;font-size:11px!important;padding:0 13px!important}
@media(max-width:700px){
  .folio-tools-v177{justify-content:flex-start!important}
  .folio-branch-v177{grid-template-columns:1fr!important}
  .folio-settings-grid-v177{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:460px){
  #postComposer .folio-quick-v177-card{width:100%!important;max-height:100vh!important;border-radius:0!important}
  .folio-editor-v177-shell{padding:0!important;margin:0!important}
  .folio-editor-v177-card{border-radius:0!important}
  .folio-settings-grid-v177{grid-template-columns:1fr!important}
}

/* Folinq v178 - composer upload controls */
.folio-image-preview-actions-v178{inset-inline-end:10px!important;bottom:10px!important;gap:7px!important}
.folio-preview-icon-v178{width:34px!important;height:34px!important;padding:0!important;border-radius:50%!important;display:grid!important;place-items:center!important;background:rgba(15,23,42,.82)!important;color:#fff!important;border:1px solid rgba(255,255,255,.78)!important;box-shadow:0 8px 22px rgba(15,23,42,.22)!important;backdrop-filter:blur(7px)}
.folio-preview-icon-v178 .li-icon,.folio-preview-icon-v178 svg{width:15px!important;height:15px!important}
.folio-preview-icon-v178:hover{background:#0a66c2!important;transform:translateY(-1px)}
.folio-preview-icon-v178.danger{background:rgba(190,24,93,.88)!important}
.folio-preview-icon-v178.danger:hover{background:#dc2626!important}
.folio-tools-v178{overflow:visible!important;align-items:flex-start!important}
.folio-file-tool-v178{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:44px;max-width:94px;position:relative;flex:0 0 auto}
.folio-file-tool-v178 .folio-tool-v177{min-width:42px!important}
.folio-file-chip-v178{display:flex;align-items:center;justify-content:center;gap:4px;max-width:94px;min-height:20px;padding:2px 5px;border-radius:7px;background:#eef6ff;border:1px solid #bfdbfe;color:#075da8;direction:ltr}
.folio-file-chip-v178[hidden]{display:none!important}
.folio-file-chip-v178 small{display:block!important;max-width:72px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;margin:0!important;color:#075da8!important;font-size:8.5px!important;line-height:1.15!important;text-align:center!important}
.folio-file-chip-v178 button{width:15px;height:15px;min-width:15px;border:0;background:#fff1f2;color:#dc2626;border-radius:50%;display:grid;place-items:center;padding:0;line-height:1;font-size:12px;font-weight:950;cursor:pointer}
.folio-file-chip-v178 button:hover{background:#dc2626;color:#fff}

/* Folinq v178 - user behavior analytics */
.behavior-admin-v178{max-width:1440px;margin:0 auto 40px;padding:0 14px}
.behavior-hero-v178{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px 30px;border-radius:24px;background:linear-gradient(135deg,#fff 0%,#f6faff 55%,#edf6ff 100%);border:1px solid #dbe7f5;box-shadow:0 18px 50px rgba(15,23,42,.06)}
.behavior-kicker-v178{display:inline-flex;padding:5px 10px;border-radius:999px;background:#eaf4ff;color:#075da8;font-size:11px;font-weight:900;letter-spacing:.04em}
.behavior-hero-v178 h1{margin:8px 0 6px;font-size:30px;color:#172033}
.behavior-hero-v178 p{margin:0;color:#64748b;line-height:1.9}
.behavior-hero-actions-v178{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.behavior-live-pill-v178{display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:0 15px;border-radius:999px;background:#ecfdf5;color:#047857;font-weight:900;border:1px solid #a7f3d0}
.behavior-live-pill-v178 i{width:9px;height:9px;border-radius:50%;background:#10b981;box-shadow:0 0 0 6px rgba(16,185,129,.12)}
.behavior-stat-grid-v178{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:16px 0}
.behavior-stat-v178{padding:18px;border-radius:18px;background:#fff;border:1px solid #dbe7f5;box-shadow:0 10px 30px rgba(15,23,42,.04)}
.behavior-stat-v178 span,.behavior-stat-v178 small{display:block;color:#64748b}.behavior-stat-v178 span{font-size:12px;font-weight:850}.behavior-stat-v178 b{display:block;margin:8px 0 4px;font-size:24px;color:#0f3d73}.behavior-stat-v178 small{font-size:10px}
.behavior-stat-v178.is-alert{background:#fff7ed;border-color:#fed7aa}.behavior-stat-v178.is-alert b{color:#c2410c}
.behavior-main-grid-v178{display:grid;grid-template-columns:1.35fr .65fr;gap:14px;margin-bottom:14px}
.behavior-panel-v178{padding:18px;border-radius:20px;border:1px solid #dbe7f5;box-shadow:0 12px 34px rgba(15,23,42,.045);overflow:visible}
.behavior-panel-head-v178{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}
.behavior-panel-head-v178 h2{margin:0;color:#172033;font-size:18px}.behavior-panel-head-v178 p{margin:5px 0 0;color:#64748b;font-size:11px}.behavior-panel-head-v178>span{font-size:10px;color:#64748b;background:#f8fbff;border:1px solid #dbe7f5;padding:6px 9px;border-radius:999px;white-space:nowrap}
.behavior-online-list-v178{display:flex;flex-direction:column;gap:8px}
.behavior-online-list-v178 article{display:grid;grid-template-columns:auto minmax(150px,.8fr) minmax(120px,.65fr) minmax(180px,1fr) auto;gap:10px;align-items:center;padding:10px;border:1px solid #e5edf7;border-radius:14px;background:#fbfdff}
.behavior-online-avatar-v178{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#eef6ff;color:#0a66c2;overflow:hidden}.behavior-online-avatar-v178 img{width:100%;height:100%;object-fit:cover}.behavior-online-avatar-v178 svg{width:18px;height:18px}
.behavior-online-main-v178 b,.behavior-online-location-v178 b{display:block;color:#172033;font-size:12px}.behavior-online-main-v178 small,.behavior-online-location-v178 small,.behavior-online-path-v178 small{display:block;color:#64748b;font-size:9.5px;margin-top:2px}.behavior-online-path-v178 a{display:block;color:#0a66c2;font-size:10px;direction:ltr;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.behavior-device-v178{font-size:9px;color:#475569;background:#f1f5f9;padding:5px 8px;border-radius:999px;white-space:nowrap}
.behavior-chart-v178{height:210px;display:grid;grid-template-columns:repeat(7,1fr);align-items:end;gap:10px;padding:20px 4px 8px;border-bottom:1px solid #e5edf7}
.behavior-chart-col-v178{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:5px}.behavior-chart-col-v178>span{width:28px;height:145px;display:flex;align-items:flex-end;border-radius:10px;background:#f1f5f9;overflow:hidden}.behavior-chart-col-v178>span i{display:block;width:100%;height:var(--bar-height);background:linear-gradient(180deg,#60a5fa,#0a66c2);border-radius:9px 9px 0 0}.behavior-chart-col-v178 b{font-size:10px;color:#0f3d73}.behavior-chart-col-v178 small{font-size:9px;color:#64748b}
.behavior-chart-note-v178{display:flex;align-items:center;gap:7px;color:#64748b;font-size:10px;padding-top:12px}
.behavior-alerts-v178{margin-bottom:14px}.behavior-alert-grid-v178{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.behavior-alert-grid-v178 article{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;padding:11px;border:1px solid #fed7aa;background:#fff7ed;border-radius:14px}.behavior-alert-grid-v178 article.danger{border-color:#fecdd3;background:#fff1f2}.behavior-alert-grid-v178 article>span{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;color:#c2410c;background:#fff}.behavior-alert-grid-v178 article.danger>span{color:#be123c}.behavior-alert-grid-v178 article>span svg{width:16px;height:16px}.behavior-alert-grid-v178 b{display:block;font-size:11px;color:#172033}.behavior-alert-grid-v178 small{display:block;font-size:9px;color:#64748b;margin-top:3px}
.behavior-ranking-grid-v178{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:14px}.behavior-ranking-v178{display:flex;flex-direction:column;gap:6px}.behavior-ranking-v178>a,.behavior-ranking-v178>div{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:9px;padding:8px 9px;border:1px solid #e6edf6;border-radius:12px;color:#172033;text-decoration:none;background:#fbfdff}.behavior-ranking-v178>a:hover{border-color:#bfdbfe;background:#eff6ff}.behavior-ranking-v178 em{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#eef6ff;color:#0a66c2;font-style:normal;font-size:9px;font-weight:900}.behavior-ranking-v178 span b{display:block;font-size:10.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.behavior-ranking-v178 span small{display:block;color:#64748b;font-size:8.5px;margin-top:2px}.behavior-ranking-v178 strong{font-size:10px;color:#075da8;white-space:nowrap}
.behavior-settings-v178{margin-bottom:14px}.behavior-settings-form-v178{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.behavior-settings-form-v178 label{display:flex;flex-direction:column;gap:5px}.behavior-settings-form-v178 label>span{font-size:10px;font-weight:850;color:#334155}.behavior-settings-form-v178 label>small{font-size:8.5px;color:#64748b;line-height:1.6}.behavior-settings-form-v178 input{height:38px;border-radius:10px;font-size:10px}.behavior-toggle-v178{padding:10px;border:1px solid #dbe7f5;border-radius:12px;background:#f8fbff;justify-content:center}.behavior-toggle-v178 input{width:16px;height:16px}.behavior-settings-form-v178>div{display:flex;align-items:end}
.behavior-report-v178{padding-bottom:14px}.behavior-filter-v178{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.behavior-filter-v178 input{width:250px;height:36px;font-size:10px;border-radius:10px}.behavior-filter-v178 select{height:36px;font-size:10px;border-radius:10px}.behavior-filter-v178 .btn{height:36px;font-size:10px}.behavior-table-wrap-v178{overflow:auto}.behavior-table-v178{min-width:1180px}.behavior-table-v178 th{font-size:10px}.behavior-table-v178 td{vertical-align:middle;font-size:10px}.behavior-table-v178 td b,.behavior-table-v178 td a{display:block;font-size:10px}.behavior-table-v178 td small{display:block;color:#64748b;font-size:8.5px;margin-top:3px}.behavior-table-v178 tr.is-suspicious td{background:#fff7ed}.behavior-user-cell-v178{display:flex;align-items:center;gap:8px}.behavior-user-cell-v178 img,.behavior-guest-icon-v178{width:34px;height:34px;border-radius:50%;object-fit:cover}.behavior-guest-icon-v178{display:grid;place-items:center;background:#eef6ff;color:#0a66c2}.behavior-guest-icon-v178 svg{width:16px;height:16px}.behavior-statuses-v178{display:flex;gap:4px;flex-wrap:wrap}.behavior-statuses-v178 span{display:inline-flex;padding:3px 6px;border-radius:999px;background:#f1f5f9;color:#475569;font-size:8px;font-weight:850}.behavior-statuses-v178 span.online{background:#ecfdf5;color:#047857}.behavior-statuses-v178 span.bot{background:#eef2ff;color:#4338ca}.behavior-statuses-v178 span.danger{background:#fff1f2;color:#be123c}.behavior-pagination-v178{margin-top:12px}
@media(max-width:1100px){.behavior-stat-grid-v178{grid-template-columns:repeat(3,1fr)}.behavior-main-grid-v178{grid-template-columns:1fr}.behavior-ranking-grid-v178{grid-template-columns:1fr}.behavior-settings-form-v178{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.behavior-admin-v178{padding:0 8px}.behavior-hero-v178{padding:20px;align-items:flex-start;flex-direction:column}.behavior-hero-v178 h1{font-size:24px}.behavior-stat-grid-v178{grid-template-columns:repeat(2,1fr)}.behavior-alert-grid-v178{grid-template-columns:1fr}.behavior-online-list-v178 article{grid-template-columns:auto 1fr}.behavior-online-location-v178,.behavior-online-path-v178,.behavior-device-v178{grid-column:2}.behavior-settings-form-v178{grid-template-columns:1fr}.behavior-filter-v178 input{width:100%}}

/* Folinq v179 - composer state controls, dual date picker and live messaging */
.folio-visibility-v179{position:relative!important;overflow:visible!important}
.folio-visibility-v179>button,.folio-status-trigger-v179{width:27px!important;height:27px!important;border-radius:50%!important;display:grid!important;place-items:center!important;border:1px solid #dbe7f5!important;background:#fff!important;color:#64748b!important;padding:0!important}
.folio-visibility-v179>button.active,.folio-status-trigger-v179:hover,.folio-status-control-v179.open>.folio-status-trigger-v179{color:#0a66c2!important;background:#eef6ff!important;border-color:#9dc8f4!important}
.folio-visibility-v179 svg{width:14px!important;height:14px!important}
.folio-status-control-v179{position:relative;display:inline-flex;overflow:visible}
.folio-status-menu-v179{position:absolute;top:34px;inset-inline-end:0;min-width:170px;padding:6px;border:1px solid #dbe7f5;border-radius:12px;background:#fff;box-shadow:0 18px 44px rgba(15,23,42,.18);z-index:200100;display:flex;flex-direction:column;gap:3px}
.folio-status-menu-v179[hidden]{display:none!important}
.folio-status-menu-v179 button{display:flex;align-items:center;gap:8px;width:100%;border:0;background:#fff;border-radius:9px;padding:8px 10px;color:#334155;font-size:11px;font-weight:850;cursor:pointer;text-align:start}
.folio-status-menu-v179 button:hover,.folio-status-menu-v179 button.active{background:#eef6ff;color:#0a66c2}
.folio-status-menu-v179 svg{width:15px!important;height:15px!important}
.folio-editor-v177-title::placeholder,.folio-quick-v177-title::placeholder{font-size:14px!important;font-weight:800!important;color:#7b8798!important}
.folio-editor-v177-body::placeholder,.folio-quick-v177-body::placeholder{font-size:12.5px!important;font-weight:500!important;color:#8a96a8!important}
.folio-settings-grid-v177 .field input[name="summary"]::placeholder{font-size:9px!important;color:#94a3b8!important}
.q-jalali-picker{z-index:300000!important}
.folio-quick-v177-account,.folio-editor-v177-account{min-width:0!important;overflow:visible!important;max-width:100%!important}
.folio-quick-v177-account>span,.folio-editor-v177-account>span{min-width:0!important}
.folio-quick-v177-account img,.folio-editor-v177-account img{flex:0 0 auto!important;position:relative!important;inset:auto!important;margin:0!important}
#postComposer .folio-quick-v177-header{padding-inline:2px!important;overflow:visible!important}
#postComposer .folio-quick-v177-card{overflow-x:hidden!important}
.folio-file-chip-v178 button[data-tip]{position:relative}

.messages-live-v179{grid-template-columns:280px minmax(0,1fr)!important;min-height:680px!important;border-radius:22px!important;box-shadow:0 18px 55px rgba(15,23,42,.08)!important}
.messages-profile-v179{background:linear-gradient(180deg,#fff,#f8fbff)!important;padding:18px!important}
.chat-presence-v179{display:inline-flex;align-items:center;justify-content:center;gap:7px;margin-top:10px;font-size:11px;color:#64748b}
.chat-presence-v179 i{width:8px;height:8px;border-radius:50%;background:#94a3b8}
.chat-presence-v179.is-online{color:#047857}.chat-presence-v179.is-online i{background:#10b981;box-shadow:0 0 0 5px rgba(16,185,129,.12)}
.chat-panel-v179{min-height:680px!important;background:#f8fafc!important}
.chat-head-v179{background:#fff!important;padding:13px 16px!important;box-shadow:0 1px 0 #e7edf5;z-index:2}
.chat-stream-v179{max-height:none!important;min-height:0!important;padding:20px!important;background:linear-gradient(180deg,#f8fbff,#f1f5f9)!important;scroll-behavior:smooth}
.chat-message-v179{max-width:min(76%,620px)!important;margin-bottom:2px}
.chat-message-bubble-v179{border-radius:18px!important;padding:10px 13px!important;box-shadow:0 3px 10px rgba(15,23,42,.04)!important}
.chat-message-v179.mine .chat-message-bubble-v179{background:#0a66c2!important;color:#fff!important;border-color:#0a66c2!important;border-bottom-left-radius:5px!important}
.chat-message-v179.theirs .chat-message-bubble-v179{background:#fff!important;border-bottom-right-radius:5px!important}
.chat-message-v179.mine .chat-message-bubble-v179 a{color:#fff!important}
.chat-message-meta-v179{min-height:27px}
.chat-message-actions-v179{opacity:.45!important}.chat-message-v179:hover .chat-message-actions-v179{opacity:1!important}
.chat-message-actions-v179 button{background:#fff!important;color:#475569!important;border:1px solid #dbe7f5!important}
.chat-edit-form-v179{background:#fff;border:1px solid #bfdbfe;border-radius:14px;padding:8px;box-shadow:0 10px 25px rgba(15,23,42,.08)}
.chat-edit-form-v179[hidden]{display:none!important}.chat-edit-form-v179 textarea{width:100%;min-height:70px;border:0;resize:vertical;outline:0;padding:7px;background:#f8fbff;border-radius:9px}.chat-edit-form-v179>div{display:flex;gap:6px;margin-top:6px}
.chat-typing-v179{display:flex;align-items:center;gap:4px;padding:5px 20px 8px;color:#64748b;background:#f8fafc;font-size:11px}.chat-typing-v179[hidden]{display:none!important}.chat-typing-v179>span{width:6px;height:6px;background:#0a66c2;border-radius:50%;animation:qTyping179 1s infinite alternate}.chat-typing-v179>span:nth-child(2){animation-delay:.15s}.chat-typing-v179>span:nth-child(3){animation-delay:.3s}.chat-typing-v179 b{margin-inline-start:5px;font-weight:700}
@keyframes qTyping179{from{opacity:.25;transform:translateY(2px)}to{opacity:1;transform:translateY(-2px)}}
.chat-compose-v179{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:10px!important;padding:12px 14px!important;background:#fff!important}
.chat-input-shell-v179{position:relative!important}.chat-input-shell-v179 textarea{min-height:52px!important;max-height:150px!important;border-radius:18px!important;background:#f8fafc!important;padding-inline-end:48px!important}
.chat-emoji-trigger-v179{position:absolute;inset-inline-end:8px;bottom:8px;width:34px;height:34px;border:0;border-radius:50%;background:#eef3f8;color:#475569;display:grid;place-items:center;cursor:pointer}.chat-emoji-trigger-v179:hover{background:#dbeafe;color:#0a66c2}.chat-emoji-trigger-v179 svg{width:18px;height:18px}
.chat-emoji-picker-v179{position:absolute;inset-inline-end:0;bottom:52px;width:250px;display:grid;grid-template-columns:repeat(8,1fr);gap:4px;padding:8px;background:#fff;border:1px solid #dbe7f5;border-radius:14px;box-shadow:0 18px 44px rgba(15,23,42,.2);z-index:1000}.chat-emoji-picker-v179[hidden]{display:none!important}.chat-emoji-picker-v179 button{border:0;background:#fff;border-radius:8px;font-size:18px;padding:5px;cursor:pointer}.chat-emoji-picker-v179 button:hover{background:#eef6ff;transform:scale(1.1)}
.chat-compose-tools-v179{min-width:150px!important;flex-direction:column!important;align-items:stretch!important;justify-content:center!important}.chat-compose-tools-v179 .btn{height:44px!important}.chat-compose-tools-v179 .small{font-size:9px!important;line-height:1.5!important;text-align:center!important}
@media(max-width:980px){.messages-live-v179{grid-template-columns:1fr!important}.messages-profile-v179{display:none!important}.chat-panel-v179{min-height:calc(100vh - 90px)!important}.chat-stream-v179{min-height:55vh!important}}
@media(max-width:650px){.chat-compose-v179{grid-template-columns:1fr!important}.chat-compose-tools-v179{min-width:0!important;flex-direction:row!important;align-items:center!important}.chat-compose-tools-v179 .small{display:none!important}.chat-message-v179{max-width:88%!important}.chat-emoji-picker-v179{width:230px;grid-template-columns:repeat(6,1fr)}}
.folio-editor-v177-card{overflow-x:hidden!important}

/* Folinq v180 - fixed date picker, modern chat, admin lazy lists */
.q-jalali-picker{position:fixed!important;max-height:calc(100vh - 16px)!important;overflow:auto!important;overscroll-behavior:contain!important}
.folio-account-avatar-v180{display:block!important;visibility:visible!important;opacity:1!important;width:48px!important;height:48px!important;min-width:48px!important;border-radius:50%!important;object-fit:cover!important;border:3px solid #fff!important;box-shadow:0 0 0 1px #dbe7f5,0 8px 20px rgba(15,23,42,.10)!important;position:relative!important;inset:auto!important;transform:none!important}
.folio-editor-v177-account,.folio-quick-v177-account{display:flex!important;align-items:center!important;gap:10px!important;overflow:visible!important;min-width:0!important}
.folio-editor-v177-account>span,.folio-quick-v177-account>span{min-width:0!important}

.admin-lazy-pagination-v180{display:none!important}
.admin-lazy-sentinel-v180{min-height:58px;display:flex;align-items:center;justify-content:center;gap:10px;color:#64748b;font-size:12px;font-weight:800;margin:12px 0}
.admin-lazy-sentinel-v180 span{width:18px;height:18px;border-radius:50%;border:2px solid #dbe7f5;border-top-color:#0a66c2;animation:adminLazySpin .8s linear infinite}
.admin-lazy-sentinel-v180.done span{display:none}.admin-lazy-sentinel-v180.done{opacity:.7}
@keyframes adminLazySpin{to{transform:rotate(360deg)}}
.admin-icon-action{width:34px!important;height:34px!important;min-width:34px!important;border-radius:10px!important;border:1px solid #dbe7f5!important;background:#fff!important;color:#0a66c2!important;display:inline-grid!important;place-items:center!important;padding:0!important;cursor:pointer!important;box-shadow:none!important}
.admin-icon-action:hover{background:#eff6ff!important;border-color:#bfdbfe!important;transform:translateY(-1px)}
.admin-icon-action.danger{color:#dc2626!important}.admin-icon-action.danger:hover{background:#fff1f2!important;border-color:#fecaca!important}
.admin-icon-action .li-icon,.admin-icon-action svg{width:17px!important;height:17px!important}
.admin-row-actions-v166{align-items:center!important}.admin-row-actions-v166 form{display:inline-flex!important}

.chat-app-v180,.chat-inbox-v180{max-width:1280px;margin:16px auto;min-height:calc(100vh - 120px);display:grid;grid-template-columns:340px minmax(0,1fr);overflow:hidden!important;border-radius:24px!important;border:1px solid #dbe7f5!important;background:#fff!important;box-shadow:0 18px 55px rgba(15,23,42,.08)!important}
.chat-sidebar-v180{display:flex;flex-direction:column;min-width:0;border-inline-end:1px solid #e5edf6;background:#fbfdff}
.chat-sidebar-head-v180{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 18px 12px}.chat-sidebar-head-v180 h2{font-size:20px;margin:0;color:#172033}.chat-sidebar-head-v180 small{display:block;color:#64748b;margin-top:3px;font-size:11px}
.chat-new-v180,.chat-room-actions-v180>a,.chat-room-actions-v180>button,.chat-room-actions-v180 summary{width:38px;height:38px;border-radius:12px;border:1px solid #dbe7f5;background:#fff;color:#0a66c2;display:grid;place-items:center;cursor:pointer;text-decoration:none;list-style:none}.chat-new-v180:hover,.chat-room-actions-v180>a:hover,.chat-room-actions-v180>button:hover,.chat-room-actions-v180 summary:hover{background:#eff6ff;border-color:#bfdbfe}
.chat-thread-search-v180{margin:0 16px 12px;height:42px;border:1px solid #dbe7f5;background:#fff;border-radius:13px;display:flex;align-items:center;gap:9px;padding:0 12px;color:#64748b}.chat-thread-search-v180 input{border:0!important;box-shadow:none!important;background:transparent!important;flex:1;min-width:0;height:100%;padding:0!important;font-size:12px!important}.chat-thread-search-v180 svg{width:17px;height:17px}
.chat-thread-list-v180{flex:1;min-height:0;overflow:auto;padding:0 8px 14px}.chat-thread-row-v180{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:10px;align-items:center;padding:11px 10px;border-radius:14px;text-decoration:none;color:#172033;margin:3px 0;position:relative}.chat-thread-row-v180:hover{background:#f1f6fb}.chat-thread-row-v180.is-active{background:#eaf4ff}.chat-thread-row-v180.is-unread .chat-thread-copy-v180 b{color:#0a66c2}.chat-thread-avatar-v180{width:48px;height:48px;position:relative}.chat-thread-avatar-v180 img{width:48px;height:48px;border-radius:50%;object-fit:cover}.chat-thread-avatar-v180 i{position:absolute;inset-inline-end:1px;bottom:2px;width:10px;height:10px;border-radius:50%;background:#10b981;border:2px solid #fff}.chat-thread-copy-v180{min-width:0}.chat-thread-copy-v180 b,.chat-thread-copy-v180 small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-thread-copy-v180 b{font-size:13px}.chat-thread-copy-v180 small{font-size:11px;color:#64748b;margin-top:4px}.chat-thread-meta-v180{display:flex;flex-direction:column;align-items:flex-end;gap:6px}.chat-thread-meta-v180 time{font-size:9px;color:#94a3b8;white-space:nowrap}.chat-thread-meta-v180 em{min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#0a66c2;color:#fff;font-style:normal;font-size:10px;display:grid;place-items:center}
.chat-empty-v180{padding:30px 16px;text-align:center;color:#64748b;font-size:12px}.chat-index-pagination-v180{padding:10px 14px}
.chat-room-v180{display:flex;flex-direction:column;min-width:0;min-height:0;background:linear-gradient(180deg,#f9fbfe,#f3f7fb)}
.chat-room-head-v180{height:74px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:0 20px;background:rgba(255,255,255,.96);border-bottom:1px solid #e5edf6;position:relative;z-index:5}.chat-room-person-v180{display:flex;align-items:center;gap:11px}.chat-room-person-v180 img{width:46px;height:46px;border-radius:50%;object-fit:cover}.chat-room-person-v180 b,.chat-room-person-v180 small{display:block}.chat-room-person-v180 b a{color:#172033;text-decoration:none;font-size:14px}.chat-presence-v180{display:flex;align-items:center;gap:6px;margin-top:4px;color:#64748b}.chat-presence-v180 i{width:8px;height:8px;border-radius:50%;background:#94a3b8}.chat-presence-v180.is-online{color:#047857}.chat-presence-v180.is-online i{background:#10b981;box-shadow:0 0 0 4px rgba(16,185,129,.12)}.chat-room-actions-v180{display:flex;align-items:center;gap:7px}.chat-room-menu-v180{position:relative}.chat-room-menu-v180 summary::-webkit-details-marker{display:none}.chat-room-menu-v180>div{position:absolute;top:44px;inset-inline-end:0;min-width:220px;padding:7px;border:1px solid #dbe7f5;border-radius:14px;background:#fff;box-shadow:0 18px 44px rgba(15,23,42,.18);z-index:100}.chat-room-menu-v180 form{margin:0}.chat-room-menu-v180 button{width:100%;border:0;background:#fff;padding:10px 12px;border-radius:9px;display:flex;align-items:center;gap:9px;color:#334155;cursor:pointer;text-align:start}.chat-room-menu-v180 button:hover{background:#f1f5f9}.chat-room-menu-v180 button.danger{color:#dc2626}.chat-room-menu-v180 svg{width:17px;height:17px}
.chat-inline-search-v180{display:flex;align-items:center;gap:8px;padding:8px 16px;background:#fff;border-bottom:1px solid #e5edf6}.chat-inline-search-v180[hidden]{display:none!important}.chat-inline-search-v180 input{flex:1;border:0!important;box-shadow:none!important;background:#f8fafc!important;border-radius:10px!important;height:38px!important;padding:0 12px!important}.chat-inline-search-v180 button{border:0;background:transparent;font-size:22px;color:#64748b;cursor:pointer}
.chat-stream-v180{flex:1;min-height:0;overflow:auto;padding:22px 24px 14px;scroll-behavior:smooth;overscroll-behavior:contain}
.chat-date-separator-v180{display:flex;justify-content:center;margin:18px 0}.chat-date-separator-v180 span{padding:5px 11px;border-radius:999px;background:#e7eef6;color:#64748b;font-size:10px;font-weight:800}
.chat-message-v180{display:flex;align-items:flex-end;gap:8px;max-width:min(76%,680px);margin:5px 0;position:relative}.chat-message-v180.mine{margin-inline-start:auto;flex-direction:row-reverse}.chat-message-v180.theirs{margin-inline-end:auto}.chat-message-avatar-v180{width:30px;height:30px;border-radius:50%;object-fit:cover;flex:0 0 auto}.chat-message-content-v180{min-width:0}.chat-message-bubble-v180{padding:10px 13px;border-radius:17px;background:#fff;color:#243447;border:1px solid #dbe7f5;box-shadow:0 4px 13px rgba(15,23,42,.04);line-height:1.8;font-size:13px;word-break:break-word}.chat-message-v180.mine .chat-message-bubble-v180{background:linear-gradient(135deg,#0a66c2,#0875d8);border-color:#0a66c2;color:#fff;border-bottom-inline-end-radius:5px}.chat-message-v180.theirs .chat-message-bubble-v180{border-bottom-inline-start-radius:5px}.chat-message-v180.mine .chat-message-bubble-v180 a{color:#fff}.chat-message-meta-v180{display:flex;align-items:center;gap:7px;margin-top:4px;padding:0 4px;color:#94a3b8}.chat-message-meta-v180 time{font-size:9px}.chat-read-state-v180{position:relative;display:flex;color:#94a3b8;width:21px}.chat-read-state-v180 svg{width:13px;height:13px}.chat-read-state-v180 svg+svg{margin-inline-start:-8px}.chat-read-state-v180.is-read{color:#0a66c2}
.chat-message-menu-v180{align-self:center;position:relative;opacity:0;transition:.12s}.chat-message-v180:hover .chat-message-menu-v180,.chat-message-menu-v180[open]{opacity:1}.chat-message-menu-v180 summary{width:28px;height:28px;border-radius:50%;background:#fff;border:1px solid #dbe7f5;color:#64748b;display:grid;place-items:center;cursor:pointer;list-style:none}.chat-message-menu-v180 summary::-webkit-details-marker{display:none}.chat-message-menu-v180>div{position:absolute;top:32px;inset-inline-end:0;min-width:190px;background:#fff;border:1px solid #dbe7f5;border-radius:12px;padding:6px;box-shadow:0 16px 36px rgba(15,23,42,.18);z-index:120}.chat-message-menu-v180 form{margin:0}.chat-message-menu-v180 button{width:100%;border:0;background:#fff;padding:9px 10px;border-radius:8px;display:flex;align-items:center;gap:8px;color:#334155;font-size:11px;cursor:pointer;text-align:start}.chat-message-menu-v180 button:hover{background:#f1f5f9}.chat-message-menu-v180 button.danger{color:#dc2626}.chat-message-menu-v180 svg{width:15px;height:15px}
.chat-edit-form-v180{padding:9px;border-radius:14px;background:#fff;border:1px solid #bfdbfe;box-shadow:0 10px 24px rgba(15,23,42,.08)}.chat-edit-form-v180[hidden]{display:none!important}.chat-edit-form-v180 textarea{width:100%;min-width:260px;min-height:70px;border:0!important;box-shadow:none!important;background:#f8fafc!important;border-radius:9px!important;padding:8px!important}.chat-edit-form-v180>div{display:flex;gap:6px;margin-top:6px}
.chat-typing-v180{display:flex;align-items:center;gap:4px;padding:5px 24px;color:#64748b;font-size:10px}.chat-typing-v180[hidden]{display:none!important}.chat-typing-v180>span{width:6px;height:6px;border-radius:50%;background:#0a66c2;animation:qTyping179 1s infinite alternate}.chat-typing-v180>span:nth-child(2){animation-delay:.15s}.chat-typing-v180>span:nth-child(3){animation-delay:.3s}.chat-typing-v180 b{margin-inline-start:4px}
.chat-compose-v180{padding:12px 18px 14px;background:#fff;border-top:1px solid #e5edf6}.chat-compose-shell-v180{position:relative;display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:end;gap:8px;border:1px solid #dbe7f5;border-radius:18px;background:#f8fafc;padding:7px 8px}.chat-compose-shell-v180 textarea{border:0!important;box-shadow:none!important;background:transparent!important;min-height:42px!important;max-height:150px!important;padding:9px 4px!important;resize:none!important}.chat-emoji-trigger-v180,.chat-send-v180{width:38px;height:38px;border-radius:12px;border:0;display:grid;place-items:center;cursor:pointer}.chat-emoji-trigger-v180{background:#eef3f8;color:#475569}.chat-send-v180{background:#0a66c2;color:#fff}.chat-emoji-trigger-v180:hover{background:#dbeafe;color:#0a66c2}.chat-send-v180:hover{background:#0759aa}.chat-emoji-trigger-v180 svg,.chat-send-v180 svg{width:18px;height:18px}.chat-char-count-v180{position:absolute;bottom:2px;inset-inline-end:55px;font-size:8px;color:#94a3b8}.chat-emoji-picker-v180{position:absolute;inset-inline-start:0;bottom:58px;width:280px;display:grid;grid-template-columns:repeat(8,1fr);gap:4px;padding:8px;background:#fff;border:1px solid #dbe7f5;border-radius:14px;box-shadow:0 18px 44px rgba(15,23,42,.20);z-index:200}.chat-emoji-picker-v180[hidden]{display:none!important}.chat-emoji-picker-v180 button{border:0;background:#fff;border-radius:8px;padding:5px;font-size:18px;cursor:pointer}.chat-emoji-picker-v180 button:hover{background:#eef6ff;transform:scale(1.08)}.chat-compose-v180>small{display:block;margin-top:5px;color:#94a3b8;font-size:8px;text-align:center}
.chat-welcome-v180{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:40px;color:#475569}.chat-welcome-v180>span{width:78px;height:78px;border-radius:24px;background:#eef6ff;color:#0a66c2;display:grid;place-items:center}.chat-welcome-v180>span svg{width:36px;height:36px}.chat-welcome-v180 h2{margin:18px 0 6px;color:#172033}.chat-welcome-v180 p{max-width:500px;line-height:1.9}.chat-welcome-v180 .btn{margin-top:12px}
@media(max-width:900px){.chat-app-v180,.chat-inbox-v180{grid-template-columns:280px minmax(0,1fr);margin:8px;min-height:calc(100vh - 88px)}.chat-thread-row-v180{grid-template-columns:42px minmax(0,1fr) auto}.chat-thread-avatar-v180,.chat-thread-avatar-v180 img{width:42px;height:42px}}
@media(max-width:700px){.chat-app-v180{grid-template-columns:1fr}.chat-app-v180 .chat-sidebar-v180{display:none}.chat-inbox-v180{grid-template-columns:1fr}.chat-inbox-v180 .chat-welcome-v180{display:none}.chat-room-head-v180{height:66px;padding:0 12px}.chat-stream-v180{padding:15px 12px}.chat-message-v180{max-width:90%}.chat-compose-v180{padding:8px}.chat-emoji-picker-v180{width:245px;grid-template-columns:repeat(6,1fr)}.chat-message-menu-v180{opacity:1}}
.chat-reply-quote-v180{display:block;margin:-3px -5px 8px;padding:7px 9px;border-radius:10px;background:rgba(255,255,255,.12);border-inline-start:3px solid currentColor;text-decoration:none;color:inherit!important;opacity:.92}.chat-message-v180.theirs .chat-reply-quote-v180{background:#f1f5f9;color:#334155!important}.chat-reply-quote-v180 b,.chat-reply-quote-v180 span{display:block}.chat-reply-quote-v180 b{font-size:10px}.chat-reply-quote-v180 span{font-size:10px;opacity:.78;margin-top:2px}.chat-reply-preview-v180{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 7px;padding:8px 11px;border-radius:12px;background:#eff6ff;border:1px solid #bfdbfe;color:#1e3a8a}.chat-reply-preview-v180[hidden]{display:none!important}.chat-reply-preview-v180 span{min-width:0}.chat-reply-preview-v180 b,.chat-reply-preview-v180 small{display:block}.chat-reply-preview-v180 b{font-size:10px}.chat-reply-preview-v180 small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:520px;font-size:10px;margin-top:2px}.chat-reply-preview-v180 button{border:0;background:transparent;color:#64748b;font-size:20px;cursor:pointer}

/* Folinq v181 - mobile folio editor, campaigns and calls */
@media(max-width:640px){
  .folio-editor-v177-body,.folio-quick-v177-body{min-height:74px!important;max-height:118px!important;height:74px!important;line-height:1.65!important}
  .folio-editor-v177-main,.folio-quick-v177-main{padding-top:7px!important;padding-bottom:6px!important}
}
.initiatives-page-v181,.initiative-editor-shell-v181,.initiative-show-v181,.admin-initiatives-v181{padding-top:18px;padding-bottom:34px}
.initiative-hero-v181{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px;border-radius:24px;background:linear-gradient(135deg,#f8fbff,#fff);border:1px solid #dbe7f5}
.initiative-hero-v181 h1{margin:4px 0 8px;font-size:28px}.initiative-hero-v181 p{max-width:760px;color:#64748b;line-height:1.9}.initiative-hero-v181>div>span{color:#0a66c2;font-weight:900}
.initiative-stats-v181,.admin-stat-grid-v181{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0}.initiative-stats-v181>div,.admin-stat-grid-v181>div{padding:16px;border-radius:18px}.initiative-stats-v181 small,.admin-stat-grid-v181 small{display:block;color:#64748b}.initiative-stats-v181 b,.admin-stat-grid-v181 b{display:block;margin-top:6px;font-size:22px;color:#0f172a}
.initiative-toolbar-v181{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;margin-bottom:16px}.initiative-tabs-v181{display:flex;gap:8px}.initiative-tabs-v181 a{padding:10px 16px;border-radius:999px;text-decoration:none;color:#475569;font-weight:850}.initiative-tabs-v181 a.active{background:#0a66c2;color:#fff}.initiative-toolbar-v181 form,.admin-initiative-filter-v181 form{display:flex;align-items:center;gap:8px;flex:1;justify-content:flex-end}.initiative-toolbar-v181 input,.initiative-toolbar-v181 select,.admin-initiative-filter-v181 input,.admin-initiative-filter-v181 select{min-height:42px;border-radius:12px}
.initiative-grid-v181{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.initiative-card-v181{padding:18px;border-radius:20px;display:flex;flex-direction:column;min-height:310px}.initiative-card-v181 h3{margin:12px 0 8px;font-size:18px}.initiative-card-v181 h3 a{text-decoration:none;color:#172033}.initiative-card-v181>p{color:#64748b;line-height:1.85;flex:1}.initiative-card-top-v181{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.initiative-kind-v181{font-size:11px;font-weight:950;padding:6px 10px;border-radius:999px}.initiative-kind-v181.campaign{background:#ecfdf5;color:#047857}.initiative-kind-v181.call{background:#eff6ff;color:#1d4ed8}.initiative-type-v181{font-size:11px;color:#64748b;background:#f8fafc;border:1px solid #e2e8f0;padding:5px 9px;border-radius:999px}.initiative-owner-v181 a{display:flex;align-items:center;gap:10px;text-decoration:none;color:#172033}.initiative-owner-v181 img{width:38px;height:38px;border-radius:50%;object-fit:cover}.initiative-owner-v181 span{display:flex;flex-direction:column}.initiative-owner-v181 small{color:#94a3b8}.initiative-progress-v181{margin:14px 0}.initiative-progress-v181>div{height:8px;border-radius:999px;background:#e2e8f0;overflow:hidden}.initiative-progress-v181>div>span{display:block;height:100%;background:#0a66c2;border-radius:inherit}.initiative-progress-v181 small{display:block;margin-top:6px;color:#64748b}.initiative-card-foot-v181{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:14px;font-size:12px;color:#64748b}.initiative-lazy-v181{text-align:center;padding:18px;color:#64748b}
.initiative-editor-v181{max-width:1040px;margin:auto;padding:24px;border-radius:24px}.initiative-lock-warning-v181{display:flex;align-items:flex-start;gap:12px;background:#fff8e7;border:1px solid #f6d58d;padding:14px 16px;border-radius:16px;margin:14px 0;color:#7c5310}.initiative-lock-warning-v181 span{display:flex;flex-direction:column;gap:3px}.initiative-kind-choice-v181{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0}.initiative-kind-choice-v181 label{display:block}.initiative-kind-choice-v181 input{position:absolute;opacity:0}.initiative-kind-choice-v181 span{display:flex;flex-direction:column;padding:16px;border:1px solid #dbe7f5;border-radius:16px;cursor:pointer}.initiative-kind-choice-v181 input:checked+span{border-color:#0a66c2;background:#f4f9ff;box-shadow:0 0 0 2px rgba(10,102,194,.08)}.initiative-kind-choice-v181 small{color:#64748b;margin-top:4px}.initiative-language-columns-v181{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:16px 0}.initiative-language-columns-v181>section{padding:16px;border:1px solid #dbe7f5;border-radius:18px;background:#fff}.initiative-language-columns-v181 h3{margin-top:0}.initiative-language-columns-v181 textarea{min-height:180px}
.initiative-show-v181{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:18px}.initiative-show-main-v181{padding:26px;border-radius:24px}.initiative-show-main-v181 h1{font-size:30px}.initiative-description-v181{margin:22px 0;line-height:2;color:#334155}.initiative-meta-v181{display:flex;gap:10px;flex-wrap:wrap}.initiative-meta-v181 span{padding:8px 12px;border-radius:999px;background:#f8fafc;color:#475569}.initiative-owner-actions-v181{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}.initiative-owner-actions-v181 form{margin:0}
.admin-initiative-types-v181,.admin-initiative-filter-v181{margin:14px 0}.initiative-type-chips-v181{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.initiative-type-chips-v181>span{display:inline-flex;align-items:center;gap:6px;padding:7px 11px;border-radius:999px;background:#f8fafc;border:1px solid #e2e8f0}.initiative-type-chips-v181 form{display:inline}.initiative-type-chips-v181 button{border:0;background:transparent;color:#dc2626;cursor:pointer}.admin-initiative-list-v181{display:grid;gap:10px}.admin-initiative-row-v181{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;border-radius:16px}.admin-initiative-main-v181{display:flex;align-items:center;gap:12px;min-width:0}.admin-initiative-main-v181 h3{margin:0 0 4px;font-size:15px}.admin-initiative-main-v181 small{color:#64748b}.admin-icon-actions-v181{display:flex;align-items:center;gap:6px}.admin-icon-actions-v181>a,.admin-icon-actions-v181>form>button,.admin-icon-actions-v181>details>summary{width:36px;height:36px;border:1px solid #dbe7f5;border-radius:10px;background:#fff;display:grid;place-items:center;color:#475569;cursor:pointer;list-style:none}.admin-icon-actions-v181 svg{width:16px;height:16px}.admin-icon-actions-v181 .danger{color:#dc2626}.admin-icon-actions-v181 details{position:relative}.admin-icon-actions-v181 details>div,.admin-icon-actions-v181 details>form{position:absolute;inset-inline-end:0;top:42px;width:360px;z-index:5000;padding:12px;border:1px solid #dbe7f5;border-radius:14px;background:#fff;box-shadow:0 20px 50px rgba(15,23,42,.18);display:grid;gap:8px}.admin-icon-actions-v181 details form input,.admin-icon-actions-v181 details form textarea,.admin-icon-actions-v181 details form select{width:100%}
@media(max-width:900px){.initiative-grid-v181{grid-template-columns:repeat(2,minmax(0,1fr))}.initiative-stats-v181,.admin-stat-grid-v181{grid-template-columns:repeat(2,minmax(0,1fr))}.initiative-show-v181{grid-template-columns:1fr}.initiative-language-columns-v181{grid-template-columns:1fr}.initiative-toolbar-v181{align-items:stretch;flex-direction:column}.initiative-toolbar-v181 form,.admin-initiative-filter-v181 form{justify-content:stretch;flex-wrap:wrap}.initiative-toolbar-v181 input,.initiative-toolbar-v181 select{flex:1}.admin-initiative-row-v181{align-items:flex-start}.admin-icon-actions-v181 details>form{width:min(360px,calc(100vw - 40px))}}
@media(max-width:600px){.initiative-grid-v181{grid-template-columns:1fr}.initiative-hero-v181{align-items:flex-start;flex-direction:column}.initiative-kind-choice-v181{grid-template-columns:1fr}.initiative-stats-v181,.admin-stat-grid-v181{grid-template-columns:1fr 1fr}.initiative-show-main-v181 h1{font-size:24px}.admin-initiative-row-v181{flex-direction:column}.admin-icon-actions-v181{width:100%;justify-content:flex-end}}

/* Folinq v183 - LinkedIn-inspired messaging and publisher submission workflow */
.chat-linkedin-v183{max-width:1180px;margin:12px auto;min-height:calc(100vh - 105px);overflow:hidden!important;border:1px solid #d7dde5!important;border-radius:14px!important;background:#fff!important;box-shadow:0 10px 30px rgba(15,23,42,.07)!important}
.chat-global-head-v183{height:52px;display:grid;grid-template-columns:290px minmax(220px,1fr) auto;align-items:center;gap:12px;padding:0 14px;border-bottom:1px solid #e3e7eb;background:#fff}.chat-title-v183 h1{margin:0;font-size:16px;color:#111827}.chat-global-search-v183{max-width:360px;height:34px;display:flex;align-items:center;gap:8px;padding:0 10px;border-radius:5px;background:#eef3f8;color:#475569}.chat-global-search-v183 input{width:100%;height:100%;border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important;font-size:12px!important}.chat-global-search-v183 svg{width:16px;height:16px}.chat-global-actions-v183{display:flex;gap:8px}.chat-global-actions-v183>a,.chat-global-actions-v183>button{width:32px;height:32px;border:0;background:transparent;color:#334155;display:grid;place-items:center;border-radius:50%;cursor:pointer}.chat-global-actions-v183>a:hover,.chat-global-actions-v183>button:hover{background:#f1f5f9}.chat-global-actions-v183 svg{width:19px;height:19px}
.chat-filter-pills-v183{min-height:48px;display:flex;align-items:center;gap:6px;padding:7px 14px;border-bottom:1px solid #e3e7eb;overflow-x:auto;scrollbar-width:thin}.chat-filter-pills-v183 a{height:32px;display:inline-flex;align-items:center;gap:5px;padding:0 12px;border:1px solid #aeb8c2;border-radius:999px;text-decoration:none;color:#243342;font-size:12px;font-weight:700;white-space:nowrap;background:#fff}.chat-filter-pills-v183 a:hover{background:#f3f6f8}.chat-filter-pills-v183 a.active{background:#087f5b;border-color:#087f5b;color:#fff}.chat-filter-pills-v183 a em{font-style:normal;font-size:9px;min-width:16px;height:16px;padding:0 4px;border-radius:999px;background:rgba(255,255,255,.22);display:grid;place-items:center}.chat-filter-pills-v183 a:not(.active) em{background:#eef2f6}.chat-filter-pills-v183 svg{width:13px;height:13px}
.chat-linkedin-grid-v183{display:grid;grid-template-columns:310px minmax(0,1fr);min-height:calc(100vh - 205px)}.chat-sidebar-v183{min-width:0;border-inline-end:1px solid #dfe4ea;background:#fff;display:flex;flex-direction:column}.chat-thread-list-v183{flex:1;min-height:0;overflow:auto}.chat-thread-item-v183{position:relative;border-bottom:1px solid #eef1f4}.chat-thread-item-v183.is-active{background:#e9f2f8}.chat-thread-item-v183.is-active:before{content:"";position:absolute;inset-block:0;inset-inline-start:0;width:4px;background:#057642}.chat-thread-item-v183:hover{background:#f3f6f8}.chat-thread-main-v183{min-height:90px;display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:start;gap:10px;padding:12px 34px 11px 12px;text-decoration:none;color:#17202a}.chat-thread-avatar-v183{width:48px;height:48px;position:relative}.chat-thread-avatar-v183 img{width:48px;height:48px;border-radius:50%;object-fit:cover}.chat-thread-avatar-v183 i{position:absolute;inset-inline-end:0;bottom:1px;width:11px;height:11px;border-radius:50%;background:#16a34a;border:2px solid #fff}.chat-thread-copy-v183{min-width:0}.chat-thread-name-v183{display:flex;align-items:center;gap:5px}.chat-thread-name-v183 b{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-thread-copy-v183>small{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-top:5px;color:#5f6b76;font-size:11px;line-height:1.55}.chat-thread-meta-v183{display:flex;flex-direction:column;align-items:flex-end;gap:8px}.chat-thread-meta-v183 time{font-size:9px;color:#6b7280;white-space:nowrap}.chat-thread-flags-v183{display:flex;align-items:center;gap:5px}.chat-thread-flags-v183 svg{width:14px;height:14px;color:#7c5b00;fill:#f9d65c}.chat-thread-flags-v183 em{min-width:18px;height:18px;padding:0 4px;border-radius:999px;background:#0a66c2;color:#fff;font-style:normal;font-size:9px;display:grid;place-items:center}.chat-thread-item-v183.is-unread .chat-thread-name-v183 b{font-weight:900;color:#111827}.chat-thread-item-v183.is-unread .chat-thread-copy-v183>small{font-weight:700;color:#334155}.chat-thread-menu-v183{position:absolute;inset-inline-end:5px;top:33px;z-index:6}.chat-thread-menu-v183 summary{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;cursor:pointer;list-style:none;opacity:0}.chat-thread-item-v183:hover .chat-thread-menu-v183 summary,.chat-thread-menu-v183[open] summary{opacity:1;background:#fff}.chat-thread-menu-v183 summary::-webkit-details-marker{display:none}.chat-thread-menu-v183 summary svg{width:16px}.chat-thread-menu-v183>div{position:absolute;top:30px;inset-inline-end:0;width:190px;background:#fff;border:1px solid #d7dde5;border-radius:9px;padding:5px;box-shadow:0 12px 30px rgba(15,23,42,.18)}.chat-thread-menu-v183 form{margin:0}.chat-thread-menu-v183 button{width:100%;border:0;background:#fff;display:flex;align-items:center;gap:8px;padding:8px 9px;border-radius:6px;font-size:11px;cursor:pointer}.chat-thread-menu-v183 button:hover{background:#f1f5f9}.chat-thread-menu-v183 svg{width:15px;height:15px}.chat-index-pagination-v183{padding:8px}.chat-empty-v183{padding:38px 18px;text-align:center;color:#64748b}.chat-empty-v183 svg{width:32px;height:32px;margin:auto auto 9px;display:block}.chat-empty-room-v183{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:40px;color:#5f6b76;background:#fbfcfd}.chat-empty-room-v183>span{width:74px;height:74px;border-radius:50%;background:#e9f2f8;color:#0a66c2;display:grid;place-items:center}.chat-empty-room-v183>span svg{width:36px;height:36px}.chat-empty-room-v183 h2{margin:16px 0 7px;color:#17202a}.chat-empty-room-v183 p{max-width:460px;margin:0 0 18px;line-height:1.8}
.chat-room-v183{display:flex;flex-direction:column;min-width:0;min-height:0;background:#fff}.chat-room-head-v183{min-height:60px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 14px;border-bottom:1px solid #dfe4ea;background:#fff;position:relative;z-index:9}.chat-room-person-v183{display:flex;align-items:center;gap:9px;min-width:0}.chat-room-person-v183>a img{width:40px;height:40px;border-radius:50%;object-fit:cover}.chat-room-person-v183>div{min-width:0}.chat-room-person-v183 b,.chat-room-person-v183 small{display:block}.chat-room-person-v183 b a{font-size:13px;color:#17202a;text-decoration:none}.chat-room-person-v183>div>small{font-size:10px;color:#6b7280;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:420px}.chat-presence-v183{display:flex!important;align-items:center;gap:5px;margin-top:2px;color:#64748b;font-size:9px}.chat-presence-v183 i{width:7px;height:7px;border-radius:50%;background:#94a3b8}.chat-presence-v183.is-online{color:#087f5b}.chat-presence-v183.is-online i{background:#16a34a}.chat-room-actions-v183{display:flex;align-items:center;gap:4px}.chat-room-actions-v183>button,.chat-room-actions-v183>form button,.chat-room-menu-v183>summary{width:34px;height:34px;border:0;background:#fff;color:#334155;border-radius:50%;display:grid;place-items:center;cursor:pointer;list-style:none}.chat-room-actions-v183>button:hover,.chat-room-actions-v183>form button:hover,.chat-room-menu-v183>summary:hover{background:#eef2f6}.chat-room-actions-v183>form button.is-active{color:#8a6400;background:#fff7d6}.chat-room-actions-v183 svg{width:18px;height:18px}.chat-room-menu-v183{position:relative}.chat-room-menu-v183 summary::-webkit-details-marker{display:none}.chat-room-menu-v183>div{position:absolute;top:38px;inset-inline-end:0;min-width:235px;background:#fff;border:1px solid #d7dde5;border-radius:9px;padding:6px;box-shadow:0 14px 36px rgba(15,23,42,.2);z-index:80}.chat-room-menu-v183>div>a,.chat-room-menu-v183>div button{width:100%!important;height:auto!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:9px!important;padding:9px 10px!important;border-radius:6px!important;text-decoration:none;color:#273444;background:#fff;font-size:11px}.chat-room-menu-v183>div>a:hover,.chat-room-menu-v183>div button:hover{background:#f1f5f9}.chat-room-menu-v183 .danger{color:#b42318!important}.chat-room-menu-v183 form{margin:0}.chat-inline-search-v183{display:flex;align-items:center;gap:8px;padding:7px 12px;border-bottom:1px solid #e5e7eb;background:#f8fafc}.chat-inline-search-v183[hidden]{display:none!important}.chat-inline-search-v183 input{flex:1;height:34px;border:0!important;background:transparent!important;box-shadow:none!important}.chat-inline-search-v183 button{border:0;background:transparent;font-size:20px;cursor:pointer}.chat-inline-search-v183 svg{width:16px}
.chat-stream-v183{flex:1;min-height:300px;overflow:auto;padding:16px 14px 24px;background:#fff;scroll-behavior:smooth}.chat-date-separator-v183{display:flex;align-items:center;gap:10px;margin:12px 0;color:#6b7280;font-size:10px}.chat-date-separator-v183:before,.chat-date-separator-v183:after{content:"";height:1px;background:#e5e7eb;flex:1}.chat-date-separator-v183 span{white-space:nowrap}.chat-message-v183{position:relative;display:flex;align-items:flex-end;gap:8px;max-width:86%;margin:5px 0}.chat-message-v183.mine{margin-inline-start:auto;flex-direction:row-reverse}.chat-message-avatar-v183{width:30px;height:30px;border-radius:50%;object-fit:cover;align-self:flex-start;margin-top:3px}.chat-message-content-v183{min-width:0}.chat-message-author-v183{display:flex;align-items:center;gap:7px;margin:0 7px 3px}.chat-message-author-v183 b{font-size:10px}.chat-message-author-v183 time{font-size:8px;color:#75808c}.chat-message-bubble-v183{padding:9px 11px;border-radius:14px;background:#f2f2ef;border:1px solid #e4e4df;color:#17202a;font-size:12px;line-height:1.75;overflow:hidden}.chat-message-v183.mine .chat-message-bubble-v183{background:#e8f3ff;border-color:#cfe4f7}.chat-message-text-v183{white-space:pre-wrap;overflow-wrap:anywhere}.chat-reply-quote-v183{display:block;margin:-3px -4px 8px;padding:6px 8px;border-inline-start:3px solid #0a66c2;background:rgba(255,255,255,.6);border-radius:6px;text-decoration:none;color:#334155}.chat-reply-quote-v183 b,.chat-reply-quote-v183 span{display:block}.chat-reply-quote-v183 b{font-size:9px}.chat-reply-quote-v183 span{font-size:9px;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-message-image-v183,.chat-message-gif-v183{display:block;margin-top:7px}.chat-message-image-v183 img,.chat-message-gif-v183 img{display:block;max-width:360px;max-height:290px;border-radius:10px;object-fit:cover}.chat-message-file-v183{margin-top:7px;min-width:230px;display:grid;grid-template-columns:34px minmax(0,1fr) 20px;align-items:center;gap:8px;padding:8px;border-radius:9px;background:#fff;border:1px solid #d8e0e8;color:#243342;text-decoration:none}.chat-message-file-v183>svg:first-child{width:28px;height:28px;color:#d14343}.chat-message-file-v183>svg:last-child{width:17px;height:17px}.chat-message-file-v183 span b,.chat-message-file-v183 span small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-message-file-v183 span b{font-size:10px}.chat-message-file-v183 span small{font-size:8px;color:#64748b}.chat-message-footer-v183{display:flex;align-items:center;justify-content:space-between;min-height:20px;padding:2px 6px}.chat-message-meta-v183{display:flex;align-items:center;gap:4px;color:#7a8490;font-size:8px}.chat-read-state-v183{display:flex;margin-inline-start:2px;color:#94a3b8}.chat-read-state-v183 svg{width:10px;height:10px;margin-inline-start:-5px}.chat-read-state-v183.is-read{color:#0a66c2}.chat-reactions-v183{display:flex;align-items:center;gap:3px}.chat-reactions-v183 span{padding:2px 5px;border:1px solid #d8e0e8;background:#fff;border-radius:999px;font-size:9px}.chat-message-hover-v183{display:flex;align-items:center;gap:2px;align-self:center;opacity:0}.chat-message-v183:hover .chat-message-hover-v183,.chat-message-hover-v183:has(details[open]){opacity:1}.chat-message-hover-v183 summary{width:27px;height:27px;border-radius:50%;display:grid;place-items:center;background:#fff;border:1px solid #d8e0e8;cursor:pointer;list-style:none}.chat-message-hover-v183 summary::-webkit-details-marker{display:none}.chat-message-hover-v183 summary svg{width:14px;height:14px}.chat-message-menu-v183,.chat-reaction-menu-v183{position:relative}.chat-message-menu-v183>div,.chat-reaction-menu-v183>div{position:absolute;bottom:31px;inset-inline-end:0;z-index:60;background:#fff;border:1px solid #d8e0e8;border-radius:9px;box-shadow:0 12px 28px rgba(15,23,42,.18)}.chat-message-menu-v183>div{width:195px;padding:5px}.chat-message-menu-v183 button{width:100%;border:0;background:#fff;display:flex;align-items:center;gap:8px;padding:8px;border-radius:6px;font-size:10px;cursor:pointer}.chat-message-menu-v183 button:hover{background:#f1f5f9}.chat-message-menu-v183 button.danger{color:#b42318}.chat-message-menu-v183 svg{width:14px;height:14px}.chat-message-menu-v183 form{margin:0}.chat-reaction-menu-v183>div{display:flex;padding:5px;gap:2px}.chat-reaction-menu-v183 form{margin:0}.chat-reaction-menu-v183 button{width:31px;height:31px;border:0;background:#fff;border-radius:50%;font-size:17px;cursor:pointer}.chat-reaction-menu-v183 button:hover,.chat-reaction-menu-v183 button.active{background:#e9f2f8;transform:scale(1.08)}.chat-edit-form-v183{background:#fff;border:1px solid #9fc5e8;border-radius:10px;padding:7px}.chat-edit-form-v183[hidden]{display:none!important}.chat-edit-form-v183 textarea{width:100%;min-height:62px;border:0;outline:0;resize:vertical;background:#f8fafc}.chat-edit-form-v183>div{display:flex;gap:5px;margin-top:5px}
.chat-typing-v183{display:flex;align-items:center;gap:3px;min-height:25px;padding:3px 16px;color:#64748b;font-size:9px}.chat-typing-v183[hidden]{display:none!important}.chat-typing-v183>span{width:5px;height:5px;border-radius:50%;background:#64748b;animation:qTyping183 .9s infinite alternate}.chat-typing-v183>span:nth-child(2){animation-delay:.14s}.chat-typing-v183>span:nth-child(3){animation-delay:.28s}@keyframes qTyping183{from{opacity:.25;transform:translateY(2px)}to{opacity:1;transform:translateY(-2px)}}
.chat-compose-v183{position:relative;margin:0 12px 12px;border:1px solid #d8dde3;border-radius:10px;background:#f7f5f2;padding:10px}.chat-compose-v183 textarea{width:100%;min-height:72px;max-height:170px;resize:none;border:0!important;background:transparent!important;box-shadow:none!important;padding:3px!important;font-size:12px!important}.chat-compose-bottom-v183{display:flex;align-items:center;gap:7px;padding-top:7px;border-top:1px solid #ebe7e1}.chat-compose-tools-v183{display:flex;align-items:center;gap:2px;flex:1}.chat-compose-tools-v183 label,.chat-compose-tools-v183 button,.chat-compose-more-v183{width:31px;height:31px;border:0;background:transparent;color:#334155;border-radius:50%;display:grid;place-items:center;cursor:pointer}.chat-compose-tools-v183 label:hover,.chat-compose-tools-v183 button:hover,.chat-compose-more-v183:hover{background:#e7e3dd}.chat-compose-tools-v183 svg,.chat-compose-more-v183 svg{width:18px;height:18px}.chat-gif-trigger-v183{font-size:11px!important;font-weight:900!important;width:38px!important;border-radius:7px!important}.chat-char-count-v183{font-size:8px;color:#89939e}.chat-send-v183{height:30px;padding:0 15px;border:0;border-radius:999px;background:#0a66c2;color:#fff;font-size:10px;font-weight:800;cursor:pointer}.chat-send-v183:disabled{background:#d7dde3;color:#8b95a1;cursor:not-allowed}.chat-reply-preview-v183,.chat-attachment-preview-v183{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 8px;margin-bottom:7px;border-radius:7px;background:#fff;border:1px solid #d8e0e8}.chat-reply-preview-v183[hidden],.chat-attachment-preview-v183[hidden],.chat-gif-preview-v183[hidden],.chat-emoji-picker-v183[hidden],.chat-gif-panel-v183[hidden]{display:none!important}.chat-reply-preview-v183 span b,.chat-reply-preview-v183 span small{display:block}.chat-reply-preview-v183 span b{font-size:9px}.chat-reply-preview-v183 span small{font-size:9px;color:#64748b;max-width:520px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-reply-preview-v183 button,.chat-attachment-preview-v183 button,.chat-gif-preview-v183 button{border:0;background:transparent;font-size:18px;cursor:pointer}.chat-attachment-preview-v183 span{display:flex;align-items:center;gap:7px;font-size:10px}.chat-attachment-preview-v183 svg{width:15px}.chat-gif-preview-v183{position:relative;width:max-content;margin-bottom:7px}.chat-gif-preview-v183 img{max-width:150px;max-height:100px;border-radius:7px}.chat-gif-preview-v183 button{position:absolute;top:2px;right:2px;width:23px;height:23px;border-radius:50%;background:rgba(255,255,255,.9)}.chat-emoji-picker-v183{position:absolute;bottom:50px;inset-inline-start:95px;width:255px;display:grid;grid-template-columns:repeat(7,1fr);gap:2px;padding:7px;background:#fff;border:1px solid #d8e0e8;border-radius:9px;box-shadow:0 12px 28px rgba(15,23,42,.18);z-index:70}.chat-emoji-picker-v183 button{border:0;background:#fff;border-radius:5px;font-size:18px;padding:4px;cursor:pointer}.chat-emoji-picker-v183 button:hover{background:#eef2f6}.chat-gif-panel-v183{position:absolute;bottom:48px;inset-inline-start:70px;width:300px;padding:9px;background:#fff;border:1px solid #d8e0e8;border-radius:9px;box-shadow:0 12px 28px rgba(15,23,42,.18);z-index:70}.chat-gif-panel-v183 label{display:block;font-size:9px}.chat-gif-panel-v183 input{width:100%;height:34px;margin:5px 0;border:1px solid #cbd5e1;border-radius:6px;padding:0 7px}.chat-gif-panel-v183 .btn{width:100%}

.publisher-v183-actions .li-icon{width:17px;height:17px}.publisher-submit-btn-v183{background:#0a66c2!important}.publisher-v183-tabs{overflow-x:auto}.publisher-submission-dashboard-v183,.publisher-submit-shell-v183{display:grid;gap:14px}.publisher-submission-head-v183{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:18px}.publisher-submission-head-v183>div{display:flex;align-items:center;gap:12px}.publisher-submission-head-v183>div>span,.publisher-submit-form-head-v183>span{width:48px;height:48px;border-radius:14px;background:#eaf4ff;color:#0a66c2;display:grid;place-items:center}.publisher-submission-head-v183 svg,.publisher-submit-form-head-v183 svg{width:25px;height:25px}.publisher-submission-head-v183 h2,.publisher-submit-form-head-v183 h2{margin:0 0 4px;font-size:18px}.publisher-submission-head-v183 p,.publisher-submit-form-head-v183 p{margin:0;color:#64748b;font-size:11px;line-height:1.7}.publisher-submission-head-v183>strong{padding:7px 11px;border-radius:999px;background:#eef6ff;color:#0a66c2;font-size:11px}.publisher-submission-section-v183,.publisher-submit-form-v183,.publisher-my-submissions-v183{padding:18px}.publisher-submission-section-title-v183{display:flex;align-items:center;justify-content:space-between;padding-bottom:12px;border-bottom:1px solid #e8edf2}.publisher-submission-section-title-v183 h3{margin:0 0 3px;font-size:15px}.publisher-submission-section-title-v183 p{margin:0;color:#64748b;font-size:10px}.publisher-submission-list-v183{display:grid;gap:12px;margin-top:14px}.publisher-submission-card-v183{border:1px solid #dce3ea;border-radius:14px;overflow:hidden;background:#fff}.publisher-submission-card-v183.status-accepted{border-color:#a7dfc5}.publisher-submission-card-v183.status-rejected{border-color:#f2b8b5}.publisher-submission-card-v183.status-under_review{border-color:#f1d58c}.publisher-submission-main-v183{display:grid;grid-template-columns:55px minmax(0,1fr) auto;gap:12px;align-items:start;padding:14px}.publisher-submission-file-v183{width:52px;height:60px;border-radius:10px;background:#f2f6fa;color:#0a66c2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px}.publisher-submission-file-v183 svg{width:24px;height:24px}.publisher-submission-file-v183 span{font-size:8px;font-weight:900}.publisher-submission-copy-v183{min-width:0}.publisher-submission-title-v183{display:flex;align-items:center;justify-content:space-between;gap:10px}.publisher-submission-title-v183 h4{margin:0;font-size:14px}.publisher-submission-title-v183 h4 a{text-decoration:none;color:#17202a}.publisher-submission-copy-v183>p{margin:5px 0;color:#64748b;font-size:10px}.publisher-submission-copy-v183 blockquote,.publisher-my-submission-list-v183 blockquote{margin:8px 0 0;padding:8px 10px;border-inline-start:3px solid #cbd5e1;background:#f8fafc;border-radius:7px;font-size:10px;color:#475569}.publisher-submission-status-v183{display:inline-flex;align-items:center;height:24px;padding:0 8px;border-radius:999px;font-size:9px;font-weight:900;background:#eef2f6;color:#475569;white-space:nowrap}.publisher-submission-status-v183.accepted{background:#dcfce7;color:#166534}.publisher-submission-status-v183.rejected{background:#fee2e2;color:#991b1b}.publisher-submission-status-v183.under_review{background:#fef3c7;color:#92400e}.publisher-submission-status-v183.revision_requested{background:#ede9fe;color:#5b21b6}.publisher-pdf-btn-v183{font-size:10px!important;white-space:nowrap}.publisher-decision-note-v183{margin-top:8px;padding:8px;border-radius:7px;background:#fff8db;color:#6b5600;font-size:10px}.publisher-decision-note-v183 b{display:block;margin-bottom:2px}.publisher-decision-form-v183{padding:12px 14px;background:#f8fafc;border-top:1px solid #e5eaf0}.publisher-decision-buttons-v183{display:flex;flex-wrap:wrap;gap:6px}.publisher-decision-buttons-v183 label input{position:absolute;opacity:0}.publisher-decision-buttons-v183 label span{height:30px;display:flex;align-items:center;padding:0 11px;border:1px solid #cbd5e1;border-radius:999px;background:#fff;font-size:10px;font-weight:800;cursor:pointer}.publisher-decision-buttons-v183 label input:checked+span{box-shadow:0 0 0 2px rgba(10,102,194,.12)}.publisher-decision-buttons-v183 label.accepted input:checked+span{background:#dcfce7;border-color:#4ade80;color:#166534}.publisher-decision-buttons-v183 label.rejected input:checked+span{background:#fee2e2;border-color:#f87171;color:#991b1b}.publisher-decision-buttons-v183 label.under_review input:checked+span{background:#fef3c7;border-color:#fbbf24;color:#92400e}.publisher-decision-buttons-v183 label.revision_requested input:checked+span{background:#ede9fe;border-color:#a78bfa;color:#5b21b6}.publisher-decision-form-v183 textarea{width:100%;min-height:70px;margin-top:9px;border:1px solid #d7dee6;border-radius:9px;padding:9px;background:#fff;resize:vertical;font-size:11px}.publisher-decision-footer-v183{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px}.publisher-decision-footer-v183 label{display:flex;align-items:center;gap:7px;color:#475569;font-size:10px}.publisher-decision-footer-v183 .btn{font-size:10px}.publisher-submit-shell-v183{grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);align-items:start}.publisher-submit-form-head-v183{display:flex;align-items:center;gap:12px;margin-bottom:16px}.publisher-submit-grid-v183{display:grid;grid-template-columns:1fr 1fr;gap:12px}.publisher-pdf-drop-v183{display:block;margin:12px 0;cursor:pointer}.publisher-pdf-drop-v183>input{position:absolute;opacity:0}.publisher-pdf-drop-v183>span{min-height:115px;border:2px dashed #a9bfd3;border-radius:14px;background:#f7fbff;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#0a66c2}.publisher-pdf-drop-v183 svg{width:30px;height:30px}.publisher-pdf-drop-v183 b{margin-top:6px;font-size:12px}.publisher-pdf-drop-v183 small{margin-top:3px;color:#64748b;font-size:9px}.publisher-submit-consent-v183{display:flex;align-items:flex-start;gap:8px;padding:9px;border-radius:9px;background:#fff8db;color:#6b5600}.publisher-submit-consent-v183 svg{width:17px;height:17px;flex:0 0 auto}.publisher-submit-consent-v183 p{margin:0;font-size:9px;line-height:1.7}.publisher-submit-send-v183{width:100%;margin-top:12px;justify-content:center}.publisher-my-submission-list-v183{display:grid;gap:8px;margin-top:12px}.publisher-my-submission-list-v183>article{display:grid;grid-template-columns:45px minmax(0,1fr) auto 30px;align-items:center;gap:9px;padding:10px;border:1px solid #e2e8f0;border-radius:11px}.publisher-my-submission-list-v183 .publisher-submission-file-v183{width:42px;height:49px}.publisher-my-submission-list-v183 h4{margin:0;font-size:11px}.publisher-my-submission-list-v183 p{margin:3px 0 0;color:#64748b;font-size:8px}.publisher-my-submission-list-v183>article>a{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;color:#0a66c2}.publisher-my-submission-list-v183>article>a:hover{background:#eef6ff}.publisher-my-submission-list-v183>article>a svg{width:16px}

@media(max-width:900px){.chat-global-head-v183{grid-template-columns:200px minmax(180px,1fr) auto}.chat-linkedin-grid-v183{grid-template-columns:275px minmax(0,1fr)}.publisher-submit-shell-v183{grid-template-columns:1fr}.publisher-submit-grid-v183{grid-template-columns:1fr}}
@media(max-width:700px){.chat-linkedin-v183{margin:0;border-radius:0!important;min-height:calc(100vh - 60px)}.chat-global-head-v183{grid-template-columns:auto 1fr auto;padding:0 8px}.chat-title-v183 h1{font-size:14px}.chat-global-search-v183{max-width:none}.chat-filter-pills-v183{padding-inline:8px}.chat-linkedin-grid-v183{grid-template-columns:1fr}.chat-linkedin-v183[data-live-chat] .chat-sidebar-v183{display:none}.chat-linkedin-v183:not([data-live-chat]) .chat-empty-room-v183{display:none}.chat-thread-main-v183{padding-inline-start:10px}.chat-room-head-v183{padding:7px 9px}.chat-room-person-v183>div>small{max-width:180px}.chat-stream-v183{padding:12px 8px 18px}.chat-message-v183{max-width:94%}.chat-message-image-v183 img,.chat-message-gif-v183 img{max-width:260px}.chat-message-hover-v183{opacity:1}.chat-compose-v183{margin:0 6px 6px}.chat-emoji-picker-v183{inset-inline-start:5px;width:240px}.chat-gif-panel-v183{inset-inline-start:5px;width:280px}.publisher-submission-main-v183{grid-template-columns:45px minmax(0,1fr)}.publisher-submission-main-v183>.publisher-pdf-btn-v183{grid-column:1/-1;justify-self:stretch;justify-content:center}.publisher-submission-title-v183{align-items:flex-start;flex-direction:column}.publisher-decision-footer-v183{align-items:flex-start;flex-direction:column}.publisher-decision-footer-v183 .btn{width:100%;justify-content:center}.publisher-submission-head-v183{align-items:flex-start;flex-direction:column}.publisher-v162-stats{grid-template-columns:1fr 1fr!important}.publisher-my-submission-list-v183>article{grid-template-columns:42px minmax(0,1fr) auto}.publisher-my-submission-list-v183>article>a{display:none}}

/* v184 chat manage / preorder / mobile fixes */
.chat-global-menu-v184{position:relative}
.chat-global-menu-v184>summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border:1px solid var(--line,#d8dee7);border-radius:14px;background:#fff}
.chat-global-menu-v184>summary::-webkit-details-marker{display:none}
.chat-global-menu-v184>div{position:absolute;top:48px;inset-inline-end:0;min-width:220px;background:#fff;border:1px solid var(--line,#d8dee7);border-radius:16px;padding:8px;box-shadow:0 18px 40px rgba(15,23,42,.12);z-index:30;display:grid;gap:6px}
.chat-global-menu-v184>div button{width:100%;text-align:start;background:#fff;border:none;border-radius:12px;padding:10px 12px;cursor:pointer}
.chat-global-menu-v184>div button:hover{background:#f6f8fb}
.chat-manage-panel-v184{padding:10px;border-bottom:1px solid var(--line,#e5e7eb);background:#fff}
.chat-manage-toolbar-v184{display:flex;align-items:center;justify-content:space-between;gap:10px}
.chat-manage-toolbar-v184 div{display:flex;gap:8px}
.chat-manage-toolbar-v184 button{width:36px;height:36px;border-radius:10px;border:1px solid var(--line,#d8dee7);background:#fff}
.chat-thread-select-wrap-v184{display:none;align-items:center;justify-content:center;width:42px;flex:0 0 42px}
.chat-thread-select-wrap-v184 input{position:absolute;opacity:0}
.chat-thread-select-wrap-v184 span{display:inline-block;width:22px;height:22px;border-radius:6px;border:1.5px solid #b7c0cf;background:#fff}
.chat-thread-select-wrap-v184 input:checked+span{background:#0b74de;border-color:#0b74de;box-shadow:inset 0 0 0 5px #fff}
.chat-linkedin-v183.is-managing .chat-thread-select-wrap-v184{display:flex}
.chat-linkedin-v183.is-managing .chat-thread-menu-v183{display:none}
.chat-linkedin-v183.is-managing .chat-thread-item-v183{padding-inline-start:0}
.chat-away-modal-v184{position:fixed;inset:0;background:rgba(15,23,42,.35);display:grid;place-items:center;z-index:60}
.chat-away-modal-v184>[class*="card"]{width:min(460px, calc(100% - 32px))}
.book-preorder-card-v184{margin-bottom:18px}
.book-preorder-head-v184{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:12px}
.book-preorder-counter-v184{min-width:120px;text-align:center;padding:12px;border-radius:14px;background:#f8fafc;border:1px solid var(--line,#e5e7eb)}
.book-preorder-counter-v184 b{display:block;font-size:1.25rem}
.book-preorder-form-v184 .field textarea,.book-preorder-form-v184 .field input{width:100%}
.book-preorder-total-v184{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:14px;padding-top:14px;border-top:1px solid var(--line,#e5e7eb)}
@media (max-width: 768px){
  .folio-editor-v177-header{margin-top:78px}
  .book-preorder-head-v184,.book-preorder-total-v184{flex-direction:column;align-items:stretch}
}
.chat-compose-more-wrap-v184{position:relative}
.chat-send-settings-v184{position:absolute;bottom:48px;inset-inline-end:0;min-width:300px;background:#fff;border:1px solid var(--line,#d8dee7);border-radius:14px;padding:12px;box-shadow:0 18px 40px rgba(15,23,42,.12);display:grid;gap:12px;z-index:30}
.chat-send-settings-v184 label{display:flex;gap:10px;align-items:flex-start}
.chat-send-settings-v184 input{margin-top:3px}
.chat-send-settings-v184 b{display:block;font-weight:700}
.chat-send-settings-v184 small{display:block;color:#6b7280}

/* Folinq v185 hotfix */
.chat-away-modal-v184[hidden]{display:none!important}
.chat-modal-v185{position:fixed;inset:0;z-index:10020;background:rgba(15,23,42,.42);display:grid;place-items:center;padding:18px;backdrop-filter:blur(3px)}
.chat-modal-card-v185{width:min(560px,100%);max-height:min(82vh,720px);overflow:auto;background:#fff;border:1px solid #dbe3ec;border-radius:20px;box-shadow:0 28px 90px rgba(15,23,42,.24);padding:0}
.chat-modal-card-v185>header{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;background:#fff;border-bottom:1px solid #e5eaf0}
.chat-modal-card-v185>header h3{margin:0;font-size:17px}
.chat-modal-close-v185{width:36px;height:36px;border:0;border-radius:11px;background:#eef3f8;color:#334155;font-size:24px;line-height:1;cursor:pointer}
.chat-canned-body-v185{padding:16px}
.chat-canned-toolbar-v185{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.chat-canned-toolbar-v185 p{margin:0;color:#64748b;font-size:12px;line-height:1.8}
.chat-canned-list-v185{display:grid;gap:9px}
.chat-canned-list-v185 article{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:7px;border:1px solid #e1e7ee;border-radius:14px;background:#fff;overflow:hidden}
.chat-canned-use-v185{border:0;background:#fff;text-align:start;padding:12px 14px;cursor:pointer}
.chat-canned-use-v185:hover{background:#f7faff}
.chat-canned-use-v185 b{display:block;color:#172033;font-size:13px;margin-bottom:4px}
.chat-canned-use-v185 span{display:block;color:#64748b;font-size:11px;line-height:1.8}
.chat-canned-delete-v185{width:34px;height:34px;margin-inline-end:8px;border:0;border-radius:10px;background:#fff1f2;color:#dc2626;font-size:21px;cursor:pointer}
.chat-canned-editor-v185{display:grid;gap:12px}
.chat-canned-editor-v185[hidden]{display:none!important}
.chat-canned-editor-v185 label span{display:block;font-weight:800;margin-bottom:5px}
.chat-canned-editor-v185 input,.chat-canned-editor-v185 textarea{width:100%;border:1px solid #d7dee7;border-radius:12px;padding:10px 12px;background:#fff}
.chat-canned-editor-v185>div{display:flex;gap:8px}
.chat-send-settings-modal-v185{display:grid;gap:12px;padding:18px}
.chat-send-settings-modal-v185 label{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:flex-start;border:1px solid #dde4ec;border-radius:14px;padding:13px;cursor:pointer}
.chat-send-settings-modal-v185 label:has(input:checked){border-color:#0a66c2;background:#f3f8ff}
.chat-send-settings-modal-v185 input{margin-top:4px}
.chat-send-settings-modal-v185 b{display:block;font-size:14px;color:#111827}
.chat-send-settings-modal-v185 small{display:block;margin-top:3px;color:#64748b;font-size:12px}
.chat-compose-more-wrap-v184,.chat-send-settings-v184{display:none!important}
@media(max-width:760px){
  body.q-folio-editor-mobile-v185 .folio-editor-v177-shell{margin:0 auto!important;padding:8px 0 0!important}
  body.q-folio-editor-mobile-v185 .folio-editor-v177-card{border-radius:0!important}
  body.q-folio-editor-mobile-v185 .folio-editor-v177-header{display:grid!important;visibility:visible!important;opacity:1!important;position:relative!important;inset:auto!important;margin:0 10px 8px!important;transform:none!important;z-index:2!important}
  .chat-modal-v185{padding:0;place-items:end center}
  .chat-modal-card-v185{width:100%;max-height:88vh;border-radius:22px 22px 0 0;border-bottom:0}
  .chat-canned-toolbar-v185{align-items:stretch;flex-direction:column}
  .chat-canned-toolbar-v185 .btn{width:100%}
}

/* v186: support anti-spam challenge and two-sided chat avatars */
.support-human-check-row-v186{display:flex;align-items:center;gap:10px}
.support-human-check-row-v186 span{min-width:72px;height:42px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line,#d8dee7);border-radius:10px;background:#f8fafc;font-weight:900}
.support-human-check-row-v186 input{max-width:120px}
.chat-message-v183.mine .chat-message-avatar-v183{display:block}

/* Folinq v187 */
.birthday-removing-v187{opacity:0!important;transform:translateY(-8px)!important;max-height:0!important;margin:0!important;padding-top:0!important;padding-bottom:0!important;overflow:hidden!important;transition:opacity .22s,transform .22s,max-height .34s,margin .34s,padding .34s!important}
.preorder-terms-check-v187{display:flex!important;align-items:center;gap:7px;flex-wrap:wrap}
.preorder-terms-check-v187 input{width:auto!important;flex:0 0 auto}
.preorder-terms-check-v187 small{width:100%;color:#64748b;margin-inline-start:25px}
.preorder-terms-link-v187{border:0;background:transparent;color:#0a66c2;font-weight:900;padding:0;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.preorder-terms-modal-v187{position:fixed;inset:0;z-index:400100;background:rgba(15,23,42,.48);display:grid;place-items:center;padding:18px;backdrop-filter:blur(3px)}
.preorder-terms-modal-v187[hidden]{display:none!important}
.preorder-terms-card-v187{width:min(720px,100%);max-height:88vh;overflow:auto;background:#fff;border:1px solid #dbe3ec;border-radius:22px;box-shadow:0 30px 100px rgba(15,23,42,.28)}
.preorder-terms-card-v187>header{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;background:#fff;border-bottom:1px solid #e5eaf0}
.preorder-terms-card-v187>header h3{margin:0;font-size:18px}
.preorder-terms-card-v187>header button{width:36px;height:36px;border:0;border-radius:11px;background:#eef3f8;color:#334155;font-size:24px;cursor:pointer}
.preorder-terms-body-v187{padding:18px;line-height:2;color:#334155}
.preorder-terms-body-v187 p{margin-top:0}
.preorder-terms-body-v187 ul{margin:0;padding-inline-start:22px}
.preorder-terms-body-v187 li{margin:7px 0}
.preorder-terms-card-v187>footer{position:sticky;bottom:0;display:flex;justify-content:flex-end;gap:8px;padding:14px 18px;background:#fff;border-top:1px solid #e5eaf0}
body.q-modal-open{overflow:hidden!important}
.initiative-stats-v187{grid-template-columns:repeat(4,minmax(0,1fr))!important}

@media(max-width:760px){
  body.q-folio-editor-mobile-v185 main.container{margin-top:0!important;padding-top:0!important}
  body.q-folio-editor-mobile-v185 .folio-editor-v177-shell{scroll-margin-top:0!important}
  body.q-folio-editor-mobile-v185 .folio-editor-v177-header{margin-top:0!important}
  .preorder-terms-modal-v187{padding:0;place-items:end center}
  .preorder-terms-card-v187{width:100%;max-height:92vh;border-radius:22px 22px 0 0;border-bottom:0}
  .preorder-terms-card-v187>footer{flex-direction:column}
  .preorder-terms-card-v187>footer .btn{width:100%}
  .initiative-stats-v187{grid-template-columns:1fr 1fr!important}

  .comment-more-menu[open]::before{content:"";position:fixed;inset:0;background:rgba(15,23,42,.38);z-index:410000}
  .comment-more-menu[open]{z-index:410001!important}
  .comment-more-menu[open] .comment-more-panel{position:fixed!important;inset-inline:12px!important;left:12px!important;right:12px!important;top:auto!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;width:auto!important;max-width:none!important;max-height:70vh!important;overflow:auto!important;z-index:410002!important;border-radius:18px!important;padding:8px!important;box-shadow:0 24px 80px rgba(15,23,42,.28)!important}
  .comment-more-menu[open] .comment-more-panel a,.comment-more-menu[open] .comment-more-panel button{min-height:46px!important;font-size:13px!important}
}

/* Folinq v187.1 mobile positioning fixes */
[data-folio-top-sentinel]{position:absolute;top:0;inset-inline-start:0;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none}
@media(max-width:760px){
  .comment-more-menu[open] .comment-more-panel{display:grid!important;grid-template-columns:1fr!important;gap:6px!important;direction:inherit!important;text-align:start!important;background:#fff!important;color:#172033!important}
  .comment-more-menu[open] .comment-more-panel>form{display:block!important;width:100%!important;margin:0!important}
  .comment-more-menu[open] .comment-more-panel>a,
  .comment-more-menu[open] .comment-more-panel>form>button{display:flex!important;width:100%!important;min-width:0!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;padding:11px 13px!important;white-space:normal!important;overflow:visible!important;color:#26344d!important;background:#fff!important;border:0!important;border-radius:12px!important;text-align:start!important}
  .comment-more-menu[open] .comment-more-panel>form>button.danger,
  .comment-more-menu[open] .comment-more-panel>form.comment-report-inline>button{color:#dc2626!important;background:#fff5f5!important}
  .comment-more-menu[open] .comment-more-panel svg{display:block!important;flex:0 0 auto!important;width:19px!important;height:19px!important}
  .comment-more-menu[open] .comment-more-panel a:hover,
  .comment-more-menu[open] .comment-more-panel button:hover{background:#f3f7fb!important}
}

/* Folinq v188 - persistent birthdays, compact mobile menus, folio avatar and dock unread badge */
.folio-editor-v177-account,.folio-editor-v173-account{justify-content:flex-start!important;overflow:visible!important;min-width:0!important}
.folio-account-avatar-shell-v188{display:block!important;visibility:visible!important;opacity:1!important;width:48px!important;height:48px!important;min-width:48px!important;flex:0 0 48px!important;border-radius:50%!important;overflow:hidden!important;background:#eef3f8!important;box-shadow:0 0 0 1px #dbe7f5,0 8px 20px rgba(15,23,42,.10)!important}
.folio-account-avatar-shell-v188 .folio-account-avatar-v180{display:block!important;width:100%!important;height:100%!important;min-width:0!important;max-width:none!important;border:0!important;border-radius:50%!important;object-fit:cover!important;box-shadow:none!important;margin:0!important;position:static!important;transform:none!important}
.q-chat-dock-user{position:relative!important}
.q-chat-dock-badge-v188{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:19px!important;height:19px!important;padding:0 5px!important;margin-inline-start:4px!important;border-radius:999px!important;background:#c8192e!important;color:#fff!important;font-size:10px!important;font-style:normal!important;font-weight:900!important;line-height:1!important;box-shadow:0 0 0 2px #fff!important}

@media(max-width:760px){
  .comment-more-menu[open]::before{display:none!important;content:none!important}
  .comment-more-menu[open]{position:relative!important;z-index:410001!important}
  .comment-more-menu[open] .comment-more-panel{position:absolute!important;inset:auto!important;inset-inline-end:0!important;top:29px!important;bottom:auto!important;width:178px!important;min-width:178px!important;max-width:calc(100vw - 34px)!important;max-height:52vh!important;overflow:auto!important;display:grid!important;grid-template-columns:1fr!important;gap:3px!important;padding:5px!important;border-radius:12px!important;background:#fff!important;box-shadow:0 14px 36px rgba(15,23,42,.22)!important;z-index:410002!important}
  .comment-more-menu[open] .comment-more-panel>form{display:block!important;width:100%!important;margin:0!important}
  .comment-more-menu[open] .comment-more-panel>a,
  .comment-more-menu[open] .comment-more-panel>form>button{min-height:34px!important;height:auto!important;padding:6px 8px!important;gap:7px!important;border-radius:8px!important;font-size:10.5px!important;line-height:1.35!important;white-space:normal!important}
  .comment-more-menu[open] .comment-more-panel svg{width:15px!important;height:15px!important}

  .post-head>.dropdown{position:relative!important;z-index:120!important}
  .post-head>.dropdown .dropdown-menu{position:absolute!important;inset-inline-end:0!important;inset-inline-start:auto!important;top:34px!important;width:182px!important;min-width:182px!important;max-width:calc(100vw - 34px)!important;padding:5px!important;border-radius:12px!important;box-shadow:0 14px 36px rgba(15,23,42,.22)!important;z-index:420002!important}
  .post-head>.dropdown .dropdown-menu a,
  .post-head>.dropdown .dropdown-menu button{min-height:34px!important;padding:6px 8px!important;gap:7px!important;border-radius:8px!important;font-size:10.5px!important;line-height:1.35!important;white-space:normal!important}
  .post-head>.dropdown .dropdown-menu svg{width:15px!important;height:15px!important}

  .folio-editor-v177-account,.folio-editor-v173-account{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;overflow:visible!important}
  .folio-account-avatar-shell-v188{width:44px!important;height:44px!important;min-width:44px!important;flex-basis:44px!important}
}

/* Folinq v189 - compact full Folio editor header on desktop */
@media (min-width:901px){
  .folio-editor-v177-header.folio-editor-v173-header{
    grid-template-columns:40px minmax(0,1fr) auto!important;
    column-gap:8px!important;
    row-gap:0!important;
  }
  .folio-editor-v177-header .folio-editor-v177-close{
    width:40px!important;
    min-width:40px!important;
    margin:0!important;
  }
  .folio-editor-v177-header .folio-editor-v177-brand{
    min-width:0!important;
    margin:0!important;
  }
  .folio-editor-v177-header .folio-editor-v177-account{
    width:auto!important;
    min-width:0!important;
    margin:0!important;
  }
}

/* Folinq v191 - admin engagement, language identity, chat scrolling, profile warning */
.admin-user-identity-v191{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:#64748b;font-size:12px}.admin-user-identity-v191 small{direction:ltr}.admin-user-email-copy-v191{border:0;background:transparent;cursor:pointer;padding:0;text-align:start;display:flex;align-items:center;gap:6px;max-width:100%;color:inherit}.admin-user-email-copy-v191 b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-user-locale-v191{background:#eef6ff!important;color:#155a9c!important;border:1px solid #cfe5fb!important}.admin-user-account-actions-v191{display:flex;gap:8px;flex-wrap:wrap}.admin-email-modal-v191[hidden]{display:none!important}.admin-email-modal-v191 textarea{min-height:150px;resize:vertical}.profile-name-language-warning-v191{display:grid;gap:5px;margin:12px 0 18px;padding:13px 15px;border:1px solid #f0c66d;border-radius:14px;background:#fff8e8;color:#744b00}.profile-name-language-warning-v191 b{font-size:14px}.profile-name-language-warning-v191 span{font-size:13px;line-height:1.8}

@media (min-width:761px){
  .chat-linkedin-v183{height:min(820px,calc(100vh - 92px));min-height:560px;overflow:hidden!important}
  .chat-linkedin-grid-v183{height:100%;min-height:0;overflow:hidden}
  .chat-sidebar-v183{min-height:0;max-height:100%;overflow-y:auto!important;overscroll-behavior:contain;scrollbar-gutter:stable}
  .chat-room-v183{min-height:0;max-height:100%;overflow:hidden}
  .chat-stream-v183{min-height:0;overflow-y:auto!important;overscroll-behavior:contain;scrollbar-gutter:stable}
}
@media (max-width:760px){
  .chat-linkedin-v183[data-live-chat]{height:calc(100dvh - 66px);min-height:520px;overflow:hidden!important}
  .chat-linkedin-v183[data-live-chat] .chat-linkedin-grid-v183,.chat-linkedin-v183[data-live-chat] .chat-room-v183{height:100%;min-height:0;overflow:hidden}
  .chat-linkedin-v183[data-live-chat] .chat-stream-v183{min-height:0;overflow-y:auto!important;overscroll-behavior:contain}
  .admin-user-account-actions-v191 .btn{flex:1;min-width:130px;justify-content:center}
}
.chat-linkedin-v183{display:flex;flex-direction:column}.chat-linkedin-grid-v183{flex:1;height:auto!important}


/* Folinq v192 - compact quota, stable expanded text and admin import tools */
.network-v162-quota-quiet-v192{display:flex!important;align-items:center!important;justify-content:center!important;min-height:54px!important;padding:14px 18px!important}.network-v162-quota-quiet-v192 .quota-bar{width:100%!important;margin:0!important}.feed-inline-content{white-space:normal!important;line-height:1.9!important}.feed-inline-content p{margin:.55em 0!important}.linkedin-import-card-v192{display:grid;gap:10px;border:1px solid #dbe7f5;border-radius:16px;padding:14px;background:#fff}.linkedin-import-card-v192 textarea{min-height:120px}.linkedin-import-grid-v192{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.admin-template-card-v192{border:1px solid #dbe7f5;border-radius:16px;padding:14px;background:#fff;display:grid;gap:10px}.admin-template-actions-v192{display:flex;gap:8px;flex-wrap:wrap}@media(max-width:760px){.linkedin-import-grid-v192{grid-template-columns:1fr}.network-v162-quota-quiet-v192{min-height:38px!important;padding:9px 12px!important}}
.linkedin-import-links-v192{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0}.linkedin-import-links-v192 a{max-width:100%;padding:4px 8px;border:1px solid var(--line,#dbe7f5);border-radius:999px;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}


/* Folinq v193 - expanded Folio text must not double-render line breaks */
.feed-inline-text .feed-inline-content{
  white-space:normal!important;
  line-height:1.78!important;
}
.feed-inline-text.is-expanded .feed-inline-content br{
  line-height:inherit!important;
}
.feed-inline-text.is-expanded{
  line-height:1.78!important;
}

/* Folinq v184 Hotfix 17: wide in-place message editor */
.chat-message-v183:has(.chat-edit-form-v183:not([hidden])){
  width:min(720px,92%)!important;
  max-width:92%!important;
}
.chat-message-v183:has(.chat-edit-form-v183:not([hidden])) .chat-message-content-v183{
  flex:1 1 auto!important;
  width:100%!important;
  min-width:0!important;
}
.chat-message-v183:has(.chat-edit-form-v183:not([hidden])) .chat-edit-form-v183{
  width:100%!important;
  min-width:0!important;
}
.chat-edit-form-v183:not([hidden]) textarea{
  width:100%!important;
  min-height:96px!important;
  padding:10px 12px!important;
  line-height:1.9!important;
}
@media(max-width:760px){
  .chat-message-v183:has(.chat-edit-form-v183:not([hidden])){
    width:100%!important;
    max-width:100%!important;
  }
}

/* Folinq v184 Hotfix 19: visible bilingual PWA install button */
.folinq-pwa-install-v195{margin-top:18px;padding-top:16px;border-top:1px solid #e6eef6}.folinq-pwa-install-btn-v195{width:100%;border:1px solid #b9d8f4;background:linear-gradient(135deg,#f7fbff 0%,#edf7ff 100%);border-radius:16px;padding:11px 13px;display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:12px;align-items:center;text-align:start;color:#123a5c;cursor:pointer;box-shadow:0 9px 24px rgba(10,102,194,.08);transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease}.folinq-pwa-install-btn-v195:hover,.folinq-pwa-install-btn-v195:focus-visible{transform:translateY(-1px);border-color:#0a66c2;box-shadow:0 13px 30px rgba(10,102,194,.14);outline:0}.folinq-pwa-install-btn-v195.is-installed{cursor:default;background:#f4fbf7;border-color:#b8e3c7}.folinq-pwa-install-icon-v195{width:48px;height:48px;border-radius:14px;background:#0a66c2;color:#fff;display:grid;place-items:center;box-shadow:0 8px 18px rgba(10,102,194,.22)}.folinq-pwa-install-icon-v195 svg{width:31px;height:31px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}.folinq-pwa-install-copy-v195{min-width:0;display:flex;flex-direction:column;gap:3px}.folinq-pwa-install-copy-v195 strong{font-size:14px;font-weight:950;color:#123a5c}.folinq-pwa-install-copy-v195 small{font-size:12px;font-weight:750;color:#557086;direction:ltr;text-align:start}.folinq-pwa-install-badge-v195{font-size:10px;font-weight:950;letter-spacing:.08em;color:#0a66c2;background:#fff;border:1px solid #cce2f7;padding:5px 7px;border-radius:999px}.folinq-pwa-install-status-v195{min-height:18px;margin:6px 4px 0;font-size:11px;color:#52708a}.folinq-pwa-help-v195[hidden]{display:none!important}.folinq-pwa-help-v195{position:fixed;inset:0;z-index:100000;display:grid;place-items:center;padding:20px}.folinq-pwa-help-backdrop-v195{position:absolute;inset:0;background:rgba(17,39,60,.44);backdrop-filter:blur(3px)}.folinq-pwa-help-card-v195{position:relative;width:min(430px,100%);background:#fff;border:1px solid #d6e7f6;border-radius:22px;padding:28px;text-align:center;box-shadow:0 30px 90px rgba(17,39,60,.28)}.folinq-pwa-help-close-v195{position:absolute;top:10px;inset-inline-end:12px;width:34px;height:34px;border:0;border-radius:50%;background:#eef6fd;color:#365b78;font-size:23px;cursor:pointer}.folinq-pwa-help-icon-v195{width:60px;height:60px;border-radius:18px;margin:0 auto 12px;display:grid;place-items:center;background:#eaf5ff;color:#0a66c2;font-size:34px;font-weight:900}.folinq-pwa-help-card-v195 h3{margin:0 0 10px;color:#173b58;font-size:18px}.folinq-pwa-help-card-v195 p{margin:0;color:#557086;line-height:1.8}.folinq-pwa-help-ok-v195{margin-top:18px}.folinq-pwa-modal-open{overflow:hidden}@media(max-width:560px){.folinq-pwa-install-btn-v195{grid-template-columns:44px minmax(0,1fr);gap:10px}.folinq-pwa-install-icon-v195{width:44px;height:44px}.folinq-pwa-install-badge-v195{display:none}.folinq-pwa-install-copy-v195 strong{font-size:13px}.folinq-pwa-install-copy-v195 small{font-size:11px}.folinq-pwa-help-card-v195{padding:26px 18px}}

/* Folinq v194: public footer pages, modern content types, PDF page slider and localized pagination */
.q-guest-locked .topbar-inner{filter:blur(7px);opacity:.55;pointer-events:none;user-select:none}
.q-guest-locked .footer-note{filter:none!important;opacity:1!important;pointer-events:auto!important;user-select:auto!important}
.q-guest .q-system-page,.q-guest-locked .q-system-page{filter:none!important;opacity:1!important;pointer-events:auto!important;user-select:text!important;max-height:none!important;overflow:visible!important}

.folio-content-types-v194{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;padding:0 22px 14px}
.folio-content-types-v194 button{min-width:0;border:1px solid #d9e3ef;background:#fff;color:#475569;border-radius:14px;padding:10px 7px;display:flex;align-items:center;justify-content:center;gap:7px;font:inherit;font-size:12px;font-weight:900;cursor:pointer;transition:.16s ease}
.folio-content-types-v194 button svg{width:19px;height:19px;flex:none}
.folio-content-types-v194 button:hover,.folio-content-types-v194 button.active{border-color:#0a66c2;background:#eef6ff;color:#0a66c2;box-shadow:0 7px 20px rgba(10,102,194,.10)}

.folio-pdf-slider-v194{margin:14px 0;border:1px solid #d9e3ef;border-radius:20px;background:#f5f7fa;overflow:hidden;box-shadow:0 12px 30px rgba(15,23,42,.06)}
.folio-pdf-slider-v194.is-book-reader{margin:0;background:#e9edf2;border-radius:22px}
.folio-pdf-slider-head-v194{min-height:62px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;background:#fff;border-bottom:1px solid #e2e8f0}
.folio-pdf-slider-title-v194{display:flex;align-items:center;gap:10px;min-width:0}
.folio-pdf-slider-title-v194>span{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:#eef6ff;color:#0a66c2;flex:none}
.folio-pdf-slider-title-v194>span svg{width:22px;height:22px}
.folio-pdf-slider-title-v194 div{min-width:0;display:grid;gap:2px}
.folio-pdf-slider-title-v194 b{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.folio-pdf-slider-title-v194 small{color:#64748b;font-size:11.5px}
.folio-pdf-open-v194{width:38px;height:38px;border:1px solid #dbe5ef;border-radius:11px;display:grid;place-items:center;color:#0a66c2;background:#fff;flex:none}
.folio-pdf-open-v194 svg{width:19px;height:19px}
.folio-pdf-stage-v194{position:relative;display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;min-height:430px;padding:12px 8px;background:linear-gradient(145deg,#e4e8ee,#f4f6f8)}
.folio-pdf-track-v194{display:flex;gap:14px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:thin;scrollbar-color:#aab7c7 transparent;padding:4px 2px 12px;direction:ltr}
.folio-pdf-page-v194{scroll-snap-align:center;scroll-snap-stop:always;flex:0 0 100%;min-width:100%;display:grid;place-items:center;align-content:center;gap:7px;position:relative}
.folio-pdf-page-v194 canvas{display:block;max-width:100%;height:auto;background:#fff;box-shadow:0 12px 34px rgba(15,23,42,.20);border-radius:3px}
.folio-pdf-page-v194 figcaption{direction:rtl;color:#596579;font-size:11px;background:rgba(255,255,255,.92);border-radius:999px;padding:3px 10px}
.folio-pdf-page-v194.is-rendering:before{content:"";width:34px;height:34px;border:3px solid #cbd5e1;border-top-color:#0a66c2;border-radius:50%;animation:folioPdfSpin .8s linear infinite;position:absolute;z-index:2}
.folio-pdf-nav-v194{width:38px;height:38px;border:1px solid #cbd5e1;background:rgba(255,255,255,.94);color:#0f2747;border-radius:50%;display:grid;place-items:center;cursor:pointer;z-index:3;box-shadow:0 7px 18px rgba(15,23,42,.12)}
.folio-pdf-nav-v194:disabled{opacity:.35;cursor:default}
.folio-pdf-nav-v194 svg{width:20px;height:20px}
.folio-pdf-loading-v194,.folio-pdf-error-v194{flex:0 0 100%;min-width:100%;min-height:390px;display:grid;place-items:center;align-content:center;gap:12px;color:#526176;text-align:center}
.folio-pdf-loading-v194 span{width:42px;height:42px;border:4px solid #cbd5e1;border-top-color:#0a66c2;border-radius:50%;animation:folioPdfSpin .8s linear infinite}
.folio-pdf-error-v194 a{display:inline-flex;align-items:center;justify-content:center;border-radius:12px;padding:9px 14px;background:#0a66c2;color:#fff;font-weight:900}
.folio-pdf-slider-foot-v194{min-height:40px;padding:7px 14px;display:flex;align-items:center;justify-content:space-between;gap:10px;background:#fff;border-top:1px solid #e2e8f0;color:#64748b;font-size:11px}
.folio-pdf-slider-foot-v194 [data-pdf-position]{font-weight:950;color:#172033}
.folio-pdf-slider-v194.is-compact .folio-pdf-stage-v194{min-height:360px}
.folio-pdf-slider-v194.is-compact .folio-pdf-loading-v194,.folio-pdf-slider-v194.is-compact .folio-pdf-error-v194{min-height:320px}
.folio-pdf-slider-v194.is-book-reader .folio-pdf-stage-v194{min-height:calc(100vh - 260px)}
@keyframes folioPdfSpin{to{transform:rotate(360deg)}}

.folinq-pagination-v194{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:18px 0;padding:10px 12px;border:1px solid #e2e8f0;border-radius:16px;background:#fff}
.folinq-pagination-summary-v194{color:#64748b;font-size:12px}
.folinq-pagination-summary-v194 b{color:#172033}
.folinq-pagination-links-v194{display:flex;align-items:center;gap:5px;flex-wrap:wrap}
.folinq-pagination-links-v194 a,.folinq-pagination-links-v194 span{min-width:34px;height:34px;border:1px solid #dbe5ef;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:0 9px;color:#334155;background:#fff;font-size:12px;font-weight:850}
.folinq-pagination-links-v194 a:hover,.folinq-pagination-links-v194 .active{border-color:#0a66c2;background:#0a66c2;color:#fff}
.folinq-pagination-links-v194 .disabled{opacity:.45}.folinq-pagination-links-v194 .dots{border-color:transparent;background:transparent;min-width:auto}
.folinq-pagination-links-v194 svg{width:15px;height:15px}

@media(max-width:760px){
  .folio-content-types-v194{grid-template-columns:repeat(5,max-content);overflow-x:auto;justify-content:start;padding:0 14px 12px;scrollbar-width:none}.folio-content-types-v194::-webkit-scrollbar{display:none}.folio-content-types-v194 button{min-width:92px}
  .folio-pdf-stage-v194{grid-template-columns:32px minmax(0,1fr) 32px;min-height:330px;padding:9px 3px}.folio-pdf-nav-v194{width:30px;height:30px}.folio-pdf-nav-v194 svg{width:16px;height:16px}
  .folio-pdf-slider-v194.is-compact .folio-pdf-stage-v194{min-height:300px}.folio-pdf-loading-v194,.folio-pdf-error-v194,.folio-pdf-slider-v194.is-compact .folio-pdf-loading-v194,.folio-pdf-slider-v194.is-compact .folio-pdf-error-v194{min-height:270px}
  .folio-pdf-slider-v194.is-book-reader .folio-pdf-stage-v194{min-height:calc(100vh - 230px)}
  .folio-pdf-slider-foot-v194 span:last-child{display:none}.folio-pdf-slider-head-v194{padding:9px 10px}.folio-pdf-slider-title-v194>span{width:36px;height:36px}
  .folinq-pagination-v194{justify-content:center}.folinq-pagination-summary-v194{width:100%;text-align:center}.folinq-pagination-links-v194{justify-content:center}
}

/* Folinq v185: footer-linked public pages stay complete and scrollable for guests */
body.q-guest:not(.q-guest-locked){height:auto!important;min-height:100vh!important;overflow-x:hidden!important;overflow-y:auto!important;position:static!important;inset:auto!important}
body.q-guest:not(.q-guest-locked)>.container{height:auto!important;max-height:none!important;overflow:visible!important}
body.q-guest .q-system-page,body.q-guest .page-doc,body.q-guest .folinq-features-page{filter:none!important;opacity:1!important;pointer-events:auto!important;user-select:text!important;height:auto!important;max-height:none!important;overflow:visible!important;-webkit-line-clamp:unset!important}
body.q-guest .q-system-page *,body.q-guest .page-doc *,body.q-guest .folinq-features-page *{max-height:none}
@media(max-width:760px){body.q-guest:not(.q-guest-locked) .footer-note{display:block!important;visibility:visible!important;opacity:1!important;padding-inline:14px}}


/* Folinq v186 - feed composer, mixed-direction UGC, publisher tools and PDF fallback */
.quick-actions-five-v186{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:5px!important}
.quick-actions-five-v186 button{min-width:0;border:0;background:transparent;color:#526070;display:flex;align-items:center;justify-content:center;gap:6px;padding:8px 4px;border-radius:10px;font:inherit;font-size:12px;font-weight:850;cursor:pointer}
.quick-actions-five-v186 button:hover{background:#eef6ff;color:#0a66c2}.quick-actions-five-v186 svg{width:18px;height:18px;flex:none}
[data-reference-search]{width:100%;min-height:40px;border:1px solid #d8e3ef;border-radius:11px;padding:8px 11px;margin:7px 0;background:#fff;outline:none}
[data-reference-search]:focus{border-color:#73aee8;box-shadow:0 0 0 3px rgba(10,102,194,.10)}
.post-title[dir="auto"],.post-body[dir="auto"],.feed-inline-content[dir="auto"],.feed-inline-preview[dir="auto"],[data-user-content]{unicode-bidi:plaintext!important;text-align:start!important}
[dir="auto"]:dir(rtl){direction:rtl!important;text-align:right!important}[dir="auto"]:dir(ltr){direction:ltr!important;text-align:left!important}.bidi-line-v186{display:inline-block;width:100%;unicode-bidi:plaintext!important;text-align:start!important}.bidi-line-v186:dir(rtl){direction:rtl!important;text-align:right!important}.bidi-line-v186:dir(ltr){direction:ltr!important;text-align:left!important}
.folio-create-v170-form input[dir="auto"],.folio-create-v170-form textarea[dir="auto"]{unicode-bidi:plaintext;text-align:start}
.folio-pdf-native-v186{flex:0 0 100%;min-width:100%;min-height:390px;display:grid;grid-template-rows:minmax(320px,1fr) auto;gap:10px;padding:8px}
.folio-pdf-native-v186 iframe{width:100%;height:100%;min-height:360px;border:0;border-radius:10px;background:#fff}
.folio-pdf-native-v186 a{justify-self:center;display:inline-flex;padding:8px 13px;border-radius:11px;background:#0a66c2;color:#fff;font-weight:900}
.admin-publisher-actions-v186{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.admin-publisher-actions-v186 form{display:flex;align-items:center;gap:6px}.admin-icon-action.danger,.btn.danger{background:#fee2e2!important;color:#b91c1c!important;border-color:#fecaca!important}
.admin-publisher-edit-v186{max-width:900px;margin-inline:auto}.publisher-dashboard-v186{margin-bottom:14px}.publisher-switcher-v186{display:flex;align-items:center;gap:12px;margin-bottom:14px}.publisher-switcher-v186 label{font-weight:950}.publisher-switcher-v186 select{min-width:240px;border:1px solid #d8e3ef;border-radius:12px;padding:9px 12px}.compact-grid{margin-top:14px}
@media(max-width:760px){.quick-actions-five-v186{grid-template-columns:repeat(5,minmax(66px,1fr))!important;overflow-x:auto;padding-bottom:4px}.quick-actions-five-v186 button{font-size:11px;flex-direction:column;gap:3px}.folio-pdf-native-v186,.folio-pdf-native-v186 iframe{min-height:280px}.admin-publisher-actions-v186,.admin-publisher-actions-v186 form{align-items:stretch}.publisher-switcher-v186{display:grid}.publisher-switcher-v186 select{min-width:0;width:100%}}

/* Folinq v187 - compact composer row, searchable book combobox, lazy followed shelf and single-page PDF slider */
.quick-actions.quick-actions-five-v186{
  display:flex!important;
  grid-template-columns:none!important;
  flex-wrap:nowrap!important;
  align-items:stretch!important;
  gap:5px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  scrollbar-width:none;
}
.quick-actions.quick-actions-five-v186::-webkit-scrollbar{display:none}
.quick-actions.quick-actions-five-v186>button{
  flex:1 1 0!important;
  min-width:74px!important;
  white-space:nowrap!important;
  flex-direction:row!important;
}

.folio-book-combobox-v187{position:relative;margin-top:7px}
.folio-book-combobox-v187>[data-reference-search]{width:100%;min-height:44px;margin:0;padding:9px 42px 9px 12px;border:1px solid #d8e3ef;border-radius:12px;background:#fff;color:#172033;outline:none;font:inherit;cursor:text}
[dir="rtl"] .folio-book-combobox-v187>[data-reference-search]{padding:9px 12px 9px 42px}
.folio-book-combobox-v187>[data-reference-search]:focus{border-color:#0a66c2;box-shadow:0 0 0 3px rgba(10,102,194,.11)}
.folio-book-combo-arrow-v187{position:absolute;top:12px;right:13px;width:20px;height:20px;display:grid;place-items:center;color:#64748b;pointer-events:none;transition:transform .16s ease}
[dir="rtl"] .folio-book-combo-arrow-v187{right:auto;left:13px}
.folio-book-combobox-v187:focus-within .folio-book-combo-arrow-v187{color:#0a66c2;transform:rotate(180deg)}
.folio-book-combo-arrow-v187 svg{width:17px;height:17px}
.folio-book-combo-menu-v187{position:absolute;z-index:70;top:48px;inset-inline:0;max-height:250px;overflow:auto;padding:5px;border:1px solid #d8e3ef;border-radius:13px;background:#fff;box-shadow:0 18px 44px rgba(15,23,42,.16)}
.folio-book-combo-option-v187{width:100%;display:flex;align-items:center;border:0;border-radius:9px;padding:9px 10px;background:transparent;color:#26364a;text-align:start;font:inherit;font-size:12px;cursor:pointer}
.folio-book-combo-option-v187:hover,.folio-book-combo-option-v187.is-active{background:#eef6ff;color:#0a66c2}
.folio-book-combo-option-v187.is-selected{font-weight:950;background:#e6f2ff;color:#075da9}
.folio-book-combo-empty-v187{padding:14px 10px;text-align:center;color:#64748b;font-size:12px}
.folio-book-combo-help-v187{display:block;margin-top:5px;color:#748296;font-size:10.5px}

.followed-books-section-v187{overflow:visible}
.followed-books-lazy-body-v187{min-height:190px}
.followed-books-page-v187{display:flex;align-items:stretch;gap:12px;overflow-x:auto;padding:4px 2px 12px;scroll-snap-type:x proximity;scrollbar-width:thin}
.followed-book-tile-v187{flex:0 0 138px;scroll-snap-align:start}
.followed-books-skeleton-v187{position:relative;display:grid;grid-template-columns:repeat(6,minmax(100px,1fr));gap:12px;overflow:hidden;padding:4px 0 26px}
.followed-books-skeleton-v187 span{height:164px;border-radius:14px;background:linear-gradient(90deg,#edf1f5 25%,#f8fafc 45%,#edf1f5 65%);background-size:220% 100%;animation:followedShelfShimmer 1.2s linear infinite}
.followed-books-skeleton-v187 b{position:absolute;bottom:0;inset-inline:0;text-align:center;color:#64748b;font-size:11px}
.followed-books-more-v187{margin:8px auto 0;display:flex}
.followed-books-error-v187{min-height:150px;display:grid;place-items:center;align-content:center;gap:10px;color:#64748b}
.followed-books-error-v187 button{border:1px solid #bad6ef;border-radius:10px;background:#eef6ff;color:#0a66c2;padding:8px 13px;font:inherit;font-weight:900;cursor:pointer}
@keyframes followedShelfShimmer{to{background-position:-220% 0}}

.folio-pdf-viewer-v187{margin:14px 0;border:1px solid #d7e1ec;border-radius:18px;background:#fff;overflow:hidden;box-shadow:0 12px 34px rgba(15,23,42,.08)}
.folio-pdf-viewer-v187.is-book-reader{margin:0;border-radius:22px}
.folio-pdf-viewer-head-v187{min-height:60px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 13px;background:#fff;border-bottom:1px solid #e3e9f0}
.folio-pdf-viewer-title-v187{display:flex;align-items:center;gap:10px;min-width:0}
.folio-pdf-viewer-title-v187>span{width:39px;height:39px;border-radius:11px;display:grid;place-items:center;flex:none;background:#eef6ff;color:#0a66c2}
.folio-pdf-viewer-title-v187>span svg{width:21px;height:21px}
.folio-pdf-viewer-title-v187>div{min-width:0;display:grid;gap:2px}
.folio-pdf-viewer-title-v187 b{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.folio-pdf-viewer-title-v187 small{font-size:11px;color:#69788b}
.folio-pdf-open-v187{width:38px;height:38px;border:1px solid #d8e2ed;border-radius:11px;display:grid;place-items:center;flex:none;background:#fff;color:#0a66c2}
.folio-pdf-open-v187 svg{width:18px;height:18px}
.folio-pdf-stage-v187{position:relative;min-height:520px;display:flex;align-items:center;justify-content:center;padding:16px 54px 20px;background:radial-gradient(circle at 50% 20%,#f9fafb 0,#e8edf2 72%,#dfe5eb 100%);outline:none;overflow:hidden;touch-action:pan-y}
.folio-pdf-paper-v187{position:relative;max-width:100%;max-height:100%;display:grid;place-items:center;perspective:1300px}
.folio-pdf-paper-v187 canvas{display:block;max-width:100%;max-height:490px;width:auto;height:auto;background:#fff;border-radius:2px;box-shadow:0 20px 48px rgba(15,23,42,.24),0 0 0 1px rgba(15,23,42,.06);transform-origin:center center;backface-visibility:hidden}
.folio-pdf-paper-v187.turn-next canvas{animation:folioPdfTurnNext .28s ease both}
.folio-pdf-paper-v187.turn-prev canvas{animation:folioPdfTurnPrev .28s ease both}
.folio-pdf-paper-v187.is-rendering canvas{opacity:.55}
.folio-pdf-paper-v187.is-rendering:after{content:"";position:absolute;width:36px;height:36px;border:3px solid #cbd5e1;border-top-color:#0a66c2;border-radius:50%;animation:folioPdfSpin .75s linear infinite}
.folio-pdf-loading-v187{min-width:240px;min-height:310px;display:grid;place-items:center;align-content:center;gap:13px;color:#556578;text-align:center}
.folio-pdf-loading-v187 span{width:42px;height:42px;border:4px solid #cbd5e1;border-top-color:#0a66c2;border-radius:50%;animation:folioPdfSpin .75s linear infinite}
.folio-pdf-loading-v187 b{font-size:12px}
.folio-pdf-nav-v187{position:absolute;top:50%;transform:translateY(-50%);z-index:4;width:40px;height:40px;border:1px solid #cbd6e2;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.96);color:#14375d;box-shadow:0 8px 20px rgba(15,23,42,.15);cursor:pointer}
.folio-pdf-nav-v187.prev{left:10px}.folio-pdf-nav-v187.next{right:10px}
.folio-pdf-nav-v187:disabled{opacity:.25;cursor:default;box-shadow:none}
.folio-pdf-nav-v187 svg{width:20px;height:20px}
.folio-pdf-page-badge-v187{position:absolute;bottom:10px;left:50%;transform:translateX(-50%);z-index:4;min-width:92px;padding:5px 12px;border-radius:999px;background:rgba(15,23,42,.82);color:#fff;text-align:center;font-size:11px;font-weight:900;direction:auto}
.folio-pdf-viewer-foot-v187{min-height:40px;padding:8px 13px;display:flex;align-items:center;gap:12px;background:#fff;border-top:1px solid #e3e9f0;color:#6a7889;font-size:11px}
.folio-pdf-progress-v187{height:5px;flex:1;border-radius:999px;background:#e5ebf1;overflow:hidden;direction:ltr}
.folio-pdf-progress-v187 span{display:block;width:0;height:100%;border-radius:inherit;background:#0a66c2;transition:width .22s ease}
.folio-pdf-viewer-v187.is-compact .folio-pdf-stage-v187{min-height:430px}
.folio-pdf-viewer-v187.is-compact .folio-pdf-paper-v187 canvas{max-height:400px}
.folio-pdf-viewer-v187.is-book-reader .folio-pdf-stage-v187{min-height:calc(100vh - 235px)}
.folio-pdf-viewer-v187.is-book-reader .folio-pdf-paper-v187 canvas{max-height:calc(100vh - 280px)}
.folio-pdf-error-v187{min-width:260px;min-height:310px;display:grid;place-items:center;align-content:center;gap:9px;text-align:center;color:#5d6b7d}
.folio-pdf-error-v187>span{width:62px;height:62px;border-radius:16px;display:grid;place-items:center;background:#fff;color:#d14343;border:1px solid #e2e8f0;font-weight:950;box-shadow:0 10px 26px rgba(15,23,42,.08)}
.folio-pdf-error-v187 small{max-width:320px}.folio-pdf-error-v187 a{margin-top:5px;padding:9px 15px;border-radius:11px;background:#0a66c2;color:#fff;font-weight:900}
@keyframes folioPdfTurnNext{0%{opacity:.55;transform:translateX(22px) rotateY(-7deg) scale(.985)}100%{opacity:1;transform:none}}
@keyframes folioPdfTurnPrev{0%{opacity:.55;transform:translateX(-22px) rotateY(7deg) scale(.985)}100%{opacity:1;transform:none}}

@media(max-width:760px){
  .quick-actions.quick-actions-five-v186>button{min-width:66px!important;font-size:10.5px!important;gap:3px!important;padding-inline:2px!important}
  .quick-actions.quick-actions-five-v186>button svg{width:16px;height:16px}
  .followed-books-skeleton-v187{grid-template-columns:repeat(6,112px)}
  .followed-book-tile-v187{flex-basis:118px}
  .folio-pdf-stage-v187{min-height:380px;padding:12px 37px 18px}
  .folio-pdf-paper-v187 canvas{max-height:350px}
  .folio-pdf-nav-v187{width:32px;height:32px}.folio-pdf-nav-v187.prev{left:4px}.folio-pdf-nav-v187.next{right:4px}.folio-pdf-nav-v187 svg{width:16px;height:16px}
  .folio-pdf-viewer-v187.is-compact .folio-pdf-stage-v187{min-height:340px}.folio-pdf-viewer-v187.is-compact .folio-pdf-paper-v187 canvas{max-height:310px}
  .folio-pdf-viewer-v187.is-book-reader .folio-pdf-stage-v187{min-height:calc(100vh - 215px)}.folio-pdf-viewer-v187.is-book-reader .folio-pdf-paper-v187 canvas{max-height:calc(100vh - 260px)}
  .folio-pdf-viewer-foot-v187>span{display:none}
}

/* Folinq v188 - restored book-style PDF reader */
.folio-pdf-book-v188{margin:12px 14px 16px}.folio-pdf-book-v188 .pdf-book-stage{background:radial-gradient(circle at 50% 8%,#fff 0,#eef3f9 46%,#e3eaf2 100%)}.folio-pdf-book-v188 .pdf-page-shell:before{content:"";position:absolute;inset:5% 50% 5% auto;width:1px;background:linear-gradient(180deg,transparent,rgba(15,23,42,.16),transparent);z-index:0}.folio-pdf-book-v188 canvas{position:relative;z-index:1}.folio-pdf-open-v188{width:38px;height:38px;border:1px solid #cfe0f3;border-radius:12px;display:grid;place-items:center;color:#0a66c2;background:#f8fbff}.folio-pdf-loading-v188{display:grid;place-items:center;gap:10px;color:#475467;text-align:center;min-height:220px}.folio-pdf-loading-v188 span{width:38px;height:38px;border-radius:50%;border:4px solid #d5e2f0;border-top-color:#0a66c2;animation:qspin .8s linear infinite}.folio-pdf-fallback-v188{display:grid;gap:10px;place-items:center;padding:28px}.folio-pdf-fallback-v188 a{color:#0a66c2;font-weight:900}.folio-pdf-book-v188.is-compact .pdf-book-stage{min-height:430px}.folio-pdf-book-v188.is-compact .pdf-page-shell{min-height:390px}.folio-pdf-book-v188.is-book-reader{max-width:1000px;margin-inline:auto}.folio-pdf-book-v188.is-book-reader .pdf-book-stage{min-height:74vh}.folio-pdf-book-v188.is-book-reader .pdf-page-shell{min-height:68vh}@media(max-width:700px){.folio-pdf-book-v188{margin-inline:0}.folio-pdf-book-v188 .pdf-book-stage{grid-template-columns:34px minmax(0,1fr) 34px!important;min-height:340px!important}.folio-pdf-book-v188 .pdf-page-shell{min-height:310px!important}.folio-pdf-book-v188 .pdf-nav{width:34px;height:34px;font-size:28px}.folio-pdf-book-v188 .pdf-page-shell:before{display:none}}


/* Folinq v189 - restored fast page-turn reader and memory-safe shelf racks */
.folio-pdf-book-v189 .pdf-page-shell canvas{
  transform-origin:var(--pdf-turn-origin,right center);
  backface-visibility:hidden;
  will-change:transform,opacity;
}
html[dir="rtl"] .folio-pdf-book-v189 .pdf-page-shell canvas{--pdf-turn-origin:left center}
.folio-pdf-book-v189 .pdf-page-shell.turning canvas{
  transform:perspective(1500px) rotateY(-13deg) translateX(-8px);
  opacity:.86;
}
html[dir="rtl"] .folio-pdf-book-v189 .pdf-page-shell.turning canvas{
  transform:perspective(1500px) rotateY(13deg) translateX(8px);
}
.folio-pdf-book-v189 .folio-pdf-open-v189{
  width:38px;height:38px;border-radius:11px;display:grid;place-items:center;
  border:1px solid var(--line);background:#fff;color:var(--blue);
}
.folio-pdf-book-v189 .pdf-fallback{
  min-height:220px;align-content:center;justify-items:center;gap:12px;
}
.folio-pdf-book-v189 .pdf-fallback a{display:inline-flex;margin-top:12px}

.shelf-racks-lazy-v189{display:grid;gap:16px}
.book-rack-lazy-body-v189{min-height:210px}
.book-rack-skeleton-v189{
  width:100%;display:grid;grid-template-columns:repeat(6,minmax(92px,1fr));gap:12px;
  position:relative;padding-bottom:30px
}
.book-rack-skeleton-v189 span{
  display:block;height:170px;border-radius:12px;
  background:linear-gradient(90deg,#edf1f6 20%,#f8fafc 50%,#edf1f6 80%);
  background-size:220% 100%;animation:qShelfPulse189 1.2s linear infinite
}
.book-rack-skeleton-v189 b{
  position:absolute;inset-inline:0;bottom:0;text-align:center;color:var(--muted);font-size:12px
}
.book-rack-page-v189{display:contents}
.book-rack-more-v189{margin:12px auto 0}
.book-rack-error-v189{
  width:100%;min-height:150px;display:grid;place-items:center;align-content:center;gap:12px;color:var(--muted)
}
.book-rack-error-v189 button{
  border:1px solid var(--line);background:#fff;border-radius:10px;padding:8px 14px;cursor:pointer
}
@keyframes qShelfPulse189{to{background-position:-220% 0}}
@media(max-width:800px){
  .book-rack-skeleton-v189{grid-template-columns:repeat(3,minmax(82px,1fr))}
  .book-rack-skeleton-v189 span:nth-child(n+4){display:none}
}


/* Folinq v190: fast PDF flipbook and two-level My Network tabs */
.folio-pdf-flip-v190{margin:12px 14px 16px;border-radius:18px;overflow:hidden}
.folio-pdf-flip-v190 .pdf-book-stage{background:radial-gradient(circle at 50% 8%,#fff 0,#edf3f9 50%,#dfe7f0 100%)}
.folio-pdf-flip-v190 .pdf-page-shell{overflow:visible;transform-style:preserve-3d;perspective:1800px}
.folio-pdf-flip-v190 .pdf-page-shell:after{content:"";position:absolute;inset:3% auto 3% 50%;width:1px;background:linear-gradient(180deg,transparent,rgba(15,23,42,.18),transparent);pointer-events:none}
.folio-pdf-flip-v190 canvas{position:relative;z-index:1;display:block;max-width:100%;max-height:72vh;background:#fff;border-radius:5px;box-shadow:0 26px 65px rgba(15,23,42,.22);transform-origin:center right;backface-visibility:hidden;will-change:transform,opacity}
.folio-pdf-flip-v190 .pdf-page-shell.flip-next canvas{animation:folioFlipOutNextV190 .12s ease-in both}
.folio-pdf-flip-v190 .pdf-page-shell.flip-prev canvas{transform-origin:center left;animation:folioFlipOutPrevV190 .12s ease-in both}
.folio-pdf-flip-v190 .pdf-page-shell.flip-enter canvas{animation:folioFlipInV190 .18s ease-out both}
.folio-pdf-loading-v190{display:grid;place-items:center;gap:10px;min-height:260px;color:#475467;text-align:center}
.folio-pdf-loading-v190[hidden],.folio-pdf-fallback-v190[hidden],.folio-pdf-flip-v190 canvas[hidden]{display:none!important}
.folio-pdf-loading-v190 span{width:34px;height:34px;border:4px solid #d7e4f1;border-top-color:#0a66c2;border-radius:50%;animation:qspin .7s linear infinite}
.folio-pdf-fallback-v190{display:grid;place-items:center;gap:10px;min-height:240px;text-align:center}.folio-pdf-fallback-v190 a{color:#0a66c2;font-weight:900}
.folio-pdf-open-v190{width:38px;height:38px;border:1px solid #cfe0f3;border-radius:12px;display:grid;place-items:center;color:#0a66c2;background:#f8fbff}
.folio-pdf-flip-v190.is-compact .pdf-book-stage{min-height:420px}.folio-pdf-flip-v190.is-compact .pdf-page-shell{min-height:380px}
.folio-pdf-flip-v190.is-book-reader{max-width:1000px;margin-inline:auto}.folio-pdf-flip-v190.is-book-reader .pdf-book-stage{min-height:72vh}.folio-pdf-flip-v190.is-book-reader .pdf-page-shell{min-height:66vh}
@keyframes folioFlipOutNextV190{from{transform:rotateY(0);opacity:1}to{transform:rotateY(-72deg) translateX(-3%);opacity:.18}}
@keyframes folioFlipOutPrevV190{from{transform:rotateY(0);opacity:1}to{transform:rotateY(72deg) translateX(3%);opacity:.18}}
@keyframes folioFlipInV190{from{transform:scale(.985);opacity:.35}to{transform:scale(1);opacity:1}}
.network-primary-tabs-v190{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:12px;margin-bottom:14px}
.network-primary-tab-v190{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px 16px;border:1px solid var(--line);border-radius:16px;background:#fff;color:#344054;transition:.18s}
.network-primary-tab-v190:hover{border-color:#a8c9eb;transform:translateY(-1px);box-shadow:0 8px 22px rgba(16,24,40,.07)}
.network-primary-tab-v190.active{border-color:#0a66c2;background:linear-gradient(135deg,#f4f9ff,#e8f3ff);box-shadow:inset 0 0 0 1px rgba(10,102,194,.08)}
.network-primary-tab-icon-v190{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;background:#eef4fa;color:#475467}.network-primary-tab-v190.active .network-primary-tab-icon-v190{background:#0a66c2;color:#fff}
.network-primary-tab-v190 span:nth-child(2){min-width:0}.network-primary-tab-v190 b{display:block;font-size:16px}.network-primary-tab-v190 small{display:block;color:#667085;font-size:11px;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.network-primary-tab-v190 em{font-style:normal;font-weight:900;color:#0a66c2;background:#e8f3ff;border-radius:999px;padding:4px 9px}.network-primary-tab-v190.active em{background:#fff}
.network-v190-toolbar{align-items:flex-end}.network-books-tab-heading-v190{display:flex;align-items:center;gap:10px;min-width:220px}.network-books-tab-heading-v190>svg{width:28px;height:28px;color:#0a66c2}.network-books-tab-heading-v190 b,.network-books-tab-heading-v190 small{display:block}.network-books-tab-heading-v190 small{color:#667085;font-size:11px;margin-top:3px}
@media(max-width:700px){.folio-pdf-flip-v190{margin-inline:0}.folio-pdf-flip-v190 .pdf-page-shell:after{display:none}.folio-pdf-flip-v190 canvas{max-height:60vh}.network-primary-tabs-v190{grid-template-columns:1fr;gap:8px;padding:8px}.network-primary-tab-v190{grid-template-columns:42px minmax(0,1fr) auto;padding:11px 12px}.network-primary-tab-icon-v190{width:40px;height:40px}.network-primary-tab-v190 small{white-space:normal;line-height:1.45}.network-people-role-tabs-v190{overflow-x:auto;flex-wrap:nowrap!important;scrollbar-width:none}.network-people-role-tabs-v190::-webkit-scrollbar{display:none}.network-v190-toolbar{align-items:stretch}.network-books-tab-heading-v190{padding:2px 4px}}

/* Folinq v193: network filters, profile privacy, chat cleanup and sharper PDF canvas */
:root{--border:var(--line)}
.network-v193-toolbar{display:block!important;padding:16px!important}
.network-filter-panel-v193{display:grid;grid-template-columns:minmax(240px,2fr) repeat(4,minmax(135px,1fr));gap:12px;align-items:end;width:100%}
.network-book-filters-v193{grid-template-columns:minmax(240px,2fr) repeat(6,minmax(120px,1fr))}
.network-filter-panel-v193 label{display:flex;flex-direction:column;gap:6px;min-width:0}
.network-filter-panel-v193 label>span{font-size:12px;font-weight:800;color:var(--muted)}
.network-filter-panel-v193 input,.network-filter-panel-v193 select{width:100%;min-height:42px;border:1px solid var(--border);border-radius:12px;background:var(--card);color:var(--text);padding:8px 11px}
.network-search-wide-v193>div{display:flex;align-items:center;gap:8px;border:1px solid var(--border);border-radius:12px;background:var(--card);padding-inline:10px}
.network-search-wide-v193>div input{border:0;padding-inline:0;outline:0;background:transparent}
.network-filter-actions-v193{display:flex;gap:8px;align-items:center;grid-column:1/-1;justify-content:flex-end}
.network-v193-meta-row,.network-v193-stats,.network-v193-location{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:12px;color:var(--muted)}
.network-v193-meta-row span,.network-v193-stats span{border:1px solid var(--border);border-radius:999px;padding:3px 8px;background:var(--surface-soft,#f7f9fc)}
.network-v193-location b{margin-inline-start:auto;font-size:11px;color:var(--text)}
.profile-edit-section-v193{margin:18px 0;padding:16px;border:1px solid var(--border);border-radius:16px;background:var(--surface-soft,#f8fafc)}
.profile-edit-section-head-v193{display:flex;gap:10px;align-items:flex-start;margin-bottom:14px}
.profile-edit-section-head-v193 h3{margin:0}.profile-edit-section-head-v193 p{margin:4px 0 0;color:var(--muted);font-size:13px}
.profile-personal-icon-v193,.profile-marital-icon-v193{display:inline-flex!important;align-items:center;justify-content:center;min-width:32px;min-height:32px}
.profile-personal-list-v193{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.profile-personal-list-v193 span{display:flex;align-items:center;gap:8px;padding:9px 10px;border:1px solid var(--border);border-radius:12px}
.chat-global-menu-v184 form{margin:0}.chat-global-menu-v184 form button{width:100%;text-align:start}.chat-global-menu-v184 .danger,.chat-room-menu-v183 .danger{color:#b42318!important}
.pdf-page-shell canvas{image-rendering:auto!important;transform:translateZ(0);backface-visibility:hidden}
@media(max-width:1180px){.network-filter-panel-v193,.network-book-filters-v193{grid-template-columns:repeat(3,minmax(0,1fr))}.network-search-wide-v193{grid-column:1/-1}}
@media(max-width:720px){.network-filter-panel-v193,.network-book-filters-v193{grid-template-columns:1fr 1fr}.network-search-wide-v193,.network-filter-actions-v193{grid-column:1/-1}.network-filter-actions-v193{justify-content:stretch}.network-filter-actions-v193>*{flex:1}.profile-personal-list-v193{grid-template-columns:1fr}}
@media(max-width:480px){.network-filter-panel-v193,.network-book-filters-v193{grid-template-columns:1fr}.network-filter-panel-v193>*{grid-column:1!important}}


/* Folinq v193 PDF font compatibility */
.folio-pdf-head-actions-v193{display:flex;align-items:center;gap:7px;flex:none}
.folio-pdf-font-mode-v193{min-width:39px;height:38px;border:1px solid #cfe0f3;border-radius:12px;display:grid;place-items:center;padding:0 8px;background:#f8fbff;color:#0a66c2;font:800 12px/1 Arial,sans-serif;cursor:pointer}
.folio-pdf-font-mode-v193[aria-pressed="true"]{background:#e6f2ff;border-color:#8dbce8;color:#075da9}
.folio-pdf-font-mode-v193:disabled{opacity:.55;cursor:wait}
.folio-pdf-flip-v190 .pdf-page-shell canvas{direction:ltr;unicode-bidi:isolate;image-rendering:auto!important}

/* Folinq v194 - bilingual tabbed shelf and persistent birthday dismissal */
.shelf-dashboard-v194{display:grid;gap:16px}
.shelf-hero-v194{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:24px!important;align-items:center!important}
.shelf-summary-v194{display:grid;grid-template-columns:repeat(2,minmax(130px,1fr));gap:10px}
.shelf-summary-v194>div{min-width:130px;border:1px solid var(--line);border-radius:18px;padding:14px;background:linear-gradient(180deg,#fff,#f7fbff);display:grid;grid-template-columns:auto 1fr;align-items:center;gap:7px 10px}
.shelf-summary-v194 svg{color:var(--blue)}.shelf-summary-v194 span{font-size:12px;color:var(--muted);font-weight:850}.shelf-summary-v194 b{grid-column:1/-1;font-size:24px;color:var(--blue)}
.shelf-tabs-card-v194{padding:18px!important;overflow:hidden}
.shelf-section-head-v194{margin-bottom:12px}.shelf-section-head-v194 h2{display:flex;align-items:center;gap:8px;margin:0 0 5px}
.shelf-tabbar-v194{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;border-bottom:1px solid var(--line);padding-bottom:10px;margin-bottom:14px}
.shelf-tab-v194{border:1px solid var(--line);background:var(--card,#fff);color:var(--text,#111827);border-radius:14px;min-height:50px;padding:8px 10px;display:flex;align-items:center;justify-content:center;gap:7px;font:inherit;font-weight:850;cursor:pointer;transition:.16s ease;min-width:0}
.shelf-tab-v194 span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shelf-tab-v194 b{display:inline-grid;place-items:center;min-width:25px;height:25px;border-radius:999px;background:#eef3f8;color:#475569;font-size:11px;padding:0 6px}
.shelf-tab-v194:hover{border-color:#b8d6f5;background:#f7fbff}.shelf-tab-v194.active{border-color:#9ec8f2;background:#eaf4ff;color:var(--blue);box-shadow:inset 0 0 0 1px rgba(10,102,194,.08)}.shelf-tab-v194.active b{background:var(--blue);color:#fff}
.shelf-panel-v194{min-height:220px}.shelf-panel-v194[hidden]{display:none!important}.shelf-panel-body-v194{min-height:210px}
.shelf-page-v194{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;align-items:stretch}
.folio-rack-page-v194{grid-template-columns:repeat(3,minmax(0,1fr))}.shelf-folio-card-v194{height:100%}
.shelf-skeleton-v194{width:100%;display:grid;grid-template-columns:repeat(6,minmax(92px,1fr));gap:12px;position:relative;padding-bottom:34px}
.shelf-skeleton-v194 span{display:block;height:170px;border-radius:14px;background:linear-gradient(90deg,#edf1f6 20%,#f8fafc 50%,#edf1f6 80%);background-size:220% 100%;animation:qShelfPulse194 1.15s linear infinite}
.shelf-skeleton-v194 b{position:absolute;inset-inline:0;bottom:0;text-align:center;color:var(--muted);font-size:12px}
.shelf-more-v194{display:flex;margin:14px auto 0}.shelf-more-v194.is-loading{opacity:.65;pointer-events:none}
.shelf-error-v194,.shelf-empty-v194{grid-column:1/-1;min-height:170px;display:grid;place-items:center;align-content:center;gap:12px;color:var(--muted);text-align:center}
.shelf-error-v194 button{border:1px solid var(--line);background:var(--card,#fff);color:var(--text,#111827);border-radius:11px;padding:8px 15px;cursor:pointer;font:inherit;font-weight:850}
.shelf-empty-v194 svg{width:30px;height:30px;color:#94a3b8}
@keyframes qShelfPulse194{to{background-position:-220% 0}}
body.q-dark-active .shelf-summary-v194>div,body.q-dark-active .shelf-tab-v194{background:#111827!important;border-color:#334155!important}body.q-dark-active .shelf-tab-v194.active{background:#112947!important;color:#93c5fd!important}
@media(max-width:980px){.shelf-hero-v194{grid-template-columns:1fr!important}.shelf-summary-v194{grid-template-columns:repeat(2,minmax(0,1fr))}.shelf-tabbar-v194{display:flex;overflow-x:auto;scrollbar-width:thin;padding-bottom:12px}.shelf-tab-v194{flex:0 0 min(240px,72vw);justify-content:flex-start}.shelf-page-v194{grid-template-columns:repeat(3,minmax(0,1fr))}.folio-rack-page-v194{grid-template-columns:repeat(2,minmax(0,1fr))}.shelf-skeleton-v194{grid-template-columns:repeat(3,minmax(82px,1fr))}.shelf-skeleton-v194 span:nth-child(n+4){display:none}}
@media(max-width:620px){.shelf-tabs-card-v194{padding:13px!important}.shelf-summary-v194{grid-template-columns:1fr 1fr}.shelf-summary-v194>div{min-width:0}.shelf-page-v194,.folio-rack-page-v194{grid-template-columns:1fr}.shelf-tab-v194{flex-basis:min(230px,82vw)}.shelf-skeleton-v194{grid-template-columns:repeat(2,minmax(82px,1fr))}.shelf-skeleton-v194 span:nth-child(n+3){display:none}.birthday-person-v170{align-items:flex-start;flex-direction:column}.birthday-person-v170 form,.birthday-person-v170 button{width:100%;justify-content:center}}

/* Folinq v194 hotfix 1 - horizontal main and secondary shelf tabs */
.shelf-unified-card-v194{padding:18px!important;overflow:hidden}
.shelf-primary-tabbar-v194{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:18px;padding:4px;border:1px solid var(--line);border-radius:16px;background:var(--surface-soft,#f8fafc)}
.shelf-primary-tab-v194{min-width:0;min-height:52px;border:0;border-radius:12px;background:transparent;color:var(--text,#111827);display:flex;align-items:center;justify-content:center;gap:8px;padding:9px 14px;font:inherit;font-weight:900;cursor:pointer;transition:.16s ease}
.shelf-primary-tab-v194 span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.shelf-primary-tab-v194 b{display:inline-grid;place-items:center;min-width:26px;height:26px;padding:0 7px;border-radius:999px;background:#e8eef5;color:#475569;font-size:11px}
.shelf-primary-tab-v194:hover{background:#edf6ff;color:var(--blue)}
.shelf-primary-tab-v194.active{background:var(--blue);color:#fff;box-shadow:0 5px 15px rgba(10,102,194,.18)}
.shelf-primary-tab-v194.active b{background:rgba(255,255,255,.2);color:#fff}
.shelf-primary-panel-v194[hidden]{display:none!important}
.shelf-inline-head-v194{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin:0 2px 12px}
.shelf-inline-head-v194 h2{display:flex;align-items:center;gap:8px;margin:0;font-size:18px}
.shelf-inline-head-v194 p{margin:2px 0 0;text-align:end}
.shelf-unified-card-v194 .shelf-tabbar-v194{grid-template-columns:repeat(4,minmax(170px,1fr));overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;scroll-snap-type:x proximity;overscroll-behavior-inline:contain}
.shelf-unified-card-v194 .shelf-tab-v194{scroll-snap-align:start;white-space:nowrap}
body.q-dark-active .shelf-primary-tabbar-v194{background:#0f172a!important;border-color:#334155!important}
body.q-dark-active .shelf-primary-tab-v194{color:#e5e7eb}
body.q-dark-active .shelf-primary-tab-v194.active{background:#1d73c9!important;color:#fff!important}
@media(max-width:760px){
  .shelf-unified-card-v194{padding:13px!important}
  .shelf-primary-tabbar-v194{gap:6px;margin-bottom:14px}
  .shelf-primary-tab-v194{min-height:48px;padding:8px 9px;font-size:13px}
  .shelf-inline-head-v194{display:block;margin-bottom:10px}
  .shelf-inline-head-v194 p{margin-top:5px;text-align:start}
  .shelf-unified-card-v194 .shelf-tabbar-v194{display:flex;flex-wrap:nowrap;gap:8px;padding-bottom:12px;margin-bottom:12px}
  .shelf-unified-card-v194 .shelf-tab-v194{flex:0 0 auto;min-width:max-content;max-width:none;padding-inline:14px;justify-content:center}
}
@media(max-width:420px){
  .shelf-primary-tab-v194 b{display:none}
  .shelf-primary-tab-v194{gap:6px}
}


/* Folinq v195 - ordered person cards, support delivery and destructive chat action */
.network-v195-person-card{display:flex!important;flex-direction:column!important;height:100%!important;min-height:450px!important}
.network-v195-person-card .network-v162-cover{flex:none}.network-v195-person-card .network-v162-avatar{z-index:2;flex:none}.network-v195-person-card .network-v195-person-body{flex:1}
.network-v195-person-body{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px!important;height:100%!important;min-height:292px!important;padding:12px 16px 14px!important}
.network-v195-person-identity{display:grid;align-content:start;justify-items:center;gap:7px;min-height:86px}
.network-v195-person-identity h3{display:grid;place-items:center;min-height:58px;margin:0!important;font-size:clamp(20px,2vw,28px)!important;line-height:1.45!important;overflow-wrap:anywhere}
.network-v195-person-identity h3 a{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.network-v195-person-identity .network-v162-role{min-height:20px;display:flex;align-items:center;justify-content:center}
.network-v195-person-details{display:grid;align-content:start;justify-items:center;gap:7px;min-height:66px;color:var(--muted)}
.network-v195-person-details .network-v162-subline{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-height:22px;line-height:1.7}
.network-v195-person-details .network-v193-location{justify-content:center;min-height:22px}
.network-v195-person-stats{justify-content:center!important;align-content:center!important;min-height:34px!important;margin-top:2px!important}
.network-v195-person-stats span{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap}
.network-v195-person-actions{margin-top:auto!important;min-height:100px!important;justify-content:flex-end!important;padding-top:4px!important}
.network-v195-publisher-slot{display:flex;align-items:center;justify-content:center;min-height:26px;width:100%;text-align:center}
.network-v195-publisher-slot a{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow:hidden;max-width:100%}
.chat-thread-menu-v183 .danger{color:#b42318!important}
.chat-thread-menu-v183 form{margin:0!important}
.chat-thread-menu-v183 form button{width:100%!important;text-align:start!important}
body.q-dark-active .network-v195-person-card{border-color:#334155!important}
@media(max-width:640px){.network-v195-person-card{min-height:430px!important}.network-v195-person-body{min-height:272px!important}.network-v195-person-identity{min-height:78px}.network-v195-person-details{min-height:58px}}


/* Folinq v195 Hotfix 1 - preserve PDF page ratio and A4 portrait appearance */
.folio-pdf-flip-v190 .pdf-page-shell{min-width:0}
.folio-pdf-flip-v190 .pdf-page-shell canvas{
  height:auto!important;
  max-width:100%!important;
  max-height:none!important;
  object-fit:contain!important;
}
@media(max-width:700px){
  .folio-pdf-flip-v190 .pdf-page-shell canvas{height:auto!important;max-height:none!important}
}


/* Folinq v195 Hotfix 2 - PDF fullscreen and multi-language book fields */
.folio-pdf-fullscreen-v1952{width:38px;height:38px;border:1px solid #cfe0f3;border-radius:12px;display:grid;place-items:center;color:#0a66c2;background:#f8fbff;font:900 21px/1 system-ui;cursor:pointer;transition:.16s ease}
.folio-pdf-fullscreen-v1952:hover{background:#eaf4ff;border-color:#9bc8f2;transform:translateY(-1px)}
.pdf-book-viewer:fullscreen,.pdf-book-viewer:-webkit-full-screen,.pdf-book-viewer.is-pseudo-fullscreen-v1952{width:100vw!important;height:100vh!important;max-width:none!important;margin:0!important;border:0!important;border-radius:0!important;display:flex!important;flex-direction:column!important;background:#edf3f9!important;z-index:2147483000}
.pdf-book-viewer.is-pseudo-fullscreen-v1952{position:fixed!important;inset:0!important}
.pdf-book-viewer:fullscreen .pdf-book-head,.pdf-book-viewer:-webkit-full-screen .pdf-book-head,.pdf-book-viewer.is-pseudo-fullscreen-v1952 .pdf-book-head{flex:0 0 auto}
.pdf-book-viewer:fullscreen .pdf-book-stage,.pdf-book-viewer:-webkit-full-screen .pdf-book-stage,.pdf-book-viewer.is-pseudo-fullscreen-v1952 .pdf-book-stage{flex:1 1 auto!important;min-height:0!important;height:auto!important;padding:14px 20px!important}
.pdf-book-viewer:fullscreen .pdf-page-shell,.pdf-book-viewer:-webkit-full-screen .pdf-page-shell,.pdf-book-viewer.is-pseudo-fullscreen-v1952 .pdf-page-shell{height:100%!important;min-height:0!important}
.pdf-book-viewer:fullscreen .pdf-book-foot,.pdf-book-viewer:-webkit-full-screen .pdf-book-foot,.pdf-book-viewer.is-pseudo-fullscreen-v1952 .pdf-book-foot{flex:0 0 auto}
html.pdf-pseudo-fullscreen-v1952,body.pdf-pseudo-fullscreen-v1952{overflow:hidden!important}
.book-languages-field-v1952{margin-top:14px}
.book-language-options-v1952{display:flex;flex-wrap:wrap;gap:9px;margin-top:8px}
.book-language-chip-v1952{position:relative;cursor:pointer}
.book-language-chip-v1952 input{position:absolute;opacity:0;pointer-events:none}
.book-language-chip-v1952 span{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:7px 14px;border:1px solid var(--line);border-radius:999px;background:var(--card,#fff);color:var(--text,#1f2937);font-size:13px;font-weight:850;transition:.16s ease}
.book-language-chip-v1952 input:focus-visible+span{outline:3px solid rgba(10,102,194,.2);outline-offset:2px}
.book-language-chip-v1952 input:checked+span{background:#e7f2ff;border-color:#78b6ef;color:#075da8;box-shadow:inset 0 0 0 1px rgba(10,102,194,.08)}
.book-language-chip-v1952 input:checked+span:before{content:'✓';margin-inline-end:6px;font-weight:950}
body.q-dark-active .book-language-chip-v1952 span{background:#111827;border-color:#334155;color:#e5e7eb}
body.q-dark-active .book-language-chip-v1952 input:checked+span{background:#123356;border-color:#377fbe;color:#bfdbfe}
@media(max-width:700px){.pdf-book-viewer:fullscreen .pdf-book-stage,.pdf-book-viewer:-webkit-full-screen .pdf-book-stage,.pdf-book-viewer.is-pseudo-fullscreen-v1952 .pdf-book-stage{grid-template-columns:38px minmax(0,1fr) 38px!important;padding:8px!important}.book-language-options-v1952{flex-wrap:nowrap;overflow-x:auto;padding:2px 1px 8px;scrollbar-width:thin}.book-language-chip-v1952{flex:0 0 auto}}

/* Folinq v195 Hotfix 3 - RTL marital icons, localized notifications and invitation helper */
.profile-marital-chip-v1953{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  gap:6px!important;min-width:34px!important;min-height:32px!important;color:#0a66c2!important;
  white-space:nowrap!important;direction:inherit!important
}
.profile-marital-chip-v1953 .li-icon{
  display:block!important;visibility:visible!important;opacity:1!important;width:17px!important;height:17px!important;
  flex:0 0 17px!important;color:currentColor!important;transform:none!important
}
.profile-marital-chip-v1953 b,.profile-marital-chip-v1953 span{font-size:11px;font-weight:900;line-height:1.2;color:inherit}
.q-locale-en .profile-marital-chip-v1953{direction:ltr!important}
.profile-fa-zone .profile-marital-chip-v1953{direction:rtl!important}

.invite-help-modal-v1953{position:fixed;inset:0;z-index:260;display:grid;place-items:center;padding:18px}
.invite-help-modal-v1953[hidden]{display:none!important}
.invite-help-backdrop-v1953{position:absolute;inset:0;background:rgba(15,23,42,.62);backdrop-filter:blur(5px)}
.invite-help-card-v1953{position:relative;width:min(470px,100%);background:#fff;border:1px solid #d9e4f0;border-radius:24px;padding:28px;box-shadow:0 28px 80px rgba(15,23,42,.28);text-align:center}
.invite-help-close-v1953{position:absolute;inset-inline-end:14px;top:12px;width:38px;height:38px;border:0;border-radius:50%;background:#f1f5f9;color:#334155;font-size:25px;cursor:pointer}
.invite-help-icon-v1953{width:62px;height:62px;margin:0 auto 12px;border-radius:20px;background:#eaf4ff;color:#0a66c2;display:grid;place-items:center}
.invite-help-icon-v1953 .li-icon{width:30px;height:30px}
.invite-help-card-v1953 h2{margin:0 0 8px;font-size:22px;color:#172033}
.invite-help-card-v1953 p{margin:0 auto 20px;color:#64748b;line-height:1.9;max-width:390px}
.invite-help-actions-v1953{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.invite-social-btn-v1953{min-height:48px;border:1px solid #d7e2ee;border-radius:14px;display:flex;align-items:center;justify-content:center;gap:9px;background:#fff;font-weight:900}
.invite-social-btn-v1953:hover{border-color:#8ebcf1;background:#f7fbff;color:#0a66c2}
.invite-social-btn-v1953>span{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;font-weight:950;background:#eef4fb;color:#0a66c2;direction:ltr}
.invite-social-btn-v1953.yahoo>span{background:#6b21a8;color:#fff;font-size:11px}
.invite-help-stay-v1953{margin-top:14px;border:0;background:transparent;color:#64748b;font-weight:850;cursor:pointer;padding:8px 12px}
.invite-help-stay-v1953:hover{color:#0a66c2}
@media(max-width:560px){.invite-help-card-v1953{padding:24px 18px}.invite-help-actions-v1953{grid-template-columns:1fr}}

/* Folinq v196 - follower directory, role management, Folio sharing and publisher collaborators */
.profile-followers-page-v196{display:grid;gap:16px;max-width:1120px;margin-inline:auto}.profile-followers-head-v196{display:flex;align-items:center;justify-content:space-between;gap:18px}.profile-followers-owner-v196{display:flex;align-items:center;gap:12px;color:inherit}.profile-followers-owner-v196 img{width:64px;height:64px;border-radius:50%;object-fit:cover}.profile-followers-owner-v196 span,.profile-follower-main-v196 span{display:grid;gap:3px}.profile-followers-owner-v196 small,.profile-follower-main-v196 small,.profile-follower-main-v196 em{color:var(--muted);font-style:normal}.profile-followers-grid-v196{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.profile-follower-card-v196{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px}.profile-follower-main-v196{display:flex;align-items:center;gap:12px;color:inherit;min-width:0}.profile-follower-main-v196 img{width:58px;height:58px;border-radius:50%;object-fit:cover}.profile-follower-main-v196 span{min-width:0}.profile-follower-main-v196 b,.profile-follower-main-v196 small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:720px){.profile-followers-grid-v196{grid-template-columns:1fr}.profile-followers-head-v196{align-items:flex-start}.profile-followers-head-v196>strong{font-size:.85rem}.profile-follower-card-v196{align-items:flex-start}.profile-follower-card-v196 form{flex:none}}
.admin-roles-v196{display:grid;gap:16px}.admin-role-create-v196{display:grid;gap:12px}.admin-role-list-v196{display:grid;gap:12px}.admin-role-row-v196{display:flex;align-items:flex-end;justify-content:space-between;gap:16px}.admin-role-row-v196>form:first-child{display:grid;gap:10px;flex:1}.admin-role-key-v196{display:flex;align-items:center;justify-content:space-between;gap:12px}.admin-role-key-v196 span{color:var(--muted);font-size:.85rem}@media(max-width:720px){.admin-role-row-v196{display:grid;align-items:stretch}}
.publisher-admins-v196{display:grid;gap:14px;margin-block:16px}.publisher-admin-add-v196{display:flex;gap:10px}.publisher-admin-add-v196 input{flex:1}.publisher-admin-list-v196{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.publisher-admin-list-v196 article{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:14px;padding:10px}.publisher-admin-list-v196 img{width:44px;height:44px;border-radius:50%;object-fit:cover}.publisher-admin-list-v196 span{display:grid;gap:2px;min-width:0;flex:1}.publisher-admin-list-v196 small{color:var(--muted)}@media(max-width:720px){.publisher-admin-add-v196{display:grid}.publisher-admin-list-v196{grid-template-columns:1fr}}
.chat-shared-folio-v196{display:flex;gap:12px;overflow:hidden;margin-top:8px;border:1px solid color-mix(in srgb,var(--line) 80%,transparent);border-radius:14px;background:var(--surface);color:inherit;min-width:min(420px,72vw)}.chat-shared-folio-v196>img{width:112px;min-height:130px;object-fit:cover}.chat-shared-folio-v196>span{display:grid;align-content:center;gap:5px;padding:12px;min-width:0}.chat-shared-folio-v196 small{color:var(--primary);font-weight:700}.chat-shared-folio-v196 b,.chat-shared-folio-v196 em{overflow:hidden;text-overflow:ellipsis}.chat-shared-folio-v196 em{font-style:normal;color:var(--muted);font-size:.88rem}.chat-shared-folio-v196 strong{font-size:.8rem}.folio-share-modal-v196{position:fixed;inset:0;z-index:10050;display:grid;place-items:center;padding:18px}.folio-share-modal-v196[hidden]{display:none}.folio-share-backdrop-v196{position:absolute;inset:0;background:rgba(2,10,28,.55);backdrop-filter:blur(4px)}.folio-share-dialog-v196{position:relative;width:min(560px,96vw);max-height:88vh;overflow:auto;display:grid;gap:14px}.folio-share-head-v196{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.folio-share-close-v196{border:0;background:transparent;font-size:1.7rem;cursor:pointer}.folio-share-results-v196{display:grid;gap:7px;max-height:260px;overflow:auto}.folio-share-user-v196{display:flex;align-items:center;gap:10px;width:100%;padding:9px;border:1px solid var(--line);border-radius:12px;background:var(--surface);text-align:start;cursor:pointer}.folio-share-user-v196.is-selected{border-color:var(--primary);box-shadow:0 0 0 2px color-mix(in srgb,var(--primary) 18%,transparent)}.folio-share-user-v196 img{width:42px;height:42px;border-radius:50%;object-fit:cover}.folio-share-user-v196 span{display:grid}.folio-share-user-v196 small{color:var(--muted)}


/* Folinq v196 Hotfix 1 - email providers and admin user activity */
.auth-social-icons-core{gap:18px!important}
.auth-social-icons-core .social-login-icon{width:60px!important;height:60px!important;border-radius:16px!important;font-size:23px!important;box-shadow:0 10px 26px rgba(15,23,42,.10)!important}
.auth-social-icons-core .social-google .gmail-logo{width:36px!important;height:28px!important}
.auth-social-icons-core .social-yahoo{font-size:24px!important}
.auth-social-icons-core .social-linkedin{display:none!important}
.admin-user-stats-v1961{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}
.admin-user-stats-v1961 article{padding:16px;display:grid;gap:5px;min-height:112px;align-content:center}
.admin-user-stats-v1961 span{font-size:12px;font-weight:900;color:var(--muted)}
.admin-user-stats-v1961 b{font-size:20px;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.admin-user-stats-v1961 small{color:var(--primary);font-weight:850}
.admin-user-activity-v1961{display:flex;flex-wrap:wrap;gap:7px;margin-top:8px}
.admin-user-activity-v1961 span{display:inline-flex;align-items:center;gap:4px;border:1px solid var(--line);background:var(--surface);border-radius:999px;padding:5px 8px;font-size:11px;font-weight:850;color:var(--muted)}
.admin-user-activity-v1961 .li-icon{width:14px;height:14px;color:var(--primary)}
.admin-email-history-v1961{margin-top:18px;border-top:1px solid var(--line);padding-top:14px;display:grid;gap:8px}
.admin-email-history-v1961>div{display:flex;justify-content:space-between;gap:12px;align-items:center}
.admin-email-history-v1961>div small{color:var(--muted)}
.admin-email-history-v1961 article{display:flex;justify-content:space-between;gap:12px;border:1px solid var(--line);border-radius:12px;padding:9px 11px;background:var(--surface)}
.admin-email-history-v1961 article span{font-weight:850;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.admin-email-history-v1961 time{color:var(--muted);font-size:11px;white-space:nowrap}
@media(max-width:980px){.admin-user-stats-v1961{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.auth-social-icons-core .social-login-icon{width:56px!important;height:56px!important}.admin-user-stats-v1961{grid-template-columns:1fr 1fr}.admin-email-history-v1961 article{display:grid}.admin-email-history-v1961>div{align-items:flex-start;display:grid}}


/* Folinq v196 Hotfix 5 - VIP WordPress import */
.nav-wordpress-v1965 .li-icon{stroke-width:1.8}
.wp-import-v1965{display:grid;gap:18px;max-width:1120px;margin:0 auto 40px}
.wp-import-hero-v1965{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:18px;padding:24px;border:1px solid #d9e4f2;background:linear-gradient(135deg,#fff 0%,#f4f9ff 100%)}
.wp-import-mark-v1965{display:grid;place-items:center;width:62px;height:62px;border-radius:18px;background:#0a66c2;color:#fff;box-shadow:0 12px 28px rgba(10,102,194,.18)}
.wp-import-mark-v1965 .li-icon{width:34px;height:34px}
.wp-import-kicker-v1965{display:block;color:#0a66c2;font-size:12px;font-weight:800;letter-spacing:.08em;margin-bottom:6px}
.wp-import-hero-v1965 h1{margin:0 0 8px;font-size:25px}
.wp-import-hero-v1965 p{margin:0;color:#58677a;line-height:1.9}
.wp-import-vip-v1965{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;border-radius:999px;background:#fff3c4;color:#755700;font-weight:800}
.wp-import-panel-v1965{padding:22px;border:1px solid #dfe7f1}
.wp-import-step-v1965{display:flex;align-items:flex-start;gap:13px;margin-bottom:18px}
.wp-import-step-v1965>b{display:grid;place-items:center;min-width:34px;height:34px;border-radius:50%;background:#e8f2ff;color:#0a66c2;font-size:16px}
.wp-import-step-v1965 h2{margin:0 0 5px;font-size:19px}
.wp-import-step-v1965 p{margin:0;color:#6a7687;line-height:1.8}
.wp-import-connect-v1965{display:grid;grid-template-columns:minmax(260px,2fr) minmax(210px,1fr) 150px auto;align-items:end;gap:12px}
.wp-import-connect-v1965 label,.wp-import-options-v1965>label{display:grid;gap:7px;font-weight:700}
.wp-import-connect-v1965 input,.wp-import-connect-v1965 select,.wp-import-options-v1965 select{width:100%;min-height:44px;border:1px solid #ccd8e8;border-radius:11px;background:#fff;padding:9px 12px;color:inherit}
.wp-import-note-v1965{display:flex;align-items:center;gap:9px;margin-top:15px;padding:12px 14px;border-radius:11px;background:#eef6ff;color:#24527e}
.wp-import-note-v1965.is-warning{background:#fff5df;color:#74510c}
.wp-import-note-v1965 .li-icon{width:19px;height:19px}
.wp-import-options-v1965{display:grid;grid-template-columns:minmax(340px,2fr) minmax(170px,1fr) minmax(170px,1fr);gap:14px;margin:16px 0}
.wp-import-options-v1965 fieldset{border:1px solid #d7e1ee;border-radius:14px;padding:12px;display:grid;gap:9px}
.wp-import-options-v1965 legend{padding:0 7px;font-weight:800}
.wp-import-radio-v1965{display:flex;align-items:flex-start;gap:9px;padding:9px;border-radius:10px;background:#f8fafc;cursor:pointer}
.wp-import-radio-v1965>span{display:grid;gap:5px;flex:1}
.wp-import-radio-v1965 small{color:#6b7788}
.wp-import-radio-v1965 select{margin-top:4px}
.wp-import-selectbar-v1965{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;border-radius:12px;background:#edf5ff;margin:14px 0;font-weight:700}
.wp-import-posts-v1965{display:grid;gap:10px}
.wp-import-post-v1965{display:grid;grid-template-columns:auto 110px 1fr;gap:14px;align-items:center;padding:13px;border:1px solid #dfe6ef;border-radius:14px;background:#fff}
.wp-import-post-v1965.is-duplicate{opacity:.62;background:#f6f7f8}
.wp-import-check-v1965 input{width:18px;height:18px}
.wp-import-post-v1965>img,.wp-import-image-empty-v1965{width:110px;height:78px;object-fit:cover;border-radius:10px;background:#eef2f6}
.wp-import-image-empty-v1965{display:grid;place-items:center;color:#8090a3}
.wp-import-image-empty-v1965 .li-icon{width:28px;height:28px}
.wp-import-post-main-v1965{min-width:0}
.wp-import-post-title-v1965{display:flex;align-items:center;justify-content:space-between;gap:10px}
.wp-import-post-title-v1965 b{font-size:16px;overflow-wrap:anywhere}
.wp-import-post-title-v1965 em{font-style:normal;font-size:11px;border-radius:999px;background:#e8ebef;padding:5px 8px;color:#657181;white-space:nowrap}
.wp-import-post-main-v1965 p{margin:7px 0;color:#58677a;line-height:1.8}
.wp-import-post-main-v1965 small{display:flex;flex-wrap:wrap;gap:11px;color:#718095}
.wp-import-post-main-v1965 small span{display:inline-flex;align-items:center;gap:4px}
.wp-import-post-main-v1965 small .li-icon{width:15px;height:15px}
.wp-import-post-main-v1965>a{display:inline-block;margin-top:8px;font-size:12px}
.wp-import-truncate-v1965{color:#965f00!important}
.wp-import-submit-v1965{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:18px;padding-top:16px;border-top:1px solid #e3e9f1}
.wp-import-submit-v1965 p{margin:0;color:#687587;font-size:12px}
@media(max-width:900px){.wp-import-connect-v1965,.wp-import-options-v1965{grid-template-columns:1fr 1fr}.wp-import-connect-v1965 label:first-child,.wp-import-options-v1965 fieldset{grid-column:1/-1}}
@media(max-width:640px){.wp-import-hero-v1965{grid-template-columns:auto 1fr}.wp-import-vip-v1965{grid-column:1/-1;justify-self:start}.wp-import-connect-v1965,.wp-import-options-v1965{grid-template-columns:1fr}.wp-import-connect-v1965 label:first-child,.wp-import-options-v1965 fieldset{grid-column:auto}.wp-import-post-v1965{grid-template-columns:auto 74px 1fr}.wp-import-post-v1965>img,.wp-import-image-empty-v1965{width:74px;height:64px}.wp-import-post-title-v1965{align-items:flex-start;flex-direction:column}.wp-import-selectbar-v1965,.wp-import-submit-v1965{align-items:flex-start;flex-direction:column}}

/* Folinq v196 Hotfix 6 - consistent book excerpt grid across lazy-loaded pages */
.book-cut-grid-v1966{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;align-items:stretch!important}
.book-cut-grid-v1966>.book-quote-card{min-width:0!important;height:100%!important;display:flex!important}
.book-cut-grid-v1966>.book-quote-card>a{width:100%!important;display:flex!important;flex-direction:column!important}
.book-cut-grid-v1966>.book-quote-card>a small{margin-top:auto!important;padding-top:10px!important}
.book-cut-grid-v1966>.book-tab-empty-v1966{grid-column:1/-1!important}
.book-reference-list-v1966,.book-comment-list-v1966{display:grid;gap:12px}
@media(max-width:980px){.book-cut-grid-v1966{grid-template-columns:1fr!important}}


/* Folinq v197 - reporting, verification, English comments, registration source */
.q-locale-en .comment-box .comment-input-wrap>.comment-upload{left:auto!important;right:44px!important;top:50%!important;bottom:auto!important;transform:translateY(-50%)!important;margin:0!important}
.q-locale-en .comment-box .comment-input-wrap>button:not(.mini-action){left:auto!important;right:7px!important;top:50%!important;bottom:auto!important;transform:translateY(-50%)!important;margin:0!important}
.q-locale-en .comment-box .comment-input-wrap textarea{padding-left:15px!important;padding-right:84px!important}
.profile-verification-v197{width:24px;height:24px;border-radius:50%;display:inline-grid;place-items:center;border:1px solid currentColor;box-shadow:0 4px 10px rgba(15,23,42,.08)}
.profile-verification-v197.email{background:#fff8d9;color:#d69e00}.profile-verification-v197.mobile{background:#e8f3ff;color:#0a66c2}.profile-verification-v197.none{background:#fff0f0;color:#dc2626}.profile-verification-v197 .li-icon{width:14px;height:14px}
.admin-user-source-v197{display:inline-flex;align-items:center;gap:4px;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:900;background:#f1f5f9;color:#334155}.admin-user-source-v197.source-social{background:#e8f3ff;color:#075da8}.admin-user-source-v197.source-invitation{background:#ecfdf3;color:#047857}.admin-user-source-v197 a{text-decoration:underline}
.performance-report-tabs-v197{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.performance-report-tabs-v197 a{border:1px solid #d5e2ef;border-radius:999px;padding:8px 14px;font-weight:900;color:#52657b}.performance-report-tabs-v197 a.active{background:#0a66c2;color:#fff;border-color:#0a66c2}.performance-follower-row-v197{grid-template-columns:1fr auto!important}
.publisher-v162-stats{grid-template-columns:repeat(6,minmax(0,1fr))!important}.publisher-book-highlight-v197 b{font-size:14px!important;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.publisher-book-highlight-v197 small{display:block;color:#64748b;font-size:11px;margin-top:3px}
.preorder-custom-terms-v197{border:1px solid #bfdbfe;background:#f5faff;border-radius:14px;padding:12px 14px;margin-bottom:16px}.preorder-custom-terms-v197 h4{margin:0 0 8px;color:#075da8}.preorder-custom-terms-v197 p{white-space:normal;line-height:2;margin:0}.book-preorder-terms-editor-v197[hidden]{display:none!important}
@media(max-width:1100px){.publisher-v162-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important}}@media(max-width:700px){.publisher-v162-stats{grid-template-columns:1fr 1fr!important}.performance-report-tabs-v197{display:grid;grid-template-columns:1fr}.performance-report-tabs-v197 a{text-align:center}}

/* Folinq v197 refinements - reliable pagination and comment composer alignment */
.network-v162-lazy-sentinel [data-network-index-load],.network-v162-lazy-sentinel [data-network-index-retry]{min-width:180px;justify-content:center}
.q-locale-en .comment-box .comment-input-wrap{display:flex!important;align-items:center!important;position:relative!important}
.q-locale-en .comment-box .comment-input-wrap>.comment-upload,.q-locale-en .comment-box .comment-input-wrap>button:not(.mini-action){align-self:center!important;line-height:1!important}
@media(max-width:700px){.network-v162-lazy-sentinel [data-network-index-load],.network-v162-lazy-sentinel [data-network-index-retry]{width:100%}}

/* Folinq v197 Hotfix 1 - resume modal action and card-transfer settings */
.profile-info-titlebar-v1971{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-inline-end:34px;margin-bottom:14px}.profile-info-titlebar-v1971 .side-title{margin:0}.profile-resume-modal-btn-v1971{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:8px 12px;border:1px solid #cfe0f3;border-radius:12px;background:#eef6ff;color:#0a66c2;font-weight:900;white-space:nowrap}.profile-resume-modal-btn-v1971:hover{background:#dceeff;border-color:#9dc7ed}.profile-resume-modal-btn-v1971 .li-icon{width:18px;height:18px}.payment-card-transfer-v1971{margin:18px 0;padding:18px;border:1px solid #d7e5f3;border-radius:20px;background:linear-gradient(145deg,#f9fcff,#eef7ff)}.payment-card-transfer-head-v1971{display:flex;align-items:center;gap:12px;margin:2px 0 16px}.payment-card-transfer-head-v1971>.li-icon{width:42px;height:42px;padding:10px;border-radius:14px;background:#0a66c2;color:#fff}.payment-card-transfer-head-v1971 b{display:block;font-size:16px}.payment-card-transfer-head-v1971 small{display:block;color:#64748b;margin-top:2px}.payment-card-transfer-v1971 textarea{min-height:100px}.q-locale-en .profile-info-titlebar-v1971,.q-locale-en .payment-card-transfer-head-v1971{direction:ltr}@media(max-width:680px){.profile-info-titlebar-v1971{align-items:flex-start;flex-direction:column;padding-inline-end:26px}.profile-resume-modal-btn-v1971{width:100%}.payment-card-transfer-v1971{padding:14px}}

/* Folinq v197 Hotfix 2 - stable full-width short Folio detail layout */
.work-show-layout:not(.work-show-pdf-wide) > .work-show-main.work-full{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  justify-self:stretch!important;
  align-self:start!important;
}
.work-show-layout:not(.work-show-pdf-wide) > .work-show-main.work-full > .post{
  width:100%!important;
  max-width:none!important;
  margin-top:0!important;
}
@media(max-width:980px){
  .work-show-layout:not(.work-show-pdf-wide) > .work-show-main.work-full{
    width:100%!important;
    margin:0!important;
  }
}


/* FOLINQ_RESPONSIVE_SCROLL_VISIBILITY_V1
   Keep all actual message composer controls, including admin template controls,
   visible in portrait mobile just as they are in landscape. */
@media (max-width:700px){
  .chat-linkedin-v183 .chat-compose-v183 .chat-compose-bottom-v183{
    display:flex!important;
    align-items:center!important;
    gap:3px!important;
    min-width:0!important;
  }

  .chat-linkedin-v183 .chat-compose-v183 .chat-compose-tools-v183{
    display:flex!important;
    flex:1 1 auto!important;
    flex-direction:row!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:0!important;
    min-width:0!important;
    width:auto!important;
    max-width:none!important;
    overflow:visible!important;
  }

  .chat-linkedin-v183 .chat-compose-v183 .chat-compose-tools-v183>:is(button,label,a,details):not([hidden]){
    display:grid!important;
    visibility:visible!important;
    opacity:1!important;
    flex:0 0 29px!important;
    width:29px!important;
    min-width:29px!important;
    max-width:29px!important;
    height:31px!important;
    place-items:center!important;
    margin:0!important;
  }

  .chat-linkedin-v183 .chat-compose-v183 .chat-compose-tools-v183>.chat-gif-trigger-v183:not([hidden]){
    flex-basis:34px!important;
    width:34px!important;
    min-width:34px!important;
    max-width:34px!important;
  }

  .chat-linkedin-v183 .chat-compose-v183 .chat-send-v183{
    flex:0 0 auto!important;
    padding-inline:11px!important;
  }
}

@media (max-width:430px) and (orientation:portrait){
  .chat-linkedin-v183 .chat-compose-v183 .chat-compose-bottom-v183{
    gap:1px!important;
  }

  .chat-linkedin-v183 .chat-compose-v183 .chat-compose-tools-v183>:is(button,label,a,details):not([hidden]){
    flex-basis:27px!important;
    width:27px!important;
    min-width:27px!important;
    max-width:27px!important;
  }

  .chat-linkedin-v183 .chat-compose-v183 .chat-compose-tools-v183>.chat-gif-trigger-v183:not([hidden]){
    flex-basis:31px!important;
    width:31px!important;
    min-width:31px!important;
    max-width:31px!important;
  }
}

/* FOLINQ_PROFILE_EN_MOBILE_SCROLL_SPECIFICITY_FIX_V1
   Root cause: desktop/LTR flex-end owners have higher specificity than the
   mobile flex-start rule. On narrow LTR profiles this creates negative-side
   overflow that does not become a usable scroll range. Keep desktop untouched
   and override only the mobile LTR profile action rail. */
@media (max-width:760px){
  body.q-dir-ltr .profile-hero.q-profile-hero .hero-actions,
  body.q-dir-ltr .profile-hero.q-profile-hero-v60 .hero-actions{
    justify-content:flex-start!important;
  }
}

/* FOLINQ_FEED_SORT_V1 */
.feed-sort-control{position:relative;flex:0 0 auto;margin-inline-start:auto;overflow:visible}
.feed-sort-trigger{list-style:none;width:38px;height:38px;border:0;border-radius:10px;display:grid;place-items:center;cursor:pointer;color:#475467;background:transparent;transition:background .15s,color .15s}
.feed-sort-trigger::-webkit-details-marker{display:none}
.feed-sort-trigger::marker{display:none;content:""}
.feed-sort-trigger:hover,.feed-sort-control[open] .feed-sort-trigger{background:var(--soft);color:var(--blue)}
.feed-sort-trigger .li-icon{width:19px;height:19px}
.feed-sort-menu{position:absolute;top:calc(100% + 8px);left:0;right:auto;z-index:80;width:176px;padding:6px;background:var(--card);border:1px solid var(--line);border-radius:12px;box-shadow:0 14px 34px rgba(16,24,40,.16)}
.feed-sort-menu a{display:flex;align-items:center;gap:8px;width:100%;min-height:38px;padding:7px 9px;border-radius:9px;color:var(--text);font-weight:800;white-space:nowrap}
.feed-sort-menu a:hover{background:var(--soft);color:var(--blue)}
.feed-sort-menu a.active{background:var(--blue-soft);color:var(--blue)}
.feed-sort-check{display:inline-flex;align-items:center;justify-content:center;width:16px;min-width:16px;font-size:13px;font-weight:950}
@media(min-width:981px){.feed-tabs-card{overflow:visible}.feed-sort-control{margin-inline-start:auto}}
@media(max-width:980px){
  .feed-sort-control{position:static;margin-inline-start:0}
  .feed-sort-control[open] .feed-sort-menu{position:fixed;top:108px;left:10px;right:auto;z-index:3300}
}

/* Folinq Android v1.0.0: equal Web App + Android cards on login */
.folinq-app-install-grid-v196{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:stretch}
.folinq-install-card-v196{min-width:0;height:100%;min-height:74px;text-decoration:none!important}
.folinq-android-download-v196{grid-template-columns:48px minmax(0,1fr);color:#123a5c}
.folinq-android-download-v196:visited{color:#123a5c}
.folinq-android-icon-v196{background:#eaf5ff;color:#0a66c2;box-shadow:none}
.folinq-android-icon-v196 svg{width:31px;height:31px}
.folinq-install-card-v196 .folinq-pwa-install-copy-v195 small{line-height:1.35}
.folinq-app-install-grid-v196 + .folinq-pwa-install-status-v195{margin-top:7px}
@media(max-width:560px){
  .folinq-app-install-grid-v196{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .folinq-install-card-v196{min-height:86px;padding:10px;grid-template-columns:40px minmax(0,1fr)!important;gap:8px}
  .folinq-install-card-v196 .folinq-pwa-install-icon-v195{width:40px;height:40px;border-radius:12px}
  .folinq-install-card-v196 .folinq-pwa-install-icon-v195 svg{width:27px;height:27px}
  .folinq-install-card-v196 .folinq-pwa-install-copy-v195 strong{font-size:12px;line-height:1.25}
  .folinq-install-card-v196 .folinq-pwa-install-copy-v195 small{font-size:10px;line-height:1.35}
  .folinq-install-card-v196 .folinq-pwa-install-badge-v195{display:none}
}

/* Folinq v198 */
html.modal-open-v198,html.modal-open-v198 body{overflow:hidden}
.folio-modal-v198,.social-invite-modal-v198{position:fixed;inset:0;z-index:10020;display:grid;place-items:center;padding:20px}.folio-modal-v198[hidden],.social-invite-modal-v198[hidden]{display:none!important}.folio-modal-backdrop-v198,.social-invite-backdrop-v198{position:absolute;inset:0;background:rgba(9,25,48,.62);backdrop-filter:blur(4px)}.folio-modal-card-v198,.social-invite-card-v198{position:relative;width:min(620px,100%);max-height:min(88vh,820px);overflow:auto;background:#fff;border:1px solid #d9e3ef;border-radius:18px;padding:26px;box-shadow:0 28px 80px rgba(5,24,48,.28);z-index:1}.folio-modal-close-v198,.social-invite-close-v198{position:absolute;inset-inline-end:16px;top:14px;border:0;background:transparent;font-size:30px;line-height:1;cursor:pointer}.social-invite-mark-v198{width:54px;height:54px;border-radius:16px;display:grid;place-items:center;background:#eaf4ff;color:#0873cf}.social-invite-actions-v198{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0 10px}
.share-selected-v198{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0}.share-chip-v198,.share-result-v198{border:1px solid #d7e1ed;background:#fff;border-radius:14px;display:flex;align-items:center;gap:9px;text-align:start}.share-chip-v198{padding:6px 9px}.share-chip-v198 img,.share-result-v198 img{width:38px;height:38px;border-radius:50%;object-fit:cover}.share-chip-v198 span,.share-result-v198 span{display:grid}.share-chip-v198 small,.share-result-v198 small{color:#65758a}.share-chip-v198 b{font-size:18px}.share-results-v198{display:grid;gap:7px;max-height:250px;overflow:auto;margin:8px 0 15px}.share-result-v198{width:100%;padding:9px;cursor:pointer}.share-result-v198 i{margin-inline-start:auto;font-style:normal;font-size:25px;color:#0873cf}.share-submit-v198{width:100%}
.refolio-action-wrap-v198{position:relative}.refolio-menu-v198{position:absolute;z-index:40;bottom:calc(100% + 9px);inset-inline-start:0;width:min(350px,86vw);background:#fff;border:1px solid #d9e3ef;border-radius:15px;padding:7px;box-shadow:0 18px 45px rgba(6,30,60,.2)}.refolio-menu-v198 button{display:grid;width:100%;padding:12px;border:0;background:transparent;text-align:start;border-radius:10px;cursor:pointer}.refolio-menu-v198 button:hover{background:#eef6ff}.refolio-menu-v198 small{color:#68788e;margin-top:4px;line-height:1.45}
.work-gallery-v198{display:grid;gap:4px;margin:10px 0;overflow:hidden;border-radius:12px;background:#edf2f8}.work-gallery-v198 .work-gallery-item-v198{min-height:220px;display:grid;place-items:center;background:#f3f6fa}.work-gallery-v198 img{display:block;width:100%;height:100%;max-height:680px;object-fit:contain;background:#f3f6fa}.work-gallery-count-2{grid-template-columns:repeat(2,minmax(0,1fr))}.work-gallery-count-3,.work-gallery-count-4{grid-template-columns:repeat(2,minmax(0,1fr))}.work-gallery-count-3 .work-gallery-item-v198:first-child{grid-row:span 2}.work-video-borderless-v198{margin:10px calc(var(--card-pad,0px)*-1) 8px;background:#000}.work-video-borderless-v198 video{display:block;width:100%;max-height:76vh;border:0;border-radius:0;box-shadow:none;background:#000}.work-cover img,.post-media img,.folio-media img{object-fit:contain!important;background:#f2f5f9}.folio-inspired-badge-v198{display:inline-flex;align-items:center;gap:6px;margin:8px 0;padding:7px 10px;border-radius:999px;background:#eef7ff;color:#075fae;font-size:13px}.reaction-emoji-trigger-v198{font-size:20px;line-height:1}.folio-analyzer-link-v198{padding:8px 0;text-align:start}.folio-analyzer-link-v198 a{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:#0873cf}.feed-inline-text[data-inline-more-clickable]{cursor:pointer}.feed-inline-text[data-inline-more-clickable] a,.feed-inline-text[data-inline-more-clickable] button{cursor:pointer}
.gallery-preview-v198{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:8px;margin:10px 0}.gallery-preview-v198[hidden]{display:none}.gallery-preview-item-v198{height:110px;border:1px solid #d7e1ed;border-radius:12px;overflow:hidden;background:#f3f6fa}.gallery-preview-item-v198 img{width:100%;height:100%;object-fit:contain}.folio-template-panel-v198{margin:12px 0;padding:14px;border:1px solid #d6e3f0;border-radius:16px;background:#f8fbff}.folio-template-panel-v198[hidden]{display:none}.folio-template-grid-v198{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,.38fr);gap:14px}.folio-template-grid-v198 canvas{grid-column:1/-1;width:min(100%,520px);aspect-ratio:1;margin:auto;border-radius:14px;box-shadow:0 8px 28px rgba(10,45,80,.14)}.folio-inspired-person-v198{display:grid;gap:5px;min-width:min(280px,100%)}
.shelf-kanban-v198{display:block}.shelf-kanban-board-v198{display:flex;gap:14px;align-items:flex-start;overflow-x:auto;padding:8px 2px 20px;scroll-snap-type:x proximity}.shelf-kanban-column-v198{flex:0 0 min(330px,84vw);background:#f5f8fc;border:1px solid #dbe4ef;border-radius:16px;padding:12px;scroll-snap-align:start}.shelf-kanban-column-v198 h3{display:flex;justify-content:space-between}.shelf-kanban-card-v198{background:#fff;border:1px solid #d8e2ee;border-radius:13px;padding:12px;margin:8px 0}.recommendation-tabs-v198{display:flex;gap:8px;flex-wrap:wrap}.recommendation-card-v198{border:1px solid #dce5ef;border-radius:15px;padding:16px;margin:10px 0}.profile-media-only-v198,.profile-media-only-grid-v198{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:10px}.profile-media-only-v198 img,.profile-media-only-v198 video{width:100%;aspect-ratio:1;object-fit:cover;border-radius:12px;background:#eef2f6}.profile-media-only-v198 audio{width:100%}
.reader-minimal-book-v198{border:1px solid #d7e4f1;border-radius:16px;padding:16px;background:#f8fbff}.admin-table-scroll-v198{max-width:100%;overflow:auto}.invite-create-form,.invitation-page,.invite-table-wrap{max-width:100%;min-width:0}.invite-create-form>*{min-width:0}
.comment-menu-copy-v198{display:inline-flex;align-items:center;gap:6px}.post-stat-icons [data-stat-kind]{white-space:nowrap}
@media(max-width:760px){.folio-modal-v198,.social-invite-modal-v198{padding:8px}.folio-modal-card-v198,.social-invite-card-v198{border-radius:15px;padding:22px 15px;max-height:94vh}.work-gallery-count-2,.work-gallery-count-3,.work-gallery-count-4{grid-template-columns:1fr}.work-gallery-count-3 .work-gallery-item-v198:first-child{grid-row:auto}.work-gallery-v198 .work-gallery-item-v198{min-height:180px}.folio-template-grid-v198{grid-template-columns:1fr}.folio-template-grid-v198 canvas{grid-column:auto}.invite-create-form{display:grid!important;grid-template-columns:1fr!important}.admin-table-scroll-v198 table{min-width:720px}.social-login-icon{width:56px!important;height:56px!important}.refolio-menu-v198{inset-inline-start:auto;inset-inline-end:-70px}.comment-input-wrap{align-items:center!important}.comment-upload,.comment-input-wrap>button{position:static!important;transform:none!important;align-self:center!important}}
/* v198 release polish */
.folio-gallery-preview-v198{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:8px;margin:10px 0}.folio-gallery-preview-v198[hidden]{display:none!important}.folio-existing-gallery-v198{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:10px;margin:10px 0}.folio-existing-gallery-v198 label{display:grid;gap:6px;border:1px solid #d7e1ed;border-radius:12px;padding:7px;background:#fff}.folio-existing-gallery-v198 img{width:100%;height:110px;object-fit:contain;border-radius:9px;background:#f3f6fa}.book-reader-entry-v198{max-width:860px;margin:0 auto}.book-reader-entry-card-v198{display:grid;gap:14px}.choice-grid-v198{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.choice-grid-v198 label{border:1px solid #d7e1ed;border-radius:12px;padding:12px;display:flex;gap:8px;align-items:center}.reader-role-note-v198{display:flex;gap:8px;align-items:flex-start;padding:12px;border-radius:12px;background:#eef6ff;color:#174d7c}.profile-media-only-grid-v198>a{display:block;min-width:0}.profile-media-only-grid-v198 img,.profile-media-only-grid-v198 video{width:100%;aspect-ratio:1;object-fit:cover;border-radius:12px;background:#eef2f6}.profile-media-only-grid-v198 audio{width:100%}.work-gallery-v198 a{min-width:0}.work-gallery-v198 .work-gallery-item-v198{overflow:hidden}.work-gallery-v198 img{object-position:center center}.post-media img,.work-cover img{max-height:none}.shelf-kanban-filter-v198{display:flex;gap:8px;flex-wrap:wrap}.shelf-kanban-filter-v198 input{min-width:min(280px,100%);flex:1}.shelf-kanban-head-v198{display:grid;gap:12px}.recommendation-form-v198{display:grid;gap:10px;margin:14px 0}.folio-analysis-grid-v198{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}.folio-analysis-card-v198{border:1px solid #d8e3ef;border-radius:14px;padding:14px;background:#fff}
@media(max-width:760px){.choice-grid-v198{grid-template-columns:1fr}.folio-existing-gallery-v198{grid-template-columns:repeat(2,minmax(0,1fr))}.work-gallery-v198 img{max-height:72vh}}

/* Folinq v198 - analyzer table and metric cards */
.folio-metric-grid-v198{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:18px 0}
.folio-metric-grid-v198 article{min-width:0;padding:16px;border:1px solid #d9e5f2;border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(17,48,85,.05)}
.folio-metric-grid-v198 article strong{display:block;font-size:1.55rem;line-height:1.2;color:#0a66c2;margin-bottom:6px}
.folio-metric-grid-v198 article span{display:block;color:#62748a;font-size:.88rem}
.folio-analytics-note-v198{margin-top:14px;padding:13px 15px;border:1px solid #dce9f5;border-radius:14px;background:#f7fbff;color:#53667c;line-height:1.8}
.table-wrap-v198{width:100%;overflow:auto;border:1px solid #dce6f1;border-radius:16px;background:#fff}
.table-wrap-v198 table{width:100%;min-width:620px;border-collapse:collapse}
.table-wrap-v198 th,.table-wrap-v198 td{padding:12px 14px;border-bottom:1px solid #edf2f7;text-align:start;vertical-align:top}
.table-wrap-v198 th{background:#f6f9fc;color:#53667c;font-size:.86rem}
@media(max-width:900px){.folio-metric-grid-v198{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.folio-metric-grid-v198{grid-template-columns:1fr 1fr;gap:9px}.folio-metric-grid-v198 article{padding:12px;border-radius:14px}.folio-metric-grid-v198 article strong{font-size:1.25rem}}

/* Folinq v199: privacy, messaging, Refolio, profile and Kanban UX */
[hidden]{display:none!important}
.v199-toast{position:fixed;inset-inline-end:24px;bottom:24px;z-index:99999;max-width:min(420px,calc(100vw - 32px));padding:12px 16px;border-radius:14px;background:#17324f;color:#fff;box-shadow:0 18px 50px rgba(15,23,42,.25);font-weight:700}.v199-toast.error{background:#9f1239}.v199-toast.ok{background:#075985}

/* Profile widths and persisted crop/zoom */
.profile-fa-zone,.profile-fa-zone>*{min-width:0}.profile-fa-zone .profile-hero,.profile-fa-zone .profile-layout,.profile-fa-zone .profile-layout>section,.profile-fa-zone .profile-layout>aside,.profile-fa-zone .card{box-sizing:border-box;max-width:100%}.profile-fa-zone .profile-layout>section{width:100%;min-width:0}.hero-cover,.hero-avatar{overflow:hidden}.hero-cover img,.hero-avatar img{width:100%;height:100%;object-fit:cover;transition:transform .18s ease}.profile-name-row{flex-wrap:wrap}.profile-recommendation-button-v199{display:inline-grid!important;place-items:center}.profile-about-head-v199{display:flex;align-items:center;justify-content:space-between;gap:10px}.profile-about-head-v199 .side-title{margin:0}.profile-bio-edit-v199{border:0;background:#eef6ff;color:#0969c8;border-radius:10px;width:34px;height:34px;display:grid;place-items:center;cursor:pointer}.profile-bio-modal-v199{position:fixed;inset:0;z-index:10020;display:grid;place-items:center;padding:20px}.profile-bio-backdrop-v199{position:absolute;inset:0;background:rgba(15,23,42,.62);backdrop-filter:blur(3px)}.profile-bio-modal-v199>section{position:relative;width:min(680px,100%);z-index:1}.profile-bio-modal-v199 header{display:flex;align-items:center;justify-content:space-between}.profile-bio-modal-v199 header button{border:0;background:transparent;font-size:28px}.profile-bio-modal-v199 textarea{width:100%;resize:vertical}

/* Social invitation after OAuth */
.social-invite-modal-v199{position:fixed;inset:0;z-index:10030;display:grid;place-items:center;padding:18px}.social-pending-identity-v199{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid #d9e5f1;border-radius:14px;background:#f8fbff;margin:12px 0}.social-pending-identity-v199 img{width:48px;height:48px;border-radius:50%;object-fit:cover}.social-pending-identity-v199 span{display:grid;min-width:0}.social-pending-identity-v199 small{overflow-wrap:anywhere}

/* Book cover preview and follow */
.book-cover-live-preview-v199,.book-cover-preview-v142[data-book-cover-preview-v199]{margin-top:12px;min-height:180px;border-radius:16px;overflow:hidden;border:1px solid #d8e3ef;background:#f5f9fd;display:grid;place-items:center}.book-cover-live-preview-v199 img,.book-cover-preview-v142[data-book-cover-preview-v199] img{display:block;width:100%;height:100%;max-height:380px;object-fit:contain;background:#fff}.book-follow-plus-v199{width:44px;height:44px;border-radius:50%;display:inline-grid;place-items:center;border:1px solid #0a66c2;background:#fff;color:#0a66c2;font-size:28px;font-weight:500;line-height:1;cursor:pointer;text-decoration:none;box-shadow:0 5px 18px rgba(10,102,194,.13)}.book-follow-plus-v199.is-following{background:#0a66c2;color:#fff}.book-follow-plus-v199:disabled{opacity:.55}

/* Direct Refolio and attached original */
.refolio-direct-actions-v199{display:inline-flex;align-items:center;gap:2px}.refolio-direct-actions-v199 .refolio-thoughts-v199{width:34px}.refolio-modal-v199 .folio-modal-card-v198{width:min(650px,calc(100vw - 24px))}.refolio-thought-field-v199 textarea{min-height:130px}.refolio-original-v199{display:grid;grid-template-columns:110px minmax(0,1fr);gap:14px;border:1px solid #d4e0ec;border-radius:16px;padding:12px;background:#f8fbff;margin:12px 0}.refolio-original-v199>img{width:110px;height:110px;object-fit:cover;border-radius:12px}.refolio-original-v199>div{display:grid;align-content:start;gap:5px;min-width:0}.refolio-original-v199 small{color:#64748b}.refolio-original-v199 b{font-size:17px}.refolio-original-v199 p{margin:0;color:#475569;line-height:1.7}.refolio-original-v199 strong{font-size:13px;color:#0a66c2}

/* Composer exclusivity and image-text canvas */
.is-media-disabled-v199{opacity:.34!important;filter:grayscale(1);pointer-events:none!important;cursor:not-allowed!important}.folio-template-panel-v199 canvas{width:min(100%,520px);aspect-ratio:1/1;height:auto;border-radius:18px;box-shadow:0 12px 30px rgba(15,23,42,.12)}

/* Chat templates, voice and seen avatar */
.chat-template-panel-v199{position:absolute;inset-inline:14px;bottom:78px;z-index:15;border:1px solid #d5e1ed;background:#fff;border-radius:16px;padding:12px;box-shadow:0 20px 45px rgba(15,23,42,.18);max-height:min(520px,65vh);overflow:auto}.chat-template-panel-v199>header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.chat-template-panel-v199>header button{border:0;background:transparent;font-size:24px}.chat-template-list-v199{display:grid;gap:8px;margin-bottom:12px}.chat-template-list-v199 article{display:grid;grid-template-columns:minmax(0,1fr) 32px;gap:6px;border:1px solid #e0e8f0;border-radius:12px;padding:6px}.chat-template-list-v199 article>button{border:0;background:transparent;text-align:start;display:grid;gap:3px;min-width:0}.chat-template-list-v199 article small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#64748b}.chat-template-list-v199 article form button{border:0;background:#fff1f2;color:#be123c;border-radius:8px;width:30px;height:30px}.chat-template-panel-v199>form{display:grid;gap:8px}.chat-template-panel-v199 input,.chat-template-panel-v199 textarea{width:100%}.chat-voice-preview-v199{display:flex;align-items:center;justify-content:space-between;border:1px solid #bfdbfe;background:#eff6ff;border-radius:13px;padding:8px 10px;margin:4px 0}.chat-voice-preview-v199>span{display:flex;align-items:center;gap:8px}.chat-voice-preview-v199>button{border:0;background:transparent;font-size:22px}.chat-compose-tools-v183 [data-chat-voice-record-v199].is-recording{background:#fee2e2;color:#dc2626;animation:v199Pulse 1s infinite}@keyframes v199Pulse{50%{transform:scale(1.08)}}.chat-voice-message-v199{display:grid;grid-template-columns:40px minmax(120px,260px) auto;align-items:center;gap:10px;padding:9px 10px;min-width:240px}.chat-voice-message-v199>button{width:38px;height:38px;border-radius:50%;border:0;background:#0a66c2;color:#fff;display:grid;place-items:center}.chat-voice-message-v199>div{display:grid;gap:6px}.chat-voice-message-v199 audio{display:none}.chat-voice-message-v199 [data-voice-progress-v199]{height:4px;background:#dbe6f0;border-radius:99px;overflow:hidden}.chat-voice-message-v199 [data-voice-progress-v199] i{display:block;width:0;height:100%;background:#0a66c2}.chat-voice-message-v199 time{font-size:11px;color:#64748b}.chat-seen-avatar-v199{width:18px;height:18px;border-radius:50%;object-fit:cover;border:2px solid #fff;box-shadow:0 1px 4px rgba(15,23,42,.25)}

/* Shelf Kanban */
.shelf-kanban-board-v199{align-items:flex-start;scroll-snap-type:inline proximity;padding-bottom:18px}.shelf-kanban-column-v199{scroll-snap-align:start;box-shadow:0 10px 25px rgba(15,23,42,.07);border-top:4px solid var(--folder-color)}.shelf-kanban-cards-v199{min-height:150px;transition:background .18s,border-color .18s;border:2px dashed transparent;border-radius:14px;padding:6px}.shelf-kanban-cards-v199.is-drag-over{background:#eaf5ff;border-color:#0a66c2}.shelf-kanban-card-v199{cursor:grab;transition:transform .16s,box-shadow .16s,opacity .16s}.shelf-kanban-card-v199:hover{transform:translateY(-2px);box-shadow:0 10px 22px rgba(15,23,42,.12)}.shelf-kanban-card-v199.is-dragging{opacity:.38;cursor:grabbing}.shelf-kanban-card-v199 select{width:100%;margin-top:8px}

/* Analytics with profile on right */
.folio-analytics-layout-v199{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:18px;align-items:start}.folio-analytics-main-v199{min-width:0}.folio-analytics-profile-v199{position:sticky;top:92px;text-align:center;display:grid;gap:10px}.folio-analytics-profile-v199>img{width:104px;height:104px;border-radius:50%;object-fit:cover;margin:auto;border:4px solid #fff;box-shadow:0 0 0 1px #cbd9e7}.folio-analytics-profile-v199 h2,.folio-analytics-profile-v199 p{margin:0}

/* Invitation mobile safety */
.invitation-code,.invitation-link,.invite-code,.invite-link,[data-invitation-code],[data-invitation-link],.invitations-page code,.invitations-page input{max-width:100%;overflow-wrap:anywhere;word-break:break-all}.invitations-page,.invitation-page,.admin-invitations-page{min-width:0;overflow-x:hidden}.invitations-page .table-wrap,.invitation-page .table-wrap{max-width:100%;overflow-x:auto}

@media(max-width:820px){
 .folio-analytics-layout-v199{grid-template-columns:1fr}.folio-analytics-profile-v199{position:static;grid-row:1}.refolio-original-v199{grid-template-columns:72px minmax(0,1fr)}.refolio-original-v199>img{width:72px;height:72px}.chat-template-panel-v199{inset-inline:6px;bottom:72px}.shelf-kanban-board-v199{grid-auto-columns:minmax(82vw,1fr)}
 .invitations-page table,.invitation-page table{min-width:0!important;display:block}.invitations-page thead,.invitation-page thead{display:none}.invitations-page tbody,.invitation-page tbody,.invitations-page tr,.invitation-page tr{display:grid;width:100%}.invitations-page tr,.invitation-page tr{border:1px solid #dce6ef;border-radius:14px;padding:10px;margin-bottom:10px}.invitations-page td,.invitation-page td{display:flex;justify-content:space-between;gap:12px;max-width:100%;overflow-wrap:anywhere}
}

/* Folinq v199 Hotfix 1: Refolio chooser, voice recording, book follow, Kanban and birthday UX */
.refolio-trigger-v199.is-refolioed-v199,[data-work-card].is-refolioed-v199 .refolio-trigger-v199{color:#0a66c2;background:#eaf4ff}
.refolio-choice-list-v199{display:grid;gap:10px;margin-top:14px}.refolio-choice-list-v199>button{display:grid;grid-template-columns:46px minmax(0,1fr);gap:12px;align-items:center;width:100%;border:1px solid #d8e3ef;background:#fff;border-radius:15px;padding:14px;text-align:start;cursor:pointer;transition:border-color .16s,box-shadow .16s,transform .16s}.refolio-choice-list-v199>button:hover{border-color:#0a66c2;box-shadow:0 8px 24px rgba(10,102,194,.12);transform:translateY(-1px)}.refolio-choice-list-v199>button>span{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:#eaf4ff;color:#0a66c2;font-size:25px;font-weight:700}.refolio-choice-list-v199>button>div{display:grid;gap:4px}.refolio-choice-list-v199 b{font-size:15px}.refolio-choice-list-v199 small{color:#64748b;line-height:1.65}.refolio-back-v199{border:0;background:transparent;color:#0a66c2;padding:0 0 8px;cursor:pointer}
.book-title-row-v142{align-items:flex-start}.book-title-follow-v199{margin-inline-start:auto;flex:0 0 auto}.book-title-follow-v199 form{margin:0}.book-follow-plus-v199{display:inline-grid!important;visibility:visible!important;flex:0 0 44px}
.chat-message-avatar-v199{width:42px!important;height:42px!important;min-width:42px!important;max-width:42px!important;aspect-ratio:1/1!important;border-radius:999px!important;object-fit:cover!important;align-self:flex-start!important;flex:0 0 42px!important}.chat-seen-avatar-v199{width:18px!important;height:18px!important;min-width:18px!important;max-width:18px!important;aspect-ratio:1/1!important;border-radius:999px!important;object-fit:cover!important}
.chat-compose-tools-v183 [data-chat-voice-record-v199]{position:relative}.chat-compose-tools-v183 [data-chat-voice-record-v199].is-recording:after{content:"";position:absolute;inset:-4px;border:2px solid #ef4444;border-radius:50%;animation:v199RecordRing 1.1s infinite}@keyframes v199RecordRing{50%{opacity:.25;transform:scale(1.16)}}
.is-media-disabled-v199{display:inline-flex!important;visibility:visible!important;opacity:.38!important;filter:grayscale(1);pointer-events:none!important;cursor:not-allowed!important}.folio-file-tool-v178:has(.is-media-disabled-v199){display:inline-flex!important;visibility:visible!important}
.folio-template-launch-v199{width:100%;display:flex;align-items:center;gap:12px;margin-top:12px;border:1px solid #b9d7f4;background:linear-gradient(135deg,#f6fbff,#eaf5ff);color:#103b68;border-radius:15px;padding:12px 14px;text-align:start;cursor:pointer}.folio-template-launch-v199>svg{width:28px;height:28px;color:#0a66c2}.folio-template-launch-v199>span{display:grid;gap:2px}.folio-template-launch-v199 small{color:#52708e;line-height:1.55}.folio-template-launch-v199:hover{border-color:#0a66c2;box-shadow:0 8px 24px rgba(10,102,194,.1)}
.shelf-kanban-v198{max-width:100%;overflow:hidden}.shelf-kanban-head-v198{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:start}.shelf-kanban-filter-v198,.shelf-folder-create-v198{grid-column:1/-1;display:grid;grid-template-columns:minmax(180px,1fr) minmax(150px,220px) auto;gap:8px}.shelf-folder-create-v198{grid-template-columns:minmax(200px,1fr) 52px auto}.shelf-kanban-board-v199{display:grid!important;grid-auto-flow:column!important;grid-auto-columns:minmax(310px,360px)!important;grid-template-columns:none!important;gap:14px!important;max-width:100%!important;overflow-x:auto!important;overflow-y:hidden!important;overscroll-behavior-inline:contain;scrollbar-gutter:stable;padding:4px 4px 20px;scroll-snap-type:x proximity}.shelf-kanban-column-v199{width:auto!important;min-width:0;max-height:calc(100vh - 220px);display:flex;flex-direction:column;background:#f8fafc;border-radius:17px}.shelf-kanban-column-v199>header{position:sticky;top:0;z-index:2;background:#f8fafc;border-radius:13px 13px 0 0}.shelf-kanban-cards-v199{overflow-y:auto;overscroll-behavior:contain;flex:1;padding:8px}.shelf-kanban-card-v199{position:relative;background:#fff;border:1px solid #dbe5ee;border-radius:14px;padding:9px}.shelf-kanban-card-v199>a{display:grid;grid-template-columns:54px minmax(0,1fr);gap:10px;color:inherit;text-decoration:none}.shelf-kanban-card-v199>a>img{width:54px;height:54px;border-radius:10px;object-fit:cover}.shelf-kanban-card-v199>a>span{display:grid;gap:3px;min-width:0}.shelf-kanban-card-v199 p{margin:0;color:#64748b;font-size:12px;line-height:1.6}.shelf-kanban-card-top-v199{display:flex;justify-content:space-between;align-items:center;margin-bottom:5px}.shelf-kanban-drag-v199{color:#94a3b8;letter-spacing:-2px;cursor:grab}.shelf-kanban-card-top-v199 details{position:relative}.shelf-kanban-card-top-v199 summary{list-style:none;cursor:pointer;color:#64748b}.shelf-kanban-card-top-v199 details>form{position:absolute;z-index:6;inset-inline-end:0;top:24px;width:220px;background:#fff;border:1px solid #dbe5ee;border-radius:12px;padding:10px;box-shadow:0 14px 32px rgba(15,23,42,.16);display:grid;gap:7px}.shelf-kanban-card-top-v199 select,.shelf-kanban-card-top-v199 button{width:100%}
@media(max-width:760px){.refolio-choice-list-v199>button{grid-template-columns:40px minmax(0,1fr);padding:12px}.shelf-kanban-head-v198{grid-template-columns:1fr}.shelf-kanban-filter-v198,.shelf-folder-create-v198{grid-template-columns:1fr}.shelf-kanban-board-v199{grid-auto-columns:minmax(84vw,1fr)!important}.shelf-kanban-column-v199{max-height:68vh}.book-title-row-v142{display:flex!important;gap:10px}.book-title-follow-v199{margin-inline-start:auto}}

/* Folinq v199 Hotfix 2: messaging, profile width, canvas studio and Kanban */
.profile-fa-zone{width:100%!important;max-width:none!important;margin-inline:0!important}.profile-fa-zone>.profile-hero,.profile-fa-zone>.grid{width:100%!important;max-width:none!important;margin-inline:0!important}.profile-fa-zone>.grid{grid-template-columns:minmax(0,1fr) 320px!important}.profile-fa-zone .profile-hero.q-profile-hero-v60{inline-size:100%!important;max-inline-size:none!important}
.chat-mic-help-v199{display:grid;grid-template-columns:24px minmax(0,1fr) auto 28px;gap:10px;align-items:center;border:1px solid #f3c38b;background:#fff8ed;color:#7c3e08;border-radius:14px;padding:10px 12px;margin:5px 0}.chat-mic-help-v199>span{display:grid;gap:2px}.chat-mic-help-v199 small{line-height:1.55;color:#8b5b2a}.chat-mic-help-close-v199{border:0;background:transparent;color:#7c3e08;font-size:22px;cursor:pointer}.chat-compose-v183[data-v199-submit-owner="1"] .chat-send-v183:disabled{opacity:.55;cursor:not-allowed}
.refolio-original-v199.no-cover-v199{grid-template-columns:minmax(0,1fr)!important}.refolio-original-v199.no-cover-v199>div{min-height:150px;padding:10px 8px}.refolio-original-v199{max-height:min(430px,55vh);overflow:auto}.refolio-original-v199 p{white-space:pre-line;overflow-wrap:anywhere}.refolio-modal-v199 .folio-modal-card-v198{max-height:calc(100vh - 28px);overflow:auto}
.book-follow-plus-v199>span{display:block;line-height:1;transform:translateY(-1px)}.book-follow-plus-v199.is-following>span{font-size:30px}
.folio-template-studio-v1992{border:1px solid #cfe0f2!important;background:linear-gradient(180deg,#fff,#f8fbff)!important;border-radius:20px!important;padding:16px!important}.folio-template-studio-v1992 .folio-editor-v173-panel-head{align-items:flex-start}.folio-template-studio-v1992 .folio-editor-v173-panel-head>div{display:grid;gap:3px}.folio-template-studio-v1992 .folio-editor-v173-panel-head h3{margin:0}.folio-template-studio-v1992 .folio-editor-v173-panel-head small{color:#64748b}.folio-template-studio-grid-v1992{display:grid;grid-template-columns:minmax(280px,390px) minmax(0,1fr);gap:20px;align-items:start}.folio-template-controls-v1992{display:grid;gap:14px}.folio-template-presets-v1992{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.folio-template-presets-v1992 button{border:1px solid #d8e3ef;background:#fff;border-radius:13px;padding:10px 7px;display:grid;place-items:center;gap:4px;color:#334155;cursor:pointer}.folio-template-presets-v1992 button>span{width:38px;height:38px;border-radius:11px;background:#edf5fd;color:#0a66c2;display:grid;place-items:center;font-size:18px}.folio-template-presets-v1992 button b{font-size:12px}.folio-template-presets-v1992 button.is-active{border-color:#0a66c2;box-shadow:0 0 0 3px rgba(10,102,194,.1);background:#f5faff}.folio-template-custom-controls-v1992{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.folio-template-custom-controls-v1992>label{display:flex;align-items:center;justify-content:space-between;gap:8px;border:1px solid #dbe5ef;background:#fff;border-radius:12px;padding:8px 10px;font-weight:700}.folio-template-custom-controls-v1992 input[type="color"]{width:38px;height:30px;border:0;padding:0;background:none}.folio-template-custom-controls-v1992 input[type="range"]{max-width:100px}.folio-template-bg-upload-v1992{grid-column:1/-1;justify-content:flex-start!important;cursor:pointer;color:#0a66c2}.folio-template-saved-v1992{border:1px solid #dbe5ef;border-radius:14px;padding:10px;background:#fff}.folio-template-saved-head-v1992{display:grid;gap:1px;margin-bottom:8px}.folio-template-saved-head-v1992 small{color:#64748b}.folio-template-saved-v1992 [data-template-saved-list-v199]{display:grid;gap:6px;max-height:180px;overflow:auto}.folio-template-saved-item-v1992{display:grid;grid-template-columns:minmax(0,1fr) 32px;gap:5px}.folio-template-saved-item-v1992>button:first-child{border:0;background:#f5f8fb;border-radius:10px;padding:7px 9px;display:flex;align-items:center;gap:7px;text-align:start;cursor:pointer}.folio-template-saved-item-v1992>button.danger{border:0;border-radius:9px;background:#fff1f2;color:#be123c;cursor:pointer}.folio-template-save-v1992{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.folio-template-save-v1992 input{width:100%;border:1px solid #d8e3ef;border-radius:11px;padding:9px 11px}.folio-template-canvas-side-v1992{display:grid;gap:12px;justify-items:center}.folio-template-canvas-wrap-v1992{width:min(100%,590px);position:relative}.folio-template-canvas-wrap-v1992 canvas{display:block;width:100%!important;aspect-ratio:1/1;height:auto!important;cursor:grab;touch-action:none;border:1px solid #d5e1ed;background:#fff}.folio-template-canvas-wrap-v1992 canvas.is-dragging{cursor:grabbing}.folio-template-canvas-wrap-v1992>span{position:absolute;inset-inline:12px;bottom:12px;background:rgba(15,23,42,.72);color:#fff;border-radius:999px;padding:5px 10px;text-align:center;font-size:11px;pointer-events:none}.folio-template-canvas-side-v1992 .inline-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}
.is-media-disabled-v199{display:inline-flex!important;visibility:visible!important;opacity:.35!important;filter:grayscale(1)!important;pointer-events:none!important;cursor:not-allowed!important}.folio-editor-v173-tool.is-media-disabled-v199,.folio-tool-v177.is-media-disabled-v199{display:inline-flex!important}
.shelf-kanban-pro-v1992{min-width:0}.shelf-kanban-toolbar-v1992{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:14px!important}.shelf-kanban-title-v1992{display:flex;gap:12px;align-items:center}.shelf-kanban-title-v1992 h1,.shelf-kanban-title-v1992 p{margin:0}.shelf-kanban-brand-v1992{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;background:#eaf4ff;color:#0a66c2}.shelf-kanban-view-actions-v1992{display:flex;align-items:center;gap:7px}.shelf-kanban-view-actions-v1992>button{width:38px;height:38px;border:1px solid #d8e3ef;background:#fff;border-radius:10px;color:#0a66c2;font-size:26px;line-height:1;cursor:pointer}.shelf-kanban-filter-v1992,.shelf-folder-create-v1992{grid-column:1/-1!important}.shelf-kanban-filter-v1992 label,.shelf-folder-create-v1992 label{display:flex;align-items:center;gap:7px;border:1px solid #d8e3ef;background:#fff;border-radius:11px;padding-inline:10px}.shelf-kanban-filter-v1992 label input,.shelf-folder-create-v1992 label input{border:0!important;box-shadow:none!important}.shelf-kanban-board-v1992{display:flex!important;gap:16px!important;overflow-x:auto!important;overflow-y:hidden!important;padding:10px 4px 22px!important;scroll-snap-type:x proximity;scrollbar-gutter:stable;min-height:520px}.shelf-kanban-column-v1992{flex:0 0 340px!important;width:340px!important;max-width:340px!important;min-width:340px!important;max-height:calc(100vh - 230px)!important;border:1px solid #dce6ef;border-top:4px solid var(--folder-color)!important;background:#f6f8fb!important;border-radius:17px!important;overflow:visible!important;scroll-snap-align:start}.shelf-kanban-column-head-v1992{display:flex!important;align-items:center!important;justify-content:space-between!important;padding:11px 12px!important;background:#f6f8fb!important;border-bottom:1px solid #e3eaf2;border-radius:13px 13px 0 0!important}.shelf-kanban-column-head-v1992>div{display:flex;align-items:center;gap:9px}.shelf-kanban-column-head-v1992>div>i{width:11px;height:11px;border-radius:50%;background:var(--folder-color);box-shadow:0 0 0 4px color-mix(in srgb,var(--folder-color) 15%,transparent)}.shelf-kanban-column-head-v1992>div>span{display:grid;gap:1px}.shelf-kanban-column-head-v1992 small{color:#64748b;font-size:11px}.shelf-kanban-folder-menu-v1992{position:relative}.shelf-kanban-folder-menu-v1992 summary{list-style:none;cursor:pointer;padding:4px 7px}.shelf-kanban-folder-menu-v1992>div{position:absolute;z-index:20;inset-inline-end:0;top:30px;width:220px;border:1px solid #dbe5ef;background:#fff;border-radius:13px;padding:10px;box-shadow:0 18px 40px rgba(15,23,42,.18);display:grid;gap:8px}.shelf-kanban-folder-menu-v1992 form{display:grid;gap:6px}.shelf-kanban-folder-menu-v1992 input{width:100%;border:1px solid #dbe5ef;border-radius:9px;padding:7px}.shelf-kanban-cards-v1992{padding:10px!important;overflow-y:auto!important;min-height:180px!important;display:flex;flex-direction:column;gap:9px}.shelf-kanban-card-v1992{padding:0!important;background:#fff!important;border:1px solid #dbe5ef!important;border-radius:14px!important;box-shadow:0 3px 12px rgba(15,23,42,.04);overflow:visible}.shelf-kanban-card-toolbar-v1992{display:flex;justify-content:space-between;align-items:center;padding:5px 8px 0}.shelf-kanban-card-toolbar-v1992 button{border:0;background:transparent;color:#7b8b9c;cursor:pointer}.shelf-kanban-card-link-v1992{display:grid!important;grid-template-columns:64px minmax(0,1fr)!important;gap:10px!important;padding:6px 9px 11px!important;align-items:start}.shelf-kanban-card-link-v1992>img,.shelf-kanban-card-placeholder-v1992{width:64px!important;height:76px!important;border-radius:9px!important;object-fit:cover!important;background:#edf4fb;display:grid;place-items:center;color:#0a66c2}.shelf-kanban-card-link-v1992>div{min-width:0;display:grid;gap:3px}.shelf-kanban-card-link-v1992 b{font-size:13px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.shelf-kanban-card-link-v1992 p{font-size:11px!important;line-height:1.55!important;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.shelf-kanban-card-link-v1992 small{color:#0a66c2}.shelf-kanban-card-menu-v1992{position:absolute;z-index:25;inset-inline-end:8px;top:31px;width:215px;background:#fff;border:1px solid #dbe5ef;border-radius:12px;padding:10px;box-shadow:0 16px 34px rgba(15,23,42,.18)}.shelf-kanban-card-menu-v1992 form{display:grid;gap:7px}.shelf-kanban-card-menu-v1992 select{width:100%;border:1px solid #dbe5ef;border-radius:9px;padding:7px}.shelf-kanban-card-v1992{position:relative}.shelf-kanban-empty-v1992{min-height:140px;display:grid;place-items:center;align-content:center;gap:7px;border:1px dashed #cbd8e5;border-radius:13px;color:#7b8b9c;background:rgba(255,255,255,.55)}
.post-stat-icons [data-stat-kind="comments"]{display:inline-flex;align-items:center;gap:4px}.post-stat-icons [data-stat-kind="comments"] svg{flex:0 0 auto}
@media(max-width:900px){.profile-fa-zone>.grid{grid-template-columns:1fr!important}.folio-template-studio-grid-v1992{grid-template-columns:1fr}.shelf-kanban-toolbar-v1992{grid-template-columns:1fr!important}.shelf-kanban-view-actions-v1992{justify-content:flex-start}.chat-mic-help-v199{grid-template-columns:22px minmax(0,1fr) auto}.chat-mic-help-close-v199{grid-column:3}.shelf-kanban-column-v1992{flex-basis:min(86vw,340px)!important;width:min(86vw,340px)!important;min-width:min(86vw,340px)!important}}
@media(max-width:600px){.folio-template-presets-v1992{grid-template-columns:repeat(2,minmax(0,1fr))}.folio-template-custom-controls-v1992{grid-template-columns:1fr}.folio-template-save-v1992{grid-template-columns:1fr}.chat-mic-help-v199{grid-template-columns:22px minmax(0,1fr)}.chat-mic-help-v199 .btn{grid-column:1/-1}.chat-mic-help-close-v199{position:absolute;inset-inline-end:8px}.shelf-kanban-filter-v1992,.shelf-folder-create-v1992{grid-template-columns:1fr!important}.shelf-kanban-view-actions-v1992>button{display:none}}

/* Hotfix 3 */
.folio-template-studio-grid-v1992{grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);align-items:start}
.folio-template-canvas-side-v1992{position:sticky;top:16px}
.folio-template-canvas-wrap-v1992{min-height:390px;padding:18px;border-radius:24px;background:linear-gradient(180deg,#f8fbff 0%,#f1f5fb 100%);border:1px solid #d7e3f2;display:flex;align-items:center;justify-content:center}
.folio-template-canvas-wrap-v1992 canvas{width:min(100%,420px);height:auto;max-height:420px;border-radius:22px;box-shadow:0 16px 34px rgba(22,60,110,.14)}
.folio-template-controls-v1992 .template-preview-card-v1992{display:none}
@media (max-width:980px){.folio-template-studio-grid-v1992{grid-template-columns:1fr}.folio-template-canvas-side-v1992{position:static;order:-1}}

.profile-endorsement-grid-v203{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:16px}
.profile-endorsement-card-v203{border:1px solid #dbe6f3;border-radius:20px;background:#fff}
.profile-endorsement-head-v203{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}
.profile-endorsement-head-v203 h3{margin:0;font-size:18px;color:#10233d}
.profile-endorsement-head-v203 span{display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:40px;border-radius:999px;background:#eef4ff;color:#1d57ad;font-weight:700}
.profile-endorsement-head-v203 a{color:#1d57ad;text-decoration:none;font-weight:600}
.profile-endorsement-list-v203{display:grid;gap:12px}
.profile-endorsement-item-v203{display:grid;grid-template-columns:44px 1fr;gap:12px;padding:14px;border:1px solid #e5edf7;border-radius:16px;background:#fbfdff}
.profile-endorsement-avatar-v203,.recommendation-avatar-v203{width:44px;height:44px;border-radius:50%;background:#e7f0ff;color:#1d57ad;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:18px}
.profile-endorsement-item-v203 b,.recommendation-card-head-v203 b{display:block;color:#10233d;margin-bottom:2px}
.profile-endorsement-item-v203 small,.recommendation-card-head-v203 small{display:block;color:#67809b;margin-bottom:8px}
.profile-endorsement-item-v203 p,.recommendation-card-v203 p{margin:0;color:#435d78;line-height:1.9}
.recommendation-page-v203{border:1px solid #dbe6f3;border-radius:24px;background:#fff}
.recommendation-page-hero-v203{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}
.recommendation-page-hero-v203 h1{margin:0 0 6px;font-size:28px;color:#10233d}
.recommendation-page-hero-v203 p{margin:0;color:#65809c}
.recommendation-grid-v203{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.recommendation-column-v203{background:#fbfdff;border:1px solid #dbe6f3;border-radius:20px;padding:18px}
.recommendation-col-head-v203{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}
.recommendation-col-head-v203 h2{margin:0;font-size:19px;color:#10233d}
.recommendation-col-head-v203 span{display:inline-flex;min-width:40px;height:40px;align-items:center;justify-content:center;border-radius:999px;background:#eef4ff;color:#1d57ad;font-weight:700}
.recommendation-list-v203{display:grid;gap:12px}
.recommendation-card-v203{border:1px solid #e2ebf5;border-radius:18px;background:#fff;padding:15px}
.recommendation-card-head-v203{display:grid;grid-template-columns:44px 1fr;gap:12px;align-items:center;margin-bottom:10px}
.recommendation-empty-v203{padding:24px;border:1px dashed #d7e3f2;border-radius:16px;background:#fff;color:#68829d;text-align:center}
@media (max-width:980px){.profile-endorsement-grid-v203,.recommendation-grid-v203{grid-template-columns:1fr}.recommendation-page-hero-v203{flex-direction:column;align-items:flex-start}}

/* Folinq v199 Hotfix 4 */
.quick-actions-six-v204,.quick-actions-five-v186{grid-template-columns:repeat(6,minmax(0,1fr))}
.feed-template-studio-v204{margin:14px 0 4px}
.folio-template-studio-grid-v1992{grid-template-columns:minmax(380px,1.1fr) minmax(320px,.9fr)!important;gap:20px!important}
.folio-template-canvas-side-v1992{position:sticky;top:14px;align-self:start}
.folio-template-canvas-wrap-v1992{width:100%!important;min-height:430px!important;padding:18px!important;border:1px solid #d8e5f2!important;border-radius:24px!important;background:linear-gradient(180deg,#f8fbff 0%,#eef4fb 100%)!important;display:grid!important;place-items:center!important}
.folio-template-canvas-wrap-v1992 canvas{width:min(100%,520px)!important;height:auto!important;max-height:none!important;border-radius:22px!important;box-shadow:0 18px 42px rgba(20,52,91,.15)!important}
.folio-template-canvas-side-v1992 .inline-actions{width:min(100%,520px);display:grid!important;grid-template-columns:1fr 1fr!important}
.folio-template-presets-v1992 button span .li-icon,.folio-tool-v177 [data-icon="image-text"]{width:22px;height:22px}

.profile-endorsement-tabs-v204{margin-top:16px;border:1px solid #dce7f2;border-radius:22px;background:#fff}
.profile-endorsement-tabs-head-v204{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:16px}
.profile-endorsement-tabs-head-v204 h3{margin:0 0 5px;font-size:20px;color:#122841}
.profile-endorsement-tabs-head-v204 p{margin:0;color:#6b8096;line-height:1.7}
.profile-endorsement-tabs-head-v204>a{color:#0969c8;text-decoration:none;font-weight:700;white-space:nowrap}
.profile-endorsement-tab-buttons-v204{display:flex;gap:8px;border-bottom:1px solid #e4edf6;margin-bottom:16px;overflow:auto}
.profile-endorsement-tab-buttons-v204 button{border:0;background:transparent;padding:11px 15px;color:#5c7289;font:700 14px inherit;cursor:pointer;border-bottom:3px solid transparent;display:flex;align-items:center;gap:8px;white-space:nowrap}
.profile-endorsement-tab-buttons-v204 button span{min-width:28px;height:28px;padding:0 8px;border-radius:999px;background:#eef4fa;color:#4f6780;display:inline-flex;align-items:center;justify-content:center}
.profile-endorsement-tab-buttons-v204 button.active{color:#0a66c2;border-bottom-color:#0a66c2}.profile-endorsement-tab-buttons-v204 button.active span{background:#e7f2ff;color:#0a66c2}
.profile-endorsement-tab-panel-v204{display:grid;gap:12px}
.profile-endorsement-wide-item-v204{display:grid;grid-template-columns:minmax(190px,260px) auto 1fr auto;gap:14px;align-items:start;padding:15px;border:1px solid #e1ebf5;border-radius:18px;background:linear-gradient(180deg,#fff,#fbfdff)}
.profile-endorsement-person-v204{display:flex;align-items:center;gap:10px;text-decoration:none;min-width:0}.profile-endorsement-person-v204 img{width:42px;height:42px;border-radius:50%;object-fit:cover;flex:0 0 42px;border:2px solid #fff;box-shadow:0 3px 10px rgba(20,58,98,.12)}
.profile-endorsement-person-v204 span{min-width:0}.profile-endorsement-person-v204 b{display:block;color:#15304f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-endorsement-person-v204 small{color:#75899d}
.profile-endorsement-relation-v204{padding:6px 10px;border-radius:999px;background:#eef5fc;color:#3d668c;font-size:12px;white-space:nowrap}
.profile-endorsement-wide-item-v204 p{margin:0;color:#405b75;line-height:1.9}.profile-endorsement-wide-item-v204 time{color:#8597a8;font-size:12px;white-space:nowrap}

.endorsement-page-v204{max-width:1120px;margin:0 auto;display:grid;gap:16px}
.endorsement-hero-v204{display:flex;align-items:center;justify-content:space-between;gap:18px;border-radius:24px;border:1px solid #dce7f2;background:linear-gradient(135deg,#fff 0%,#f2f7fd 100%)}
.endorsement-profile-v204{display:flex;align-items:center;gap:14px}.endorsement-profile-v204 img{width:64px;height:64px;border-radius:50%;object-fit:cover;border:3px solid #fff;box-shadow:0 7px 20px rgba(16,58,100,.15)}
.endorsement-profile-v204 span{display:block;color:#0a66c2;font-weight:800;font-size:12px}.endorsement-profile-v204 h1{margin:2px 0;font-size:25px}.endorsement-profile-v204 p{margin:0;color:#6c8196}
.endorsement-compose-v204{border-radius:24px;border:1px solid #dce7f2;background:#fff}
.endorsement-compose-head-v204{display:flex;align-items:center;gap:12px;margin-bottom:16px}.endorsement-compose-head-v204 img{width:42px;height:42px;border-radius:50%;object-fit:cover}.endorsement-compose-head-v204 h2{margin:0 0 3px;font-size:19px}.endorsement-compose-head-v204 p{margin:0;color:#6b8096}
.endorsement-compose-form-v204{display:grid;grid-template-columns:minmax(220px,.65fr) minmax(0,1.35fr);gap:14px;align-items:start}.endorsement-text-field-v204{grid-row:span 2}.endorsement-compose-form-v204 input,.endorsement-compose-form-v204 textarea{width:100%;border:1px solid #cfddea;border-radius:14px;padding:12px 14px;font:inherit;background:#fbfdff}.endorsement-compose-form-v204 textarea{resize:vertical;min-height:138px}.endorsement-compose-actions-v204{align-self:end}.endorsement-compose-actions-v204 .btn{width:100%;justify-content:center}
.endorsement-list-shell-v204{border-radius:24px;border:1px solid #dce7f2}.endorsement-tabs-v204{display:flex;gap:8px;border-bottom:1px solid #e2ecf5;margin-bottom:18px;overflow:auto}.endorsement-tabs-v204 a{padding:12px 16px;text-decoration:none;color:#61778d;font-weight:800;border-bottom:3px solid transparent;white-space:nowrap}.endorsement-tabs-v204 a.active{color:#0a66c2;border-bottom-color:#0a66c2}
.endorsement-list-v204{display:grid;gap:12px}.endorsement-row-v204{display:grid;grid-template-columns:220px minmax(0,1fr) 38px;gap:16px;align-items:start;padding:16px;border:1px solid #e1ebf5;border-radius:18px;background:linear-gradient(180deg,#fff,#fbfdff)}
.endorsement-person-v204{display:flex;align-items:center;gap:10px;text-decoration:none}.endorsement-person-v204 img{width:40px;height:40px;border-radius:50%;object-fit:cover;border:2px solid #fff;box-shadow:0 3px 10px rgba(20,58,98,.12)}.endorsement-person-v204 b{display:block;color:#17314e}.endorsement-person-v204 small{display:block;color:#75899d}
.endorsement-content-v204>span{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef5fc;color:#4b6d8d;font-size:12px;margin-bottom:7px}.endorsement-content-v204 p{margin:0;color:#405b75;line-height:1.95}.endorsement-content-v204 time{display:block;color:#8396a8;font-size:12px;margin-top:8px}.endorsement-delete-v204{width:34px;height:34px;border:0;border-radius:10px;background:#fff0f1;color:#be2434;display:grid;place-items:center;cursor:pointer}.endorsement-delete-v204 .li-icon{width:18px;height:18px}

@media(max-width:980px){.quick-actions-five-v186{grid-template-columns:repeat(3,minmax(0,1fr))}.folio-template-studio-grid-v1992{grid-template-columns:1fr!important}.folio-template-canvas-side-v1992{position:static;order:-1}.profile-endorsement-wide-item-v204{grid-template-columns:1fr}.endorsement-compose-form-v204{grid-template-columns:1fr}.endorsement-text-field-v204{grid-row:auto}.endorsement-row-v204{grid-template-columns:1fr 38px}.endorsement-person-v204{grid-column:1/-1}}
@media(max-width:620px){.quick-actions-five-v186{grid-template-columns:repeat(2,minmax(0,1fr))}.endorsement-hero-v204,.profile-endorsement-tabs-head-v204{flex-direction:column;align-items:flex-start}.folio-template-canvas-wrap-v1992{min-height:310px!important;padding:10px!important}.profile-endorsement-tab-buttons-v204{width:100%}}


/* Folinq v199 Hotfix 5 */
.profile-tabs-v175{display:flex;flex-wrap:wrap;align-items:center;gap:8px;overflow:visible!important;padding-bottom:0!important}
.profile-tabs-v175>a,.profile-tabs-v175>form{flex:0 0 auto}
.profile-create-folio-btn-v175{width:44px!important;min-width:44px!important;height:44px!important;padding:0!important;display:grid!important;place-items:center;border-radius:999px!important}
.profile-create-folio-btn-v175 span{display:none!important}
.profile-create-folio-btn-v175 .li-icon{width:21px;height:21px}
.folio-template-studio-v1992{padding:18px!important}
.folio-template-studio-grid-v1992{grid-template-columns:1fr!important;gap:18px!important}
.folio-template-canvas-side-v1992{position:static!important;order:-1;justify-items:stretch!important}
.folio-template-canvas-wrap-v1992{width:min(100%,560px)!important;margin:0 auto!important;min-height:450px!important;padding:20px 18px!important;border-radius:26px!important}
.folio-template-canvas-wrap-v1992 canvas{width:min(100%,520px)!important}
.folio-template-canvas-side-v1992 .inline-actions{width:min(100%,560px)!important;margin:0 auto!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important}
.folio-template-controls-v1992{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px!important;align-items:start!important}
.folio-template-controls-v1992>.folio-template-presets-v1992,.folio-template-controls-v1992>.folio-template-custom-controls-v1992,.folio-template-controls-v1992>.folio-template-saved-v1992,.folio-template-controls-v1992>.folio-template-save-v1992{border:1px solid #dbe5ef;border-radius:18px;padding:14px;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.04)}
.folio-template-presets-v1992{align-content:start}
.folio-template-custom-controls-v1992{align-content:start}
.folio-template-saved-v1992,.folio-template-save-v1992{grid-column:1/-1}
.folio-template-save-v1992{align-items:center}
.folio-template-save-v1992 .btn{white-space:nowrap}
@media(max-width:760px){.profile-tabs-v175{gap:6px}.folio-template-controls-v1992{grid-template-columns:1fr!important}.folio-template-canvas-side-v1992 .inline-actions{grid-template-columns:1fr!important}.folio-template-canvas-wrap-v1992{min-height:320px!important;padding:12px!important}}

/* Folinq v199 Hotfix 6 */
.profile-tabs-v175{min-height:58px;align-content:center!important}
.profile-create-folio-btn-v175{align-self:center!important;margin:0!important;line-height:1!important;transform:none!important;position:relative;top:0}
.profile-create-folio-btn-v175 .li-icon{display:block!important;margin:0!important}

.profile-endorsement-tabs-v204{padding:18px!important}
.profile-endorsement-tabs-head-v204{margin-bottom:10px!important}
.profile-endorsement-tabs-head-v204 p{max-width:680px}
.profile-endorsement-tab-buttons-v204{margin-bottom:10px!important}
.profile-endorsement-tab-panel-v204{gap:8px!important}
.profile-endorsement-wide-item-v204{grid-template-columns:minmax(175px,230px) minmax(0,1fr) auto!important;gap:12px!important;align-items:center!important;padding:11px 13px!important;cursor:pointer;min-height:78px;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}
.profile-endorsement-wide-item-v204:hover,.profile-endorsement-wide-item-v204:focus-visible{border-color:#9fc8ef;box-shadow:0 10px 24px rgba(18,74,130,.09);transform:translateY(-1px);outline:0}
.profile-endorsement-person-v204 img{width:36px!important;height:36px!important;flex-basis:36px!important}
.profile-endorsement-person-v204 b{font-size:13px}.profile-endorsement-person-v204 small{font-size:11px}
.profile-endorsement-copy-v206{min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px}
.profile-endorsement-copy-v206 p{margin:0!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.7!important}
.profile-endorsement-copy-v206 .profile-endorsement-relation-v204{margin:0}
.profile-endorsement-more-v206{color:#0a66c2;font-size:11px;font-weight:800;white-space:nowrap}
.profile-endorsement-wide-item-v204 time{font-size:11px!important}
.endorsement-detail-modal-v206{z-index:10050}
.endorsement-detail-card-v206{position:relative;width:min(620px,calc(100vw - 24px));max-height:calc(100vh - 32px);overflow:auto;margin:auto;background:#fff;border:1px solid #d8e5f2;border-radius:24px;padding:24px;box-shadow:0 26px 70px rgba(15,35,64,.24)}
.endorsement-detail-close-v206{position:absolute;top:12px;inset-inline-end:12px;width:38px;height:38px;border:1px solid #dbe6f1;border-radius:12px;background:#fff;color:#334155;font-size:24px;cursor:pointer}
.endorsement-detail-person-v206{display:flex;align-items:center;gap:12px;padding-inline-end:46px}.endorsement-detail-person-v206 img{width:52px;height:52px;border-radius:50%;object-fit:cover;border:3px solid #fff;box-shadow:0 5px 16px rgba(19,62,104,.14)}
.endorsement-detail-person-v206 b,.endorsement-detail-person-v206 small{display:block}.endorsement-detail-person-v206 b{font-size:16px;color:#15304f}.endorsement-detail-person-v206 small{color:#72869a}
.endorsement-detail-meta-v206{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:16px 0 10px}.endorsement-detail-meta-v206 span{padding:5px 10px;border-radius:999px;background:#eef5fc;color:#3d668c;font-size:12px}.endorsement-detail-meta-v206 time{color:#7c90a4;font-size:12px}
.endorsement-detail-card-v206>p{margin:0;padding:17px 18px;border:1px solid #e0eaf4;border-radius:17px;background:#fbfdff;color:#304b66;line-height:2.05;white-space:pre-wrap;overflow-wrap:anywhere}

.post-modal .folio-quick-v174-editor{display:grid!important;gap:8px!important;position:relative!important;z-index:1!important;padding-bottom:10px!important}
.post-modal .folio-quick-v174-title,.post-modal .folio-quick-v174-body{position:static!important;float:none!important;width:100%!important;margin:0!important}
.post-modal .folio-quick-v174-body{min-height:115px!important;max-height:240px!important}
.post-modal .folio-tools-v177{position:relative!important;z-index:2!important;display:grid!important;grid-template-columns:repeat(6,minmax(44px,1fr))!important;gap:8px!important;align-items:start!important;margin:4px 0 10px!important;padding:12px 0!important;overflow:visible!important;flex-wrap:wrap!important;background:#fff}
.post-modal .folio-tools-v177 .folio-editor-v173-tool,.post-modal .folio-tools-v177 .folio-quick-v174-tool,.post-modal .folio-tools-v177 .folio-file-tool-v178{min-width:0!important;width:100%!important;justify-content:center!important}
.post-modal .folio-tools-v177 .folio-file-tool-v178{display:flex!important}
.post-modal .folio-tools-v177 .folio-editor-v173-tool>span,.post-modal .folio-tools-v177 .folio-quick-v174-tool>span{width:44px!important;height:44px!important;margin:auto!important}
.post-modal form[data-image-text-editing="1"] .folio-tools-v177{background:#f7fbff;border-radius:15px;padding:10px!important}
.is-media-disabled-v199{display:flex!important;visibility:visible!important;opacity:.28!important;filter:grayscale(1)!important;pointer-events:none!important}

.post-actions .react-wrap-hover.is-open .post-react-menu{display:flex!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;transform:translateY(0) scale(1)!important}
@media(max-width:760px){
  .profile-endorsement-wide-item-v204{grid-template-columns:minmax(0,1fr) auto!important;align-items:start!important}
  .profile-endorsement-copy-v206{grid-column:1/-1;grid-template-columns:1fr auto!important;padding-inline-start:46px}
  .profile-endorsement-copy-v206 .profile-endorsement-relation-v204{display:none}
  .profile-endorsement-wide-item-v204 time{grid-column:2;grid-row:1}
  .post-modal .folio-tools-v177{grid-template-columns:repeat(4,minmax(44px,1fr))!important}
  .post-actions .react-wrap-hover .post-react-menu{position:fixed!important;left:12px!important;right:12px!important;bottom:74px!important;max-width:none!important;width:auto!important;justify-content:center!important;flex-wrap:wrap!important;border-radius:18px!important;padding:9px!important;z-index:10020!important}
  .post-actions .react-wrap-hover .post-react-menu form{flex:0 0 auto!important}
  .post-actions .react-wrap-hover .post-react-menu button{width:42px!important;height:42px!important}
}
@media(max-width:480px){.post-modal .folio-tools-v177{grid-template-columns:repeat(3,minmax(44px,1fr))!important}.profile-endorsement-copy-v206{padding-inline-start:0}}

/* Folinq v199 Hotfix 7 R1 */
.reaction-types-summary-v207{display:flex;align-items:center;gap:8px;min-width:0}
.reaction-type-icons-v207{display:flex;align-items:center;gap:4px;min-width:0}
.reaction-type-chip-v207{display:inline-flex;align-items:center;gap:3px;text-decoration:none;color:#52677e;min-width:0}
.reaction-type-chip-v207>span{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#f0f5fb;color:var(--react-color,#0a66c2);border:1px solid #dbe6f1}
.reaction-type-chip-v207 .li-icon{width:14px;height:14px}
.reaction-type-chip-v207 b{font-size:10px;color:#62778f;font-weight:800}
.comment-reaction-summary-v207{display:inline-flex!important;align-items:center;gap:5px}
.comment-reaction-types-v207{display:flex;align-items:center;gap:3px}
.comment-reaction-types-v207>span{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#f0f5fb;color:var(--react-color,#0a66c2);border:1px solid #dbe6f1}
.comment-reaction-types-v207 .li-icon{width:13px;height:13px}
.comment-react-wrap.is-open .comment-react-menu{display:flex!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;transform:translateY(0) scale(1)!important}
.comment-react-menu{gap:5px!important}
.comment-react-menu form{margin:0!important}
.comment-react-menu button{width:38px!important;height:38px!important;display:grid!important;place-items:center!important;border-radius:50%!important}
.comment-react-menu button.is-active{background:#eaf3ff!important;color:#0a66c2!important;box-shadow:0 0 0 2px rgba(10,102,194,.13)}

.folinq-short-link{display:inline-block;max-width:min(100%,430px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom;color:#0a66c2;font-weight:650;text-decoration:none;border-bottom:1px dotted rgba(10,102,194,.35)}
.folinq-short-link:hover{text-decoration:underline}
.post-body .folinq-short-link,.comment-body-text .folinq-short-link{max-width:min(100%,360px)}

#postComposer .feed-folio-form-v207{width:min(920px,calc(100vw - 24px))!important;max-height:calc(100vh - 20px)!important;overflow-y:auto!important;overflow-x:hidden!important;padding-bottom:18px!important;box-sizing:border-box!important}
#postComposer .folio-quick-v174-editor{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;min-height:195px!important;padding:8px 18px 14px!important;overflow:visible!important;box-sizing:border-box!important}
#postComposer .folio-quick-v174-title{min-height:44px!important;line-height:1.65!important;padding:8px 2px!important;box-sizing:border-box!important}
#postComposer .folio-quick-v174-body{display:block!important;position:static!important;min-height:132px!important;max-height:260px!important;line-height:1.95!important;padding:8px 2px 16px!important;box-sizing:border-box!important;overflow-y:auto!important}
#postComposer .folio-tools-v177{position:static!important;clear:both!important;margin:8px 18px 14px!important;padding:12px!important;border:1px solid #e0e9f3!important;border-radius:18px!important;background:#fbfdff!important;box-sizing:border-box!important;display:grid!important;grid-template-columns:repeat(6,minmax(48px,1fr))!important;gap:8px!important;overflow:visible!important}
#postComposer .folio-tools-v177>*{min-width:0!important}
#postComposer .folio-tools-v177 .folio-file-tool-v178,#postComposer .folio-tools-v177 .folio-quick-v174-tool{position:static!important;inset:auto!important;transform:none!important}
#postComposer .folio-template-studio-v1992{margin:0 18px 16px!important;overflow:hidden!important;box-sizing:border-box!important}
#postComposer .folio-template-controls-v1992>*{min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
#postComposer .folio-template-custom-controls-v1992 label{min-width:0!important;overflow:hidden!important}
#postComposer .folio-template-custom-controls-v1992 input[type="range"]{width:min(150px,100%)!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
#postComposer .folio-template-save-v1992{min-width:0!important;overflow:hidden!important}
#postComposer .folio-template-save-v1992 input{min-width:0!important;width:100%!important}
.is-image-text-active-v207 .folio-tools-v177 [data-media-kind-v199],.is-image-text-active-v207 .folio-tools-v177 [data-media-toggle-v199],.is-image-text-active-v207 .folio-tools-v177 [data-main-media="pdf"]{pointer-events:none!important}
.is-image-text-active-v207 .folio-tools-v177 label:has([data-media-kind-v199]),.is-image-text-active-v207 .folio-tools-v177 button[data-media-toggle-v199],.is-image-text-active-v207 .folio-tools-v177 label:has([data-main-media="pdf"]){opacity:.28!important;filter:grayscale(1)!important;cursor:not-allowed!important}

.book-reader-entry-v198{width:min(100%,980px);margin:0 auto;padding:18px}
.book-reader-entry-card-v198{display:grid;gap:20px;border-radius:24px!important;padding:28px!important;background:linear-gradient(180deg,#fff 0%,#f8fbff 100%)!important}
.book-reader-entry-card-v198>h1{margin:0;font-size:28px;color:#122d49}
.book-reader-entry-card-v198>p{margin:0;max-width:720px;line-height:1.9}
.book-reader-entry-card-v198>form:first-of-type{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:20px;border:1px solid #dce7f3;border-radius:20px;background:#fff}
.book-reader-entry-card-v198>form:first-of-type>.field:first-child,.book-reader-entry-card-v198>form:first-of-type>.field:nth-child(2),.book-reader-entry-card-v198>form:first-of-type>.reader-role-note-v198{grid-column:1/-1}
.book-reader-entry-card-v198 .field{min-width:0}
.book-reader-entry-card-v198 .field input[type="text"],.book-reader-entry-card-v198 .field input:not([type]){width:100%;box-sizing:border-box}
.choice-grid-v198{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.choice-grid-v198 label{display:flex;align-items:center;gap:10px;padding:13px 14px;border:1px solid #dbe6f1;border-radius:15px;background:#fbfdff;cursor:pointer}
.choice-grid-v198 label:has(input:checked){border-color:#0a66c2;background:#f0f7ff;box-shadow:0 0 0 3px rgba(10,102,194,.08)}
.book-reader-entry-v198 .book-cover-live-preview-v199{width:180px;aspect-ratio:3/4;border:1px solid #dbe6f1;border-radius:16px;overflow:hidden;background:#f5f8fc;margin-top:10px}
.book-reader-entry-v198 .book-cover-live-preview-v199 img{width:100%;height:100%;object-fit:cover}
.reader-role-note-v198{display:flex;align-items:flex-start;gap:10px;padding:14px 16px;border-radius:15px;background:#fff8e8;border:1px solid #f0d59a;color:#725417;line-height:1.85}
.reader-switch-inline-v198{display:flex;justify-content:flex-start}

@media(max-width:760px){
  .comment-react-wrap .comment-react-menu{position:fixed!important;left:10px!important;right:10px!important;bottom:74px!important;width:auto!important;max-width:none!important;z-index:10030!important;justify-content:center!important;flex-wrap:wrap!important;padding:10px!important;border-radius:18px!important;background:#fff!important;box-shadow:0 18px 48px rgba(15,35,64,.2)!important}
  .comment-react-menu button{width:42px!important;height:42px!important}
  #postComposer .feed-folio-form-v207{width:calc(100vw - 10px)!important;max-height:calc(100vh - 8px)!important;border-radius:18px!important}
  #postComposer .folio-quick-v174-editor{min-height:180px!important;padding-inline:12px!important}
  #postComposer .folio-tools-v177{grid-template-columns:repeat(4,minmax(44px,1fr))!important;margin-inline:12px!important}
  #postComposer .folio-template-studio-v1992{margin-inline:12px!important}
  .book-reader-entry-v198{padding:8px}
  .book-reader-entry-card-v198{padding:18px!important}
  .book-reader-entry-card-v198>form:first-of-type{grid-template-columns:1fr;padding:14px}
  .book-reader-entry-card-v198>form:first-of-type>*{grid-column:1!important}
  .choice-grid-v198{grid-template-columns:1fr}
  .folinq-short-link,.post-body .folinq-short-link,.comment-body-text .folinq-short-link{max-width:calc(100vw - 130px)}
}
@media(max-width:480px){#postComposer .folio-tools-v177{grid-template-columns:repeat(3,minmax(44px,1fr))!important}}
.book-reader-entry-card-v198.is-own-book-v207>form:first-of-type{border-color:#efc46f;background:#fffaf0}
.book-reader-entry-card-v198.is-own-book-v207>form:first-of-type>button[type="submit"]{opacity:.45;cursor:not-allowed}
.reader-switch-inline-v198 .attention-v207{box-shadow:0 0 0 4px rgba(10,102,194,.12);background:#0a66c2;color:#fff;border-color:#0a66c2}

/* Folinq v199 Hotfix 7 R2 */
.folio-tools-v177[data-media-main-group]{display:flex!important;grid-template-columns:none!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:center!important;gap:6px!important;padding:10px!important;overflow-x:auto!important;overflow-y:visible!important;scrollbar-width:thin}
.folio-tools-v177[data-media-main-group]>*{flex:0 0 46px!important;width:46px!important;min-width:46px!important;max-width:46px!important;margin:0!important}
.folio-tools-v177[data-media-main-group] .folio-file-tool-v178{display:flex!important;align-items:center!important;justify-content:center!important}
.folio-tools-v177[data-media-main-group] .folio-editor-v173-tool>span,.folio-tools-v177[data-media-main-group] .folio-quick-v174-tool>span{width:42px!important;height:42px!important;margin:0!important}
.folio-tools-v177[data-media-main-group] .folio-file-tool-v178:has([data-file-chip-for]:not([hidden])){flex-basis:auto!important;width:auto!important;max-width:210px!important}
.folio-tools-v177[data-media-main-group] .is-media-disabled-v199{opacity:.24!important;filter:grayscale(1)!important;cursor:not-allowed!important;pointer-events:none!important}
.is-image-text-active-v207 .folio-tools-v177 [data-main-media="pdf"]{pointer-events:auto!important}
.is-image-text-active-v207 .folio-tools-v177 label:has([data-main-media="pdf"]){opacity:1!important;filter:none!important;cursor:pointer!important}
@media(max-width:680px){.folio-tools-v177[data-media-main-group]{justify-content:flex-start!important;padding-inline:8px!important}.folio-tools-v177[data-media-main-group]>*{flex-basis:44px!important;width:44px!important;min-width:44px!important;max-width:44px!important}}

@media(min-width:761px){
  .post-actions{overflow:visible!important}
  .post-actions .react-wrap-hover{position:relative!important;overflow:visible!important}
  .post-actions .react-wrap-hover .post-react-menu{position:absolute!important;top:auto!important;bottom:calc(100% + 9px)!important;inset-inline-start:0!important;inset-inline-end:auto!important;width:max-content!important;max-width:min(520px,calc(100vw - 32px))!important;z-index:10050!important;display:none;flex-wrap:nowrap!important;padding:8px!important;border-radius:16px!important;background:#fff!important;box-shadow:0 18px 48px rgba(15,35,64,.22)!important}
  .post-actions .react-wrap-hover.is-open .post-react-menu{display:flex!important}
}

.notification-row-v208{min-height:0!important;padding-block:10px!important;gap:10px!important;align-items:center!important}
.notification-row-v208 p,.notification-row-v208 h3,.notification-row-v208 h4{margin-block:2px!important}
.notification-avatar-v208{width:46px!important;height:46px!important;min-width:46px!important;max-width:46px!important;aspect-ratio:1/1!important;border-radius:50%!important;object-fit:cover!important;object-position:center!important;flex:0 0 46px!important}

.chat-manage-panel-v208{border-bottom:1px solid #dce7f2;background:#f7fbff;padding:10px 14px}
.chat-manage-panel-v208[hidden]{display:none!important}
.chat-manage-panel-v208 form{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.chat-manage-select-all-v208{display:flex;align-items:center;gap:7px;cursor:pointer}.chat-manage-select-all-v208 input{width:17px;height:17px}
.chat-manage-count-v208{color:#5d7187;font-size:13px}.chat-manage-actions-v208{display:flex;gap:7px;flex-wrap:wrap;margin-inline-start:auto}
.chat-thread-item-v183{position:relative}.chat-thread-select-v208{display:none;position:absolute;inset-inline-start:10px;top:50%;transform:translateY(-50%);z-index:4;width:24px;height:24px;place-items:center;cursor:pointer}
.chat-thread-select-v208 input{position:absolute;opacity:0}.chat-thread-select-v208 span{width:18px;height:18px;border:2px solid #9ab0c5;border-radius:5px;background:#fff}.chat-thread-select-v208 input:checked+span{border-color:#0a66c2;background:#0a66c2;box-shadow:inset 0 0 0 3px #fff}
.chat-linkedin-v183.is-managing .chat-thread-select-v208{display:grid}.chat-linkedin-v183.is-managing .chat-thread-main-v183{padding-inline-start:44px!important}.chat-linkedin-v183.is-managing .chat-thread-menu-v183{display:none!important}

.chat-away-modal-v208{position:fixed;inset:0;z-index:10080;background:rgba(9,28,50,.42);display:grid;place-items:center;padding:18px}.chat-away-modal-v208[hidden]{display:none!important}.chat-away-modal-v208>.card{position:relative;width:min(520px,100%);display:grid;gap:12px}.chat-away-modal-close-v208{position:absolute;inset-inline-end:12px;top:10px;border:0;background:transparent;font-size:25px;cursor:pointer}.chat-away-enabled-v208{display:flex;align-items:center;gap:9px}.chat-away-enabled-v208 input{width:18px;height:18px}.chat-away-modal-v208 textarea{width:100%;box-sizing:border-box;resize:vertical}
.chat-away-notice-v208{display:flex;align-items:flex-start;gap:9px;margin:9px 14px;padding:9px 12px;border:1px solid #bfdbfe;background:#eff6ff;border-radius:13px;color:#1e4f82}.chat-away-notice-v208>span{display:grid;gap:2px}.chat-away-notice-v208 small{line-height:1.65;color:#426989}

.chat-voice-preview-v208{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(170px,280px) 28px;gap:10px;align-items:center}
.chat-voice-preview-v208[hidden]{display:none!important}.chat-voice-preview-v208>span{min-width:0}.chat-voice-preview-v208 audio{display:block;width:100%;height:36px}.chat-voice-preview-v208 audio[hidden]{display:none!important}
.chat-compose-tools-v183 [data-chat-voice-record-v199][data-busy="1"]{opacity:.55;cursor:progress}
@media(max-width:700px){.chat-manage-actions-v208{width:100%;margin-inline-start:0}.chat-voice-preview-v208{grid-template-columns:minmax(0,1fr) 28px}.chat-voice-preview-v208 audio{grid-column:1/-1;grid-row:2}.notification-avatar-v208{width:42px!important;height:42px!important;min-width:42px!important;max-width:42px!important;flex-basis:42px!important}}



/* Folinq v199 Hotfix 7 R3 */
#postComposer .feed-folio-form-v207 .folio-tools-v177.folio-tools-single-row-v209[data-media-main-group],
.post-modal .feed-folio-form-v207 .folio-tools-v177.folio-tools-single-row-v209[data-media-main-group]{
  position:relative!important;display:flex!important;grid-template-columns:none!important;grid-auto-flow:column!important;flex-flow:row nowrap!important;
  align-items:center!important;justify-content:flex-start!important;align-content:center!important;gap:8px!important;
  margin:8px 18px 14px!important;padding:8px 10px!important;box-sizing:border-box!important;overflow-x:auto!important;overflow-y:hidden!important;
  white-space:nowrap!important;scrollbar-width:thin!important;-webkit-overflow-scrolling:touch!important
}
#postComposer .feed-folio-form-v207 .folio-tools-single-row-v209[data-media-main-group]>* ,
.post-modal .feed-folio-form-v207 .folio-tools-single-row-v209[data-media-main-group]>*{
  flex:0 0 42px!important;width:42px!important;min-width:42px!important;max-width:42px!important;height:42px!important;min-height:42px!important;
  margin:0!important;padding:0!important;position:relative!important;inset:auto!important;transform:none!important
}
#postComposer .feed-folio-form-v207 .folio-tools-single-row-v209[data-media-main-group] .folio-file-tool-v178,
.post-modal .feed-folio-form-v207 .folio-tools-single-row-v209[data-media-main-group] .folio-file-tool-v178{display:flex!important;align-items:center!important;justify-content:center!important}
#postComposer .feed-folio-form-v207 .folio-tools-single-row-v209[data-media-main-group] .folio-editor-v173-tool>span,
#postComposer .feed-folio-form-v207 .folio-tools-single-row-v209[data-media-main-group] .folio-quick-v174-tool>span,
.post-modal .feed-folio-form-v207 .folio-tools-single-row-v209[data-media-main-group] .folio-editor-v173-tool>span,
.post-modal .feed-folio-form-v207 .folio-tools-single-row-v209[data-media-main-group] .folio-quick-v174-tool>span{width:42px!important;height:42px!important;min-width:42px!important;margin:0!important}

.reaction-clap-double-v209{display:inline-flex!important;align-items:center;justify-content:center;font-size:17px;line-height:1;letter-spacing:-5px;padding-inline-end:4px;min-width:24px;white-space:nowrap;filter:none!important}
.react-menu button .reaction-clap-double-v209{font-size:18px}.reaction-type-chip-v207 .reaction-clap-double-v209,.comment-reaction-summary-v207 .reaction-clap-double-v209{font-size:13px;letter-spacing:-4px;min-width:18px}

.feed-birthdays-v209{display:grid;gap:10px}.feed-birthdays-v209 .profile-panel-title-v170{margin-bottom:2px}.feed-birthdays-v209 .birthday-list-v170{display:grid;gap:8px}.feed-birthdays-v209 .birthday-person-v170{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:7px 0;border-bottom:1px solid #edf2f7}.feed-birthdays-v209 .birthday-person-v170:last-child{border-bottom:0}.feed-birthdays-v209 .birthday-person-v170>a{display:flex;align-items:center;gap:9px;min-width:0;text-decoration:none}.feed-birthdays-v209 .birthday-person-v170 img{width:40px;height:40px;min-width:40px;border-radius:50%;object-fit:cover}.feed-birthdays-v209 .birthday-person-v170>a span{display:grid;min-width:0}.feed-birthdays-v209 .birthday-person-v170 b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.feed-birthdays-v209 .birthday-person-v170 small{color:#718399}.feed-birthdays-v209 .birthday-person-v170 form{margin:0}.feed-birthdays-v209 .birthday-person-v170 .btn{padding:7px 9px!important;white-space:nowrap}

.chat-away-status-v209{min-height:18px;color:#60758c}.chat-away-status-v209.is-error{color:#b42318}.chat-away-status-v209.is-ok{color:#067647}

@media(max-width:820px){
  .folio-analytics-layout-v199{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important;width:100%!important;max-width:100%!important;overflow:visible!important}
  .folio-analytics-layout-v199>*{min-width:0!important;max-width:100%!important}
  .folio-analytics-main-v199,.folio-analytics-profile-v199{display:grid!important;visibility:visible!important;opacity:1!important;width:100%!important;position:static!important;transform:none!important}
  .folio-analytics-profile-v199{grid-row:auto!important;order:2!important}.folio-analytics-main-v199{order:1!important}
  .folio-analytics-main-v199 .folio-metric-grid-v198{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .folio-analytics-main-v199 .table-wrap-v198{display:block!important;max-width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch!important}
  .folio-analyzer-link-v198{display:flex!important;visibility:visible!important;opacity:1!important;position:static!important;min-height:40px!important;align-items:center!important}
  .folio-analyzer-link-v198>a{display:inline-flex!important;align-items:center!important;gap:6px!important;visibility:visible!important}
}

@media(max-width:760px){
  #postComposer .feed-folio-form-v207 .folio-tools-v177.folio-tools-single-row-v209[data-media-main-group],
  .post-modal .feed-folio-form-v207 .folio-tools-v177.folio-tools-single-row-v209[data-media-main-group]{
    display:flex!important;grid-template-columns:none!important;flex-flow:row nowrap!important;gap:7px!important;margin:7px 8px 12px!important;padding:7px 8px!important;width:calc(100% - 16px)!important;max-width:calc(100% - 16px)!important;overflow-x:auto!important;overflow-y:hidden!important
  }
  #postComposer .feed-folio-form-v207 .folio-tools-single-row-v209[data-media-main-group]>* ,
  .post-modal .feed-folio-form-v207 .folio-tools-single-row-v209[data-media-main-group]>*{flex:0 0 40px!important;width:40px!important;min-width:40px!important;max-width:40px!important;height:40px!important;min-height:40px!important}
  #postComposer .feed-folio-form-v207 .folio-tools-single-row-v209[data-media-main-group] .folio-editor-v173-tool>span,
  #postComposer .feed-folio-form-v207 .folio-tools-single-row-v209[data-media-main-group] .folio-quick-v174-tool>span,
  .post-modal .feed-folio-form-v207 .folio-tools-single-row-v209[data-media-main-group] .folio-editor-v173-tool>span,
  .post-modal .feed-folio-form-v207 .folio-tools-single-row-v209[data-media-main-group] .folio-quick-v174-tool>span{width:40px!important;height:40px!important;min-width:40px!important}
  .post-actions{overflow:visible!important}.post-actions .react-wrap-hover{position:relative!important;overflow:visible!important}
  .post-actions .react-wrap-hover .post-react-menu{position:fixed!important;display:none!important;flex-flow:row nowrap!important;align-items:center!important;justify-content:flex-start!important;gap:4px!important;width:max-content!important;max-width:calc(100vw - 16px)!important;overflow-x:auto!important;overflow-y:hidden!important;padding:8px!important;border:1px solid #d8e4ef!important;border-radius:16px!important;background:#fff!important;box-shadow:0 18px 48px rgba(15,35,64,.24)!important;z-index:10070!important}
  .post-actions .react-wrap-hover.is-open .post-react-menu{display:flex!important}
  .post-actions .post-react-menu form{flex:0 0 auto!important;margin:0!important}.post-actions .post-react-menu button{width:40px!important;height:40px!important;min-width:40px!important}
  .feed-birthdays-v209 .birthday-person-v170{grid-template-columns:1fr}.feed-birthdays-v209 .birthday-person-v170 form{padding-inline-start:49px}.feed-birthdays-v209 .birthday-person-v170 .btn{width:100%;justify-content:center}
}


/* Folinq v199 Hotfix 7 R4 */
.chat-compose-tools-v183 .chat-voice-record-v210{display:inline-grid!important;place-items:center!important;border-radius:50%!important;transition:background .18s ease,color .18s ease,transform .18s ease!important}
.chat-compose-tools-v183 .chat-voice-record-v210 .li-icon{width:20px!important;height:20px!important}
.chat-compose-v183[data-voice-ready="1"] .chat-voice-record-v210{background:#e8f3ff!important;color:#0a66c2!important;box-shadow:inset 0 0 0 1px #b9d8f7!important}
.chat-compose-tools-v183 .chat-voice-record-v210.is-recording{background:#fee2e2!important;color:#c62828!important}
.chat-voice-preview-v210>span>.li-icon{width:22px;height:22px;color:#0a66c2}

.chat-voice-message-v199.chat-voice-message-v210{display:grid!important;grid-template-columns:44px minmax(170px,290px)!important;align-items:center!important;gap:10px!important;min-width:250px!important;padding:10px 11px!important}
.chat-voice-message-v210>button{width:42px!important;height:42px!important;min-width:42px!important;border-radius:50%!important;display:grid!important;place-items:center!important;background:#0a66c2!important;color:#fff!important;box-shadow:0 5px 14px rgba(10,102,194,.22)!important}
.chat-voice-message-v210>button .li-icon{width:20px;height:20px}.chat-voice-track-v210{display:grid!important;gap:6px!important;min-width:0!important}
.chat-voice-message-v210 audio{display:none!important}
.chat-voice-message-v210 [data-voice-progress-v199]{position:relative!important;display:block!important;width:100%!important;height:8px!important;border-radius:99px!important;background:#c9d8e7!important;overflow:visible!important;cursor:pointer!important;touch-action:none!important;outline:none!important}
.chat-voice-message-v210 [data-voice-progress-v199] i{position:absolute!important;inset-inline-start:0!important;top:0!important;display:block!important;width:0;height:100%!important;border-radius:inherit!important;background:linear-gradient(90deg,#0a66c2,#258be6)!important;transition:width .08s linear!important}
.chat-voice-message-v210 [data-voice-progress-v199] b{position:absolute!important;top:50%!important;left:0;width:13px!important;height:13px!important;margin-left:-6px!important;transform:translateY(-50%)!important;border-radius:50%!important;background:#0a66c2!important;border:2px solid #fff!important;box-shadow:0 1px 5px rgba(10,58,108,.28)!important;transition:left .08s linear!important}
.chat-voice-message-v210 [data-voice-progress-v199]:focus-visible{box-shadow:0 0 0 3px rgba(10,102,194,.18)!important}.chat-voice-time-row-v210{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;font-size:11px!important;color:#60758c!important}.chat-voice-time-row-v210 time{font-size:11px!important;color:inherit!important}.chat-voice-message-v210.is-playing>button{background:#07559f!important}

.folio-reaction-floating-v210{position:fixed!important;display:flex!important;flex-flow:row nowrap!important;align-items:center!important;justify-content:flex-start!important;gap:4px!important;width:max-content!important;max-width:calc(100vw - 12px)!important;overflow-x:auto!important;overflow-y:hidden!important;padding:8px!important;margin:0!important;border:1px solid #d8e4ef!important;border-radius:16px!important;background:#fff!important;box-shadow:0 18px 48px rgba(15,35,64,.26)!important;z-index:2147483000!important;isolation:isolate!important;transform:none!important}
.folio-reaction-floating-v210 form{display:block!important;flex:0 0 auto!important;margin:0!important}.folio-reaction-floating-v210 button{display:grid!important;place-items:center!important;width:40px!important;height:40px!important;min-width:40px!important;padding:0!important;border-radius:50%!important}.folio-reaction-floating-v210 .li-icon{width:21px!important;height:21px!important}

/* A PDF/document is a primary Folio medium too; image-text never re-enables it. */
.is-image-text-active-v207 .folio-tools-v177 [data-main-media="pdf"]{pointer-events:none!important}
.is-image-text-active-v207 .folio-tools-v177 label:has([data-main-media="pdf"]){opacity:.24!important;filter:grayscale(1)!important;cursor:not-allowed!important}

@media(max-width:760px){
  .chat-voice-message-v199.chat-voice-message-v210{grid-template-columns:42px minmax(0,1fr)!important;min-width:min(270px,calc(100vw - 112px))!important;width:min(330px,calc(100vw - 112px))!important;max-width:100%!important}
  .book-reader-entry-v198{padding:4px!important;margin:0 auto!important}
  .book-reader-entry-card-v198{gap:10px!important;padding:14px 12px!important;border-radius:18px!important}
  .book-reader-entry-card-v198>.eyebrow{margin:0!important}.book-reader-entry-card-v198>h1{font-size:22px!important;line-height:1.35!important;margin:0!important}.book-reader-entry-card-v198>p{font-size:14px!important;line-height:1.65!important;margin:0!important}
  .book-reader-entry-card-v198>form:first-of-type{grid-template-columns:1fr!important;gap:10px!important;padding:12px!important;border-radius:16px!important}
  .book-reader-entry-card-v198 .field{display:grid!important;gap:6px!important;margin:0!important}.book-reader-entry-card-v198 .field>label:first-child{margin:0!important;line-height:1.45!important}
  .book-reader-entry-card-v198 input:not([type="radio"]):not([type="file"]){min-height:46px!important;padding:9px 11px!important}
  .book-reader-entry-card-v198 .choice-grid-v198{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
  .book-reader-entry-card-v198 .choice-grid-v198 label{min-height:0!important;padding:10px 9px!important;gap:7px!important;border-radius:13px!important;font-size:14px!important;line-height:1.45!important}
  .book-reader-entry-card-v198 .choice-grid-v198 input{width:18px!important;height:18px!important;min-width:18px!important}
  .book-reader-entry-card-v198 .modern-file.full{min-height:50px!important;padding:10px 12px!important;margin:0!important;border-radius:13px!important}
  .book-reader-entry-card-v198 .reader-role-note-v198{gap:8px!important;padding:10px 11px!important;margin:0!important;border-radius:13px!important;line-height:1.65!important;font-size:13px!important}
  .book-reader-entry-card-v198>form:first-of-type>.btn{min-height:46px!important;margin:0!important}.book-reader-entry-card-v198 .reader-switch-inline-v198{margin:0!important}.book-reader-entry-card-v198 .reader-switch-inline-v198 .btn{width:100%!important;justify-content:center!important;min-height:44px!important}
}
@media(max-width:380px){.book-reader-entry-card-v198 .choice-grid-v198{grid-template-columns:1fr!important}}


/* Folinq v199 Hotfix 7 R5 */
.chat-voice-message-v210 [data-voice-progress-v199]{direction:ltr!important;}
.chat-voice-message-v210 [data-voice-progress-v199] i{left:0!important;right:auto!important;inset-inline-start:auto!important;}
.chat-voice-message-v210 [data-voice-progress-v199] b{left:0;right:auto!important;inset-inline-start:auto!important;}
.chat-voice-time-row-v210{direction:ltr!important;unicode-bidi:isolate;}


/* Folinq v199 Hotfix 7 R6 */
.chat-voice-message-v210 [data-voice-progress-v199]{
  direction:ltr!important;
  --voice-progress:0%;
}
.chat-voice-message-v210 [data-voice-progress-v199] i{
  inset:0 auto 0 0!important;
  inline-size:var(--voice-progress)!important;
  width:var(--voice-progress)!important;
  max-width:100%!important;
}
.chat-voice-message-v210 [data-voice-progress-v199] b{
  inset:50% auto auto var(--voice-progress)!important;
  left:var(--voice-progress)!important;
  right:auto!important;
  margin:0!important;
  transform:translate(-50%,-50%)!important;
  transition:left .06s linear!important;
}
#postComposer [data-template-toggle-v198],
#postComposer [data-template-panel-v198],
.composer [data-open-image-text-v204]{display:none!important;}


/* Folinq v199 Hotfix 7 R7 */
@media (max-width:680px){
  .folio-form-v177>.folio-tools-v177[data-media-main-group]{
    display:flex!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:flex-start!important;
    gap:4px!important;min-height:58px!important;height:auto!important;padding:7px!important;margin-inline:0!important;
    overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none!important;-webkit-overflow-scrolling:touch;
  }
  .folio-form-v177>.folio-tools-v177[data-media-main-group]::-webkit-scrollbar{display:none!important}
  .folio-form-v177>.folio-tools-v177[data-media-main-group]>*{
    flex:0 0 42px!important;width:42px!important;min-width:42px!important;max-width:42px!important;height:42px!important;min-height:42px!important;
    padding:0!important;margin:0!important;overflow:visible!important;box-sizing:border-box!important;
  }
  .folio-form-v177>.folio-tools-v177[data-media-main-group] .folio-file-tool-v178{
    display:flex!important;align-items:center!important;justify-content:center!important;position:relative!important;
  }
  .folio-form-v177>.folio-tools-v177[data-media-main-group] .folio-editor-v173-tool,
  .folio-form-v177>.folio-tools-v177[data-media-main-group] .folio-quick-v174-tool{
    display: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;line-height:1!important;border-radius:12px!important;
  }
  .folio-form-v177>.folio-tools-v177[data-media-main-group] .folio-editor-v173-tool>span,
  .folio-form-v177>.folio-tools-v177[data-media-main-group] .folio-quick-v174-tool>span{
    display:flex!important;align-items:center!important;justify-content:center!important;width:38px!important;min-width:38px!important;height:38px!important;min-height:38px!important;margin:0!important;line-height:1!important;
  }
  .folio-form-v177>.folio-tools-v177[data-media-main-group] .li-icon,
  .folio-form-v177>.folio-tools-v177[data-media-main-group] svg{width:21px!important;height:21px!important;min-width:21px!important;display:block!important;overflow:visible!important}
  .folio-form-v177>.folio-tools-v177[data-media-main-group] .folio-file-chip-v178{position:absolute!important;inset:auto 0 -22px 0!important;z-index:3!important}
}
.folinq-short-link{direction:ltr;unicode-bidi:isolate;display:inline-block;max-width:100%;overflow-wrap:anywhere}

/* Folinq v199 Hotfix 7 R8 */
.poll-inline-status-v211{display:inline-block;min-height:20px;margin-inline-start:10px;color:#64748b;font-size:12px;font-weight:700}.poll-inline-status-v211.is-ok{color:#087f5b}.poll-inline-status-v211.is-error{color:#b42318}.poll-option.is-selected-v211{border-color:#0a66c2!important;box-shadow:0 0 0 3px rgba(10,102,194,.1)!important;background:#f4f9ff!important}.poll-card.is-voted-v211 [data-poll-submit-v211]{background:#e8f3ff;color:#075ea8}

@media(max-width:680px){
  .folio-form-v177>.folio-tools-v177[data-media-main-group] .folio-reference-tool-v211{display:flex!important;visibility:visible!important;opacity:1!important;position:relative!important;flex:0 0 42px!important;width:42px!important;min-width:42px!important;max-width:42px!important;height:42px!important;min-height:42px!important;overflow:visible!important}
  .folio-form-v177>.folio-tools-v177[data-media-main-group] .folio-reference-tool-v211>span{display:flex!important;align-items:center!important;justify-content:center!important;width:38px!important;height:38px!important;margin:0!important}
  .folio-form-v177>.folio-tools-v177[data-media-main-group] .folio-reference-tool-v211 svg{display:block!important;width:21px!important;height:21px!important;overflow:visible!important}
}

.chat-message-longpress-v211[hidden]{display:none!important}.chat-message-longpress-v211{position:fixed;inset:0;z-index:2147483300;display:flex;align-items:flex-end;justify-content:center;padding:12px}.chat-message-longpress-backdrop-v211{position:absolute;inset:0;border:0;background:rgba(15,23,42,.46);backdrop-filter:blur(2px)}.chat-message-longpress-v211>section{position:relative;z-index:1;width:min(520px,100%);display:grid;gap:7px;padding:12px 12px max(12px,env(safe-area-inset-bottom));border:1px solid #dce7f1;border-radius:20px 20px 16px 16px;background:#fff;box-shadow:0 -20px 60px rgba(15,23,42,.22);animation:chatLongpressInV211 .18s ease-out}.chat-message-longpress-v211 header{display:flex;align-items:center;justify-content:space-between;padding:2px 4px 9px;border-bottom:1px solid #edf2f7}.chat-message-longpress-v211 header button{width:34px;height:34px;border:0;border-radius:10px;background:#f1f5f9;font-size:22px;cursor:pointer}.chat-message-longpress-v211 [data-message-longpress-action-v211]{width:100%;min-height:48px;display:flex;align-items:center;gap:11px;padding:10px 12px;border:0;border-radius:13px;background:#f7fafc;color:#17324f;text-align:start;font:inherit;font-weight:800;cursor:pointer}.chat-message-longpress-v211 [data-message-longpress-action-v211] svg{width:21px;height:21px}.chat-message-longpress-v211 [data-message-longpress-action-v211].danger{background:#fff1f2;color:#b42318}.chat-message-longpress-v211 [data-message-longpress-action-v211]:disabled{opacity:.5;cursor:wait}.chat-message-longpress-v211 [data-message-longpress-status-v211]{display:block;min-height:18px;padding:2px 5px;color:#64748b}.chat-longpress-open-v211{overflow:hidden!important}@keyframes chatLongpressInV211{from{transform:translateY(18px);opacity:.55}to{transform:translateY(0);opacity:1}}
@media(min-width:761px){.chat-message-longpress-v211{align-items:center}.chat-message-longpress-v211>section{border-radius:18px}}


/* Folinq v199 Hotfix 7 R9 */
.feed-inline-preview-linked-v212>span{display:-webkit-box;max-width:100%;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow-wrap:anywhere;word-break:break-word}.feed-inline-preview-linked-v212>span br{display:none}.feed-inline-preview-linked-v212 .folinq-short-link{max-width:min(100%,360px);vertical-align:baseline}
.poll-meta-v212{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:4px 0 12px;color:#64748b;font-size:12px}.poll-meta-v212 strong{color:#31516f}.poll-option [data-poll-votes-v212]{margin-inline-start:auto;color:#64748b;font-size:11px}.poll-actions-v212{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:10px}.poll-actions-v212 [hidden]{display:none!important}
.chat-conversation-longpress-v212[hidden]{display:none!important}.chat-conversation-longpress-v212{position:fixed;inset:0;z-index:2147483400;display:flex;align-items:flex-end;justify-content:center;padding:12px}.chat-conversation-longpress-backdrop-v212{position:absolute;inset:0;border:0;background:rgba(15,23,42,.5);backdrop-filter:blur(2px)}.chat-conversation-longpress-v212>section{position:relative;z-index:1;width:min(520px,100%);display:grid;gap:7px;padding:12px 12px max(12px,env(safe-area-inset-bottom));border:1px solid #dce7f1;border-radius:20px 20px 16px 16px;background:#fff;box-shadow:0 -20px 60px rgba(15,23,42,.24);animation:chatConversationLongpressInV212 .18s ease-out}.chat-conversation-longpress-v212 header{display:flex;align-items:center;justify-content:space-between;padding:2px 4px 9px;border-bottom:1px solid #edf2f7}.chat-conversation-longpress-v212 header button{width:34px;height:34px;border:0;border-radius:10px;background:#f1f5f9;font-size:22px}.chat-conversation-longpress-v212 [data-conversation-longpress-action-v212]{width:100%;min-height:49px;display:flex;align-items:center;gap:11px;padding:10px 12px;border:0;border-radius:13px;background:#f7fafc;color:#17324f;text-align:start;font:inherit;font-weight:800}.chat-conversation-longpress-v212 [data-conversation-longpress-action-v212] svg{width:21px;height:21px}.chat-conversation-longpress-v212 [data-conversation-longpress-action-v212].danger{background:#fff1f2;color:#b42318}.chat-conversation-longpress-v212 [data-conversation-longpress-action-v212]:disabled{opacity:.5}.chat-conversation-longpress-v212 [data-conversation-longpress-status-v212]{display:block;min-height:18px;padding:2px 5px;color:#64748b}.chat-conversation-longpress-open-v212{overflow:hidden!important}@keyframes chatConversationLongpressInV212{from{transform:translateY(18px);opacity:.55}to{transform:translateY(0);opacity:1}}
@media(max-width:760px){
  .referrals-page{width:100%!important;max-width:100%!important;min-width:0!important;overflow-x:hidden!important;padding-inline:10px!important}.referrals-page>*{min-width:0!important;max-width:100%!important}.referral-hero-card,.referrals-page>.card{padding:15px 13px!important;border-radius:18px!important}.referral-hero-card .section-head,.referrals-page .section-head{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important;align-items:start!important}.ref-credit-pill{position:static!important;justify-self:start!important;width:auto!important;max-width:100%!important}.referral-code-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:13px!important;width:100%!important}.referral-code-grid .field{min-width:0!important;width:100%!important}.referral-code-grid .copy-box{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important;width:100%!important;max-width:100%!important;min-width:0!important}.referral-code-grid .copy-box code{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;direction:ltr!important;text-align:left!important;font-size:13px!important}.referral-code-grid .copy-box .btn{width:100%!important;justify-content:center!important}.referral-user-row{display:grid!important;grid-template-columns:44px minmax(0,1fr)!important;gap:9px!important}.referral-user-row em{grid-column:2!important;justify-self:start!important}.poll-actions-v212{display:grid;grid-template-columns:1fr 1fr}.poll-actions-v212 .poll-inline-status-v211{grid-column:1/-1;margin:0}.feed-inline-preview-linked-v212 .folinq-short-link{max-width:calc(100vw - 120px)}
}
@media(min-width:761px){.chat-conversation-longpress-v212{align-items:center}.chat-conversation-longpress-v212>section{border-radius:18px}}

/* Folinq v199 Hotfix 7 R10 */
.feed-inline-preview-linked-v212>span{display:inline!important;max-width:none!important;overflow:visible!important;-webkit-box-orient:initial!important;-webkit-line-clamp:unset!important;line-clamp:unset!important;white-space:normal!important;line-height:inherit!important;word-break:normal!important;overflow-wrap:anywhere!important}.feed-inline-preview-linked-v212>span br{display:inline!important}.feed-inline-preview-linked-v212{line-height:1.85!important}
.poll-card{padding:14px!important;border-radius:16px!important}.poll-card h4{margin:0 0 7px!important;line-height:1.55!important}.poll-card form{display:grid!important;gap:5px!important}.poll-meta-v212{margin:2px 0 9px!important;gap:7px!important;font-size:11px!important}.poll-option{position:relative!important;display:grid!important;grid-template-columns:auto minmax(0,1fr) auto auto!important;align-items:center!important;gap:6px!important;min-height:0!important;margin:0!important;padding:5px 8px 6px!important;border-radius:12px!important;overflow:hidden!important}.poll-option.readonly{grid-template-columns:minmax(0,1fr) auto auto!important}.poll-option input{width:15px!important;height:15px!important;margin:0!important}.poll-option span{min-width:0!important;font-size:12.5px!important;line-height:1.4!important}.poll-option small,.poll-option [data-poll-votes-v212]{margin:0!important;font-size:10px!important;line-height:1.2!important;white-space:nowrap!important}.poll-option b{min-width:32px!important;margin:0!important;font-size:11px!important;line-height:1.2!important;text-align:end!important}.poll-option i{position:absolute!important;inset-inline-start:0!important;bottom:0!important;height:2px!important;min-height:2px!important;border-radius:0!important;opacity:.75!important}.poll-actions-v212{gap:6px!important;margin-top:7px!important}.poll-actions-v212 .btn{min-height:37px!important;padding:7px 10px!important;font-size:12px!important}.poll-inline-status-v211{min-height:16px!important;margin:0!important;font-size:11px!important}
.poll-voters-v213{position:relative;min-width:0}.poll-voters-v213>summary{display:flex;align-items:center;gap:6px;cursor:pointer;list-style:none;color:#31516f}.poll-voters-v213>summary::-webkit-details-marker{display:none}.poll-voters-v213>summary span{font-size:10px;color:#0a66c2}.poll-voters-list-v213{position:absolute;inset-inline-end:0;top:calc(100% + 7px);z-index:80;width:min(290px,calc(100vw - 48px));max-height:280px;overflow:auto;display:grid;gap:4px;padding:8px;border:1px solid #dce7f1;border-radius:14px;background:#fff;box-shadow:0 16px 40px rgba(15,35,64,.2)}.poll-voter-row-v213{display:grid;grid-template-columns:34px minmax(0,1fr);gap:8px;align-items:center;padding:6px;border-radius:10px;text-decoration:none;color:#17324f}.poll-voter-row-v213:hover{background:#f3f8fd}.poll-voter-row-v213 img{width:34px;height:34px;border-radius:50%;object-fit:cover}.poll-voter-row-v213 span{display:grid;min-width:0}.poll-voter-row-v213 b,.poll-voter-row-v213 small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.poll-voter-row-v213 small{color:#64748b;font-size:10px}.poll-voters-list-v213 p{margin:4px;padding:7px;color:#64748b;font-size:11px}
@media(max-width:760px){.poll-card{padding:11px!important}.poll-card h4{font-size:14px!important}.poll-option{padding:5px 7px 6px!important;gap:5px!important}.poll-option span{font-size:12px!important}.poll-meta-v212{align-items:flex-start!important;flex-direction:column!important}.poll-actions-v212{grid-template-columns:1fr 1fr!important}.poll-actions-v212 .btn{width:100%!important}.poll-voters-list-v213{position:fixed;left:12px;right:12px;top:auto;bottom:max(14px,env(safe-area-inset-bottom));width:auto;max-height:55vh;z-index:2147483200}.folio-reaction-floating-v210[data-mobile-reaction-visible-v213="1"]{display:flex!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;z-index:2147483600!important;isolation:isolate!important}.folio-reaction-floating-v210[data-mobile-reaction-visible-v213="1"] form,.folio-reaction-floating-v210[data-mobile-reaction-visible-v213="1"] button{visibility:visible!important;opacity:1!important}}

/* Folinq v199 Hotfix 7 R11: compact mobile Folio reaction sheet */
@media(max-width:760px){
  body>.folio-reaction-floating-v210,
  body>.post-react-menu.folio-reaction-floating-v210,
  body>.react-menu.folio-reaction-floating-v210{
    position:fixed!important;
    inset:auto!important;
    left:50%!important;
    right:auto!important;
    top:auto!important;
    bottom:max(18px,env(safe-area-inset-bottom))!important;
    transform:translateX(-50%)!important;
    box-sizing:border-box!important;
    display:none!important;
    flex-flow:row nowrap!important;
    align-items:center!important;
    align-content:center!important;
    justify-content:flex-start!important;
    gap:4px!important;
    width:max-content!important;
    max-width:calc(100vw - 16px)!important;
    height:58px!important;
    min-height:58px!important;
    max-height:58px!important;
    block-size:58px!important;
    min-block-size:58px!important;
    max-block-size:58px!important;
    padding:8px!important;
    margin:0!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    white-space:nowrap!important;
    overscroll-behavior:contain!important;
    -webkit-overflow-scrolling:touch!important;
    scrollbar-width:none!important;
    border:1px solid #d8e4ef!important;
    border-radius:18px!important;
    background:#fff!important;
    box-shadow:0 18px 48px rgba(15,35,64,.26)!important;
    z-index:2147483600!important;
    isolation:isolate!important;
  }
  body>.folio-reaction-floating-v210::-webkit-scrollbar{display:none!important}
  body>.folio-reaction-floating-v210[data-mobile-reaction-visible-v213="1"]{
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
  }
  body>.folio-reaction-floating-v210 form{
    display:block!important;
    flex:0 0 40px!important;
    width:40px!important;
    min-width:40px!important;
    height:40px!important;
    min-height:40px!important;
    max-height:40px!important;
    margin:0!important;
    padding:0!important;
  }
  body>.folio-reaction-floating-v210 button{
    display:grid!important;
    place-items:center!important;
    width:40px!important;
    min-width:40px!important;
    max-width:40px!important;
    height:40px!important;
    min-height:40px!important;
    max-height:40px!important;
    margin:0!important;
    padding:0!important;
    border-radius:50%!important;
  }
  body>.folio-reaction-floating-v210 .li-icon,
  body>.folio-reaction-floating-v210 svg{
    width:21px!important;
    height:21px!important;
    min-width:21px!important;
    max-height:21px!important;
  }
}

/* Folinq v199 Hotfix 7 R12: anchored mobile reactions and Folio emoji picker */
.folio-editor-v177-main{position:relative!important}
.folio-emoji-picker-v214{position:relative;display:flex;align-items:center;justify-content:flex-start;width:max-content;margin-top:6px;z-index:80}
.folio-emoji-toggle-v214{display:grid;place-items:center;width:38px;height:38px;padding:0;border:1px solid #d8e5f1;border-radius:50%;background:#f7fbff;color:#315b80;cursor:pointer;transition:background .16s ease,color .16s ease,border-color .16s ease,transform .16s ease}
.folio-emoji-toggle-v214:hover,.folio-emoji-toggle-v214[aria-expanded="true"]{background:#eaf4ff;color:#0a66c2;border-color:#acd1f5;transform:translateY(-1px)}
.folio-emoji-toggle-v214 .li-icon{width:20px;height:20px}
.folio-emoji-menu-v214{position:absolute;inset-inline-start:0;top:calc(100% + 8px);display:grid;grid-template-columns:repeat(8,38px);gap:5px;width:max-content;max-width:min(344px,calc(100vw - 34px));padding:9px;border:1px solid #d9e5f0;border-radius:16px;background:#fff;box-shadow:0 18px 42px rgba(17,45,75,.2);z-index:2147482500;overflow:auto}
.folio-emoji-menu-v214[hidden]{display:none!important}
.folio-emoji-menu-v214 button{display:grid;place-items:center;width:38px;height:38px;padding:0;border:0;border-radius:10px;background:transparent;font-size:21px;line-height:1;cursor:pointer}
.folio-emoji-menu-v214 button:hover,.folio-emoji-menu-v214 button:focus-visible{background:#edf6ff;outline:2px solid rgba(10,102,194,.18)}
@media(max-width:760px){
  body>.folio-reaction-floating-v210,
  body>.post-react-menu.folio-reaction-floating-v210,
  body>.react-menu.folio-reaction-floating-v210{
    position:fixed!important;inset:auto!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;transform:none!important;display:none!important;width:max-content!important;max-width:calc(100vw - 16px)!important;height:58px!important;min-height:58px!important;max-height:58px!important;padding:8px!important;margin:0!important;flex-flow:row nowrap!important;align-items:center!important;justify-content:flex-start!important;gap:4px!important;overflow-x:auto!important;overflow-y:hidden!important;white-space:nowrap!important;border:1px solid #d8e4ef!important;border-radius:18px!important;background:#fff!important;box-shadow:0 14px 38px rgba(15,35,64,.24)!important;z-index:2147483600!important;isolation:isolate!important;overscroll-behavior:contain!important;scrollbar-width:none!important
  }
  body>.folio-reaction-floating-v210::-webkit-scrollbar{display:none!important}
  body>.folio-reaction-floating-v210[data-mobile-reaction-visible-v214="1"]{display:flex!important;pointer-events:auto!important}
  body>.folio-reaction-floating-v210 form{display:block!important;flex:0 0 40px!important;width:40px!important;min-width:40px!important;height:40px!important;margin:0!important;padding:0!important}
  body>.folio-reaction-floating-v210 button{display:grid!important;place-items:center!important;width:40px!important;min-width:40px!important;max-width:40px!important;height:40px!important;min-height:40px!important;max-height:40px!important;margin:0!important;padding:0!important;border-radius:50%!important}
  .folio-emoji-menu-v214{position:fixed;left:12px;right:12px;top:auto;bottom:max(18px,env(safe-area-inset-bottom));grid-template-columns:repeat(6,minmax(38px,1fr));width:auto;max-width:none;max-height:45vh;padding:10px;z-index:2147483700}
  .folio-emoji-menu-v214 button{width:100%}
}

/* Folinq v199 Hotfix 7 R13 */


/* Folinq v199 Hotfix 7 R14: true leading-body cleanup and profile role dialog */
.profile-role-row-v215{width:100%;border:0;background:transparent;font:inherit;text-align:inherit;cursor:pointer}.profile-role-row-v215 b{display:inline-flex;align-items:center;gap:6px;color:#0a66c2}.profile-role-row-v215:hover{background:#f4f9fe}.profile-role-row-v215:focus-visible{outline:2px solid rgba(10,102,194,.3);outline-offset:2px;border-radius:9px}
.profile-role-modal-v215{position:fixed;inset:0;z-index:2147483650;display:grid;place-items:center;padding:18px}.profile-role-modal-v215[hidden]{display:none!important}.profile-role-backdrop-v215{position:absolute;inset:0;width:100%;height:100%;border:0;background:rgba(10,28,48,.48);backdrop-filter:blur(3px)}.profile-role-dialog-v215{position:relative;z-index:1;width:min(520px,100%);display:grid;gap:16px;border-radius:22px;box-shadow:0 24px 70px rgba(10,31,54,.3)}.profile-role-dialog-v215>header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.profile-role-dialog-v215 h2{margin:3px 0 0}.profile-role-dialog-v215 p{margin:0;line-height:2;color:#526a82}.profile-role-close-v215{display:grid;place-items:center;width:38px;height:38px;border:0;border-radius:50%;background:#eef5fb;color:#2a4866;font-size:25px;cursor:pointer}.profile-role-modal-open-v215{overflow:hidden}
@media(max-width:760px){.profile-role-modal-v215{align-items:end;padding:10px}.profile-role-dialog-v215{width:100%;border-radius:22px 22px 14px 14px;padding:18px 16px}.profile-role-dialog-v215 .inline-actions{display:grid;grid-template-columns:1fr 1fr}.profile-role-dialog-v215 .btn{width:100%;justify-content:center}}

/* Folinq v199 Hotfix 7 R15 */
.behavior-visit-overview-v199{margin:18px 0 22px;padding:18px;border:1px solid #dce8f6;border-radius:24px;background:linear-gradient(135deg,#f8fbff 0%,#eef6ff 100%)}
.behavior-visit-heading-v199{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:0 0 12px}
.behavior-visit-heading-v199>div>span{display:block;color:#1471c9;font-size:11px;font-weight:800;letter-spacing:.08em;margin-bottom:4px}
.behavior-visit-heading-v199 h2{margin:0;color:#11243d;font-size:20px;line-height:1.5}
.behavior-visit-heading-v199>small{max-width:520px;color:#6d7d91;line-height:1.8}
.behavior-visit-grid-v199{margin:0}
.behavior-visit-card-v199{position:relative;overflow:hidden;min-height:132px;background:#fff;border:1px solid rgba(20,113,201,.12);box-shadow:0 8px 22px rgba(18,66,112,.06)}
.behavior-visit-card-v199:before{content:"";position:absolute;inset-inline-start:0;top:0;width:4px;height:100%;background:#1471c9;border-radius:4px}
.behavior-visit-card-v199 b{font-size:30px;line-height:1.15;color:#0e5fae;font-variant-numeric:tabular-nums}
.behavior-visit-card-v199.is-all{background:linear-gradient(145deg,#0d67bb,#0b559d);border-color:transparent}
.behavior-visit-card-v199.is-all:before{background:#fff}
.behavior-visit-card-v199.is-all span,.behavior-visit-card-v199.is-all b,.behavior-visit-card-v199.is-all small{color:#fff}
.behavior-hero-actions-v178{flex-wrap:wrap}
@media(max-width:700px){
 .behavior-visit-overview-v199{padding:13px;border-radius:19px}
 .behavior-visit-heading-v199{align-items:flex-start;flex-direction:column;gap:4px}
 .behavior-visit-heading-v199 h2{font-size:18px}
 .behavior-visit-grid-v199{grid-template-columns:repeat(2,minmax(0,1fr))}
 .behavior-visit-card-v199{min-height:112px;padding:14px}
 .behavior-visit-card-v199 b{font-size:24px}
 .behavior-visit-card-v199.is-all{grid-column:1/-1}
}

/* Folinq v199 Hotfix 7 R16: safe entity decoding for Folio and comment text */


/* Folinq v199 Hotfix 7 R17: durable entity normalization in storage and DOM */

/* Folinq v199 Hotfix 7 R18: real visitor analytics and entity repair */
.behavior-real-visitors-v218 .behavior-visit-card-v199{display:flex;flex-direction:column;gap:4px;min-height:154px}
.behavior-real-visitors-v218 .behavior-visit-card-v199>b{line-height:1.05}
.behavior-real-visitors-v218 .behavior-visit-card-v199 small{display:block;line-height:1.7}
.behavior-real-visitors-v218 .behavior-real-primary-v218{font-weight:800;color:var(--primary,#1769ff)}
.behavior-real-note-v218{display:flex;align-items:flex-start;gap:8px;margin-top:12px;padding:10px 12px;border:1px solid rgba(37,99,235,.13);border-radius:12px;background:rgba(239,246,255,.72);font-size:12px;line-height:1.8;color:#475569}
@media(max-width:760px){.behavior-real-visitors-v218 .behavior-visit-grid-v199{grid-template-columns:repeat(2,minmax(0,1fr))}.behavior-real-visitors-v218 .behavior-visit-card-v199{min-height:142px;padding:14px 12px}.behavior-real-visitors-v218 .behavior-visit-card-v199:last-child{grid-column:1/-1}.behavior-real-visitors-v218 .behavior-visit-heading-v199{align-items:flex-start;gap:8px}.behavior-real-visitors-v218 .behavior-visit-heading-v199>small{max-width:none}}

/* Folinq v199 Hotfix 7 R18.1: reliable human analytics and standalone entity repair. */

/* Folinq v199 Hotfix 7 R18.2: literal quote rendering and Jalali analytics boundary fix. */

/* Folinq v199 Hotfix 7 R19: stable reactions, cropped avatars, compact mobile lists and network list view */
.user-avatar-crop-v219{display:inline-flex;position:relative;overflow:hidden;line-height:0;vertical-align:middle;border-radius:50%;flex:none;isolation:isolate;background:#eef3f8}
.user-avatar-crop-v219.avatar-sized-v219>.user-avatar-crop-image-v219{width:100%!important;height:100%!important;max-width:none!important}
.user-avatar-crop-v219>.user-avatar-crop-image-v219{display:block;object-fit:cover!important;object-position:var(--avatar-x-v219,50%) var(--avatar-y-v219,50%)!important;transform:scale(var(--avatar-zoom-v219,1))!important;transform-origin:var(--avatar-x-v219,50%) var(--avatar-y-v219,50%)!important;transition:none!important}
.profile-context-avatar>.user-avatar-crop-v219,.profile-context-avatar>.user-avatar-crop-v219>.user-avatar-crop-image-v219{width:100%;height:100%;border-radius:inherit}

.reaction-types-summary-v207{display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;gap:3px!important;width:max-content!important;max-width:100%!important;min-width:0!important;flex:0 0 auto!important;white-space:nowrap!important;unicode-bidi:isolate!important}
.reaction-types-summary-v207 .reaction-type-icons-v207{display:inline-flex!important;align-items:center!important;gap:3px!important;flex:0 0 auto!important;width:auto!important}
.reaction-types-summary-v207 .reaction-count-link{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:12px!important;margin:0!important;padding:0 1px!important;line-height:1!important;color:#5c7188!important;font-weight:850!important}
.reaction-types-summary-v207 .reaction-type-chip-v207{margin:0!important;flex:0 0 auto!important}
.post-stats>.reaction-types-summary-v207{margin-inline-end:auto!important}

.comment-actions-line{display:flex!important;align-items:center!important;flex-wrap:nowrap!important;gap:5px!important;overflow-x:auto!important;overflow-y:visible!important;scrollbar-width:none!important;overscroll-behavior-inline:contain!important}
.comment-actions-line::-webkit-scrollbar{display:none!important}
.comment-actions-line>*{flex:0 0 auto!important;margin-block:0!important}
.comment-reaction-summary-v207{display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;gap:3px!important;width:auto!important;min-width:30px!important;max-width:112px!important;height:28px!important;min-height:28px!important;padding:2px 6px!important;overflow:hidden!important;white-space:nowrap!important}
.comment-reaction-types-v207{display:inline-flex!important;align-items:center!important;flex-wrap:nowrap!important;gap:2px!important;min-width:0!important;overflow:hidden!important}
.comment-reaction-types-v207>span{display:grid!important;place-items:center!important;flex:0 0 18px!important;width:18px!important;height:18px!important;margin:0!important;border-radius:50%!important}
.comment-reaction-types-v207>span+span{margin-inline-start:0!important}
.comment-reaction-summary-v207>b{display:inline-block!important;flex:0 0 auto!important;margin:0 1px!important;line-height:1!important}
.comment-reply-count{position:relative!important;inset:auto!important;margin:0!important;flex:0 0 auto!important}

.network-view-switch-v219{display:flex;align-items:center;justify-content:flex-end;gap:6px;margin:12px 0 10px;padding-inline:2px}
.network-view-switch-v219>span{margin-inline-end:4px;color:#718096;font-size:12px;font-weight:800}
.network-view-switch-v219>a{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:38px;padding:7px 12px;border:1px solid #dbe5ef;border-radius:11px;background:#fff;color:#52677e;font-weight:850}
.network-view-switch-v219>a:hover,.network-view-switch-v219>a.active{border-color:#8ebce9;background:#eaf4ff;color:#0a66c2}
.network-view-list-v219{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}
.network-view-list-v219 .network-v162-card{position:relative!important;display:grid!important;grid-template-columns:76px minmax(0,1fr)!important;align-items:center!important;gap:14px!important;min-height:102px!important;padding:12px 14px!important;overflow:visible!important}
.network-view-list-v219 .network-v162-card:not(.network-v162-book-card) .network-v162-cover{display:none!important}
.network-view-list-v219 .network-v162-avatar{position:relative!important;inset:auto!important;width:68px!important;height:68px!important;margin:0!important;border:3px solid #fff!important;box-shadow:0 0 0 1px #dbe4ee!important}
.network-view-list-v219 .network-v162-avatar>.user-avatar-crop-v219,.network-view-list-v219 .network-v162-avatar .user-avatar-crop-image-v219{width:100%!important;height:100%!important;border-radius:50%!important}
.network-view-list-v219 .network-v162-body{min-width:0!important;padding:0 58px 0 0!important;text-align:start!important}
[dir="ltr"] .network-view-list-v219 .network-v162-body{padding:0 0 0 58px!important}
.network-view-list-v219 .network-v162-body h3{margin:0 0 2px!important;font-size:15px!important}
.network-view-list-v219 .network-v162-role,.network-view-list-v219 .network-v162-subline,.network-view-list-v219 .network-v193-location,.network-view-list-v219 .network-v193-stats,.network-view-list-v219 .network-v162-connections{margin-top:3px!important}
.network-view-list-v219 .network-v162-footer{position:absolute!important;inset-inline-end:14px!important;top:50%!important;transform:translateY(-50%)!important;margin:0!important;padding:0!important;border:0!important}
.network-view-list-v219 .network-v162-publisher-link{display:none!important}
.network-view-list-v219 .network-book-cover-v163{width:66px!important;height:84px!important;margin:0!important;border-radius:9px!important;overflow:hidden!important}
.network-view-list-v219 .network-book-cover-v163 img{width:100%!important;height:100%!important;object-fit:cover!important}

@media(max-width:760px){
  body>.folio-reaction-floating-v210[data-mobile-reaction-visible-v219="1"]{display:flex!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important}
  .network-view-switch-v219{position:sticky;top:64px;z-index:9;justify-content:flex-start;padding:7px 8px;margin:8px 0;background:rgba(247,250,253,.94);backdrop-filter:blur(8px);border:1px solid #e1e9f1;border-radius:13px;overflow-x:auto}
  .network-view-switch-v219>span{display:none}
  .network-view-switch-v219>a{min-height:34px;padding:5px 10px;font-size:12px;white-space:nowrap}
  .network-view-list-v219 .network-v162-card{grid-template-columns:60px minmax(0,1fr)!important;gap:10px!important;min-height:82px!important;padding:10px!important;border-radius:15px!important}
  .network-view-list-v219 .network-v162-avatar{width:56px!important;height:56px!important}
  .network-view-list-v219 .network-book-cover-v163{width:54px!important;height:70px!important}
  .network-view-list-v219 .network-v162-body{padding-inline-end:42px!important}
  .network-view-list-v219 .network-v162-body h3{font-size:13.5px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .network-view-list-v219 .network-v162-role,.network-view-list-v219 .network-v162-subline,.network-view-list-v219 .network-v193-location,.network-view-list-v219 .network-v193-stats,.network-view-list-v219 .network-v162-connections{font-size:10.5px!important;line-height:1.55!important}
  .network-view-list-v219 .network-v193-stats{display:flex!important;gap:7px!important;flex-wrap:wrap!important}
  .network-view-list-v219 .network-v162-footer{inset-inline-end:8px!important}
  .network-view-list-v219 .network-follow-fab{width:36px!important;height:36px!important;min-width:36px!important}

  .notifications-grid-v124.notifications-grid-v169{display:block!important;width:100%!important;max-width:100%!important}
  .notifications-grid-v169 .notification-profile-side{display:none!important}
  .notifications-page-v169{width:100%!important;min-width:0!important}
  .notification-filters-v169{display:flex!important;align-items:center!important;gap:5px!important;padding:7px!important;margin-bottom:8px!important;overflow-x:auto!important;white-space:nowrap!important;border-radius:14px!important;scrollbar-width:none!important}
  .notification-filters-v169::-webkit-scrollbar{display:none!important}
  .notification-filters-v169>a{flex:0 0 auto!important;min-height:34px!important;padding:6px 10px!important;border-radius:9px!important;font-size:11.5px!important}
  .notification-filters-v169>form{margin-inline-start:auto!important;flex:0 0 auto!important}
  .notification-filters-v169 .btn{min-height:34px!important;padding:6px 9px!important;font-size:0!important;border-radius:9px!important}
  .notification-filters-v169 .btn .li-icon{width:17px!important;height:17px!important}
  .notification-list-v169{border-radius:15px!important;overflow:visible!important;background:transparent!important;border:0!important;box-shadow:none!important;display:grid!important;gap:6px!important}
  .notification-item-v169,.notification-item-v169:has(.notification-menu-v169[open]){position:relative!important;min-height:0!important;height:auto!important;margin:0!important;border:1px solid #e0e8f0!important;border-radius:13px!important;background:#fff!important;overflow:visible!important;box-shadow:0 2px 8px rgba(15,35,64,.04)!important}
  .notification-main-link-v169{display:grid!important;grid-template-columns:40px minmax(0,1fr)!important;align-items:center!important;gap:9px!important;min-height:66px!important;height:auto!important;padding:9px 48px 9px 10px!important}
  [dir="ltr"] .notification-main-link-v169{padding:9px 10px 9px 48px!important}
  .notification-avatar-v169{display:grid!important;place-items:center!important;width:40px!important;height:40px!important;min-width:40px!important;border-radius:50%!important;overflow:hidden!important}
  .notification-avatar-v169>.user-avatar-crop-v219,.notification-avatar-v169 .user-avatar-crop-image-v219{width:40px!important;height:40px!important;border-radius:50%!important}
  .notification-body-v169{display:grid!important;gap:1px!important;min-width:0!important;line-height:1.45!important}
  .notification-body-v169 b{font-size:12.4px!important;line-height:1.55!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .notification-body-v169 small{font-size:11px!important;line-height:1.55!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;color:#607086!important}
  .notification-body-v169 em{font-size:9.8px!important;line-height:1.35!important;margin-top:1px!important}
  .notification-menu-v169{position:absolute!important;top:50%!important;inset-inline-end:7px!important;transform:translateY(-50%)!important;margin:0!important;z-index:40!important}
  .notification-more-v169{width:34px!important;height:34px!important;min-width:34px!important;border-radius:50%!important}
  .notification-menu-panel-v169{position:fixed!important;left:10px!important;right:10px!important;top:auto!important;bottom:max(10px,env(safe-area-inset-bottom))!important;width:auto!important;min-width:0!important;padding:8px!important;border-radius:16px!important;box-shadow:0 20px 60px rgba(15,35,64,.28)!important;z-index:2147483400!important}
  .notification-menu-panel-v169 a,.notification-menu-panel-v169 button{min-height:42px!important;padding:8px 10px!important;font-size:12px!important}

  .chat-thread-item-v183{min-height:68px!important}
  .chat-thread-main-v183{min-height:68px!important;padding-block:7px!important}
  .chat-thread-avatar-v183,.chat-thread-avatar-v183>.user-avatar-crop-v219,.chat-thread-avatar-v183 .user-avatar-crop-image-v219{width:44px!important;height:44px!important}
  .chat-thread-copy-v183>small{line-height:1.45!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
}

/* Folinq v199 Hotfix 7 R20: protected normalized avatars, mail outbox and reaction layers */
img.user-avatar-v220{display:block;width:42px;height:42px;min-width:0;max-width:100%;aspect-ratio:1/1;border-radius:50%!important;object-fit:cover!important;object-position:center!important;transform:none!important;transform-origin:center!important;background:#eef3f8;overflow:hidden}
.profile-context-avatar>img.user-avatar-v220,.profile-avatar>img.user-avatar-v220,.profile-avatar-wrap>img.user-avatar-v220{width:100%!important;height:100%!important;border-radius:50%!important}
.folio-analytics-profile-v199>img.user-avatar-v220{width:132px!important;height:132px!important;aspect-ratio:1/1!important;border-radius:50%!important;margin:auto!important}
.publisher-admin-list-v196 article{min-width:0;overflow:hidden}.publisher-admin-list-v196 article>a{display:block;flex:0 0 48px;width:48px;height:48px;border-radius:50%;overflow:hidden}.publisher-admin-list-v196 article>a>img.user-avatar-v220,.publisher-admin-list-v196 article>img.user-avatar-v220{width:48px!important;height:48px!important;border-radius:50%!important;object-fit:cover!important}.publisher-admin-list-v196 article>span{min-width:0}.publisher-admin-list-v196 article small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;direction:auto}
.birthday-person-v170 img.user-avatar-v220,.feed-birthdays-v209 img.user-avatar-v220{width:40px!important;height:40px!important;border-radius:50%!important}.admin-user-avatar-v166>img.user-avatar-v220{width:100%!important;height:100%!important}.network-v162-avatar>img.user-avatar-v220,.person-avatar>img.user-avatar-v220,.avatar-mini.user-avatar-v220{border-radius:50%!important}
.comment-reaction-floating-v220{display:flex!important;position:fixed!important;right:auto!important;bottom:auto!important;z-index:2147483200!important;align-items:center!important;justify-content:center!important;gap:6px!important;max-width:calc(100vw - 16px)!important;min-height:58px!important;padding:8px 10px!important;border:1px solid #dbe5ef!important;border-radius:18px!important;background:#fff!important;box-shadow:0 18px 48px rgba(15,35,64,.28)!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;transform:none!important;overflow-x:auto!important;overflow-y:hidden!important;isolation:isolate!important}
.comment-reaction-floating-v220 form{display:block!important;flex:0 0 auto!important;margin:0!important}.comment-reaction-floating-v220 button{width:42px!important;height:42px!important;display:grid!important;place-items:center!important;border-radius:50%!important}
.mail-outbox-v220{display:grid;gap:16px}.mail-outbox-actions-v220{display:flex;gap:8px;flex-wrap:wrap}.mail-outbox-actions-v220 form{margin:0}.mail-outbox-stats-v220{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.mail-outbox-stats-v220 a{display:grid;gap:4px;padding:12px;border:1px solid #dbe5ef;border-radius:14px;background:#f8fbff;text-decoration:none;color:#52677e}.mail-outbox-stats-v220 a.active{border-color:#0a66c2;background:#eaf4ff;color:#0a66c2}.mail-outbox-stats-v220 b{font-size:24px}.mail-outbox-filter-v220{display:flex;gap:8px}.mail-outbox-filter-v220 input{flex:1;min-width:0}.mail-outbox-list-v220{display:grid;gap:10px}.mail-outbox-row-v220{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:14px;border:1px solid #dbe5ef;border-radius:14px;background:#fff}.mail-outbox-primary-v220{display:grid;gap:4px;min-width:0}.mail-outbox-primary-v220 b,.mail-outbox-primary-v220 strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mail-state-v220{width:max-content;padding:4px 8px;border-radius:999px;font-size:12px;font-weight:850;background:#eef3f8}.state-sent .mail-state-v220{background:#e8f8ef;color:#137a43}.state-failed .mail-state-v220{background:#fff0f0;color:#b42318}.state-processing .mail-state-v220{background:#fff8df;color:#8a6500}.mail-outbox-meta-v220{grid-column:1/-1;display:flex;gap:12px;flex-wrap:wrap;color:#718399;font-size:12px}.mail-outbox-error-v220{grid-column:1/-1;max-height:150px;overflow:auto;white-space:pre-wrap;background:#fff6f6;color:#9f1c1c;border-radius:10px;padding:9px;font-size:12px}.mail-outbox-row-v220>form{margin:0}
@media(max-width:760px){.mail-outbox-stats-v220{grid-template-columns:repeat(2,minmax(0,1fr))}.mail-outbox-stats-v220 a:last-child{grid-column:1/-1}.mail-outbox-row-v220{grid-template-columns:1fr}.mail-outbox-filter-v220{display:grid}.folio-analytics-profile-v199>img.user-avatar-v220{width:104px!important;height:104px!important}}

/* Folinq v199 Hotfix 7 R20 */

/* Folinq v199 Hotfix 7 R20.1: admin navigation route guard */

/* Folinq v199 Hotfix 7 R20.2: one avatar geometry across the entire system */
img.user-avatar-unified-v2202{display:block!important;aspect-ratio:1/1!important;border-radius:50%!important;object-fit:cover!important;object-position:50% 50%!important;transform:none!important;transform-origin:center!important;background:#eaf1f8!important;overflow:hidden!important;color:transparent!important}
:where(.network-v162-avatar,.chat-thread-avatar-v183,.notification-avatar-v169,.notification-avatar-v208,.profile-context-avatar,.profile-avatar,.profile-avatar-wrap,.admin-user-avatar-v166,.behavior-online-avatar-v178,.reaction-list-avatar,.person-avatar,.publisher-admin-avatar-v220,.birthday-person-v170>a,.favorite-mini-row,.referral-user-row) > img.user-avatar-unified-v2202{width:100%!important;height:100%!important;min-width:100%!important;max-width:100%!important;flex:0 0 100%!important;border-radius:50%!important}
:where(.network-v162-avatar,.chat-thread-avatar-v183,.notification-avatar-v169,.notification-avatar-v208,.profile-context-avatar,.profile-avatar,.profile-avatar-wrap,.admin-user-avatar-v166,.behavior-online-avatar-v178,.reaction-list-avatar,.person-avatar,.publisher-admin-avatar-v220){border-radius:50%!important;overflow:hidden!important}
.q-chat-thread-main>img.user-avatar-unified-v2202{width:44px!important;height:44px!important;min-width:44px!important;max-width:44px!important;flex:0 0 44px!important}
img.user-avatar-unified-v2202.chat-message-avatar-v183,img.user-avatar-unified-v2202.chat-message-avatar-v199{width:42px!important;height:42px!important;min-width:42px!important;max-width:42px!important;flex:0 0 42px!important}
img.user-avatar-unified-v2202.chat-seen-avatar-v199{width:18px!important;height:18px!important;min-width:18px!important;max-width:18px!important;flex:0 0 18px!important}
.network-v162-avatar>img.user-avatar-unified-v2202{width:100%!important;height:100%!important;min-width:100%!important;max-width:100%!important}
.chat-thread-avatar-v183>img.user-avatar-unified-v2202{width:44px!important;height:44px!important;min-width:44px!important;max-width:44px!important}
.notification-avatar-v169>img.user-avatar-unified-v2202,.notification-avatar-v208>img.user-avatar-unified-v2202{width:100%!important;height:100%!important;min-width:100%!important;max-width:100%!important}
.folio-analytics-profile-v199>img.user-avatar-unified-v2202{width:132px!important;height:132px!important;min-width:132px!important;max-width:132px!important;margin:auto!important}
img.user-avatar-unified-v2202.avatar-mini{width:42px!important;height:42px!important;min-width:42px!important;max-width:42px!important}
@media(max-width:760px){.folio-analytics-profile-v199>img.user-avatar-unified-v2202{width:104px!important;height:104px!important;min-width:104px!important;max-width:104px!important}}
/* Folinq v199 Hotfix 7 R20.2 */

/* Folinq v199 Hotfix 7 R20.3: fixed avatar slots for birthdays, referrals and notifications */
.avatar-slot-v2203{display:grid!important;place-items:center!important;flex:0 0 auto!important;min-width:0!important;min-height:0!important;aspect-ratio:1/1!important;border-radius:50%!important;overflow:hidden!important;background:#eaf1f8!important;line-height:0!important}
.avatar-slot-v2203>img.user-avatar-unified-v2202,.avatar-slot-v2203>img.user-avatar-v220{display:block!important;width:100%!important;height:100%!important;min-width:100%!important;min-height:100%!important;max-width:100%!important;max-height:100%!important;aspect-ratio:1/1!important;object-fit:cover!important;object-position:50% 50%!important;border-radius:50%!important;transform:none!important;margin:0!important}
.avatar-slot-birthday-v2203{width:48px!important;height:48px!important;min-width:48px!important;flex-basis:48px!important}
.birthdays-grid-v170 article>a{display:flex!important;align-items:center!important;gap:10px!important;min-width:0!important}
.birthdays-grid-v170 article>a>.avatar-slot-birthday-v2203{align-self:center!important}
.birthdays-grid-v170 article>a>div{min-width:0!important}
.avatar-slot-referral-v2203{width:44px!important;height:44px!important;min-width:44px!important;flex-basis:44px!important;grid-column:1!important;grid-row:1 / span 2!important;align-self:center!important}
.referral-user-row{align-items:center!important}
.referral-user-row>.avatar-slot-referral-v2203+span{grid-column:2!important;min-width:0!important}
.referral-user-row>em{grid-column:2!important}
.notification-avatar-v2203{display:grid!important;place-items:center!important;width:46px!important;height:46px!important;min-width:46px!important;max-width:46px!important;flex:0 0 46px!important;border-radius:50%!important;overflow:hidden!important;background:#eaf1f8!important}
.avatar-slot-notification-v2203{width:100%!important;height:100%!important;min-width:100%!important;max-width:100%!important}
.avatar-slot-system-v2203{color:#0a66c2!important;background:#e8f3ff!important}
.avatar-slot-system-v2203 .li-icon,.avatar-slot-system-v2203 svg{width:20px!important;height:20px!important}
.notification-avatar-v2203>img.notification-avatar-v208{width:100%!important;height:100%!important;min-width:100%!important;max-width:100%!important}
@media(max-width:760px){.avatar-slot-birthday-v2203{width:44px!important;height:44px!important;min-width:44px!important;flex-basis:44px!important}.notification-avatar-v2203{width:40px!important;height:40px!important;min-width:40px!important;max-width:40px!important;flex-basis:40px!important}}
/* Folinq v199 Hotfix 7 R20.3 */

/* Folinq v199 Hotfix 7 R20.4: square birthday avatars and Vazirmatn mobile resume */
.feed-birthdays-v209 .birthday-person-v170>a{
  flex:1 1 auto!important;
  width:auto!important;
  min-width:0!important;
}
.avatar-slot-feed-birthday-v2204,
.birthdays-grid-v170 .avatar-slot-birthday-v2203{
  display:grid!important;
  place-items:center!important;
  box-sizing:border-box!important;
  inline-size:44px!important;
  block-size:44px!important;
  width:44px!important;
  height:44px!important;
  min-inline-size:44px!important;
  min-block-size:44px!important;
  min-width:44px!important;
  min-height:44px!important;
  max-inline-size:44px!important;
  max-block-size:44px!important;
  max-width:44px!important;
  max-height:44px!important;
  flex:0 0 44px!important;
  aspect-ratio:1/1!important;
  border-radius:50%!important;
  overflow:hidden!important;
  contain:layout paint!important;
  line-height:0!important;
}
.avatar-slot-feed-birthday-v2204>img,
.birthdays-grid-v170 .avatar-slot-birthday-v2203>img{
  position:static!important;
  inset:auto!important;
  display:block!important;
  inline-size:100%!important;
  block-size:100%!important;
  width:100%!important;
  height:100%!important;
  min-inline-size:100%!important;
  min-block-size:100%!important;
  min-width:100%!important;
  min-height:100%!important;
  max-inline-size:100%!important;
  max-block-size:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  flex:none!important;
  aspect-ratio:1/1!important;
  object-fit:cover!important;
  object-position:50% 50%!important;
  border-radius:50%!important;
  margin:0!important;
  transform:none!important;
}
.feed-birthdays-v209 .birthday-person-copy-v2204{
  display:grid!important;
  flex:1 1 auto!important;
  min-width:0!important;
  width:auto!important;
}
.feed-birthdays-v209 .birthday-person-copy-v2204 b,
.feed-birthdays-v209 .birthday-person-copy-v2204 small{
  display:block!important;
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
@media(max-width:760px){
  .avatar-slot-feed-birthday-v2204,
  .birthdays-grid-v170 .avatar-slot-birthday-v2203{
    inline-size:40px!important;
    block-size:40px!important;
    width:40px!important;
    height:40px!important;
    min-inline-size:40px!important;
    min-block-size:40px!important;
    min-width:40px!important;
    min-height:40px!important;
    max-inline-size:40px!important;
    max-block-size:40px!important;
    max-width:40px!important;
    max-height:40px!important;
    flex-basis:40px!important;
  }
}
/* Folinq v199 Hotfix 7 R20.4 */

/* Folinq v199 Hotfix 7 R20.5: single-level comments, mobile composer room and autosave status. */
.comment-replies-single-v2205{
  display:flex!important;
  flex-direction:column!important;
  gap:0!important;
  min-width:0!important;
  width:auto!important;
  margin-inline-start:40px!important;
  overflow:visible!important;
}
.comment-replies-single-v2205>.comment.reply,
.comment-replies-single-v2205>.comment.comment-reply-single{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin-inline-start:0!important;
  margin-inline-end:0!important;
  padding-inline:0!important;
  overflow:visible!important;
}
.comment-replies-single-v2205>.comment.reply:before{
  right:-18px!important;
  top:-7px!important;
  width:13px!important;
  height:24px!important;
}
.comment-replies-single-v2205>.comment:last-child{
  margin-bottom:2px!important;
  padding-bottom:2px!important;
}
.comment-reply-target-v2205{
  display:inline-flex!important;
  align-items:center!important;
  gap:4px!important;
  max-width:100%!important;
  margin:3px 0 4px!important;
  padding:2px 7px!important;
  border-radius:999px!important;
  background:#e8f2ff!important;
  color:#0a66c2!important;
  font-size:10.8px!important;
  line-height:1.6!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.comment-reply-target-v2205 b{overflow:hidden;text-overflow:ellipsis}
.comment-reply-single .comment-replies{display:none!important}

.folio-autosave-status-v2205{
  display:flex;
  align-items:center;
  gap:7px;
  min-height:34px;
  padding:6px 12px;
  border-bottom:1px solid #e7edf5;
  background:#f8fbff;
  color:#64748b;
  font-size:11.5px;
}
.folio-autosave-dot-v2205{
  width:8px;height:8px;border-radius:50%;background:#94a3b8;flex:0 0 auto;
}
.folio-autosave-status-v2205[data-state="saving"] .folio-autosave-dot-v2205{background:#f59e0b;animation:folioAutosavePulse2205 1s infinite}
.folio-autosave-status-v2205[data-state="saved"] .folio-autosave-dot-v2205,
.folio-autosave-status-v2205[data-state="restored"] .folio-autosave-dot-v2205{background:#16a34a}
.folio-autosave-status-v2205[data-state="offline"] .folio-autosave-dot-v2205,
.folio-autosave-status-v2205[data-state="local"] .folio-autosave-dot-v2205{background:#2563eb}
.folio-autosave-status-v2205[data-state="error"] .folio-autosave-dot-v2205{background:#dc2626}
.folio-autosave-status-v2205>span:nth-child(2){min-width:0;flex:1}
.folio-autosave-status-v2205 button{
  border:0;background:transparent;color:#0a66c2;font:inherit;font-weight:800;cursor:pointer;white-space:nowrap;padding:2px 4px;
}
@keyframes folioAutosavePulse2205{50%{opacity:.35;transform:scale(.75)}}

@media(max-width:760px){
  .comment-replies-single-v2205{
    margin-inline-start:14px!important;
    padding-inline-start:8px!important;
    border-inline-start:1px solid #e4eaf2!important;
  }
  .comment-replies-single-v2205>.comment.reply:before{display:none!important}
  .comment-replies-single-v2205>.comment.reply,
  .comment-replies-single-v2205>.comment.comment-reply-single{
    gap:6px!important;
  }
  .comment-replies-single-v2205 .comment-main,
  .comment-replies-single-v2205 .comment-bubble,
  .comment-replies-single-v2205 .comment-actions,
  .comment-replies-single-v2205 .reply-form{
    min-width:0!important;
    max-width:100%!important;
  }
  .comment-replies-single-v2205 .comment-bubble{overflow:visible!important}
  .comment-replies-single-v2205 .comment-actions-line{row-gap:4px!important}
  .comment-reply-target-v2205{font-size:10.3px!important;max-width:calc(100vw - 126px)!important}

  .folio-editor-v177-main,
  .folio-editor-v173-main{
    padding:15px 10px 12px!important;
  }
  .folio-editor-v177-title,
  .folio-editor-v173-title{
    min-height:48px!important;
    height:auto!important;
    padding:9px 4px!important;
    font-size:17px!important;
    line-height:1.75!important;
  }
  .folio-editor-v177-body,
  .folio-editor-v173-body{
    min-height:220px!important;
    height:auto!important;
    max-height:62vh!important;
    padding:12px 4px 16px!important;
    font-size:16px!important;
    line-height:1.95!important;
    resize:vertical!important;
    overflow-y:auto!important;
  }
  .folio-editor-v177-body::placeholder,
  .folio-editor-v173-body::placeholder{font-size:14px!important}
  .folio-autosave-status-v2205{
    align-items:flex-start;
    min-height:42px;
    padding:7px 10px;
    font-size:10.8px;
    line-height:1.65;
    flex-wrap:wrap;
  }
  .folio-autosave-status-v2205 button{margin-inline-start:15px}
}

/* Folinq v199 Hotfix 7 R20.6: mobile feed/comment performance and compact favorite writers. */
.favorite-writer-row-v2206{grid-template-columns:42px minmax(0,1fr)!important;align-items:center!important;gap:10px!important}
.favorite-writer-avatar-v2206{display:block!important;width:42px!important;height:42px!important;min-width:42px!important;max-width:42px!important;flex:0 0 42px!important;aspect-ratio:1/1!important;border-radius:50%!important;overflow:hidden!important;background:#eaf1f8!important}
.favorite-writer-avatar-v2206>img,.favorite-writer-avatar-v2206 .user-avatar-unified-v2202,.favorite-writer-avatar-v2206 .user-avatar-v220{display:block!important;width:100%!important;height:100%!important;min-width:100%!important;max-width:100%!important;aspect-ratio:1/1!important;border-radius:50%!important;object-fit:cover!important;margin:0!important}
.comments-load-more-v2206{display:grid;justify-items:center;gap:6px;padding:14px 0 4px}
.comments-load-more-v2206 .btn{min-width:190px;justify-content:center}
[data-inline-expand-url][data-inline-expand-error-v2206="1"] [data-inline-more-btn]{color:#b45309!important}
@media(max-width:760px){
  .favorite-writer-row-v2206{grid-template-columns:36px minmax(0,1fr)!important;gap:8px!important;min-height:44px!important;padding-block:5px!important}
  .favorite-writer-avatar-v2206{width:36px!important;height:36px!important;min-width:36px!important;max-width:36px!important;flex-basis:36px!important}
  .favorite-writer-row-v2206 b{font-size:12.5px!important}.favorite-writer-row-v2206 small{font-size:10.8px!important;line-height:1.5!important}
  .comments-load-more-v2206{padding:12px 0 2px}.comments-load-more-v2206 .btn{width:min(100%,260px);min-height:40px}
  .comment-list>.comment-root{contain:layout style paint}
}


/* Folinq v199 Hotfix 7 R20.7: compact voter/comment avatars and reduced mobile render work. */
.poll-voter-row-v213{grid-template-columns:28px minmax(0,1fr)!important;gap:7px!important;padding:5px!important}
.poll-voter-row-v213 img,.poll-voter-row-v213 .user-avatar-unified-v2202{width:28px!important;height:28px!important;min-width:28px!important;max-width:28px!important;aspect-ratio:1/1!important;border-radius:50%!important;object-fit:cover!important}
.poll-voters-more-v2207{width:100%;min-height:34px;border:0;border-radius:9px;background:#eef6ff;color:#0a66c2;font:inherit;font-size:11px;font-weight:800;cursor:pointer}
.comment-avatar-v2207{width:34px!important;height:34px!important;min-width:34px!important;max-width:34px!important;aspect-ratio:1/1!important;border-radius:50%!important;object-fit:cover!important}
.comment-reply-single .comment-avatar-v2207{width:30px!important;height:30px!important;min-width:30px!important;max-width:30px!important}
.comment-composer-avatar-v2207{width:32px!important;height:32px!important;min-width:32px!important;max-width:32px!important;aspect-ratio:1/1!important;border-radius:50%!important;object-fit:cover!important}
.comment-replies-more-v2207{display:grid;justify-items:start;gap:3px;margin:3px 0 8px;padding-inline-start:42px}
.comment-replies-more-v2207 button{display:inline-flex;align-items:center;gap:5px;border:0;background:transparent;color:#0a66c2;font:inherit;font-size:11px;font-weight:800;cursor:pointer;padding:4px 6px;border-radius:8px}
.comment-replies-more-v2207 button:hover{background:#eef6ff}.comment-replies-more-v2207 small{font-size:10px;color:#64748b}
@media(max-width:760px){
  .poll-voters-list-v213{max-height:46vh!important;padding:7px!important;gap:2px!important}
  .poll-voter-row-v213{grid-template-columns:26px minmax(0,1fr)!important;min-height:36px!important}
  .poll-voter-row-v213 img,.poll-voter-row-v213 .user-avatar-unified-v2202{width:26px!important;height:26px!important;min-width:26px!important;max-width:26px!important}
  .comment-avatar-v2207{width:30px!important;height:30px!important;min-width:30px!important;max-width:30px!important}
  .comment-reply-single .comment-avatar-v2207{width:27px!important;height:27px!important;min-width:27px!important;max-width:27px!important}
  .comment-composer-avatar-v2207{width:29px!important;height:29px!important;min-width:29px!important;max-width:29px!important}
  .comment-replies-more-v2207{padding-inline-start:20px;margin-top:1px}
  article[data-work-card][data-work-full="0"]{content-visibility:auto;contain-intrinsic-size:auto 520px}
}

/* Folinq v199 Hotfix 7 R20.8: voter close control, smaller comments and mobile stability. */
.poll-voters-close-v2208{position:sticky;top:0;z-index:3;justify-self:end;margin-inline-start:auto;width:28px;height:28px;border:0;border-radius:50%;background:#eef4fa;color:#17324f;font-size:21px;line-height:1;cursor:pointer;display:grid;place-items:center}
.comment-avatar-v2207{width:30px!important;height:30px!important;min-width:30px!important;max-width:30px!important}
.comment-reply-single .comment-avatar-v2207{width:26px!important;height:26px!important;min-width:26px!important;max-width:26px!important}
.book-duplicate-hint-v2208{margin-top:6px;padding:9px 11px;border:1px solid #b9d8f5;border-radius:10px;background:#f3f9ff;color:#234a70;font-size:12px;line-height:1.8}.book-duplicate-hint-v2208 a{font-weight:800;color:#0a66c2}
.book-suggestion-row-v2208{display:flex;justify-content:space-between;gap:16px;align-items:center}.book-suggestion-row-v2208>div:first-child{display:grid;gap:4px}.book-suggestion-row-v2208 small{color:#64748b}.book-suggestion-actions-v2208{display:flex;gap:8px;flex-wrap:wrap}.book-suggestion-actions-v2208 form{display:flex;gap:6px}
@media(max-width:760px){
  .comment-avatar-v2207{width:27px!important;height:27px!important;min-width:27px!important;max-width:27px!important}
  .comment-reply-single .comment-avatar-v2207{width:24px!important;height:24px!important;min-width:24px!important;max-width:24px!important}
  .comment-composer-avatar-v2207{width:26px!important;height:26px!important;min-width:26px!important;max-width:26px!important}
  /* content-visibility caused intermittent blank text on some Android/WebView builds. */
  article[data-work-card][data-work-full="0"]{content-visibility:visible!important;contain-intrinsic-size:none!important;contain:layout style!important}
  .comment-list>.comment-root{contain:layout style!important}
  .poll-voters-close-v2208{position:sticky;top:2px;width:32px;height:32px;font-size:24px}
  .book-suggestion-row-v2208{align-items:stretch;flex-direction:column}.book-suggestion-actions-v2208,.book-suggestion-actions-v2208 form{width:100%}.book-suggestion-actions-v2208 input{min-width:0;flex:1}
}

/* Folinq v199 Hotfix 7 R20.8 */

/* Folinq v199 Hotfix 7 R20.9: focused mobile chat and multi-image Folio carousel. */
.folio-gallery-preview-v2209{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(112px,1fr));
  gap:10px;
  padding:10px 14px;
  background:#f8fbff;
  border-top:1px solid #e4edf7;
  border-bottom:1px solid #e4edf7;
}
.folio-gallery-preview-v2209[hidden]{display:none!important}
.folio-gallery-preview-item-v2209{
  position:relative;
  min-width:0;
  margin:0;
  border:1px solid #d9e6f3;
  border-radius:12px;
  overflow:hidden;
  background:#fff;
}
.folio-gallery-preview-item-v2209 img{display:block;width:100%;aspect-ratio:1/1;object-fit:cover;background:#edf3f8}
.folio-gallery-preview-item-v2209 figcaption{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:6px;padding:6px 8px;font-size:10px}
.folio-gallery-preview-item-v2209 figcaption b{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#e8f3ff;color:#0a66c2}
.folio-gallery-preview-item-v2209 figcaption small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#52667a}
.folio-gallery-preview-item-v2209>button{position:absolute;top:5px;inset-inline-end:5px;width:27px;height:27px;border:0;border-radius:50%;display:grid;place-items:center;background:rgba(14,31,53,.78);color:#fff;font-size:20px;line-height:1;cursor:pointer}
.folio-gallery-help-v2209{padding:7px 14px;background:#f3f9ff;color:#315b81;font-size:11px;line-height:1.7;border-bottom:1px solid #dceaf6}
.folio-gallery-help-v2209[hidden]{display:none!important}

.work-gallery-carousel-v2209{position:relative;margin:12px 0;direction:ltr;overflow:hidden;background:#eef3f8;border-radius:14px;isolation:isolate}
.work-gallery-track-v2209{display:flex;width:100%;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-behavior:smooth;overscroll-behavior-x:contain;scrollbar-width:none;touch-action:pan-x pan-y}
.work-gallery-track-v2209::-webkit-scrollbar{display:none}
.work-gallery-slide-v2209{flex:0 0 100%;width:100%;margin:0;scroll-snap-align:start;scroll-snap-stop:always;display:grid;place-items:center;aspect-ratio:4/3;background:#eef3f8}
.work-gallery-slide-v2209 img{display:block;width:100%;height:100%;max-height:680px;object-fit:contain;background:#eef3f8;user-select:none;-webkit-user-drag:none}
.work-gallery-nav-v2209{position:absolute;z-index:3;top:50%;transform:translateY(-50%);width:38px;height:38px;border:0;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.92);color:#17324f;box-shadow:0 4px 18px rgba(18,45,73,.22);cursor:pointer}
.work-gallery-nav-v2209 svg{width:18px;height:18px}.work-gallery-nav-v2209.is-prev{left:10px}.work-gallery-nav-v2209.is-next{right:10px}.work-gallery-nav-v2209:disabled{opacity:.25;cursor:default}
.work-gallery-dots-v2209{position:absolute;z-index:3;left:50%;bottom:10px;transform:translateX(-50%);display:flex;gap:5px;padding:5px 8px;border-radius:999px;background:rgba(14,31,53,.42)}
.work-gallery-dots-v2209 i{display:block;width:6px;height:6px;border-radius:999px;background:rgba(255,255,255,.55);transition:width .18s ease,background .18s ease}.work-gallery-dots-v2209 i.is-active{width:17px;background:#fff}
.work-gallery-counter-v2209{position:absolute;z-index:3;top:10px;right:10px;padding:4px 8px;border-radius:999px;background:rgba(14,31,53,.66);color:#fff;font-size:10px;font-weight:800;direction:ltr}

.chat-mobile-back-v2209{display:none}
.chat-room-avatar-v2209{display:block;width:42px!important;height:42px!important;min-width:42px!important;max-width:42px!important;aspect-ratio:1/1!important;border-radius:50%!important;object-fit:cover!important}

@media(max-width:760px){
  .folio-gallery-preview-v2209{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:8px}
  .folio-gallery-preview-item-v2209 figcaption{padding:4px 5px}.folio-gallery-preview-item-v2209 figcaption small{display:none}
  .folio-gallery-preview-item-v2209>button{width:25px;height:25px;font-size:18px}
  .folio-gallery-help-v2209{padding:6px 10px;font-size:10.5px}
  .work-gallery-carousel-v2209{margin-inline:-12px;border-radius:0}
  .work-gallery-slide-v2209{aspect-ratio:1/1;min-height:280px;max-height:72dvh}
  .work-gallery-slide-v2209 img{max-height:72dvh}
  .work-gallery-nav-v2209{width:34px;height:34px}.work-gallery-nav-v2209.is-prev{left:7px}.work-gallery-nav-v2209.is-next{right:7px}
  .work-gallery-dots-v2209{bottom:8px}.work-gallery-counter-v2209{top:8px;right:8px}

  body.q-chat-route-show-v2209{height:var(--folinq-chat-height-v2209,100dvh)!important;min-height:0!important;overflow:hidden!important;overscroll-behavior:none;background:#fff}
  body.q-chat-route-show-v2209 .topbar,
  body.q-chat-route-show-v2209 .footer-note,
  body.q-chat-route-show-v2209 .q-chat-dock{display:none!important}
  body.q-chat-route-show-v2209>main.container{
    width:100%!important;max-width:none!important;height:var(--folinq-chat-height-v2209,100dvh)!important;min-height:0!important;
    margin:0!important;padding:0!important;overflow:hidden!important;background:#fff!important;
  }
  body.q-chat-route-show-v2209>main.container>.toast{position:fixed;z-index:10000;top:8px;left:8px;right:8px;margin:0!important}
  body.q-chat-route-show-v2209 .chat-linkedin-v183{
    width:100%!important;max-width:none!important;height:var(--folinq-chat-height-v2209,100dvh)!important;min-height:0!important;
    margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#fff!important;overflow:hidden!important;
  }
  body.q-chat-route-show-v2209 .chat-global-head-v183,
  body.q-chat-route-show-v2209 .chat-linkedin-v183>.chat-filter-row-v183,
  body.q-chat-route-show-v2209 .chat-linkedin-v183>.chat-manage-panel-v208,
  body.q-chat-route-show-v2209 .chat-sidebar-v183{display:none!important}
  body.q-chat-route-show-v2209 .chat-linkedin-grid-v183{display:block!important;width:100%!important;height:100%!important;min-height:0!important;border:0!important}
  body.q-chat-route-show-v2209 .chat-room-v183{display:flex!important;flex-direction:column!important;width:100%!important;height:100%!important;min-height:0!important;border:0!important;border-radius:0!important;background:#fff!important;overflow:hidden!important}
  body.q-chat-route-show-v2209 .chat-room-head-v183{position:relative!important;z-index:10!important;flex:0 0 auto!important;min-height:58px!important;padding:7px 8px!important;gap:7px!important;border:0!important;border-bottom:1px solid #e3e9ef!important;background:#fff!important;box-shadow:0 2px 8px rgba(18,45,73,.06)!important}
  body.q-chat-route-show-v2209 .chat-mobile-back-v2209{display:grid!important;place-items:center!important;flex:0 0 38px!important;width:38px!important;height:38px!important;border-radius:50%!important;color:#17324f!important;background:transparent!important}
  body.q-chat-route-show-v2209 .chat-mobile-back-v2209 svg{width:21px!important;height:21px!important}
  body.q-chat-route-show-v2209 .chat-room-person-v183{min-width:0!important;flex:1!important;gap:8px!important}
  body.q-chat-route-show-v2209 .chat-room-person-v183>a{flex:0 0 38px!important}
  body.q-chat-route-show-v2209 .chat-room-avatar-v2209{width:38px!important;height:38px!important;min-width:38px!important;max-width:38px!important}
  body.q-chat-route-show-v2209 .chat-room-person-v183>div{min-width:0!important}
  body.q-chat-route-show-v2209 .chat-room-person-v183 b,
  body.q-chat-route-show-v2209 .chat-room-person-v183 small{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
  body.q-chat-route-show-v2209 .chat-room-person-v183>div>small{display:none!important}
  body.q-chat-route-show-v2209 .chat-presence-v183{margin-top:0!important}
  body.q-chat-route-show-v2209 .chat-room-actions-v183{gap:2px!important;flex:0 0 auto!important}
  body.q-chat-route-show-v2209 .chat-room-actions-v183>form{display:none!important}
  body.q-chat-route-show-v2209 .chat-room-actions-v183>button,
  body.q-chat-route-show-v2209 .chat-room-menu-v183>summary{width:36px!important;height:36px!important;border:0!important;background:transparent!important}
  body.q-chat-route-show-v2209 .chat-inline-search-v183{flex:0 0 auto!important;margin:0!important;border-radius:0!important;border-inline:0!important}
  body.q-chat-route-show-v2209 .chat-stream-v183{flex:1 1 auto!important;min-height:0!important;height:auto!important;max-height:none!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior-y:contain!important;-webkit-overflow-scrolling:touch;padding:12px 10px 14px!important;background:#f5f7f9!important;scrollbar-width:none}
  body.q-chat-route-show-v2209 .chat-stream-v183::-webkit-scrollbar{display:none}
  body.q-chat-route-show-v2209 .chat-typing-v183{flex:0 0 auto!important;margin:0!important;padding:4px 12px!important;background:#fff!important}
  body.q-chat-route-show-v2209 .chat-compose-v183{position:relative!important;z-index:9!important;flex:0 0 auto!important;width:100%!important;margin:0!important;padding:7px 8px calc(7px + env(safe-area-inset-bottom))!important;border:0!important;border-top:1px solid #dde5ed!important;border-radius:0!important;background:#fff!important;box-shadow:0 -3px 12px rgba(18,45,73,.06)!important}
  body.q-chat-route-show-v2209 .chat-compose-v183 textarea{min-height:42px!important;max-height:120px!important;border-radius:18px!important;padding:10px 12px!important;font-size:15px!important;line-height:1.65!important}
  body.q-chat-route-show-v2209 .chat-compose-bottom-v183{gap:4px!important;padding-top:4px!important}
  body.q-chat-route-show-v2209 .chat-compose-tools-v183{gap:1px!important;overflow-x:auto!important;scrollbar-width:none!important}
  body.q-chat-route-show-v2209 .chat-compose-tools-v183::-webkit-scrollbar{display:none}
  body.q-chat-route-show-v2209 [data-chat-template-toggle-v199],
  body.q-chat-route-show-v2209 .chat-compose-more-wrap-v184,
  body.q-chat-route-show-v2209 .chat-char-count-v183{display:none!important}
  body.q-chat-route-show-v2209 .chat-send-v183{min-width:58px!important;height:36px!important;border-radius:18px!important;padding:0 12px!important}
  body.q-chat-route-show-v2209 .chat-template-panel-v199,
  body.q-chat-route-show-v2209 .chat-emoji-picker-v183,
  body.q-chat-route-show-v2209 .chat-gif-panel-v183{max-height:38dvh!important;overflow:auto!important}
}

/* Folinq v199 Hotfix 7 R20.9 */


/* Folinq v199 Hotfix 7 R20.10 */
.folio-gallery-picker-v2210{position:relative}
.folio-gallery-picker-v2210>em{position:absolute;inset-inline-end:3px;inset-block-start:2px;display:grid;place-items:center;width:16px;height:16px;border-radius:50%;background:#0a66c2;color:#fff;font:900 14px/1 Arial,sans-serif;font-style:normal;box-shadow:0 2px 7px rgba(10,102,194,.24);pointer-events:none}
.folio-gallery-actions-v2210{display:flex;align-items:center;gap:8px;padding:8px 13px;border-bottom:1px solid #dceaf6;background:#f8fbff}
.folio-gallery-actions-v2210[hidden]{display:none!important}
.folio-gallery-actions-v2210 button{border:1px solid #b8d4ec;border-radius:999px;background:#fff;color:#174c78;padding:6px 11px;font:700 11px/1.4 Vazirmatn,Tahoma,sans-serif;cursor:pointer}
.folio-gallery-actions-v2210 button.danger{margin-inline-start:auto;border-color:#f0c7cc;color:#ad2532}
.folio-gallery-help-v2209.is-error-v2210{background:#fff3f4;color:#a72735;border-color:#f0c7cc}
@media(max-width:760px){
  .folio-gallery-actions-v2210{position:sticky;bottom:0;z-index:2;padding:7px 9px;gap:6px}
  .folio-gallery-actions-v2210 button{min-height:36px;padding:7px 10px;font-size:11px}
  .folio-gallery-picker-v2210>em{width:17px;height:17px;font-size:15px}
}

/* Folinq v199 Hotfix 7 R20.11 */
.folio-gallery-progress-v2211{position:relative;height:30px;margin:0;padding:0 12px;display:flex;align-items:center;overflow:hidden;border-bottom:1px solid #dceaf6;background:#f5faff;color:#174c78}
.folio-gallery-progress-v2211[hidden]{display:none!important}
.folio-gallery-progress-v2211 span{position:absolute;inset:0 auto 0 0;width:0;background:linear-gradient(90deg,rgba(10,102,194,.12),rgba(10,102,194,.24));animation:folio-gallery-progress-v2211 1.05s ease-in-out infinite alternate}
.folio-gallery-progress-v2211 b{position:relative;z-index:1;font:700 10.5px/1.4 Vazirmatn,Tahoma,sans-serif}
.folio-gallery-preview-item-v2211 figcaption{display:grid;grid-template-columns:auto 1fr;grid-template-areas:"index name" "state state";column-gap:5px;align-items:center}
.folio-gallery-preview-item-v2211 figcaption b{grid-area:index}.folio-gallery-preview-item-v2211 figcaption small{grid-area:name;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.folio-gallery-preview-item-v2211 figcaption em{grid-area:state;font-style:normal;font-size:9px;color:#55738f}
.folio-gallery-preview-item-v2211.status-uploading{opacity:.78}.folio-gallery-preview-item-v2211.status-uploading img{filter:saturate(.72)}
.folio-gallery-preview-item-v2211.status-fallback{outline:1px dashed #d9a441;outline-offset:-1px}
.folio-gallery-preview-item-v2211>button:disabled{opacity:.35;cursor:wait}
@keyframes folio-gallery-progress-v2211{from{transform:translateX(-18%)}to{transform:translateX(75%)}}
@media(max-width:760px){
  .folio-gallery-progress-v2211{height:28px;padding-inline:9px}.folio-gallery-progress-v2211 b{font-size:10px}
  .folio-gallery-preview-item-v2211 figcaption em{font-size:8px}
}


/* Folinq v199 Hotfix 7 R20.12 */
.folio-gallery-native-note-v2212{margin:0;padding:7px 13px;border-bottom:1px solid #dceaf6;background:#f8fbff;color:#526b82;font:600 10.5px/1.8 Vazirmatn,Tahoma,sans-serif}
.folio-gallery-picker-v2210 input[data-gallery-native-multiselect-v2212]{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
@media(max-width:760px){.folio-gallery-native-note-v2212{padding:7px 9px;font-size:10px;line-height:1.75}}

/* Folinq v199 Hotfix 7 R20.12.1: cumulative R20.11 backend plus native multi-select frontend. */


/* Folinq v199 Hotfix 7 R20.12.2 */
.folio-gallery-preview-v2209.has-items-v22122{display:grid!important;visibility:visible!important;min-height:110px}
.folio-gallery-preview-v2209.has-items-v22122 img{visibility:visible!important;opacity:1!important}
.work-gallery-carousel-v2209{contain:layout paint;touch-action:pan-y}
.work-gallery-track-v2209{touch-action:pan-x pan-y}
.work-gallery-nav-v2209{display:grid!important;pointer-events:auto!important;touch-action:manipulation!important;z-index:8!important;font:800 31px/1 Arial,sans-serif!important}
.work-gallery-nav-v2209 span{display:block;transform:translateY(-1px)}
.work-gallery-nav-v2209:disabled{opacity:.28!important;pointer-events:none!important}
.work-gallery-dots-v2209{z-index:8!important;pointer-events:auto!important}
.work-gallery-dots-v2209 button,.work-gallery-dots-v2209 i{display:block;width:7px;height:7px;padding:0;border:0;border-radius:999px;background:rgba(255,255,255,.62);transition:width .18s ease,background .18s ease;cursor:pointer}
.work-gallery-dots-v2209 button.is-active,.work-gallery-dots-v2209 i.is-active{width:18px;background:#fff}
.chat-template-create-v22122{display:grid;gap:7px;padding-top:9px}
.chat-template-create-v22122 input,.chat-template-create-v22122 textarea{width:100%}
@media(max-width:760px){
  .work-gallery-nav-v2209{width:38px!important;height:38px!important;font-size:29px!important;background:rgba(255,255,255,.96)!important}
  .work-gallery-dots-v2209{bottom:9px!important}
  .folio-gallery-preview-v2209.has-items-v22122{min-height:96px}
}


/* Folinq v199 Hotfix 7 R20.12.3 */
.chat-end-anchor-v22123{display:block;flex:0 0 auto;width:100%;height:8px;scroll-margin-block-end:12px}
.chat-attachment-preview-v22123{align-items:center;gap:9px}
.chat-attachment-preview-v22123>img{display:block;flex:0 0 54px;width:54px;height:54px;border-radius:10px;object-fit:cover;background:#e8eef5;border:1px solid #d4e0eb}
.chat-attachment-preview-v22123>span{min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-areas:"icon name" "icon source";column-gap:7px;align-items:center}
.chat-attachment-preview-v22123>span>svg{grid-area:icon}.chat-attachment-preview-v22123>span>b{grid-area:name;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-attachment-preview-v22123>span>small{grid-area:source;color:#60758a;font-size:10px}
.chat-message-pending-v22123{opacity:.76;pointer-events:none}.chat-message-pending-v22123 .chat-message-bubble-v183{position:relative}.chat-pending-image-v22123{display:block;max-width:min(290px,72vw);max-height:300px;border-radius:10px;object-fit:cover;margin-top:5px}.chat-pending-state-v22123{display:inline-flex;align-items:center;gap:6px;margin-top:5px;color:#60758a;font-size:10px}.chat-pending-state-v22123:before{content:"";width:10px;height:10px;border:2px solid currentColor;border-inline-end-color:transparent;border-radius:50%;animation:chatPendingSpinV22123 .7s linear infinite}@keyframes chatPendingSpinV22123{to{transform:rotate(360deg)}}

.work-gallery-pro-v22123{position:relative;margin:12px 0;direction:ltr;overflow:hidden;border-radius:16px;background:radial-gradient(circle at 50% 15%,#263b50 0,#111d29 58%,#09121b 100%);isolation:isolate;box-shadow:0 8px 28px rgba(15,35,55,.14)}
.work-gallery-viewport-v22123{position:relative;width:100%;overflow:hidden;touch-action:pan-y;outline:none;cursor:grab}.work-gallery-viewport-v22123:active{cursor:grabbing}
.work-gallery-track-v22123{display:flex;width:100%;transform:translate3d(0,0,0);transition:transform .42s cubic-bezier(.22,.72,.18,1);will-change:transform}
.work-gallery-slide-v22123{
  flex:0 0 100%;width:100%;min-width:0;margin:0;
  display:grid;grid-template:minmax(0,1fr) / minmax(0,1fr);place-items:center;
  aspect-ratio:4/3;overflow:hidden;background:transparent;
}
.work-gallery-slide-v22123 img{display:block;width:100%;height:100%;max-height:680px;object-fit:contain;background:transparent;user-select:none;-webkit-user-drag:none}
.work-gallery-arrow-v22123{position:absolute;z-index:7;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid rgba(255,255,255,.38);border-radius:50%;background:rgba(8,20,32,.54);color:#fff;box-shadow:0 7px 24px rgba(0,0,0,.26),inset 0 1px 0 rgba(255,255,255,.16);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);cursor:pointer;transition:transform .18s ease,background .18s ease,opacity .18s ease}
.work-gallery-arrow-v22123:hover{background:rgba(8,20,32,.74);transform:translateY(-50%) scale(1.05)}.work-gallery-arrow-v22123:active{transform:translateY(-50%) scale(.95)}.work-gallery-arrow-v22123:disabled{opacity:.22;cursor:default;transform:translateY(-50%)}
.work-gallery-arrow-v22123.is-prev{left:12px}.work-gallery-arrow-v22123.is-next{right:12px}
.work-gallery-arrow-v22123>span{display:block;width:11px;height:11px;border-top:2.5px solid currentColor;border-right:2.5px solid currentColor}.work-gallery-arrow-v22123.is-prev>span{transform:translateX(2px) rotate(-135deg)}.work-gallery-arrow-v22123.is-next>span{transform:translateX(-2px) rotate(45deg)}
.work-gallery-status-v22123{position:absolute;z-index:7;left:50%;bottom:12px;transform:translateX(-50%);display:flex;align-items:center;gap:9px;max-width:calc(100% - 120px);padding:6px 10px;border:1px solid rgba(255,255,255,.26);border-radius:999px;background:rgba(8,20,32,.55);box-shadow:0 4px 16px rgba(0,0,0,.2);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.work-gallery-dots-v22123{display:flex;align-items:center;gap:5px;min-width:0}.work-gallery-dots-v22123 button{display:block;width:6px;height:6px;padding:0;border:0;border-radius:999px;background:rgba(255,255,255,.48);cursor:pointer;transition:width .2s ease,background .2s ease,transform .2s ease}.work-gallery-dots-v22123 button:hover{transform:scale(1.25);background:rgba(255,255,255,.8)}.work-gallery-dots-v22123 button.is-active{width:18px;background:#fff}
.work-gallery-counter-v22123{color:#fff;font:800 10px/1.2 Vazirmatn,Tahoma,sans-serif;direction:ltr;white-space:nowrap}
@media(max-width:760px){
  body.q-chat-route-show-v2209 .chat-stream-v183{padding-bottom:22px!important;scroll-padding-bottom:24px!important}
  body.q-chat-route-show-v2209 .chat-compose-v183{background:rgba(255,255,255,.82)!important;backdrop-filter:blur(18px) saturate(1.18)!important;-webkit-backdrop-filter:blur(18px) saturate(1.18)!important;border-top-color:rgba(201,214,226,.72)!important;box-shadow:0 -8px 28px rgba(18,45,73,.1)!important}
  .chat-end-anchor-v22123{height:12px}
  .chat-attachment-preview-v22123>img{width:48px;height:48px;flex-basis:48px}
  .work-gallery-pro-v22123{border-radius:0;box-shadow:none}
  .work-gallery-slide-v22123{aspect-ratio:1/1;min-height:280px;max-height:72dvh}.work-gallery-slide-v22123 img{max-height:72dvh}
  .work-gallery-arrow-v22123{width:40px;height:40px;background:rgba(8,20,32,.62)}.work-gallery-arrow-v22123.is-prev{left:8px}.work-gallery-arrow-v22123.is-next{right:8px}
  .work-gallery-status-v22123{bottom:9px;max-width:calc(100% - 104px);padding:6px 9px}
}

/* Folinq v199 Hotfix 7 R20.12.4: clickable carousel controls on desktop and mobile. */
.work-gallery-pro-v22123{z-index:4!important;pointer-events:auto!important}
.work-gallery-arrow-v22123{z-index:30!important;pointer-events:auto!important;touch-action:manipulation!important;user-select:none!important;-webkit-user-select:none!important;-webkit-tap-highlight-color:transparent}
.work-gallery-arrow-v22123>*{pointer-events:none!important}
.work-gallery-dots-v22123 button{position:relative;z-index:31;pointer-events:auto!important;touch-action:manipulation!important;-webkit-tap-highlight-color:transparent}


/* Folinq v199 Hotfix 7 R20.12.5: softer gallery frame and create-preview media flow fix. */
.work-gallery-pro-v22123{
  background:linear-gradient(180deg,#f4f9ff 0%,#ffffff 12%,#ffffff 88%,#f4f9ff 100%)!important;
  box-shadow:0 8px 28px rgba(15,35,55,.10)!important;
}
.work-gallery-pro-v22123::before,
.work-gallery-pro-v22123::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  height:22%;
  pointer-events:none;
  z-index:1;
}
.work-gallery-pro-v22123::before{top:0;background:linear-gradient(180deg,rgba(10,102,194,.10),rgba(10,102,194,0));}
.work-gallery-pro-v22123::after{bottom:0;background:linear-gradient(0deg,rgba(10,102,194,.10),rgba(10,102,194,0));}
.work-gallery-viewport-v22123,
.work-gallery-track-v22123,
.work-gallery-slide-v22123,
.work-gallery-slide-v22123 img{position:relative;z-index:2}
.work-gallery-arrow-v22123,
.work-gallery-status-v22123{z-index:8!important}

[data-work-composer-v198] .work-gallery-pro-v22123,
[data-work-composer-v198] .work-gallery-carousel-v2209,
[data-work-composer-v198] [data-work-carousel-v22123],
[data-work-composer-v198] [data-work-carousel-v2209],
form[data-work-form] .work-gallery-pro-v22123,
form[data-work-form] .work-gallery-carousel-v2209,
form[data-work-form] [data-work-carousel-v22123],
form[data-work-form] [data-work-carousel-v2209]{
  position:relative!important;
  inset:auto!important;
  float:none!important;
  clear:both!important;
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  margin-top:14px!important;
  margin-bottom:0!important;
  z-index:2!important;
}
[data-work-composer-v198] article[data-work-card],
[data-work-composer-v198] .feed-inline-preview,
[data-work-composer-v198] .work-preview-card,
form[data-work-form] article[data-work-card],
form[data-work-form] .feed-inline-preview,
form[data-work-form] .work-preview-card{
  overflow:visible!important;
  contain:none!important;
}
[data-work-composer-v198] .work-gallery-pro-v22123 + *,
[data-work-composer-v198] .work-gallery-carousel-v2209 + *,
form[data-work-form] .work-gallery-pro-v22123 + *,
form[data-work-form] .work-gallery-carousel-v2209 + *{clear:both!important}

@media(max-width:760px){
  .work-gallery-pro-v22123{
    background:linear-gradient(180deg,#f6fbff 0%,#ffffff 15%,#ffffff 85%,#f6fbff 100%)!important;
  }
  .work-gallery-pro-v22123::before,
  .work-gallery-pro-v22123::after{height:18%}
}


/* Folinq v199 Hotfix 7 R20.12.6: compact comments and restored mobile voice control. */
.comment-avatar-v2207{
  width:26px!important;height:26px!important;min-width:26px!important;max-width:26px!important;
  flex:0 0 26px!important;aspect-ratio:1/1!important;border-radius:50%!important;object-fit:cover!important;
}
.comment-reply-single .comment-avatar-v2207,
.comment.reply .comment-avatar-v2207{
  width:22px!important;height:22px!important;min-width:22px!important;max-width:22px!important;flex-basis:22px!important;
}
.comment-composer-avatar-v2207{
  width:26px!important;height:26px!important;min-width:26px!important;max-width:26px!important;flex:0 0 26px!important;
  aspect-ratio:1/1!important;border-radius:50%!important;object-fit:cover!important;
}
.comment-avatar-v2207.user-avatar-crop-v219,
.comment-composer-avatar-v2207.user-avatar-crop-v219,
.comment-avatar-v2207 .user-avatar-crop-image-v219,
.comment-composer-avatar-v2207 .user-avatar-crop-image-v219{width:100%!important;height:100%!important;border-radius:50%!important}

.chat-compose-tools-v183 .chat-voice-record-v210,
.chat-compose-tools-v183 [data-chat-voice-record-v199]{
  display:inline-grid!important;visibility:visible!important;opacity:1!important;place-items:center!important;
  flex:0 0 38px!important;width:38px!important;min-width:38px!important;max-width:38px!important;
  height:38px!important;min-height:38px!important;max-height:38px!important;padding:0!important;
  pointer-events:auto!important;touch-action:manipulation!important;-webkit-tap-highlight-color:transparent!important;
}
.chat-compose-tools-v183 [data-chat-voice-record-v199] .li-icon{display:block!important;width:20px!important;height:20px!important}
.chat-voice-preview-v210 audio{display:block;max-width:min(260px,48vw);height:34px}

@media(max-width:760px){
  .comment-avatar-v2207{width:24px!important;height:24px!important;min-width:24px!important;max-width:24px!important;flex-basis:24px!important}
  .comment-reply-single .comment-avatar-v2207,.comment.reply .comment-avatar-v2207{width:20px!important;height:20px!important;min-width:20px!important;max-width:20px!important;flex-basis:20px!important}
  .comment-composer-avatar-v2207{width:24px!important;height:24px!important;min-width:24px!important;max-width:24px!important;flex-basis:24px!important}
  body.q-chat-route-show-v2209 .chat-compose-tools-v183 .chat-voice-record-v210,
  body.q-chat-route-show-v2209 .chat-compose-tools-v183 [data-chat-voice-record-v199]{
    display:inline-grid!important;visibility:visible!important;opacity:1!important;order:4!important;position:relative!important;z-index:12!important;
  }
  .chat-voice-preview-v210{display:flex!important;flex-wrap:wrap!important;gap:7px!important}
  .chat-voice-preview-v210[hidden]{display:none!important}
  .chat-voice-preview-v210 audio{order:3;width:100%!important;max-width:100%!important;height:34px!important}
}


/* Folinq v199 Hotfix 7 R20.12.7: restore compact mobile corner ribbon. */
@media (max-width:760px){
  html body article.post[data-work-card],
  html body .post[data-work-card]{
    position:relative!important;
    overflow:visible!important;
  }
  html body article.post[data-work-card] > .visibility-ribbon,
  html body .post[data-work-card] > .visibility-ribbon{
    position:absolute!important;
    inset:auto!important;
    top:0!important;
    left:0!important;
    right:auto!important;
    width:44px!important;
    min-width:44px!important;
    max-width:44px!important;
    height:44px!important;
    min-height:44px!important;
    max-height:44px!important;
    margin:0!important;
    padding:0!important;
    display:block!important;
    transform:none!important;
    border:0!important;
    border-radius:14px 0 0 0!important;
    clip-path:polygon(14px 0,100% 0,0 100%,0 14px)!important;
    -webkit-clip-path:polygon(14px 0,100% 0,0 100%,0 14px)!important;
    box-shadow:none!important;
    color:#fff!important;
    background:#0a66c2!important;
    z-index:40!important;
    pointer-events:auto!important;
    overflow:hidden!important;
  }
  html body .post[data-work-card] > .visibility-ribbon.visibility-public{background:#0a66c2!important}
  html body .post[data-work-card] > .visibility-ribbon.visibility-followers{background:#f59e0b!important}
  html body .post[data-work-card] > .visibility-ribbon.visibility-private{background:#dc2626!important}
  html body .post[data-work-card] > .visibility-ribbon svg{
    display:block!important;
    position:absolute!important;
    top:9px!important;
    left:9px!important;
    width:12px!important;
    height:12px!important;
    min-width:12px!important;
    min-height:12px!important;
    color:#fff!important;
    stroke:currentColor!important;
    fill:none!important;
    transform:none!important;
    z-index:2!important;
    pointer-events:none!important;
  }
  html body .post[data-work-card] > .visibility-ribbon i,
  html body .post[data-work-card] > .visibility-ribbon span,
  html body .post[data-work-card] > .visibility-ribbon::before,
  html body .post[data-work-card] > .visibility-ribbon::after{display:none!important;content:none!important}
  html body .post[data-work-card] > .visibility-ribbon + .post-head{
    padding-top:12px!important;
    padding-left:50px!important;
    min-height:54px!important;
  }
  html body .post[data-work-card] > .post-head > .dropdown{
    position:relative!important;
    z-index:45!important;
    flex:0 0 auto!important;
  }
  html body .post[data-work-card] > .post-head > .dropdown > .more{
    position:relative!important;
    z-index:46!important;
    pointer-events:auto!important;
    touch-action:manipulation!important;
  }
}


/* Folinq v199 Hotfix 7 R20.12.8 Fix 1: PWA badge bridge, online users, image-text range containment, visible profile visit time. */
.folio-template-studio-v1992,
.folio-template-studio-v1992 .folio-template-controls-v1992,
.folio-template-studio-v1992 .folio-template-custom-controls-v1992{
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
.folio-template-studio-v1992 .folio-template-custom-controls-v1992{
  width:100%!important;
  overflow:hidden!important;
  overflow:clip!important;
}
.folio-template-studio-v1992 .folio-template-custom-controls-v1992>label{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
.folio-template-studio-v1992 .folio-template-custom-controls-v1992>label:has(input[type="range"]){
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(92px,122px)!important;
  align-items:center!important;
  gap:8px!important;
  overflow:hidden!important;
}
.folio-template-studio-v1992 .folio-template-custom-controls-v1992 input[type="range"]{
  display:block!important;
  position:static!important;
  inset:auto!important;
  transform:none!important;
  justify-self:stretch!important;
  inline-size:100%!important;
  width:100%!important;
  min-inline-size:0!important;
  min-width:0!important;
  max-inline-size:122px!important;
  max-width:122px!important;
  margin:0!important;
  padding:0!important;
  box-sizing:border-box!important;
  direction:ltr!important;
}

.folinq-online-admin-r20128{margin:0 0 18px;border-color:#cfe0f2!important;background:linear-gradient(180deg,#fff,#f7fbff)!important}
.folinq-online-head-r20128{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}
.folinq-online-head-r20128 h2{margin:0;display:flex;align-items:center;gap:8px;font-size:18px;color:#12304f}
.folinq-online-head-r20128 h2:before{content:"";width:10px;height:10px;border-radius:50%;background:#16a34a;box-shadow:0 0 0 5px rgba(22,163,74,.12)}
.folinq-online-head-r20128 small{color:#64748b}
.folinq-online-metrics-r20128{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:13px}
.folinq-online-metric-r20128{border:1px solid #dce8f3;border-radius:14px;background:#fff;padding:12px;display:grid;gap:3px;min-width:0}
.folinq-online-metric-r20128 span{font-size:12px;color:#657b91}
.folinq-online-metric-r20128 b{font-size:22px;color:#0a66c2}
.folinq-online-list-r20128{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.folinq-online-user-r20128{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:9px;border:1px solid #e0eaf4;border-radius:13px;background:#fff;padding:8px 10px;color:inherit;text-decoration:none;min-width:0}
.folinq-online-user-r20128 img{width:38px;height:38px;border-radius:50%;object-fit:cover;border:2px solid #fff;box-shadow:0 0 0 1px #d9e4ef}
.folinq-online-user-r20128>span{display:grid;min-width:0}
.folinq-online-user-r20128 b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#153451;font-size:13px}
.folinq-online-user-r20128 em{font-style:normal;color:#6b8095;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.folinq-online-user-r20128 small{color:#15803d;font-size:11px;white-space:nowrap}
.folinq-online-empty-r20128{grid-column:1/-1;padding:16px;text-align:center;color:#6b8095;border:1px dashed #d7e3ef;border-radius:12px;background:#fbfdff}

.profile-viewers-card .viewer-avatar-row{display:grid!important;grid-template-columns:1fr!important;gap:7px!important;align-items:stretch!important}
.profile-viewers-card .viewer-avatar-row .profile-viewer-item-r20128{
  width:100%!important;height:auto!important;min-height:48px!important;max-width:none!important;
  display:grid!important;grid-template-columns:34px minmax(0,1fr)!important;align-items:center!important;gap:9px!important;
  margin:0!important;padding:7px 9px!important;border:1px solid #e0eaf4!important;border-radius:12px!important;
  background:#fbfdff!important;color:inherit!important;text-decoration:none!important;box-sizing:border-box!important;overflow:hidden!important;
}
.profile-viewers-card .viewer-avatar-row .profile-viewer-item-r20128>img{
  width:34px!important;height:34px!important;min-width:34px!important;max-width:34px!important;border-radius:50%!important;
  object-fit:cover!important;margin:0!important;border:2px solid #fff!important;box-shadow:0 0 0 1px #d6e3ef!important;
}
.profile-viewer-item-r20128>span{display:grid!important;gap:1px!important;min-width:0!important;text-align:start!important}
.profile-viewer-item-r20128>span>b{font-size:12px!important;color:#173451!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.profile-viewer-item-r20128>span>small{font-size:10.5px!important;color:#0a66c2!important;white-space:nowrap!important}

@media(max-width:760px){
  .folio-template-studio-v1992 .folio-template-custom-controls-v1992>label:has(input[type="range"]){grid-template-columns:minmax(0,1fr) 108px!important}
  .folio-template-studio-v1992 .folio-template-custom-controls-v1992 input[type="range"]{max-inline-size:108px!important;max-width:108px!important}
  .folinq-online-metrics-r20128{grid-template-columns:1fr 1fr}
  .folinq-online-metric-r20128:first-child{grid-column:1/-1}
  .folinq-online-list-r20128{grid-template-columns:1fr}
}

/* Folinq v199 Hotfix 7 R20.12.9: viewport-safe mobile message actions and low-latency submit feedback. */
@media (max-width:700px){
  body.q-chat-route-show-v2209 .chat-stream-v183{
    overflow-x:hidden!important;
  }
  body.q-chat-route-show-v2209 .chat-message-v183{
    box-sizing:border-box!important;
    max-width:min(100%,calc(100vw - 16px))!important;
    padding-inline-end:58px!important;
  }
  body.q-chat-route-show-v2209 .chat-message-v183.mine{
    padding-inline-end:0!important;
    padding-inline-start:58px!important;
  }
  body.q-chat-route-show-v2209 .chat-message-content-v183{
    min-width:0!important;
    max-width:100%!important;
  }
  body.q-chat-route-show-v2209 .chat-message-hover-v183{
    position:absolute!important;
    inset-block-end:22px!important;
    inset-inline-end:3px!important;
    inset-block-start:auto!important;
    inset-inline-start:auto!important;
    display:flex!important;
    align-items:center!important;
    gap:3px!important;
    width:auto!important;
    max-width:56px!important;
    margin:0!important;
    padding:0!important;
    opacity:1!important;
    transform:none!important;
    z-index:70!important;
  }
  body.q-chat-route-show-v2209 .chat-message-v183.mine .chat-message-hover-v183{
    inset-inline-end:auto!important;
    inset-inline-start:3px!important;
  }
  body.q-chat-route-show-v2209 .chat-message-hover-v183 summary{
    width:27px!important;
    min-width:27px!important;
    height:27px!important;
    min-height:27px!important;
    padding:0!important;
    touch-action:manipulation!important;
  }
  body.q-chat-route-show-v2209 .chat-message-menu-v183>div{
    width:min(195px,calc(100vw - 16px))!important;
    max-width:calc(100vw - 16px)!important;
  }
  body.q-chat-route-show-v2209 .chat-reaction-menu-v183>div{
    max-width:calc(100vw - 16px)!important;
    overflow-x:auto!important;
    overscroll-behavior-inline:contain!important;
    scrollbar-width:none!important;
  }
  body.q-chat-route-show-v2209 .chat-reaction-menu-v183>div::-webkit-scrollbar{display:none!important}
}

.post-modal-card.is-loading.folio-publish-feedback-r20129{opacity:1}
.post-modal-card.is-loading.folio-publish-feedback-r20129::before{display:none}
.folio-publish-anchor-r20129{position:relative;overflow:visible}
.folio-publish-anchor-r20129>.folio-publish-pending-r20129{
  position:absolute;bottom:calc(100% + 8px);left:50%;right:auto;transform:translateX(-50%);z-index:60;
  display:flex;align-items:center;justify-content:center;gap:7px;width:max-content;max-width:calc(100% - 16px);margin:0;padding:8px 12px;
  border:0;border-radius:5px;background:#111;color:#fff;box-shadow:0 4px 14px rgba(0,0,0,.18);
  font-size:12px;font-weight:500;line-height:1.5;white-space:nowrap;box-sizing:border-box;pointer-events:none;
}
.folio-publish-pending-r20129>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:inherit}
.folio-publish-pending-r20129::before{
  content:"";width:13px;height:13px;flex:0 0 13px;border:2px solid rgba(255,255,255,.35);border-top-color:#fff;
  border-radius:50%;animation:folinqSpinR20129 .72s linear infinite;
}
.folio-feed-pending-r20129{
  position:relative;overflow:hidden;opacity:.82;pointer-events:none;
}
.folio-feed-pending-r20129 .post-title{color:#244a6b}
.folio-feed-pending-r20129 .post-body{max-height:86px;overflow:hidden}
@keyframes folinqSpinR20129{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.folio-publish-pending-r20129::before{animation:none}}

/* Folinq v199 Hotfix 7 R20.12.9 Fix 1: adaptive safe installer for live controller variants. */


/* Folinq v199 Hotfix 7 R20.12.10: create-Folio long-text/media preview flow isolation. */
form[data-work-composer-v198][data-fast-work-form]{
  --folio-create-media-gap-r201210:12px;
}
form[data-work-composer-v198][data-fast-work-form] .folio-editor-v177-main,
form[data-work-composer-v198][data-fast-work-form] .folio-editor-v173-main{
  position:relative!important;
  inset:auto!important;
  display:flow-root!important;
  float:none!important;
  clear:both!important;
  width:auto!important;
  max-width:100%!important;
  height:auto!important;
  max-height:none!important;
  min-height:0!important;
  overflow:visible!important;
  contain:none!important;
  transform:none!important;
  isolation:isolate!important;
  box-sizing:border-box!important;
  z-index:1!important;
}
form[data-work-composer-v198][data-fast-work-form] .folio-editor-v177-title,
form[data-work-composer-v198][data-fast-work-form] .folio-editor-v173-title,
form[data-work-composer-v198][data-fast-work-form] .folio-editor-v177-body,
form[data-work-composer-v198][data-fast-work-form] .folio-editor-v173-body,
form[data-work-composer-v198][data-fast-work-form] [data-editor-body]{
  position:relative!important;
  inset:auto!important;
  display:block!important;
  float:none!important;
  clear:both!important;
  transform:none!important;
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
  z-index:1!important;
}
form[data-work-composer-v198][data-fast-work-form] [data-image-preview],
form[data-work-composer-v198][data-fast-work-form] .folio-image-preview-v177,
form[data-work-composer-v198][data-fast-work-form] .folio-image-preview-v178,
form[data-work-composer-v198][data-fast-work-form] [data-gallery-preview-v198],
form[data-work-composer-v198][data-fast-work-form] .folio-gallery-preview-v198,
form[data-work-composer-v198][data-fast-work-form] .folio-gallery-preview-v2209{
  position:relative!important;
  inset:auto!important;
  top:auto!important;
  right:auto!important;
  bottom:auto!important;
  left:auto!important;
  float:none!important;
  clear:both!important;
  transform:none!important;
  translate:none!important;
  width:auto!important;
  max-width:100%!important;
  box-sizing:border-box!important;
  margin-block-start:var(--folio-create-media-gap-r201210)!important;
  z-index:3!important;
}
form[data-work-composer-v198][data-fast-work-form] [data-image-preview][hidden],
form[data-work-composer-v198][data-fast-work-form] [data-gallery-preview-v198][hidden]{display:none!important}
form[data-work-composer-v198][data-fast-work-form] [data-image-preview] img,
form[data-work-composer-v198][data-fast-work-form] [data-gallery-preview-v198] img{
  position:relative!important;
  z-index:1!important;
}
form[data-work-composer-v198][data-fast-work-form].folio-create-media-flow-r201210 .folio-editor-v177-main,
form[data-work-composer-v198][data-fast-work-form].folio-create-media-flow-r201210 .folio-editor-v173-main{
  margin-block-end:0!important;
}
@media(max-width:760px){
  form[data-work-composer-v198][data-fast-work-form]{--folio-create-media-gap-r201210:10px}
}

/* Folinq R20.12.13 blue-dot: replaces the Folio emoji reaction toolbar. */
.folinq-dot-action-v221213{display:inline-flex!important;align-items:center!important;justify-content:center!important;position:relative}
.folinq-blue-dot-v221213{display:inline-block;width:11px;height:11px;border-radius:999px;background:#2d79ff;box-shadow:0 0 0 3px rgba(45,121,255,.10);transition:transform .16s ease,box-shadow .16s ease,opacity .16s ease;flex:0 0 auto}
.folinq-dot-action-v221213 .folinq-blue-dot-v221213{opacity:.62}
.folinq-dot-action-v221213:hover .folinq-blue-dot-v221213,.folinq-dot-action-v221213:focus-visible .folinq-blue-dot-v221213{opacity:1;transform:scale(1.12);box-shadow:0 0 0 5px rgba(45,121,255,.12)}
.folinq-dot-action-v221213.is-active .folinq-blue-dot-v221213{opacity:1;transform:scale(1.14);box-shadow:0 0 0 5px rgba(45,121,255,.18),0 0 13px rgba(45,121,255,.32)}
.folinq-dot-action-v221213.is-pending-v221213 .folinq-blue-dot-v221213{opacity:.42}
.folinq-dot-count-v221213{display:inline-flex;align-items:center;gap:5px;min-height:20px;color:#5c7188;font-weight:800;font-size:12px;line-height:1}
.folinq-dot-count-v221213 .folinq-blue-dot-v221213{width:8px;height:8px;box-shadow:none}
.folinq-dot-count-v221213[hidden]{display:none!important}
@media(max-width:700px){.folinq-blue-dot-v221213{width:10px;height:10px}.folinq-dot-action-v221213.is-active .folinq-blue-dot-v221213{box-shadow:0 0 0 4px rgba(45,121,255,.18),0 0 11px rgba(45,121,255,.28)}}
/* Folinq R20.12.13 Fix 1: resilient blue dot + comment reaction collapse. */
.folinq-dot-action-v221213>.folinq-blue-dot-v221213{display:none!important}
.folinq-dot-action-v221213::before{content:""!important;display:block!important;width:12px!important;height:12px!important;min-width:12px!important;min-height:12px!important;border:0!important;border-radius:999px!important;background-color:#2d79ff!important;background-image:none!important;box-shadow:0 0 0 3px rgba(45,121,255,.12)!important;opacity:.72!important;visibility:visible!important;transform:none!important;flex:0 0 12px!important;pointer-events:none!important}
.folinq-dot-action-v221213:hover::before,.folinq-dot-action-v221213:focus-visible::before{opacity:1!important;transform:scale(1.08)!important;box-shadow:0 0 0 5px rgba(45,121,255,.14)!important}
.folinq-dot-action-v221213.is-active::before{opacity:1!important;transform:scale(1.12)!important;box-shadow:0 0 0 5px rgba(45,121,255,.20),0 0 14px rgba(45,121,255,.34)!important}
.folinq-dot-action-v221213.is-pending-v221213::before{opacity:.42!important}
.folinq-dot-count-v221213>.folinq-blue-dot-v221213{display:none!important}
.folinq-dot-count-v221213::before{content:""!important;display:block!important;width:8px!important;height:8px!important;min-width:8px!important;min-height:8px!important;border-radius:999px!important;background-color:#2d79ff!important;background-image:none!important;box-shadow:none!important;opacity:1!important;visibility:visible!important;flex:0 0 8px!important}
.comment-folinq-dot-form-v221213f1{display:inline-flex!important;align-items:center!important;margin:0!important;padding:0!important}
.comment-actions .folinq-comment-dot-action-v221213f1{display:inline-flex!important;align-items:center!important;justify-content:center!important}
.folinq-comment-dot-summary-v221213f1[hidden]{display:none!important}
.folinq-comment-dot-summary-v221213f1{display:inline-flex!important;align-items:center!important;text-decoration:none!important}
.folinq-comment-dot-count-v221213f1{display:inline-flex!important;align-items:center!important;gap:5px!important}
@media(max-width:700px){.folinq-dot-action-v221213::before{width:11px!important;height:11px!important;min-width:11px!important;min-height:11px!important;flex-basis:11px!important}}
/* Folinq poll LinkedIn progress fill v1
   After a user has voted, each option uses its existing percentage width as
   a full-height background fill. Before voting, options stay neutral. */
.poll-card.is-voted-v211 .poll-option,
.poll-option.readonly{
  isolation:isolate!important;
  background:#fff!important;
}
.poll-card.is-voted-v211 .poll-option>i[data-poll-bar-v211],
.poll-option.readonly>i{
  position:absolute!important;
  inset-inline-start:0!important;
  top:0!important;
  bottom:0!important;
  height:100%!important;
  min-height:100%!important;
  max-height:none!important;
  border-radius:inherit!important;
  background:#dfeefa!important;
  opacity:.92!important;
  pointer-events:none!important;
  transition:width .24s ease!important;
  z-index:0!important;
}
.poll-card.is-voted-v211 .poll-option.is-selected-v211>i[data-poll-bar-v211]{
  background:#c9e4fb!important;
}
.poll-card.is-voted-v211 .poll-option>input,
.poll-card.is-voted-v211 .poll-option>span,
.poll-card.is-voted-v211 .poll-option>small,
.poll-card.is-voted-v211 .poll-option>b,
.poll-option.readonly>span,
.poll-option.readonly>small,
.poll-option.readonly>b{
  position:relative!important;
  z-index:1!important;
}

/* Folinq feed cover preview geometry v1
   The cover-image runtime already creates a valid blob URL and unhides the
   preview/remove controls.  This block fixes the feed composer box collapsing
   to its borders while the 240px image overflows inside an overflow:hidden box.
   Desktop and mobile share the same stable preview geometry. */

form[data-work-composer-v198][data-fast-work-form] [data-image-preview]:not([hidden]){
  display:block!important;
  position:relative!important;
  inset:auto!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
  isolation:isolate!important;
}

form[data-work-composer-v198][data-fast-work-form] [data-image-preview]:not([hidden]) [data-image-preview-img]{
  display:block!important;
  position:relative!important;
  inset:auto!important;
  float:none!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:240px!important;
  margin:0!important;
  object-fit:contain!important;
  background:#eef3f8!important;
  z-index:1!important;
}

form[data-work-composer-v198][data-fast-work-form] [data-image-preview]:not([hidden]) .folio-image-preview-actions-v177,
form[data-work-composer-v198][data-fast-work-form] [data-image-preview]:not([hidden]) .folio-image-preview-actions-v178{
  position:absolute!important;
  top:auto!important;
  bottom:10px!important;
  inset-inline-end:10px!important;
  margin:0!important;
  z-index:8!important;
  visibility:visible!important;
  opacity:1!important;
  pointer-events:auto!important;
}

form[data-work-composer-v198][data-fast-work-form] [data-image-preview]:not([hidden]) [data-image-remove]:not([hidden]){
  display:grid!important;
  visibility:visible!important;
  opacity:1!important;
  pointer-events:auto!important;
  z-index:9!important;
}

@media (max-width:760px){
  form[data-work-composer-v198][data-fast-work-form] [data-image-preview]:not([hidden]){
    width:100%!important;
    max-width:100%!important;
  }

  form[data-work-composer-v198][data-fast-work-form] [data-image-preview]:not([hidden]) [data-image-preview-img]{
    max-height:min(42dvh,240px)!important;
  }
}

/* Folinq feed cover preview mobile flex shrink fix v2
   On mobile the feed composer is a constrained vertical flex container.
   The visible image preview remains flex: 0 1 auto, so its requested 242px
   height is flex-shrunk to the 2px borders.  Only mobile is changed here. */
@media (max-width:760px){
  form[data-work-composer-v198][data-fast-work-form] [data-image-preview]:not([hidden]){
    flex:0 0 auto!important;
    flex-grow:0!important;
    flex-shrink:0!important;
    flex-basis:auto!important;
    align-self:stretch!important;
    min-height:auto!important;
  }

  form[data-work-composer-v198][data-fast-work-form] [data-image-preview]:not([hidden]) [data-image-preview-img]{
    flex:0 0 auto!important;
  }
}


/* FOLINQ_MOBILE_BIRTHDAY_NOTIFICATION_ACTION_V1
   Birthday notification CTA is available on both desktop and mobile.
   Responsive alignment is handled by the notification settings layer. */
.notification-birthday-action-v1{
  display:flex!important;
}

@media(max-width:760px){
  .notification-birthday-action-v1{
    display:block!important;
    position:relative!important;
    z-index:30!important;
    margin:0 10px 10px!important;
    padding:0!important;
  }

  .notification-birthday-action-v1 .btn{
    width:100%!important;
    min-height:38px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:7px!important;
    padding:7px 10px!important;
    border:1px solid #bfdbfe!important;
    border-radius:11px!important;
    background:#eef6ff!important;
    color:#0a66c2!important;
    font-size:11.5px!important;
    font-weight:900!important;
    box-shadow:none!important;
  }

  .notification-birthday-action-v1 .btn .li-icon{
    width:17px!important;
    height:17px!important;
  }

  .notification-birthday-action-v1 .btn:disabled{
    opacity:1!important;
  }

  .notification-birthday-action-v1.is-sent .btn{
    border-color:#bbf7d0!important;
    background:#ecfdf5!important;
    color:#047857!important;
  }

  body.q-dark-active .notification-birthday-action-v1 .btn{
    border-color:#315b82!important;
    background:#102a44!important;
    color:#93c5fd!important;
  }

  body.q-dark-active .notification-birthday-action-v1.is-sent .btn{
    border-color:#166534!important;
    background:#052e24!important;
    color:#86efac!important;
  }
}


/* FOLINQ_NOTIFICATION_CATEGORY_TABS_V1
   Full notification categorization + compact mobile birthday CTA alignment. */
.notification-filter-shell-v1{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  min-width:0!important;
}

.notification-filter-tabs-v1{
  display:flex!important;
  align-items:center!important;
  gap:5px!important;
  min-width:0!important;
  flex:1 1 auto!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  white-space:nowrap!important;
  scrollbar-width:none!important;
  -webkit-overflow-scrolling:touch!important;
}

.notification-filter-tabs-v1::-webkit-scrollbar{
  display:none!important;
}

.notification-filter-tabs-v1>a{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto!important;
  min-height:34px!important;
  padding:6px 10px!important;
  border:1px solid transparent!important;
  border-radius:10px!important;
  background:#f8fafc!important;
  color:#475569!important;
  font-size:11.5px!important;
  font-weight:850!important;
  text-decoration:none!important;
  line-height:1.35!important;
}

.notification-filter-tabs-v1>a:hover{
  background:#eef6ff!important;
  color:#0a66c2!important;
}

.notification-filter-tabs-v1>a.active,
.notification-filter-tabs-v1>a[aria-current="page"]{
  border-color:#bfdbfe!important;
  background:#eaf4ff!important;
  color:#0a66c2!important;
}

.notification-filter-mark-v1{
  flex:0 0 auto!important;
  margin:0!important;
}

@media(max-width:760px){
  .notification-filter-shell-v1{
    padding:7px!important;
    gap:6px!important;
  }

  .notification-filter-tabs-v1>a{
    min-height:32px!important;
    padding:5px 9px!important;
    border-radius:9px!important;
    font-size:11px!important;
  }

  /* Align birthday action under the birthday copy, not at the card edge.
     RTL/LTR logical margins reserve the avatar side and the action-menu side. */
  .notification-item-v169:has(.notification-birthday-action-v1)
  .notification-main-link-v169{
    padding-bottom:5px!important;
  }

  .notification-birthday-action-v1{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    width:auto!important;
    margin-top:-2px!important;
    margin-bottom:8px!important;
    margin-inline-start:59px!important;
    margin-inline-end:48px!important;
    padding:0!important;
  }

  .notification-birthday-action-v1 .btn{
    width:auto!important;
    min-width:0!important;
    min-height:32px!important;
    padding:5px 9px!important;
    gap:5px!important;
    border-radius:9px!important;
    font-size:11px!important;
    line-height:1.2!important;
  }

  .notification-birthday-action-v1 .btn .li-icon{
    width:15px!important;
    height:15px!important;
  }
}

/* FOLINQ_MOBILE_BIRTHDAY_CARD_LAYOUT_V1
   Keep the birthday CTA visually attached to the birthday copy on mobile.
   The previous sibling flex layout could squeeze the main notification link. */
@media(max-width:760px){
  .notification-item-v169:has(.notification-birthday-action-v1){
    display:block!important;
    position:relative!important;
    min-height:0!important;
    height:auto!important;
    overflow:visible!important;
  }

  .notification-item-v169:has(.notification-birthday-action-v1) .notification-main-link-v169{
    display:grid!important;
    grid-template-columns:40px minmax(0,1fr)!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
    align-items:center!important;
    gap:9px!important;
    min-height:66px!important;
    padding-top:9px!important;
    padding-bottom:3px!important;
  }

  .notification-item-v169:has(.notification-birthday-action-v1) .notification-body-v169{
    min-width:0!important;
    width:100%!important;
  }

  .notification-item-v169:has(.notification-birthday-action-v1) .notification-body-v169 b{
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
  }

  .notification-item-v169:has(.notification-birthday-action-v1) .notification-body-v169 small{
    -webkit-line-clamp:2!important;
  }

  .notification-birthday-action-v1{
    display:flex!important;
    position:relative!important;
    width:auto!important;
    max-width:none!important;
    align-items:center!important;
    justify-content:flex-start!important;
    margin-top:0!important;
    margin-bottom:9px!important;
    margin-inline-start:59px!important;
    margin-inline-end:48px!important;
    padding:0!important;
  }

  .notification-birthday-action-v1 .btn{
    width:auto!important;
    max-width:100%!important;
    min-width:0!important;
    min-height:32px!important;
    padding:5px 10px!important;
    border-radius:9px!important;
    font-size:11px!important;
    line-height:1.2!important;
    white-space:nowrap!important;
  }

  .notification-item-v169:has(.notification-birthday-action-v1) .notification-menu-v169{
    top:33px!important;
  }
}


/* FOLINQ_NOTIFICATION_FILTERS_HORIZONTAL_SCROLL_V1
   Category filters are one horizontal scroll rail on desktop and mobile. */
.notification-filters-v169{
  display:flex!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:8px!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow-x:scroll!important;
  overflow-y:hidden!important;
  padding-bottom:9px!important;
  box-sizing:border-box!important;
  -webkit-overflow-scrolling:touch!important;
  overscroll-behavior-inline:contain!important;
  scroll-snap-type:x proximity!important;
  scrollbar-width:thin!important;
  scrollbar-color:#9fc3ef #eef5fd!important;
  scrollbar-gutter:stable both-edges!important;
}

.notification-filters-v169>a,
.notification-filters-v169>form{
  flex:0 0 auto!important;
  margin-inline-start:0!important;
  margin-inline-end:0!important;
  scroll-snap-align:start!important;
}

.notification-filters-v169>a,
.notification-filters-v169>form .btn{
  white-space:nowrap!important;
}

.q-locale-en .notification-filters-v169,
html[lang="en"] .notification-filters-v169,
[dir="ltr"] .notification-filters-v169{
  direction:ltr!important;
}

.q-locale-fa .notification-filters-v169,
html[lang="fa"] .notification-filters-v169,
[dir="rtl"] .notification-filters-v169{
  direction:rtl!important;
}

.notification-filters-v169::-webkit-scrollbar{
  display:block!important;
  height:5px!important;
}

.notification-filters-v169::-webkit-scrollbar-track{
  background:#eef5fd!important;
  border-radius:999px!important;
}

.notification-filters-v169::-webkit-scrollbar-thumb{
  background:#9fc3ef!important;
  border-radius:999px!important;
}

body.q-dark-active .notification-filters-v169{
  scrollbar-color:#55779e #1d2938!important;
}

body.q-dark-active .notification-filters-v169::-webkit-scrollbar-track{
  background:#1d2938!important;
}

body.q-dark-active .notification-filters-v169::-webkit-scrollbar-thumb{
  background:#55779e!important;
}


/* FOLINQ_RESPONSIVE_SCROLL_VISIBILITY_V1
   Persistent notification filter scrollbar for desktop + mobile. */
.notification-filters-v169{
  overflow-x:auto!important;
  overflow-y:hidden!important;
  flex-wrap:nowrap!important;
  min-width:0!important;
  -webkit-overflow-scrolling:touch!important;
  scrollbar-width:none!important;
}

.notification-filters-v169::-webkit-scrollbar{
  width:0!important;
  height:0!important;
  display:none!important;
}

.notification-filter-scrollbar-v1{
  display:block!important;
  position:relative!important;
  width:calc(100% - 18px)!important;
  height:6px!important;
  margin:-3px auto 9px!important;
  border-radius:999px!important;
  background:#eaf2fb!important;
  overflow:hidden!important;
  pointer-events:none!important;
}

.notification-filter-scrollbar-v1>span{
  display:block!important;
  position:absolute!important;
  inset-block-start:0!important;
  inset-inline-start:0!important;
  height:100%!important;
  min-width:36px!important;
  border-radius:999px!important;
  background:#8fb8e8!important;
  transform:translateX(0);
  will-change:transform,width!important;
}

body.q-dark-active .notification-filter-scrollbar-v1{
  background:#24364c!important;
}

body.q-dark-active .notification-filter-scrollbar-v1>span{
  background:#5f83ad!important;
}

/* Folinq v199 Hotfix 7 R20.13 — unified, single-owner UI layer. */
body.folinq-r2013{
  --r2013-blue:#0a66c2;
  --r2013-blue-2:#1676d2;
  --r2013-blue-soft:#eaf4ff;
  --r2013-navy:#14243b;
  --r2013-text:#24364d;
  --r2013-muted:#6c7c91;
  --r2013-line:#d8e3ef;
  --r2013-surface:#fff;
  --r2013-soft:#f5f8fb;
  --r2013-shadow:0 18px 50px rgba(15,35,65,.16);
}
body.folinq-r2013 *{box-sizing:border-box}
body.folinq-r2013 [hidden]{display:none!important}
body.folinq-r2013 button,body.folinq-r2013 input,body.folinq-r2013 textarea,body.folinq-r2013 select{font:inherit}
body.folinq-r2013 .container{width:min(100%,1320px);max-width:1320px}

/* Folio body expansion: only the More control expands the body. */
body.folinq-r2013 .folio-preview-r2013,
body.folinq-r2013 .folio-full-r2013{font-size:inherit;line-height:1.95;white-space:pre-wrap;overflow-wrap:anywhere}
body.folinq-r2013 .folio-more-r2013,
body.folinq-r2013 .comment-more-r2013{border:0!important;background:transparent!important;color:var(--r2013-blue)!important;font-weight:800!important;padding:0 4px!important;cursor:pointer!important;display:inline!important;line-height:inherit!important}
body.folinq-r2013 .folio-collapsible-r2013.is-expanded .folio-full-r2013{display:block}

/* Full stop: toolbar action is interactive; stats row is read-only. */
body.folinq-r2013 .full-stop-action-r2013{display:inline-flex!important;align-items:center!important;justify-content:center!important}
body.folinq-r2013 .full-stop-glyph-r2013,
body.folinq-r2013 .folio-full-stop-dot-r2013,
body.folinq-r2013 .comment-full-stop-r2013>span:first-child{display:inline-block;width:10px;height:10px;min-width:10px;border-radius:999px;background:#75869a;box-shadow:0 0 0 3px rgba(117,134,154,.10);transition:.16s ease}
body.folinq-r2013 .full-stop-action-r2013.is-active .full-stop-glyph-r2013,
body.folinq-r2013 .folio-full-stop-stat-r2013.is-active .folio-full-stop-dot-r2013,
body.folinq-r2013 .comment-full-stop-r2013.is-active>span:first-child{background:#2d79ff;box-shadow:0 0 0 4px rgba(45,121,255,.14)}
body.folinq-r2013 .full-stop-action-r2013.is-busy{opacity:.55;pointer-events:none}
body.folinq-r2013 .folio-full-stop-stat-r2013{display:inline-flex;align-items:center;gap:6px;color:var(--r2013-muted);font-size:12px;white-space:nowrap}
body.folinq-r2013 .folio-full-stop-stat-r2013 b{font-size:12px;color:inherit}
body.folinq-r2013 .post-stats{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;flex-wrap:wrap}
body.folinq-r2013 .post-stat-icons{display:flex;align-items:center;gap:12px;flex-wrap:wrap}

/* Comment card, menu and compact action row. */
body.folinq-r2013 .comment-r2013{display:grid!important;grid-template-columns:38px minmax(0,1fr)!important;gap:9px!important;align-items:start!important;position:relative!important;min-width:0!important;margin:10px 0!important;content-visibility:visible!important;contain:none!important}
body.folinq-r2013 .comment-r2013.reply{grid-template-columns:32px minmax(0,1fr)!important;margin-inline-start:24px!important}
body.folinq-r2013 .comment-avatar-link-r2013{display:block;width:38px;height:38px;min-width:38px}
body.folinq-r2013 .comment-r2013.reply .comment-avatar-link-r2013{width:32px;height:32px;min-width:32px}
body.folinq-r2013 .comment-avatar-r2013{display:block!important;width:100%!important;height:100%!important;min-width:100%!important;max-width:100%!important;min-height:100%!important;max-height:100%!important;aspect-ratio:1/1!important;border-radius:50%!important;object-fit:cover!important;overflow:hidden!important}
body.folinq-r2013 .comment-main{min-width:0!important}
body.folinq-r2013 .comment-bubble-r2013{position:relative!important;background:#f3f6f9!important;border:1px solid transparent!important;border-radius:0 18px 18px 18px!important;padding:10px 12px!important;min-width:0!important;overflow:visible!important}
html[dir="ltr"] body.folinq-r2013 .comment-bubble-r2013{border-radius:18px 0 18px 18px!important}
body.folinq-r2013 .comment-top-r2013{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto!important;align-items:start!important;gap:8px!important}
body.folinq-r2013 .comment-author-block{min-width:0;display:grid;gap:1px}
body.folinq-r2013 .comment-author-block b,body.folinq-r2013 .comment-headline{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.folinq-r2013 .comment-headline{font-size:11px;color:var(--r2013-muted)}
body.folinq-r2013 .comment-time{white-space:nowrap;font-size:10px}
body.folinq-r2013 .comment-body-r2013{line-height:1.85;font-size:13px;color:var(--r2013-text);overflow-wrap:anywhere;margin-top:7px}
body.folinq-r2013 .comment-image-r2013{display:block;margin-top:8px;max-width:min(100%,420px)}
body.folinq-r2013 .comment-image-r2013 img{display:block;width:auto!important;max-width:100%!important;max-height:360px!important;border-radius:12px!important;object-fit:contain!important}
body.folinq-r2013 .comment-actions-r2013{display:flex!important;align-items:center!important;gap:14px!important;min-height:28px!important;padding:3px 8px 0!important;color:var(--r2013-muted)!important}
body.folinq-r2013 .comment-actions-r2013 button,
body.folinq-r2013 .comment-actions-r2013 a{border:0!important;background:transparent!important;color:inherit!important;display:inline-flex!important;align-items:center!important;gap:5px!important;padding:3px 0!important;min-width:0!important;min-height:24px!important;box-shadow:none!important;cursor:pointer!important;text-decoration:none!important;font-size:12px!important;font-weight:700!important}
body.folinq-r2013 .comment-full-stop-r2013.is-busy{opacity:.5;pointer-events:none}
body.folinq-r2013 .comment-full-stop-r2013 b,body.folinq-r2013 .comment-reply-action-r2013 b{font-size:11px}
body.folinq-r2013 .comment-reply-action-r2013 svg{width:15px;height:15px}
body.folinq-r2013 .comment-replies-r2013{margin-top:4px}
body.folinq-r2013 .comment-replies-more-r2013{padding:4px 7px 2px!important}
body.folinq-r2013 .comment-replies-more-r2013>button{border:0!important;background:transparent!important;color:var(--r2013-blue)!important;display:inline-flex!important;align-items:center!important;gap:7px!important;padding:5px 0!important;font-weight:800!important;cursor:pointer!important}
body.folinq-r2013 .comment-replies-more-r2013>button:before{content:"";display:block;width:26px;border-top:1px solid #b9c8d8}
body.folinq-r2013 .comment-edit-r2013{margin:8px 0;padding:10px;border:1px solid var(--r2013-line);border-radius:14px;background:#fff;display:grid;gap:8px}
body.folinq-r2013 .comment-edit-r2013 textarea{width:100%;min-height:82px;border:1px solid var(--r2013-line);border-radius:11px;padding:10px;resize:vertical}
body.folinq-r2013 .comment-edit-r2013>div{display:flex;gap:7px;justify-content:flex-end}

/* Feed-safe floating comment menu. */
body.folinq-r2013 .comment-menu-r2013{position:relative;justify-self:end}
body.folinq-r2013 .comment-menu-toggle-r2013{border:0!important;background:transparent!important;color:#718096!important;width:28px!important;height:28px!important;display:grid!important;place-items:center!important;border-radius:50%!important;cursor:pointer!important;padding:0!important}
body.folinq-r2013 .comment-menu-toggle-r2013:hover{background:#e8edf3!important;color:#25364b!important}
body.folinq-r2013 .comment-menu-panel-r2013{width:220px;max-width:calc(100vw - 20px);background:#fff;border:1px solid var(--r2013-line);border-radius:13px;padding:6px;box-shadow:var(--r2013-shadow);z-index:2147482500}
body.folinq-r2013 .comment-menu-panel-r2013.is-floating-r2013{position:fixed!important;margin:0!important;inset:auto!important}
body.folinq-r2013 .comment-menu-panel-r2013>a,
body.folinq-r2013 .comment-menu-panel-r2013>button,
body.folinq-r2013 .comment-menu-panel-r2013 form>button{width:100%;border:0;background:transparent;color:var(--r2013-text);display:flex;align-items:center;gap:9px;padding:9px 10px;border-radius:9px;text-decoration:none;text-align:start;cursor:pointer}
body.folinq-r2013 .comment-menu-panel-r2013>a:hover,
body.folinq-r2013 .comment-menu-panel-r2013>button:hover,
body.folinq-r2013 .comment-menu-panel-r2013 form>button:hover{background:var(--r2013-soft)}
body.folinq-r2013 .comment-menu-panel-r2013 .danger{color:#c62845!important}
body.folinq-r2013 .comment-menu-panel-r2013 form{margin:0}

/* LinkedIn-like compact comment/reply composer. */
body.folinq-r2013 .comment-composer-r2013{display:grid!important;grid-template-columns:38px minmax(0,1fr)!important;gap:9px!important;align-items:start!important;margin:12px 0!important;padding:0!important;background:transparent!important;border:0!important;overflow:visible!important;position:relative!important}
body.folinq-r2013 .comment-reply-composer-r2013{grid-template-columns:32px minmax(0,1fr)!important;margin:8px 0 10px!important}
body.folinq-r2013 .comment-composer-avatar-link-r2013{width:38px;height:38px;min-width:38px;display:block}
body.folinq-r2013 .comment-reply-composer-r2013 .comment-composer-avatar-link-r2013{width:32px;height:32px;min-width:32px}
body.folinq-r2013 .comment-composer-avatar-r2013{display:block!important;width:100%!important;height:100%!important;min-width:100%!important;max-width:100%!important;min-height:100%!important;max-height:100%!important;aspect-ratio:1/1!important;border-radius:50%!important;object-fit:cover!important}
body.folinq-r2013 .comment-composer-shell-r2013{position:relative!important;min-width:0!important;border:1px solid #b9c7d5!important;background:#fff!important;border-radius:22px!important;padding:0!important;box-shadow:none!important;overflow:visible!important;transition:border-color .15s,box-shadow .15s}
body.folinq-r2013 .comment-composer-shell-r2013:focus-within{border-color:#78aee8!important;box-shadow:0 0 0 2px rgba(10,102,194,.09)!important}
body.folinq-r2013 .comment-composer-shell-r2013 textarea{display:block!important;width:100%!important;min-height:48px!important;max-height:170px!important;height:48px;padding:13px 82px 13px 50px!important;border:0!important;border-radius:22px!important;background:transparent!important;box-shadow:none!important;outline:0!important;resize:none!important;line-height:1.65!important;overflow:auto!important}
html[dir="ltr"] body.folinq-r2013 .comment-composer-shell-r2013 textarea{padding:13px 50px 13px 82px!important}
body.folinq-r2013 .comment-composer-shell-r2013.has-preview-r2013 textarea{min-height:62px!important}
body.folinq-r2013 .comment-composer-tools-r2013{position:absolute!important;left:8px!important;right:8px!important;bottom:7px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;direction:ltr!important;pointer-events:none!important;z-index:3}
body.folinq-r2013 .comment-composer-tools-r2013>*{pointer-events:auto!important}
body.folinq-r2013 .comment-tool-group-r2013{display:flex;align-items:center;gap:2px}
body.folinq-r2013 .comment-send-r2013,
body.folinq-r2013 .comment-emoji-toggle-r2013,
body.folinq-r2013 .comment-upload-r2013{width:32px!important;height:32px!important;min-width:32px!important;border:0!important;border-radius:50%!important;display:grid!important;place-items:center!important;padding:0!important;cursor:pointer!important}
body.folinq-r2013 .comment-send-r2013{background:var(--r2013-blue)!important;color:#fff!important}
body.folinq-r2013 .comment-send-r2013:hover{background:#0756a4!important}
body.folinq-r2013 .comment-send-r2013:disabled{opacity:.45;cursor:not-allowed}
body.folinq-r2013 .comment-emoji-toggle-r2013,
body.folinq-r2013 .comment-upload-r2013{background:transparent!important;color:#4f6074!important}
body.folinq-r2013 .comment-emoji-toggle-r2013:hover,
body.folinq-r2013 .comment-upload-r2013:hover{background:#eef4fa!important;color:var(--r2013-blue)!important}
body.folinq-r2013 .comment-upload-r2013 input{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
body.folinq-r2013 .comment-send-r2013 svg,
body.folinq-r2013 .comment-upload-r2013 svg{width:18px!important;height:18px!important}
body.folinq-r2013 .comment-composer-preview-r2013{position:relative;width:74px;height:74px;margin:8px 12px 46px;border:1px solid var(--r2013-line);border-radius:12px;overflow:hidden;background:#f5f8fb}
body.folinq-r2013 .comment-composer-preview-r2013 img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}
body.folinq-r2013 .comment-composer-preview-r2013 button{position:absolute;top:4px;right:4px;width:23px;height:23px;border:0;border-radius:50%;background:rgba(255,255,255,.94);color:#c62845;box-shadow:0 2px 8px rgba(0,0,0,.18);cursor:pointer;padding:0}
body.folinq-r2013 .comment-emoji-menu-r2013{position:absolute;z-index:40;inset-inline-end:8px;bottom:43px;width:min(270px,calc(100vw - 70px));display:grid;grid-template-columns:repeat(8,minmax(28px,1fr));gap:3px;padding:8px;background:#fff;border:1px solid var(--r2013-line);border-radius:13px;box-shadow:var(--r2013-shadow)}
body.folinq-r2013 .comment-emoji-menu-r2013 button{border:0;background:transparent;border-radius:8px;height:32px;cursor:pointer;font-size:19px}
body.folinq-r2013 .comment-emoji-menu-r2013 button:hover{background:#edf4fb}
body.folinq-r2013 .comments-view-all-wrap-r2013{padding:10px 2px 2px}
body.folinq-r2013 .comments-view-all-r2013{display:inline-flex;align-items:center;gap:7px;color:#53657a;text-decoration:none;font-weight:700;font-size:13px}
body.folinq-r2013 .comments-view-all-r2013:hover{color:var(--r2013-blue)}

/* Full-page comments must never be hidden by off-screen containment. */
body.folinq-r2013 article[data-work-card][data-work-full="1"],
body.folinq-r2013 article[data-work-card][data-work-full="1"] .comments,
body.folinq-r2013 article[data-work-card][data-work-full="1"] .comment-list,
body.folinq-r2013 article[data-work-card][data-work-full="1"] .comment-r2013{content-visibility:visible!important;contain:none!important;contain-intrinsic-size:none!important;visibility:visible!important;opacity:1!important}

/* Refolio dialog. */
body.folinq-r2013 .refolio-modal-r2013,
body.folinq-r2013 .endorsement-modal-r2013{position:fixed;inset:0;z-index:2147482000;display:grid;place-items:center;padding:18px}
body.folinq-r2013 .r2013-modal-backdrop{position:absolute;inset:0;background:rgba(17,32,52,.66);backdrop-filter:blur(3px)}
body.folinq-r2013 .refolio-dialog-r2013,
body.folinq-r2013 .endorsement-dialog-r2013{position:relative;width:min(620px,100%);max-height:min(86vh,760px);overflow:auto;background:#fff;border:1px solid #d7e2ed;border-radius:20px;box-shadow:0 28px 80px rgba(8,23,43,.30);padding:20px;display:grid;gap:14px}
body.folinq-r2013 .r2013-modal-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
body.folinq-r2013 .r2013-modal-head h2{margin:0;font-size:20px;color:var(--r2013-navy)}
body.folinq-r2013 .r2013-modal-close{width:34px;height:34px;border:0;border-radius:50%;background:#eef3f8;color:#24364d;cursor:pointer;font-size:22px}
body.folinq-r2013 .refolio-source-r2013{display:grid;grid-template-columns:76px minmax(0,1fr);gap:12px;padding:12px;border:1px solid var(--r2013-line);border-radius:15px;background:#f8fafc}
body.folinq-r2013 .refolio-source-r2013 img{width:76px;height:88px;object-fit:cover;border-radius:10px;background:#edf2f7}
body.folinq-r2013 .refolio-source-r2013>div{min-width:0;display:grid;gap:5px}
body.folinq-r2013 .refolio-source-r2013 b{font-size:15px;color:var(--r2013-navy)}
body.folinq-r2013 .refolio-source-body-r2013{max-height:220px;overflow:auto;white-space:pre-wrap;line-height:1.85;color:#41546a;font-size:13px;padding-inline-end:4px}
body.folinq-r2013 .refolio-mode-grid-r2013{display:grid;grid-template-columns:1fr 1fr;gap:10px}
body.folinq-r2013 .refolio-mode-r2013{border:1px solid var(--r2013-line);background:#fff;border-radius:14px;padding:13px;text-align:start;cursor:pointer;display:grid;gap:4px;color:var(--r2013-text)}
body.folinq-r2013 .refolio-mode-r2013:hover,body.folinq-r2013 .refolio-mode-r2013.is-active{border-color:#78aee8;background:#edf6ff}
body.folinq-r2013 .refolio-thoughts-r2013{display:grid;gap:9px}
body.folinq-r2013 .refolio-thoughts-r2013 textarea{width:100%;min-height:110px;border:1px solid var(--r2013-line);border-radius:13px;padding:12px;resize:vertical;line-height:1.8}
body.folinq-r2013 .refolio-actions-r2013{display:flex;justify-content:flex-end;gap:8px}
body.folinq-r2013 .refolio-actions-r2013 button{border:0;border-radius:10px;padding:9px 15px;cursor:pointer;font-weight:800}
body.folinq-r2013 .refolio-publish-r2013{background:var(--r2013-blue);color:#fff}
body.folinq-r2013 .refolio-cancel-r2013{background:#eef3f8;color:#33465c}

/* Profile endorsements: compact cards, real avatars, eye-only full-text action. */
body.folinq-r2013 .profile-endorsement-tabs-v204{overflow:hidden}
body.folinq-r2013 .profile-endorsement-tab-buttons-v204{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}
body.folinq-r2013 .profile-endorsement-tab-buttons-v204 button{border:1px solid var(--r2013-line)!important;background:#fff!important;color:#405268!important;border-radius:10px!important;padding:8px 12px!important;cursor:pointer!important}
body.folinq-r2013 .profile-endorsement-tab-buttons-v204 button.active{background:var(--r2013-blue-soft)!important;border-color:#86b9ec!important;color:var(--r2013-blue)!important}
body.folinq-r2013 .profile-endorsement-item-r2013{display:grid!important;grid-template-columns:minmax(150px,210px) minmax(0,1fr) auto!important;gap:12px!important;align-items:start!important;padding:12px!important;border:1px solid var(--r2013-line)!important;border-radius:14px!important;background:#fff!important;margin:9px 0!important;min-width:0!important}
body.folinq-r2013 .profile-endorsement-person-v204{display:flex!important;align-items:center!important;gap:9px!important;min-width:0!important;text-decoration:none!important}
body.folinq-r2013 .profile-endorsement-avatar-r2013{width:44px!important;height:44px!important;min-width:44px!important;max-width:44px!important;min-height:44px!important;max-height:44px!important;aspect-ratio:1/1!important;border-radius:50%!important;object-fit:cover!important}
body.folinq-r2013 .profile-endorsement-copy-v206{min-width:0;display:grid;gap:5px}
body.folinq-r2013 .profile-endorsement-copy-v206 p{margin:0!important;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;font-size:13px!important;line-height:1.8!important}
body.folinq-r2013 .profile-endorsement-view-r2013{width:32px;height:32px;border:1px solid var(--r2013-line);border-radius:9px;background:#fff;color:var(--r2013-blue);display:grid;place-items:center;cursor:pointer;padding:0}
body.folinq-r2013 .profile-endorsement-view-r2013:hover{background:var(--r2013-blue-soft)}
body.folinq-r2013 .endorsement-dialog-r2013{width:min(560px,100%)}
body.folinq-r2013 .endorsement-modal-person-r2013{display:flex;align-items:center;gap:10px}
body.folinq-r2013 .endorsement-modal-person-r2013 img{width:52px;height:52px;border-radius:50%;object-fit:cover}
body.folinq-r2013 .endorsement-modal-body-r2013{font-size:14px;line-height:1.95;white-space:pre-wrap;color:var(--r2013-text)}
body.folinq-r2013 .endorsement-modal-meta-r2013{color:var(--r2013-muted);font-size:12px}

/* Full recommendations page. */
body.folinq-r2013 .endorsement-page-v204{max-width:980px;margin-inline:auto;display:grid;gap:14px}
body.folinq-r2013 .endorsement-hero-v204{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important}
body.folinq-r2013 .endorsement-profile-v204,body.folinq-r2013 .endorsement-compose-head-v204{display:flex!important;align-items:center!important;gap:12px!important}
body.folinq-r2013 .endorsement-hero-avatar-r2013{width:72px!important;height:72px!important;min-width:72px!important;max-width:72px!important;min-height:72px!important;max-height:72px!important;aspect-ratio:1/1!important;border-radius:50%!important;object-fit:cover!important}
body.folinq-r2013 .endorsement-compose-avatar-r2013,
body.folinq-r2013 .endorsement-row-avatar-r2013{width:44px!important;height:44px!important;min-width:44px!important;max-width:44px!important;min-height:44px!important;max-height:44px!important;aspect-ratio:1/1!important;border-radius:50%!important;object-fit:cover!important}
body.folinq-r2013 .endorsement-tabs-v204{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}
body.folinq-r2013 .endorsement-tabs-v204 a{padding:8px 12px;border:1px solid var(--r2013-line);border-radius:10px;text-decoration:none;color:#405268}
body.folinq-r2013 .endorsement-tabs-v204 a.active{background:var(--r2013-blue);border-color:var(--r2013-blue);color:#fff}
body.folinq-r2013 .endorsement-row-r2013{display:grid!important;grid-template-columns:210px minmax(0,1fr) auto!important;gap:14px!important;align-items:start!important;padding:13px!important;border:1px solid var(--r2013-line)!important;border-radius:14px!important;margin:10px 0!important;background:#fff!important;min-width:0!important}
body.folinq-r2013 .endorsement-person-v204{display:flex!important;align-items:center!important;gap:9px!important;min-width:0!important;text-decoration:none!important}
body.folinq-r2013 .endorsement-content-v204 p{font-size:13px!important;line-height:1.9!important;margin:6px 0!important;white-space:pre-wrap!important}
body.folinq-r2013 .endorsement-delete-v204{width:32px;height:32px;border:1px solid #f1c4cd;border-radius:9px;background:#fff;color:#c62845;display:grid;place-items:center;cursor:pointer}

/* Folio analyzer returns to a true side card. */
body.folinq-r2013 .folio-analytics-layout-v199{display:grid!important;grid-template-columns:minmax(0,1fr) 280px!important;gap:16px!important;align-items:start!important;max-width:1180px;margin-inline:auto}
body.folinq-r2013 .folio-analytics-main-v199{min-width:0!important}
body.folinq-r2013 .folio-analytics-profile-v199{position:sticky!important;top:82px!important;display:grid!important;justify-items:center!important;text-align:center!important;gap:9px!important;min-width:0!important}
body.folinq-r2013 .folio-analytics-avatar-r2013{width:92px!important;height:92px!important;min-width:92px!important;max-width:92px!important;min-height:92px!important;max-height:92px!important;aspect-ratio:1/1!important;border-radius:50%!important;object-fit:cover!important}
body.folinq-r2013 .folio-analytics-profile-v199 h2,body.folinq-r2013 .folio-analytics-profile-v199 p{margin:0!important}
body.folinq-r2013 .folio-analytics-profile-v199 .btn{width:100%;justify-content:center}

/* Admin online cards and dynamic avatars. */
body.folinq-r2013 .folinq-online-admin-r20128{padding:18px!important;margin:16px 0!important;border:1px solid #d4e2f0!important;border-radius:18px!important;background:#fff!important;min-height:0!important;height:auto!important}
body.folinq-r2013 .folinq-online-head-r20128{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin-bottom:12px!important}
body.folinq-r2013 .folinq-online-head-r20128 h2{margin:0!important}
body.folinq-r2013 .folinq-online-metrics-r20128{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;margin-bottom:12px!important}
body.folinq-r2013 .folinq-online-metric-r20128{padding:11px!important;border:1px solid var(--r2013-line)!important;border-radius:12px!important;background:#f8fbff!important;display:grid!important;gap:4px!important}
body.folinq-r2013 .folinq-online-list-r20128{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(230px,1fr))!important;gap:9px!important;min-height:0!important;height:auto!important}
body.folinq-r2013 .folinq-online-user-r20128{display:grid!important;grid-template-columns:42px minmax(0,1fr) auto!important;align-items:center!important;gap:9px!important;padding:9px!important;border:1px solid var(--r2013-line)!important;border-radius:12px!important;text-decoration:none!important;color:var(--r2013-text)!important;background:#fff!important}
body.folinq-r2013 .folinq-online-user-r20128>img{width:42px!important;height:42px!important;min-width:42px!important;max-width:42px!important;min-height:42px!important;max-height:42px!important;aspect-ratio:1/1!important;border-radius:50%!important;object-fit:cover!important}
body.folinq-r2013 .folinq-online-user-r20128>span{min-width:0;display:grid}
body.folinq-r2013 .folinq-online-user-r20128 b,body.folinq-r2013 .folinq-online-user-r20128 em{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.folinq-r2013 .folinq-online-user-r20128 em{font-size:11px;color:var(--r2013-muted);font-style:normal}
body.folinq-r2013 .folinq-online-user-r20128 small{white-space:nowrap;font-size:10px;color:var(--r2013-muted)}

/* Avatar geometry: notifications and seen messages. */
body.folinq-r2013 .notification-avatar-v169,
body.folinq-r2013 .avatar-slot-notification-v2203{width:42px!important;height:42px!important;min-width:42px!important;max-width:42px!important;min-height:42px!important;max-height:42px!important;aspect-ratio:1/1!important;border-radius:50%!important;overflow:hidden!important;display:grid!important;place-items:center!important}
body.folinq-r2013 .notification-avatar-v169 img,
body.folinq-r2013 .avatar-slot-notification-v2203 img{width:100%!important;height:100%!important;min-width:100%!important;max-width:100%!important;min-height:100%!important;max-height:100%!important;object-fit:cover!important;border-radius:50%!important}
body.folinq-r2013 .chat-seen-avatar-v199{width:18px!important;height:18px!important;min-width:18px!important;max-width:18px!important;min-height:18px!important;max-height:18px!important;aspect-ratio:1/1!important;border-radius:50%!important;object-fit:cover!important;display:inline-block!important}
body.folinq-r2013 .chat-read-state-v183{display:inline-flex!important;align-items:center!important;gap:2px!important;min-width:0!important}

/* Kanban, single visual/interaction owner. */
body.folinq-r2013 .shelf-kanban-v198{min-width:0}
body.folinq-r2013 .shelf-kanban-toolbar-v1992{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:14px!important;align-items:center!important}
body.folinq-r2013 .shelf-kanban-title-v1992{display:flex!important;gap:12px!important;align-items:center!important}
body.folinq-r2013 .shelf-kanban-brand-v1992{width:46px;height:46px;border-radius:13px;display:grid;place-items:center;background:var(--r2013-blue-soft);color:var(--r2013-blue)}
body.folinq-r2013 .shelf-kanban-view-actions-v1992{display:flex!important;align-items:center!important;gap:7px!important}
body.folinq-r2013 .kanban-scroll-r2013{width:38px!important;height:38px!important;border:1px solid var(--r2013-line)!important;background:#fff!important;border-radius:10px!important;color:var(--r2013-blue)!important;font-size:23px!important;line-height:1!important;cursor:pointer!important;padding:0!important}
body.folinq-r2013 .shelf-kanban-filter-v1992,
body.folinq-r2013 .shelf-folder-create-v1992{grid-column:1/-1!important;display:grid!important;grid-template-columns:minmax(220px,1fr) minmax(160px,230px) auto!important;gap:8px!important;align-items:center!important}
body.folinq-r2013 .shelf-folder-create-v1992{grid-template-columns:minmax(240px,1fr) 48px auto!important}
body.folinq-r2013 .shelf-kanban-filter-v1992 label,
body.folinq-r2013 .shelf-folder-create-v1992 label{display:flex!important;align-items:center!important;gap:7px!important;border:1px solid var(--r2013-line)!important;background:#fff!important;border-radius:11px!important;padding:0 10px!important;min-height:42px!important}
body.folinq-r2013 .shelf-kanban-filter-v1992 input,
body.folinq-r2013 .shelf-folder-create-v1992 input[type="text"]{width:100%!important;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;min-height:40px!important}
body.folinq-r2013 .shelf-kanban-filter-v1992 select{min-height:42px;border:1px solid var(--r2013-line);border-radius:11px;padding:0 10px;background:#fff}
body.folinq-r2013 .shelf-folder-create-v1992 input[type="color"]{width:46px!important;height:42px!important;border:1px solid var(--r2013-line)!important;border-radius:10px!important;padding:4px!important;background:#fff!important}
body.folinq-r2013 .shelf-kanban-board-v1992{display:flex!important;gap:16px!important;overflow-x:auto!important;overflow-y:hidden!important;padding:10px 4px 22px!important;scroll-snap-type:x proximity;min-height:520px!important}
body.folinq-r2013 .shelf-kanban-column-v1992{flex:0 0 330px!important;width:330px!important;max-width:330px!important;min-width:330px!important;border:1px solid #dce6ef!important;border-top:4px solid var(--folder-color)!important;background:#f6f8fb!important;border-radius:17px!important;overflow:visible!important;scroll-snap-align:start!important}
body.folinq-r2013 .shelf-kanban-column-head-v1992{display:flex!important;align-items:center!important;justify-content:space-between!important;padding:11px 12px!important;border-bottom:1px solid #e3eaf2!important}
body.folinq-r2013 .shelf-kanban-column-head-v1992>div{display:flex;align-items:center;gap:9px}
body.folinq-r2013 .shelf-kanban-column-head-v1992>div>i{width:10px;height:10px;border-radius:50%;background:var(--folder-color)}
body.folinq-r2013 .shelf-kanban-cards-v1992{padding:10px!important;min-height:180px!important;display:flex!important;flex-direction:column!important;gap:9px!important;overflow-y:auto!important;max-height:calc(100vh - 250px)!important}
body.folinq-r2013 .shelf-kanban-cards-v1992.is-drag-over-r2013{background:#e8f3ff!important;outline:2px dashed #74aee8;outline-offset:-5px}
body.folinq-r2013 .shelf-kanban-card-v1992{position:relative!important;padding:0!important;background:#fff!important;border:1px solid var(--r2013-line)!important;border-radius:14px!important;box-shadow:0 3px 12px rgba(15,23,42,.04)!important;overflow:visible!important}
body.folinq-r2013 .shelf-kanban-card-v1992.is-dragging-r2013{opacity:.45;transform:rotate(1deg)}
body.folinq-r2013 .shelf-kanban-card-toolbar-v1992{display:flex!important;justify-content:space-between!important;align-items:center!important;padding:6px 8px 0!important}
body.folinq-r2013 .kanban-drag-r2013,
body.folinq-r2013 .kanban-card-menu-toggle-r2013{width:30px!important;height:30px!important;border:1px solid transparent!important;border-radius:8px!important;background:transparent!important;color:#687b90!important;display:grid!important;place-items:center!important;cursor:pointer!important;padding:0!important;font-size:17px!important}
body.folinq-r2013 .kanban-drag-r2013:hover,
body.folinq-r2013 .kanban-card-menu-toggle-r2013:hover{background:#edf4fb!important;color:var(--r2013-blue)!important;border-color:#d7e5f3!important}
body.folinq-r2013 .shelf-kanban-card-link-v1992{display:grid!important;grid-template-columns:64px minmax(0,1fr)!important;gap:10px!important;padding:6px 9px 11px!important;align-items:start!important;text-decoration:none!important;color:inherit!important}
body.folinq-r2013 .shelf-kanban-card-link-v1992>img,
body.folinq-r2013 .shelf-kanban-card-placeholder-v1992{width:64px!important;height:76px!important;border-radius:9px!important;object-fit:cover!important;background:#edf4fb!important;display:grid!important;place-items:center!important;color:var(--r2013-blue)!important}
body.folinq-r2013 .shelf-kanban-card-link-v1992>div{min-width:0!important;display:grid!important;gap:3px!important}
body.folinq-r2013 .shelf-kanban-card-link-v1992 b{font-size:13px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body.folinq-r2013 .shelf-kanban-card-link-v1992 p{font-size:11px!important;line-height:1.55!important;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin:0!important}
body.folinq-r2013 .shelf-kanban-card-menu-v1992{position:absolute!important;z-index:40!important;inset-inline-end:8px!important;top:36px!important;width:215px!important;background:#fff!important;border:1px solid var(--r2013-line)!important;border-radius:12px!important;padding:10px!important;box-shadow:var(--r2013-shadow)!important}
body.folinq-r2013 .shelf-kanban-card-menu-v1992 form{display:grid;gap:7px}
body.folinq-r2013 .shelf-kanban-card-menu-v1992 select{width:100%;min-height:38px;border:1px solid var(--r2013-line);border-radius:9px;padding:0 8px}
body.folinq-r2013 .shelf-kanban-empty-v1992{min-height:140px;display:grid!important;place-items:center!important;align-content:center!important;gap:7px!important;border:1px dashed #cbd8e5!important;border-radius:13px!important;color:#7b8b9c!important;background:rgba(255,255,255,.55)!important}

/* Profile canvas and cover width. */
body.folinq-r2013 .profile-fa-zone{width:min(100%,1280px)!important;max-width:1280px!important;margin-inline:auto!important}
body.folinq-r2013 .profile-hero{width:100%!important;max-width:none!important}
body.folinq-r2013 .profile-hero .hero-cover{width:100%!important;min-width:100%!important}
body.folinq-r2013 .profile-fa-zone>.grid{grid-template-columns:minmax(0,1fr) 320px!important;gap:16px!important}

/* Folio create/edit emoji picker and inspired-by dynamic search. */
body.folinq-r2013 .folio-emoji-picker-v214{position:relative!important;z-index:35!important}
body.folinq-r2013 .folio-emoji-toggle-v214{border:1px solid #c8dcf1!important;background:#edf6ff!important;color:var(--r2013-blue)!important;border-radius:11px!important;width:40px!important;height:40px!important;display:grid!important;place-items:center!important;cursor:pointer!important}
body.folinq-r2013 .folio-emoji-menu-v214{position:absolute!important;z-index:120!important;inset-inline-start:0!important;top:46px!important;width:min(330px,calc(100vw - 34px))!important;display:grid!important;grid-template-columns:repeat(6,minmax(40px,1fr))!important;gap:5px!important;padding:10px!important;background:#fff!important;border:1px solid var(--r2013-line)!important;border-radius:15px!important;box-shadow:var(--r2013-shadow)!important}
body.folinq-r2013 .folio-emoji-menu-v214 button{height:40px!important;border:0!important;border-radius:9px!important;background:#f7f9fc!important;font-size:22px!important;cursor:pointer!important}
body.folinq-r2013 .folio-emoji-menu-v214 button:hover{background:#e8f3ff!important}
body.folinq-r2013 .folio-inspired-person-v198{position:relative!important;display:grid!important;gap:6px!important;border:1px solid var(--r2013-line)!important;background:#fff!important;border-radius:12px!important;padding:10px!important}
body.folinq-r2013 .folio-inspired-person-v198>span{display:flex;align-items:center;gap:7px;font-weight:800;color:#42556b}
body.folinq-r2013 .folio-inspired-person-v198>input{width:100%!important;min-height:42px!important;border:1px solid #d5e0eb!important;border-radius:10px!important;padding:0 11px!important;box-shadow:none!important}
body.folinq-r2013 .inspired-search-r2013{position:absolute;z-index:150;top:calc(100% + 6px);inset-inline:0;background:#fff;border:1px solid var(--r2013-line);border-radius:13px;box-shadow:var(--r2013-shadow);padding:6px;max-height:300px;overflow:auto}
body.folinq-r2013 .inspired-search-r2013 button{width:100%;display:grid;grid-template-columns:40px minmax(0,1fr);gap:9px;align-items:center;border:0;background:#fff;padding:8px;border-radius:9px;text-align:start;cursor:pointer}
body.folinq-r2013 .inspired-search-r2013 button:hover,body.folinq-r2013 .inspired-search-r2013 button.is-active{background:#edf5fd}
body.folinq-r2013 .inspired-search-r2013 img{width:40px;height:40px;border-radius:50%;object-fit:cover}
body.folinq-r2013 .inspired-search-r2013 span{min-width:0;display:grid}
body.folinq-r2013 .inspired-search-r2013 b,body.folinq-r2013 .inspired-search-r2013 small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.folinq-r2013 .inspired-search-r2013 small{color:var(--r2013-muted)}
body.folinq-r2013 .inspired-search-status-r2013{padding:10px;color:var(--r2013-muted);font-size:12px}

/* Book interaction layers must remain above following cards. */
body.folinq-r2013 .book-card,body.folinq-r2013 .book-detail,body.folinq-r2013 [data-book-card]{position:relative;isolation:isolate}
body.folinq-r2013 .book-card .post-actions,body.folinq-r2013 .book-detail .post-actions{position:relative;z-index:5}

@media(max-width:900px){
  body.folinq-r2013 .container{width:100%!important;max-width:100%!important;padding-inline:10px!important}
  body.folinq-r2013 .folio-analytics-layout-v199{grid-template-columns:1fr!important}
  body.folinq-r2013 .folio-analytics-profile-v199{position:static!important;grid-template-columns:72px minmax(0,1fr) auto!important;justify-items:start!important;text-align:start!important;align-items:center!important}
  body.folinq-r2013 .folio-analytics-avatar-r2013{width:72px!important;height:72px!important;min-width:72px!important;max-width:72px!important;min-height:72px!important;max-height:72px!important;grid-row:1/4!important}
  body.folinq-r2013 .folio-analytics-profile-v199 .btn{width:auto!important}
  body.folinq-r2013 .profile-fa-zone>.grid{grid-template-columns:1fr!important}
  body.folinq-r2013 .profile-fa-zone>.grid>aside{order:2}
  body.folinq-r2013 .profile-endorsement-item-r2013{grid-template-columns:1fr auto!important}
  body.folinq-r2013 .profile-endorsement-item-r2013>.profile-endorsement-person-v204{grid-column:1/2}
  body.folinq-r2013 .profile-endorsement-copy-v206{grid-column:1/-1}
  body.folinq-r2013 .endorsement-row-r2013{grid-template-columns:1fr auto!important}
  body.folinq-r2013 .endorsement-content-v204{grid-column:1/-1}
}

@media(max-width:700px){
  body.folinq-r2013 .post,body.folinq-r2013 article[data-work-card]{content-visibility:visible!important;contain:none!important;contain-intrinsic-size:none!important}
  body.folinq-r2013 .comment-r2013{grid-template-columns:34px minmax(0,1fr)!important;gap:7px!important}
  body.folinq-r2013 .comment-r2013.reply{grid-template-columns:30px minmax(0,1fr)!important;margin-inline-start:12px!important}
  body.folinq-r2013 .comment-avatar-link-r2013{width:34px;height:34px;min-width:34px}
  body.folinq-r2013 .comment-r2013.reply .comment-avatar-link-r2013{width:30px;height:30px;min-width:30px}
  body.folinq-r2013 .comment-bubble-r2013{padding:9px 10px!important}
  body.folinq-r2013 .comment-top-r2013{grid-template-columns:minmax(0,1fr) auto!important}
  body.folinq-r2013 .comment-time{grid-column:1/2;grid-row:2;font-size:9px}
  body.folinq-r2013 .comment-menu-r2013{grid-column:2;grid-row:1/3}
  body.folinq-r2013 .comment-composer-r2013{grid-template-columns:34px minmax(0,1fr)!important;gap:7px!important}
  body.folinq-r2013 .comment-reply-composer-r2013{grid-template-columns:30px minmax(0,1fr)!important}
  body.folinq-r2013 .comment-composer-avatar-link-r2013{width:34px;height:34px;min-width:34px}
  body.folinq-r2013 .comment-reply-composer-r2013 .comment-composer-avatar-link-r2013{width:30px;height:30px;min-width:30px}
  body.folinq-r2013 .comment-composer-shell-r2013 textarea{min-height:46px!important;height:46px!important;font-size:14px!important;padding-inline-start:48px!important;padding-inline-end:78px!important}
  body.folinq-r2013 .comment-send-r2013,body.folinq-r2013 .comment-emoji-toggle-r2013,body.folinq-r2013 .comment-upload-r2013{width:30px!important;height:30px!important;min-width:30px!important}
  body.folinq-r2013 .comment-emoji-menu-r2013{grid-template-columns:repeat(6,minmax(30px,1fr));width:min(250px,calc(100vw - 62px))}
  body.folinq-r2013 .refolio-mode-grid-r2013{grid-template-columns:1fr}
  body.folinq-r2013 .refolio-source-r2013{grid-template-columns:58px minmax(0,1fr)}
  body.folinq-r2013 .refolio-source-r2013 img{width:58px;height:72px}
  body.folinq-r2013 .endorsement-hero-v204{align-items:flex-start!important;flex-direction:column!important}
  body.folinq-r2013 .endorsement-hero-avatar-r2013{width:58px!important;height:58px!important;min-width:58px!important;max-width:58px!important;min-height:58px!important;max-height:58px!important}
  body.folinq-r2013 .folio-analytics-profile-v199{grid-template-columns:58px minmax(0,1fr)!important}
  body.folinq-r2013 .folio-analytics-avatar-r2013{width:58px!important;height:58px!important;min-width:58px!important;max-width:58px!important;min-height:58px!important;max-height:58px!important}
  body.folinq-r2013 .folio-analytics-profile-v199 .btn{grid-column:1/-1;width:100%!important}
  body.folinq-r2013 .folinq-online-metrics-r20128{grid-template-columns:1fr!important}
  body.folinq-r2013 .folinq-online-list-r20128{grid-template-columns:1fr!important}
  body.folinq-r2013 .shelf-kanban-toolbar-v1992{grid-template-columns:1fr!important}
  body.folinq-r2013 .shelf-kanban-view-actions-v1992{grid-row:2;justify-content:flex-start!important;overflow:auto}
  body.folinq-r2013 .shelf-kanban-filter-v1992,
  body.folinq-r2013 .shelf-folder-create-v1992{grid-template-columns:1fr!important}
  body.folinq-r2013 .shelf-folder-create-v1992 input[type="color"]{width:100%!important}
  body.folinq-r2013 .shelf-kanban-column-v1992{flex-basis:86vw!important;width:86vw!important;min-width:86vw!important;max-width:86vw!important}
  body.folinq-r2013 .profile-fa-zone{width:100%!important;max-width:100%!important}
  body.folinq-r2013 .profile-endorsement-item-r2013,
  body.folinq-r2013 .endorsement-row-r2013{padding:10px!important}
  body.folinq-r2013 .folio-emoji-menu-v214{grid-template-columns:repeat(6,minmax(36px,1fr))!important;inset-inline-start:auto!important;inset-inline-end:0!important}
}

/* Folinq v199 Hotfix 7 R20.13 Fix 1 — interaction and layout stabilization. */

/* Later !important display rules must never defeat native hidden state. */
body.folinq-r2013 [data-comment-reply-form-r2013][hidden],
body.folinq-r2013 [data-comment-replies-r2013][hidden],
body.folinq-r2013 [data-comment-emoji-menu-r2013][hidden],
body.folinq-r2013 [data-folio-emoji-menu-v214][hidden],
body.folinq-r2013 [data-comment-menu-panel-r2013][hidden],
body.folinq-r2013 [data-comment-image-preview-r2013][hidden],
body.folinq-r2013 .comment-edit-r2013[hidden],
body.folinq-r2013 .refolio-modal-r2013[hidden],
body.folinq-r2013 .endorsement-modal-r2013[hidden],
body.folinq-r2013 .inspired-search-r2013[hidden]{display:none!important}

/* Folio copy: natural reading rhythm, no doubled pre-wrap spacing. */
body.folinq-r2013 .folio-preview-r2013,
body.folinq-r2013 .folio-full-r2013{
  line-height:1.72!important;
  white-space:normal!important;
  word-spacing:normal!important;
  letter-spacing:normal!important;
}
body.folinq-r2013 .folio-preview-r2013{cursor:pointer}
body.folinq-r2013 .folio-full-r2013 p,
body.folinq-r2013 .folio-full-r2013 div,
body.folinq-r2013 .folio-full-r2013 blockquote{margin:0 0 .55em!important}
body.folinq-r2013 .folio-full-r2013 p:last-child,
body.folinq-r2013 .folio-full-r2013 div:last-child,
body.folinq-r2013 .folio-full-r2013 blockquote:last-child{margin-bottom:0!important}

/* Composer controls stay in one stable row inside the rounded field. */
body.folinq-r2013 .comment-composer-shell-r2013 textarea{
  height:48px!important;
  min-height:48px!important;
  padding:13px 82px 13px 50px!important;
}
html[dir="ltr"] body.folinq-r2013 .comment-composer-shell-r2013 textarea{
  padding:13px 50px 13px 82px!important;
}
body.folinq-r2013 .comment-composer-tools-r2013{
  top:7px!important;
  bottom:auto!important;
  left:8px!important;
  right:8px!important;
  min-height:34px!important;
  z-index:12!important;
}
body.folinq-r2013 .comment-tool-group-r2013{position:relative!important;z-index:14!important;gap:4px!important}
body.folinq-r2013 .comment-send-r2013,
body.folinq-r2013 .comment-emoji-toggle-r2013,
body.folinq-r2013 .comment-upload-r2013{position:relative!important;z-index:15!important;overflow:hidden!important}
body.folinq-r2013 .comment-upload-r2013 input{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  opacity:0!important;
  pointer-events:auto!important;
  cursor:pointer!important;
}
body.folinq-r2013 .comment-composer-preview-r2013{margin:8px 12px 10px!important}
body.folinq-r2013 .comment-composer-shell-r2013.has-preview-r2013 textarea{min-height:48px!important}
body.folinq-r2013 .comment-emoji-menu-r2013{bottom:48px!important;z-index:2147481200!important}

/* Folio emoji palette must close cleanly and always float above the editor. */
body.folinq-r2013 .folio-emoji-picker-v214{z-index:2147481000!important}
body.folinq-r2013 .folio-emoji-menu-v214{z-index:2147481100!important;overflow:visible!important}

/* Refolio source occupies the full card when there is no cover. */
body.folinq-r2013 .refolio-source-r2013:not(.has-cover-r2013){grid-template-columns:minmax(0,1fr)!important}
body.folinq-r2013 .refolio-source-r2013:not(.has-cover-r2013)>div{grid-column:1!important;width:100%!important}
body.folinq-r2013 .refolio-source-body-r2013{
  width:100%!important;
  max-width:100%!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  white-space:normal!important;
  line-height:1.7!important;
  text-align:start!important;
  overflow-wrap:anywhere!important;
}

/* Compact corner ribbon, without the old rotated rectangular sash. */
body.folinq-r2013 article.post[data-work-card]>.visibility-ribbon,
body.folinq-r2013 .post[data-work-card]>.visibility-ribbon{
  position:absolute!important;
  inset:auto!important;
  top:0!important;
  left:0!important;
  right:auto!important;
  width:38px!important;
  height:38px!important;
  min-width:38px!important;
  max-width:38px!important;
  min-height:38px!important;
  max-height:38px!important;
  margin:0!important;
  padding:0!important;
  transform:none!important;
  rotate:0deg!important;
  border:0!important;
  border-radius:14px 0 0 0!important;
  clip-path:polygon(0 0,100% 0,0 100%)!important;
  -webkit-clip-path:polygon(0 0,100% 0,0 100%)!important;
  box-shadow:none!important;
  overflow:hidden!important;
  z-index:45!important;
}
body.folinq-r2013 .post[data-work-card]>.visibility-ribbon svg{
  position:absolute!important;
  top:7px!important;
  left:7px!important;
  width:12px!important;
  height:12px!important;
  transform:none!important;
}
body.folinq-r2013 .post[data-work-card]>.visibility-ribbon i,
body.folinq-r2013 .post[data-work-card]>.visibility-ribbon:before,
body.folinq-r2013 .post[data-work-card]>.visibility-ribbon:after{display:none!important;content:none!important}

/* Profile navigation wraps instead of exposing a permanent horizontal scrollbar. */
body.folinq-r2013 .profile-tabs-v125,
body.folinq-r2013 .profile-tabs-v175,
body.folinq-r2013 .activity-tabs.profile-tabs-v175{
  display:flex!important;
  flex-wrap:wrap!important;
  overflow-x:hidden!important;
  overflow-y:visible!important;
  scrollbar-width:none!important;
}
body.folinq-r2013 .profile-tabs-v125::-webkit-scrollbar,
body.folinq-r2013 .profile-tabs-v175::-webkit-scrollbar{display:none!important}

/* Book reaction layer stays above the tabs/card that follows it. */
body.folinq-r2013 .book-social-panel,
body.folinq-r2013 .book-action-strip,
body.folinq-r2013 .book-page-icon-actions,
body.folinq-r2013 [data-book-reaction-picker]{position:relative!important;z-index:80!important;overflow:visible!important;isolation:isolate!important}
body.folinq-r2013 .book-reaction-picker,
body.folinq-r2013 .book-reaction-menu,
body.folinq-r2013 .book-reaction-popover,
body.folinq-r2013 [data-book-reaction-menu]{z-index:2147481300!important}
body.folinq-r2013 .book-tabs,
body.folinq-r2013 .book-tabs-v142{position:relative!important;z-index:1!important}

@media(max-width:700px){
  body.folinq-r2013 .comment-composer-shell-r2013 textarea{
    height:46px!important;
    min-height:46px!important;
    padding-inline-start:48px!important;
    padding-inline-end:78px!important;
  }
  body.folinq-r2013 .comment-composer-tools-r2013{top:6px!important}
  body.folinq-r2013 .folio-preview-r2013,
  body.folinq-r2013 .folio-full-r2013{line-height:1.68!important}
}

/* Folinq v199 Hotfix 7 R20.13 Fix 2 — replies-first interaction, Full-stop people, and feed composer parity. */

/* Native hidden state must win over older display rules. */
body.folinq-r2013 [data-comment-reply-form-r2013][hidden],
body.folinq-r2013 [data-comment-image-preview-r2013][hidden],
body.folinq-r2013 [data-comment-emoji-menu-r2013][hidden],
body.folinq-r2013 [data-folio-emoji-menu-v214][hidden],
body.folinq-r2013 [data-comment-menu-panel-r2013][hidden],
body.folinq-r2013 .full-stop-users-modal-r2013[hidden]{display:none!important}

/* The Full-stop statistic is a people-list trigger, never the reaction action itself. */
body.folinq-r2013 .folio-full-stop-stat-r2013{
  appearance:none!important;-webkit-appearance:none!important;
  display:inline-flex!important;align-items:center!important;gap:6px!important;
  min-height:28px!important;margin:0!important;padding:3px 5px!important;
  border:0!important;border-radius:9px!important;background:transparent!important;
  box-shadow:none!important;color:var(--r2013-muted)!important;font:inherit!important;cursor:pointer!important
}
body.folinq-r2013 .folio-full-stop-stat-r2013:hover,
body.folinq-r2013 .folio-full-stop-stat-r2013:focus-visible{background:#edf5fd!important;color:var(--r2013-blue)!important;outline:none!important}
body.folinq-r2013 .folio-full-stop-stat-r2013.is-active{color:var(--r2013-blue)!important}
body.folinq-r2013 .full-stop-users-modal-r2013{position:fixed;inset:0;z-index:2147483100;display:grid;place-items:center;padding:18px}
body.folinq-r2013 .full-stop-users-dialog-r2013{
  position:relative;z-index:1;width:min(500px,100%);max-height:min(700px,calc(100vh - 36px));
  display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden;
  border:1px solid var(--r2013-line);border-radius:20px;background:#fff;box-shadow:0 30px 90px rgba(15,31,51,.28)
}
body.folinq-r2013 .full-stop-users-dialog-r2013 .r2013-modal-head small{display:block;max-width:330px;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--r2013-muted);font-size:12px;font-weight:500}
body.folinq-r2013 .full-stop-users-list-r2013{display:grid;gap:5px;overflow:auto;padding:8px 12px 14px}
body.folinq-r2013 .full-stop-user-r2013{display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:10px;padding:8px;border-radius:12px;color:var(--r2013-text);text-decoration:none}
body.folinq-r2013 .full-stop-user-r2013:hover{background:var(--r2013-soft)}
body.folinq-r2013 .full-stop-user-r2013 img{width:44px!important;height:44px!important;min-width:44px!important;max-width:44px!important;min-height:44px!important;max-height:44px!important;aspect-ratio:1/1!important;border-radius:50%!important;object-fit:cover!important}
body.folinq-r2013 .full-stop-user-r2013 span{min-width:0;display:grid;gap:1px}
body.folinq-r2013 .full-stop-user-r2013 b,
body.folinq-r2013 .full-stop-user-r2013 small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.folinq-r2013 .full-stop-user-r2013 small{color:var(--r2013-muted);font-size:11px}
body.folinq-r2013 .full-stop-users-loading-r2013,
body.folinq-r2013 .full-stop-users-empty-r2013{margin:0;padding:28px 12px;text-align:center;color:var(--r2013-muted)}
body.folinq-r2013 .full-stop-users-note-r2013{margin:4px 8px 10px;padding:9px 10px;border-radius:10px;background:#f5f8fb;color:var(--r2013-muted);font-size:11px;text-align:center}

/* Comments and replies stay expanded unless the body is genuinely long. */
body.folinq-r2013 .comment-replies-r2013{display:grid!important;gap:8px!important;min-width:0!important;margin:7px 0 0!important}
body.folinq-r2013 .comment-replies-r2013:empty{display:none!important}
body.folinq-r2013 .comment-reply-action-r2013.is-loading-r2013{opacity:.58!important;pointer-events:none!important}
body.folinq-r2013 .comment-replies-more-r2013{display:flex!important;align-items:center!important;gap:8px!important;margin:5px 4px!important;padding:0!important}
body.folinq-r2013 .comment-replies-more-r2013 button{display:inline-flex!important;align-items:center!important;gap:7px!important;min-height:32px!important;padding:5px 9px!important;border:0!important;border-radius:10px!important;background:transparent!important;color:var(--r2013-blue)!important;font-size:12px!important;font-weight:800!important;cursor:pointer!important}
body.folinq-r2013 .comment-replies-more-r2013 button:hover{background:#edf5fd!important}
body.folinq-r2013 .comment-replies-more-r2013 button:disabled{opacity:.55!important;cursor:wait!important}
body.folinq-r2013 .comment-replies-more-r2013 small{color:var(--r2013-muted)!important;font-size:11px!important}

/* LinkedIn-like composer: text first, then image/emoji at the text edge and Send at the opposite edge. */
body.folinq-r2013 .comment-composer-r2013{
  display:grid!important;grid-template-columns:38px minmax(0,1fr)!important;gap:9px!important;align-items:start!important;
  margin:10px 0!important;padding:0!important;border:0!important;background:transparent!important;overflow:visible!important
}
body.folinq-r2013 .comment-reply-composer-r2013{margin-top:8px!important}
body.folinq-r2013 .comment-composer-shell-r2013{
  position:relative!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto auto!important;
  min-width:0!important;padding:7px 9px 6px!important;border:1px solid #b8c7d6!important;border-radius:22px!important;
  background:#fff!important;box-shadow:none!important;overflow:visible!important
}
body.folinq-r2013 .comment-composer-shell-r2013:focus-within{border-color:#67a5e8!important;box-shadow:0 0 0 2px rgba(10,102,194,.08)!important}
body.folinq-r2013 .comment-composer-shell-r2013 textarea{
  grid-row:1!important;position:static!important;display:block!important;width:100%!important;
  min-height:42px!important;height:42px;max-height:170px!important;margin:0!important;padding:6px 7px!important;
  border:0!important;border-radius:13px!important;background:transparent!important;box-shadow:none!important;outline:0!important;
  resize:none!important;overflow-y:hidden;line-height:1.65!important
}
body.folinq-r2013 .comment-composer-preview-r2013{grid-row:2!important;position:relative!important;width:72px!important;height:72px!important;margin:5px 5px 4px!important;overflow:hidden!important;border:1px solid var(--r2013-line)!important;border-radius:12px!important;background:#f5f8fb!important}
body.folinq-r2013 .comment-composer-preview-r2013 img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important}
body.folinq-r2013 .comment-composer-tools-r2013{
  grid-row:3!important;position:static!important;inset:auto!important;display:flex!important;align-items:center!important;
  justify-content:space-between!important;width:100%!important;min-height:36px!important;margin:1px 0 0!important;padding:0 2px!important;
  direction:rtl!important;pointer-events:auto!important;z-index:20!important
}
html[dir="ltr"] body.folinq-r2013 .comment-composer-tools-r2013{direction:ltr!important}
body.folinq-r2013 .comment-tool-group-r2013{order:1!important;display:flex!important;align-items:center!important;gap:3px!important;position:static!important;z-index:22!important}
body.folinq-r2013 .comment-send-r2013{order:2!important}
body.folinq-r2013 .comment-send-r2013,
body.folinq-r2013 .comment-emoji-toggle-r2013,
body.folinq-r2013 .comment-upload-r2013{position:relative!important;inset:auto!important;display:inline-grid!important;place-items:center!important;width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;margin:0!important;padding:0!important;border-radius:50%!important;overflow:hidden!important;cursor:pointer!important}
body.folinq-r2013 .comment-send-r2013{border:0!important;background:var(--r2013-blue)!important;color:#fff!important}
body.folinq-r2013 .comment-emoji-toggle-r2013,
body.folinq-r2013 .comment-upload-r2013{border:0!important;background:transparent!important;color:#516273!important}
body.folinq-r2013 .comment-emoji-toggle-r2013:hover,
body.folinq-r2013 .comment-upload-r2013:hover{background:#eef4fa!important;color:var(--r2013-blue)!important}
body.folinq-r2013 .comment-send-r2013 svg,
body.folinq-r2013 .comment-upload-r2013 svg{width:18px!important;height:18px!important}
body.folinq-r2013 .comment-upload-r2013 input{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;opacity:0!important;pointer-events:auto!important;cursor:pointer!important;z-index:3!important}
body.folinq-r2013 .comment-emoji-menu-r2013{position:absolute!important;z-index:2147482500!important;bottom:45px!important;inset-inline-start:8px!important;inset-inline-end:auto!important;width:min(300px,calc(100vw - 42px))!important;padding:9px!important;grid-template-columns:repeat(4,minmax(42px,1fr))!important;gap:5px!important;background:#fff!important;border:1px solid var(--r2013-line)!important;border-radius:14px!important;box-shadow:var(--r2013-shadow)!important}
body.folinq-r2013 .comment-emoji-menu-r2013 button{height:40px!important;border:0!important;border-radius:9px!important;background:#f7f9fc!important;font-size:21px!important;cursor:pointer!important}
body.folinq-r2013 .comment-emoji-menu-r2013 button:hover{background:#e8f3ff!important}

/* Feed comment menus live at document level and cannot be clipped by a card. */
body.folinq-r2013 .comment-menu-panel-r2013[data-comment-menu-floating-r2013]{position:fixed!important;display:block!important;z-index:2147483200!important;margin:0!important;inset:auto!important;pointer-events:auto!important;max-height:min(360px,calc(100vh - 20px))!important;overflow:auto!important}

/* Feed composer parity with /write. */
body.folinq-r2013 form[data-work-composer-v198] .feed-folio-extras-r2013{display:grid!important;grid-template-columns:auto minmax(190px,1fr)!important;align-items:start!important;gap:10px!important;margin:8px 0 0!important;padding:9px!important;border:1px solid #e2ebf4!important;border-radius:13px!important;background:#fbfdff!important}
body.folinq-r2013 form[data-work-composer-v198] .feed-folio-emoji-r2013{margin:0!important;z-index:70!important}
body.folinq-r2013 form[data-work-composer-v198] .feed-folio-inspired-r2013{margin:0!important;min-width:0!important;padding:7px 9px!important}
body.folinq-r2013 form[data-work-composer-v198] .feed-folio-inspired-r2013>span{font-size:11px!important}
body.folinq-r2013 form[data-work-composer-v198] .feed-folio-inspired-r2013>input{min-height:38px!important}

/* Remove only the artificial leading blank row after a Folio title. */
body.folinq-r2013 article[data-work-card] .post-title{margin:0!important;padding:0!important;line-height:1.55!important}
body.folinq-r2013 article[data-work-card] a + .post-body{margin-top:0!important;padding-top:0!important}
body.folinq-r2013 article[data-work-card] .post-body>.folio-preview-r2013:first-child,
body.folinq-r2013 article[data-work-card] .post-body>.folio-full-r2013:first-child{margin-top:0!important;padding-top:0!important}

@media(max-width:700px){
  body.folinq-r2013 .full-stop-users-modal-r2013{padding:10px}
  body.folinq-r2013 .full-stop-users-dialog-r2013{max-height:calc(100vh - 20px);border-radius:17px}
  body.folinq-r2013 .comment-composer-r2013{grid-template-columns:32px minmax(0,1fr)!important;gap:7px!important}
  body.folinq-r2013 .comment-composer-avatar-link-r2013{width:32px!important;height:32px!important;min-width:32px!important}
  body.folinq-r2013 .comment-reply-composer-r2013{grid-template-columns:28px minmax(0,1fr)!important}
  body.folinq-r2013 .comment-reply-composer-r2013 .comment-composer-avatar-link-r2013{width:28px!important;height:28px!important;min-width:28px!important}
  body.folinq-r2013 .comment-composer-shell-r2013{padding:6px 7px 5px!important;border-radius:19px!important}
  body.folinq-r2013 .comment-composer-shell-r2013 textarea{min-height:40px!important;height:40px;padding:5px 6px!important;font-size:14px!important}
  body.folinq-r2013 .comment-send-r2013,
  body.folinq-r2013 .comment-emoji-toggle-r2013,
  body.folinq-r2013 .comment-upload-r2013{width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important}
  body.folinq-r2013 form[data-work-composer-v198] .feed-folio-extras-r2013{grid-template-columns:1fr!important}
}

/* Folinq v199 Hotfix 7 R20.13 Fix 3 — final comment, Full-stop modal, title and source/inspiration geometry. */

/* Native hidden state always wins over earlier layout declarations. */
body.folinq-r2013 [data-comment-reply-form-r2013][hidden],
body.folinq-r2013 [data-comment-image-preview-r2013][hidden],
body.folinq-r2013 [data-comment-emoji-menu-r2013][hidden],
body.folinq-r2013 [data-comment-menu-panel-r2013][hidden],
body.folinq-r2013 .full-stop-users-modal-r2013[hidden]{display:none!important}

/* Folio title/body keep a normal gutter and no artificial row between them. */
body.folinq-r2013 article[data-work-card] .post-title{
  margin:0 0 2px!important;
  padding:0 10px!important;
  line-height:1.55!important;
  overflow-wrap:anywhere!important
}
body.folinq-r2013 article[data-work-card] .post-body{
  margin-top:0!important;
  padding:0 10px!important
}
body.folinq-r2013 article[data-work-card] .post-body>.folio-preview-r2013:first-child,
body.folinq-r2013 article[data-work-card] .post-body>.folio-full-r2013:first-child,
body.folinq-r2013 article[data-work-card] .folio-full-r2013>:first-child{
  margin-top:0!important;
  padding-top:0!important
}
body.folinq-r2013 article[data-work-card] .folio-preview-r2013,
body.folinq-r2013 article[data-work-card] .folio-full-r2013{
  line-height:1.72!important
}

/* Source URL and Inspired-by are equal sibling fields in one row. */
body.folinq-r2013 .folio-source-inspired-grid-r2013{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  gap:12px!important;
  align-items:stretch!important;
  width:100%!important;
  overflow:visible!important
}
body.folinq-r2013 .folio-source-url-field-r2013,
body.folinq-r2013 .folio-source-inspired-grid-r2013>.folio-inspired-person-v198{
  position:relative!important;
  display:grid!important;
  grid-template-rows:auto minmax(42px,auto)!important;
  gap:7px!important;
  min-width:0!important;
  width:100%!important;
  margin:0!important;
  padding:10px!important;
  border:1px solid var(--r2013-line)!important;
  border-radius:12px!important;
  background:#fff!important
}
body.folinq-r2013 .folio-source-url-field-r2013 .folio-editor-v173-branch-copy{
  display:grid!important;
  gap:2px!important;
  min-width:0!important
}
body.folinq-r2013 .folio-source-url-field-r2013 .folio-editor-v173-branch-title,
body.folinq-r2013 .folio-source-inspired-grid-r2013>.folio-inspired-person-v198>span{
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  font-weight:800!important;
  color:#42556b!important
}
body.folinq-r2013 .folio-source-url-field-r2013 small{
  color:var(--r2013-muted)!important;
  font-size:11px!important;
  line-height:1.55!important
}
body.folinq-r2013 .folio-source-url-field-r2013>input,
body.folinq-r2013 .folio-source-inspired-grid-r2013>.folio-inspired-person-v198>input{
  width:100%!important;
  min-width:0!important;
  min-height:42px!important;
  margin:0!important;
  padding:0 11px!important;
  border:1px solid #d5e0eb!important;
  border-radius:10px!important;
  background:#fff!important;
  box-shadow:none!important;
  outline:0!important
}
body.folinq-r2013 .folio-source-url-field-r2013>input:focus,
body.folinq-r2013 .folio-source-inspired-grid-r2013>.folio-inspired-person-v198>input:focus{
  border-color:#78aee8!important;
  box-shadow:0 0 0 3px rgba(10,102,194,.08)!important
}
body.folinq-r2013 .folio-source-inspired-grid-r2013 .inspired-search-r2013{
  z-index:2147482200!important
}

/* Comment Full stop: dot toggles; the adjacent number opens the people list. */
body.folinq-r2013 .comment-full-stop-group-r2013{
  display:inline-flex!important;
  align-items:center!important;
  gap:2px!important;
  min-height:24px!important
}
body.folinq-r2013 .comment-full-stop-group-r2013 .comment-full-stop-r2013{
  display:inline-grid!important;
  place-items:center!important;
  width:22px!important;
  height:24px!important;
  min-width:22px!important;
  min-height:24px!important;
  padding:0!important
}
body.folinq-r2013 .comment-full-stop-count-r2013{
  display:inline-grid!important;
  place-items:center!important;
  min-width:20px!important;
  height:24px!important;
  min-height:24px!important;
  margin:0!important;
  padding:0 4px!important;
  border:0!important;
  border-radius:8px!important;
  background:transparent!important;
  color:var(--r2013-muted)!important;
  font-size:11px!important;
  font-weight:800!important;
  line-height:1!important;
  cursor:pointer!important;
  box-shadow:none!important
}
body.folinq-r2013 button.comment-full-stop-count-r2013:hover,
body.folinq-r2013 button.comment-full-stop-count-r2013:focus-visible{
  background:#edf5fd!important;
  color:var(--r2013-blue)!important;
  outline:0!important
}

/* The real comment menu is portalled to body, so a Feed card can never clip it. */
body.folinq-r2013 .comment-menu-panel-r2013[data-comment-menu-floating-r2013]{
  position:fixed!important;
  display:block!important;
  visibility:visible!important;
  z-index:2147483600!important;
  inset:auto!important;
  width:230px!important;
  max-width:calc(100vw - 20px)!important;
  max-height:min(380px,calc(100vh - 20px))!important;
  margin:0!important;
  padding:7px!important;
  overflow:auto!important;
  pointer-events:auto!important;
  border:1px solid var(--r2013-line)!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:0 22px 60px rgba(15,31,51,.24)!important
}

/* Full-stop people dialog: readable type and a real inner gutter. */
body.folinq-r2013 .full-stop-users-modal-r2013{
  padding:18px!important
}
body.folinq-r2013 .full-stop-users-dialog-r2013{
  width:min(520px,100%)!important;
  padding:0!important;
  overflow:hidden!important
}
body.folinq-r2013 .full-stop-users-dialog-r2013>.r2013-modal-head{
  min-width:0!important;
  padding:16px 18px 13px!important;
  border-bottom:1px solid #e6edf4!important;
  background:#fff!important
}
body.folinq-r2013 .full-stop-users-dialog-r2013>.r2013-modal-head>div{
  min-width:0!important;
  padding-inline-end:8px!important
}
body.folinq-r2013 .full-stop-users-dialog-r2013 .r2013-modal-head h2{
  margin:0!important;
  font-size:18px!important;
  line-height:1.45!important;
  letter-spacing:0!important
}
body.folinq-r2013 .full-stop-users-dialog-r2013 .r2013-modal-head small{
  display:block!important;
  max-width:100%!important;
  margin-top:4px!important;
  color:var(--r2013-muted)!important;
  font-size:12px!important;
  font-weight:500!important;
  line-height:1.55!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important
}
body.folinq-r2013 .full-stop-users-list-r2013{
  display:grid!important;
  gap:6px!important;
  overflow:auto!important;
  padding:10px 16px 18px!important
}
body.folinq-r2013 .full-stop-user-r2013{
  gap:11px!important;
  padding:9px 10px!important;
  border-radius:12px!important;
  font-size:13px!important
}
body.folinq-r2013 .full-stop-user-r2013 b{
  font-size:13px!important;
  line-height:1.5!important
}
body.folinq-r2013 .full-stop-user-r2013 small{
  font-size:11px!important;
  line-height:1.5!important
}

/* Final LinkedIn-like comment/reply composer. */
body.folinq-r2013 form.comment-composer-r2013{
  display:grid!important;
  grid-template-columns:40px minmax(0,1fr)!important;
  gap:10px!important;
  align-items:start!important;
  margin:10px 0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  overflow:visible!important
}
body.folinq-r2013 form.comment-reply-composer-r2013{
  grid-template-columns:34px minmax(0,1fr)!important;
  margin:8px 0 10px!important
}
body.folinq-r2013 form.comment-composer-r2013 .comment-composer-avatar-link-r2013{
  display:block!important;
  width:40px!important;
  height:40px!important;
  min-width:40px!important;
  margin-top:2px!important
}
body.folinq-r2013 form.comment-reply-composer-r2013 .comment-composer-avatar-link-r2013{
  width:34px!important;
  height:34px!important;
  min-width:34px!important
}
body.folinq-r2013 form.comment-composer-r2013 .comment-composer-shell-r2013{
  position:relative!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:auto auto auto!important;
  min-width:0!important;
  width:100%!important;
  min-height:78px!important;
  margin:0!important;
  padding:8px 10px 7px!important;
  border:1px solid #8f9aa5!important;
  border-radius:24px!important;
  background:#fff!important;
  box-shadow:none!important;
  overflow:visible!important
}
body.folinq-r2013 form.comment-composer-r2013 .comment-composer-shell-r2013:focus-within{
  border-color:#5f9dde!important;
  box-shadow:0 0 0 2px rgba(10,102,194,.08)!important
}
body.folinq-r2013 form.comment-composer-r2013 .comment-composer-shell-r2013 textarea{
  grid-row:1!important;
  position:static!important;
  display:block!important;
  width:100%!important;
  min-height:42px!important;
  height:42px;
  max-height:170px!important;
  margin:0!important;
  padding:5px 7px 4px!important;
  border:0!important;
  border-radius:14px!important;
  background:transparent!important;
  box-shadow:none!important;
  outline:0!important;
  resize:none!important;
  line-height:1.65!important;
  overflow-y:hidden
}
body.folinq-r2013 form.comment-composer-r2013 .comment-composer-preview-r2013{
  grid-row:2!important;
  position:relative!important;
  width:72px!important;
  height:72px!important;
  margin:5px 6px 5px!important;
  border:1px solid var(--r2013-line)!important;
  border-radius:12px!important;
  background:#f5f8fb!important;
  overflow:hidden!important
}
body.folinq-r2013 form.comment-composer-r2013 .comment-composer-preview-r2013 img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important
}
body.folinq-r2013 form.comment-composer-r2013 .comment-composer-tools-r2013{
  grid-row:3!important;
  position:static!important;
  inset:auto!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  width:100%!important;
  min-height:36px!important;
  margin:0!important;
  padding:1px 2px 0!important;
  direction:inherit!important;
  pointer-events:auto!important;
  z-index:20!important
}
body.folinq-r2013 form.comment-composer-r2013 .comment-tool-group-r2013{
  display:flex!important;
  align-items:center!important;
  gap:2px!important;
  position:static!important;
  margin:0!important
}
body.folinq-r2013 form.comment-composer-r2013 .comment-send-r2013{
  position:relative!important;
  inset:auto!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  min-width:66px!important;
  height:32px!important;
  min-height:32px!important;
  margin:0!important;
  padding:0 16px!important;
  border:0!important;
  border-radius:18px!important;
  background:var(--r2013-blue)!important;
  color:#fff!important;
  font:inherit!important;
  font-size:13px!important;
  font-weight:800!important;
  line-height:1!important;
  white-space:nowrap!important;
  overflow:visible!important;
  cursor:pointer!important
}
body.folinq-r2013 form.comment-composer-r2013 .comment-send-r2013:disabled{
  background:#eceff2!important;
  color:#a6adb5!important;
  cursor:default!important;
  opacity:1!important
}
body.folinq-r2013 form.comment-composer-r2013 .comment-emoji-toggle-r2013,
body.folinq-r2013 form.comment-composer-r2013 .comment-upload-r2013{
  display:inline-grid!important;
  place-items:center!important;
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  min-height:34px!important;
  padding:0!important;
  border-radius:50%!important;
  overflow:hidden!important;
  cursor:pointer!important
}
body.folinq-r2013 form.comment-composer-r2013 .comment-emoji-toggle-r2013,
body.folinq-r2013 form.comment-composer-r2013 .comment-upload-r2013{
  position:relative!important;
  border:0!important;
  background:transparent!important;
  color:#44515d!important
}
body.folinq-r2013 form.comment-composer-r2013 .comment-emoji-toggle-r2013:hover,
body.folinq-r2013 form.comment-composer-r2013 .comment-upload-r2013:hover{
  background:#eef4fa!important;
  color:var(--r2013-blue)!important
}
body.folinq-r2013 form.comment-composer-r2013 .comment-upload-r2013 input{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  opacity:0!important;
  pointer-events:auto!important;
  cursor:pointer!important;
  z-index:3!important
}
body.folinq-r2013 form.comment-composer-r2013 .comment-send-r2013 svg,
body.folinq-r2013 form.comment-composer-r2013 .comment-upload-r2013 svg{
  width:18px!important;
  height:18px!important
}
body.folinq-r2013 form.comment-composer-r2013 .comment-emoji-menu-r2013{
  position:absolute!important;
  z-index:2147482500!important;
  bottom:44px!important;
  inset-inline-start:8px!important;
  inset-inline-end:auto!important;
  width:min(292px,calc(100vw - 46px))!important;
  display:grid!important;
  grid-template-columns:repeat(4,minmax(42px,1fr))!important;
  gap:5px!important;
  padding:9px!important;
  background:#fff!important;
  border:1px solid var(--r2013-line)!important;
  border-radius:14px!important;
  box-shadow:var(--r2013-shadow)!important
}
body.folinq-r2013 form.comment-composer-r2013 .comment-emoji-menu-r2013 button{
  height:40px!important;
  border:0!important;
  border-radius:9px!important;
  background:#f7f9fc!important;
  font-size:21px!important;
  cursor:pointer!important
}
body.folinq-r2013 form.comment-composer-r2013 .comment-emoji-menu-r2013 button:hover{
  background:#e8f3ff!important
}

@media(max-width:700px){
  body.folinq-r2013 .folio-source-inspired-grid-r2013{
    grid-template-columns:1fr!important
  }
  body.folinq-r2013 .full-stop-users-modal-r2013{
    padding:10px!important
  }
  body.folinq-r2013 form.comment-composer-r2013{
    grid-template-columns:32px minmax(0,1fr)!important;
    gap:7px!important
  }
  body.folinq-r2013 form.comment-reply-composer-r2013{
    grid-template-columns:28px minmax(0,1fr)!important
  }
  body.folinq-r2013 form.comment-composer-r2013 .comment-composer-avatar-link-r2013{
    width:32px!important;
    height:32px!important;
    min-width:32px!important
  }
  body.folinq-r2013 form.comment-reply-composer-r2013 .comment-composer-avatar-link-r2013{
    width:28px!important;
    height:28px!important;
    min-width:28px!important
  }
  body.folinq-r2013 form.comment-composer-r2013 .comment-composer-shell-r2013{
    min-height:74px!important;
    padding:7px 8px 6px!important;
    border-radius:21px!important
  }
  body.folinq-r2013 form.comment-composer-r2013 .comment-composer-shell-r2013 textarea{
    min-height:40px!important;
    height:40px;
    padding:5px 6px!important;
    font-size:14px!important
  }
  body.folinq-r2013 form.comment-composer-r2013 .comment-send-r2013{
    min-width:62px!important;
    height:30px!important;
    min-height:30px!important;
    padding:0 14px!important;
    font-size:12px!important
  }
  body.folinq-r2013 form.comment-composer-r2013 .comment-emoji-toggle-r2013,
  body.folinq-r2013 form.comment-composer-r2013 .comment-upload-r2013{
    width:32px!important;
    height:32px!important;
    min-width:32px!important;
    min-height:32px!important
  }
}

/* Fix 3 final hidden-state guard: must remain the last display rule. */
body.folinq-r2013 form.comment-composer-r2013 [data-comment-emoji-menu-r2013][hidden],
body.folinq-r2013 form.comment-composer-r2013 [data-comment-image-preview-r2013][hidden],
body.folinq-r2013 form[data-comment-reply-form-r2013][hidden],
body.folinq-r2013 [data-comment-menu-panel-r2013][hidden],
body.folinq-r2013 .full-stop-users-modal-r2013[hidden]{display:none!important}

/* ============================================================
   Folinq v200 — final UI ownership
   ============================================================ */

/* Feed: Reference / attach-to-branch and Inspired-by are equal siblings on desktop. */
body.folinq-r2013 form[data-work-composer-v198] .feed-source-inspired-r200{
  display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:12px!important;align-items:stretch!important;width:100%!important;margin:10px 0!important;overflow:visible!important
}
body.folinq-r2013 form[data-work-composer-v198] .feed-source-inspired-r200>.folio-quick-v174-branch,
body.folinq-r2013 form[data-work-composer-v198] .feed-source-inspired-r200>.folio-inspired-person-v198{
  display:grid!important;grid-template-columns:1fr!important;grid-template-rows:minmax(36px,auto) 42px!important;gap:7px!important;align-content:start!important;min-width:0!important;width:100%!important;margin:0!important;padding:10px!important;border:1px solid var(--r2013-line)!important;border-radius:12px!important;background:#fff!important
}
body.folinq-r2013 form[data-work-composer-v198] .feed-source-inspired-r200>.folio-quick-v174-branch>svg{display:none!important}
body.folinq-r2013 form[data-work-composer-v198] .feed-source-inspired-r200>.folio-quick-v174-branch>span{display:grid!important;gap:2px!important;min-width:0!important}
body.folinq-r2013 form[data-work-composer-v198] .feed-source-inspired-r200>.folio-quick-v174-branch>span>b,
body.folinq-r2013 form[data-work-composer-v198] .feed-source-inspired-r200>.folio-inspired-person-v198>span{font-weight:800!important;color:#42556b!important}
body.folinq-r2013 form[data-work-composer-v198] .feed-source-inspired-r200 input{width:100%!important;min-width:0!important;min-height:42px!important;margin:0!important;border:1px solid #d5e0eb!important;border-radius:10px!important;background:#fff!important;box-shadow:none!important}
body.folinq-r2013 form[data-work-composer-v198] .feed-folio-extras-r2013{grid-template-columns:auto!important;width:max-content!important;max-width:100%!important;padding:6px 8px!important}

/* Comment three-dot menu: independent v200 owner, immune to the old menu listeners. */
body.folinq-r2013 [data-comment-menu-r200]{position:relative!important;display:block!important;justify-self:end!important;z-index:4!important}
body.folinq-r2013 [data-comment-menu-toggle-r200]{position:relative!important;display:grid!important;place-items:center!important;width:32px!important;height:32px!important;min-width:32px!important;padding:0!important;border:0!important;border-radius:50%!important;background:transparent!important;color:#5f6f7f!important;cursor:pointer!important;overflow:visible!important;opacity:1!important;visibility:visible!important}
body.folinq-r2013 [data-comment-menu-toggle-r200] svg{display:none!important}
body.folinq-r2013 [data-comment-menu-toggle-r200]::before{content:'•••';display:block!important;font-family:Arial,sans-serif!important;font-size:17px!important;font-weight:900!important;line-height:10px!important;letter-spacing:1px!important;transform:translateY(-3px)!important;color:currentColor!important}
body.folinq-r2013 [data-comment-menu-toggle-r200]:hover,body.folinq-r2013 [data-comment-menu-toggle-r200]:focus-visible{background:#e5ebf1!important;color:#1e334b!important;outline:0!important}
body.folinq-r2013 [data-comment-menu-panel-r200][hidden]{display:none!important}
body.folinq-r2013 [data-comment-menu-panel-r200].is-floating-r200{position:fixed!important;display:block!important;visibility:visible!important;z-index:2147483640!important;inset:auto!important;max-width:calc(100vw - 20px)!important;max-height:min(380px,calc(100vh - 20px))!important;margin:0!important;padding:7px!important;overflow:auto!important;pointer-events:auto!important;border:1px solid var(--r2013-line)!important;border-radius:14px!important;background:#fff!important;box-shadow:0 22px 60px rgba(15,31,51,.26)!important}
body.folinq-r2013 [data-comment-menu-panel-r200]>a,body.folinq-r2013 [data-comment-menu-panel-r200]>button,body.folinq-r2013 [data-comment-menu-panel-r200] form>button{width:100%!important;display:flex!important;align-items:center!important;gap:9px!important;padding:9px 10px!important;border:0!important;border-radius:9px!important;background:transparent!important;color:var(--r2013-text)!important;text-decoration:none!important;text-align:start!important;cursor:pointer!important}
body.folinq-r2013 [data-comment-menu-panel-r200]>a:hover,body.folinq-r2013 [data-comment-menu-panel-r200]>button:hover,body.folinq-r2013 [data-comment-menu-panel-r200] form>button:hover{background:var(--r2013-soft)!important}
body.folinq-r2013 [data-comment-menu-panel-r200] .danger{color:#c62845!important}
body.folinq-r2013 [data-comment-menu-panel-r200] form{margin:0!important}

/* Compact comment/reply composer; emoji is a first-class 21px control aligned with image. */
body.folinq-r2013 form.comment-composer-r2013{grid-template-columns:36px minmax(0,1fr)!important;gap:8px!important;margin:8px 0!important}
body.folinq-r2013 form.comment-reply-composer-r2013{grid-template-columns:31px minmax(0,1fr)!important;margin:6px 0 8px!important}
body.folinq-r2013 form.comment-composer-r2013 .comment-composer-avatar-link-r2013{width:36px!important;height:36px!important;min-width:36px!important;margin-top:3px!important}
body.folinq-r2013 form.comment-reply-composer-r2013 .comment-composer-avatar-link-r2013{width:31px!important;height:31px!important;min-width:31px!important}
body.folinq-r2013 form.comment-composer-r2013 .comment-composer-shell-r2013{position:relative!important;display:block!important;min-height:56px!important;padding:0!important;border-radius:22px!important;overflow:visible!important}
body.folinq-r2013 form.comment-composer-r2013 .comment-composer-shell-r2013 textarea{display:block!important;width:100%!important;min-height:54px!important;height:54px;max-height:120px!important;padding:11px 86px 11px 84px!important;border-radius:22px!important;line-height:1.55!important;overflow-y:hidden!important}
html[dir="ltr"] body.folinq-r2013 form.comment-composer-r2013 .comment-composer-shell-r2013 textarea{padding:11px 84px 11px 86px!important}
body.folinq-r2013 form.comment-composer-r2013 .comment-composer-tools-r2013{position:absolute!important;left:8px!important;right:8px!important;bottom:10px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;width:auto!important;min-height:30px!important;margin:0!important;padding:0!important;pointer-events:none!important;z-index:20!important}
body.folinq-r2013 form.comment-composer-r2013 .comment-composer-tools-r2013>*{pointer-events:auto!important}
body.folinq-r2013 form.comment-composer-r2013 .comment-tool-group-r2013{display:flex!important;align-items:center!important;gap:1px!important}
body.folinq-r2013 form.comment-composer-r2013 .comment-emoji-toggle-r2013,body.folinq-r2013 form.comment-composer-r2013 .comment-upload-r2013{display:grid!important;place-items:center!important;width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;padding:0!important;overflow:visible!important}
body.folinq-r2013 form.comment-composer-r2013 .comment-emoji-toggle-r2013>span{display:grid!important;place-items:center!important;width:26px!important;height:26px!important;font-size:21px!important;font-family:"Segoe UI Emoji","Apple Color Emoji",sans-serif!important;line-height:1!important;transform:translateY(-1px)!important}
body.folinq-r2013 form.comment-composer-r2013 .comment-upload-r2013 svg{width:18px!important;height:18px!important;display:block!important}
body.folinq-r2013 form.comment-composer-r2013 .comment-send-r2013{height:30px!important;min-height:30px!important;min-width:62px!important;padding:0 14px!important;font-size:12px!important}
body.folinq-r2013 form.comment-composer-r2013 .comment-composer-preview-r2013{margin:8px 10px 44px!important}
body.folinq-r2013 form.comment-composer-r2013 .comment-composer-shell-r2013.has-preview-r2013 textarea{min-height:54px!important}

/* People modal: show roughly ten rows, then scroll. Fetch size remains 200 and unchanged. */
body.folinq-r2013 .full-stop-users-dialog-r2013{max-height:min(760px,calc(100vh - 36px))!important}
body.folinq-r2013 .full-stop-users-list-r2013{max-height:min(570px,calc(100vh - 170px))!important;overflow-y:auto!important;overscroll-behavior:contain!important;scrollbar-gutter:stable!important}
body.folinq-r2013 .full-stop-user-r2013{min-height:52px!important}

/* Saved count is interactive and uses a deliberately black tooltip. */
body.folinq-r2013 .post-stats,body.folinq-r2013 .post-stat-icons{overflow:visible!important}
body.folinq-r2013 .post-stat-saves-r200{position:relative!important;display:inline-flex!important;align-items:center!important;gap:5px!important;margin:0!important;padding:2px 3px!important;border:0!important;border-radius:7px!important;background:transparent!important;color:inherit!important;font:inherit!important;cursor:pointer!important}
body.folinq-r2013 .post-stat-saves-r200:hover{background:#edf5fd!important;color:var(--r2013-blue)!important}
body.folinq-r2013 [data-tooltip-r200]{position:relative!important}
body.folinq-r2013 [data-tooltip-r200]::after{content:attr(data-tooltip-r200);position:absolute;z-index:2147483630;bottom:calc(100% + 8px);left:50%;transform:translateX(-50%) translateY(2px);padding:6px 9px;border-radius:7px;background:#111!important;color:#fff!important;font-size:11px!important;font-weight:700!important;line-height:1.4!important;white-space:nowrap;opacity:0;visibility:hidden;pointer-events:none;transition:.12s ease}
body.folinq-r2013 [data-tooltip-r200]:hover::after,body.folinq-r2013 [data-tooltip-r200]:focus-visible::after{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0)}

/* My Network: resilient card/list switch styling and actual one-column list geometry. */
body.folinq-r2013 .network-view-switch-v219{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:6px!important;margin:12px 0 10px!important;padding:4px!important;border:1px solid #dce7f1!important;border-radius:13px!important;background:#f7fbff!important;width:max-content!important;max-width:100%!important;margin-inline-start:auto!important}
body.folinq-r2013 .network-view-switch-v219>span{margin-inline:5px 3px!important;color:#718096!important;font-size:12px!important;font-weight:800!important}
body.folinq-r2013 .network-view-switch-v219>a{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;min-height:36px!important;padding:6px 12px!important;border:1px solid transparent!important;border-radius:9px!important;background:transparent!important;color:#52677e!important;font-weight:850!important;text-decoration:none!important}
body.folinq-r2013 .network-view-switch-v219>a:hover,body.folinq-r2013 .network-view-switch-v219>a.active{border-color:#8ebce9!important;background:#fff!important;color:#0a66c2!important;box-shadow:0 2px 8px rgba(10,102,194,.08)!important}
body.folinq-r2013 [data-network-view="list"],body.folinq-r2013 .network-view-list-v219{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}
body.folinq-r2013 [data-network-view="list"] .network-v162-card,body.folinq-r2013 .network-view-list-v219 .network-v162-card{position:relative!important;display:grid!important;grid-template-columns:76px minmax(0,1fr)!important;align-items:center!important;gap:14px!important;min-height:102px!important;padding:12px 14px!important;overflow:visible!important}
body.folinq-r2013 [data-network-view="list"] .network-v162-card:not(.network-v162-book-card) .network-v162-cover{display:none!important}
body.folinq-r2013 [data-network-view="list"] .network-v162-avatar{position:relative!important;inset:auto!important;width:68px!important;height:68px!important;margin:0!important}
body.folinq-r2013 [data-network-view="list"] .network-v162-body{min-width:0!important;padding-inline-end:58px!important;text-align:start!important}
body.folinq-r2013 [data-network-view="list"] .network-v162-footer{position:absolute!important;inset-inline-end:14px!important;top:50%!important;transform:translateY(-50%)!important;margin:0!important;padding:0!important;border:0!important}
body.folinq-r2013 [data-network-view="list"] .network-book-cover-v163{width:66px!important;height:84px!important;margin:0!important;border-radius:9px!important;overflow:hidden!important}
body.folinq-r2013 [data-network-view="list"] .network-book-cover-v163 img{width:100%!important;height:100%!important;object-fit:cover!important}

/* Guest service: Folios are clear and scrollable until the first click. */
body.folinq-r2013.folinq-guest-readable-r200 .locked-content{display:block!important;filter:none!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;user-select:auto!important;max-height:none!important;overflow:visible!important}
body.folinq-r2013.folinq-guest-readable-r200 .locked-content::before,body.folinq-r2013.folinq-guest-readable-r200 .locked-content::after{display:none!important}
body.folinq-r2013.folinq-guest-readable-r200 .guest-wall{display:none!important}
.folinq-guest-gate-r200[hidden]{display:none!important}
.folinq-guest-gate-r200{position:fixed;inset:0;z-index:2147483646;display:grid;place-items:center;padding:18px}
.folinq-guest-gate-backdrop-r200{position:absolute;inset:0;background:rgba(8,18,32,.38)}
.folinq-guest-gate-dialog-r200{position:relative;z-index:1;width:min(440px,100%);padding:26px 24px 22px;border:1px solid rgba(255,255,255,.75);border-radius:22px;background:#fff;box-shadow:0 28px 90px rgba(8,18,32,.28);text-align:center;color:#17283b}
.folinq-guest-gate-close-r200{position:absolute;top:10px;inset-inline-end:10px;width:34px;height:34px;border:0;border-radius:50%;background:#edf2f7;color:#536579;font-size:22px;cursor:pointer}
.folinq-guest-gate-mark-r200{display:grid;place-items:center;width:46px;height:46px;margin:0 auto 12px;border-radius:15px;background:#0a66c2;color:#fff;font-size:25px;font-weight:900}
.folinq-guest-gate-dialog-r200 h2{margin:0 0 8px;font-size:20px;line-height:1.5}
.folinq-guest-gate-dialog-r200 p{margin:0;color:#627286;font-size:13px;line-height:1.9}
.folinq-guest-gate-actions-r200{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:18px}
.folinq-guest-gate-actions-r200 a{display:flex;align-items:center;justify-content:center;min-height:43px;border-radius:12px;background:#0a66c2;color:#fff;font-weight:850;text-decoration:none}
.folinq-guest-gate-actions-r200 a.secondary{border:1px solid #bcd3ea;background:#fff;color:#0a66c2}
.folinq-guest-blur-r200{filter:blur(7px)!important;transition:filter .16s ease!important;pointer-events:none!important;user-select:none!important}
html.folinq-guest-modal-open-r200,html.folinq-guest-modal-open-r200 body{overflow:hidden!important}

@media(max-width:700px){
  body.folinq-r2013 form[data-work-composer-v198] .feed-source-inspired-r200{grid-template-columns:1fr!important;gap:8px!important}
  body.folinq-r2013 form.comment-composer-r2013{grid-template-columns:32px minmax(0,1fr)!important;gap:7px!important}
  body.folinq-r2013 form.comment-reply-composer-r2013{grid-template-columns:28px minmax(0,1fr)!important}
  body.folinq-r2013 form.comment-composer-r2013 .comment-composer-avatar-link-r2013{width:32px!important;height:32px!important;min-width:32px!important}
  body.folinq-r2013 form.comment-reply-composer-r2013 .comment-composer-avatar-link-r2013{width:28px!important;height:28px!important;min-width:28px!important}
  body.folinq-r2013 form.comment-composer-r2013 .comment-composer-shell-r2013{min-height:52px!important}
  body.folinq-r2013 form.comment-composer-r2013 .comment-composer-shell-r2013 textarea{min-height:50px!important;height:50px;padding:10px 82px 10px 78px!important;font-size:14px!important}
  body.folinq-r2013 .network-view-switch-v219{position:sticky!important;top:64px!important;z-index:9!important;justify-content:flex-start!important;margin:8px 0!important;margin-inline-start:0!important;overflow-x:auto!important;width:100%!important}
  body.folinq-r2013 .network-view-switch-v219>span{display:none!important}
  body.folinq-r2013 [data-network-view="list"] .network-v162-card{grid-template-columns:60px minmax(0,1fr)!important;gap:10px!important;min-height:82px!important;padding:10px!important;border-radius:15px!important}
  body.folinq-r2013 [data-network-view="list"] .network-v162-avatar{width:56px!important;height:56px!important}
  body.folinq-r2013 [data-network-view="list"] .network-book-cover-v163{width:54px!important;height:70px!important}
  body.folinq-r2013 [data-network-view="list"] .network-v162-body{padding-inline-end:42px!important}
  .folinq-guest-gate-r200{padding:10px}.folinq-guest-gate-dialog-r200{padding:24px 18px 18px;border-radius:18px}.folinq-guest-gate-actions-r200{grid-template-columns:1fr}
}


/* Folinq Send Folio + floating work menu v1 */
.folio-work-menu-floating-v1{
  position:fixed!important;
  display:block!important;
  margin:0!important;
  z-index:2147482500!important;
  overflow:auto!important;
  overscroll-behavior:contain;
  background:#fff!important;
  border:1px solid #d8e1ea!important;
  border-radius:12px!important;
  box-shadow:0 14px 38px rgba(15,23,42,.18)!important;
}
.folio-work-menu-floating-v1>a,
.folio-work-menu-floating-v1>button,
.folio-work-menu-floating-v1>form>button,
.folio-work-menu-floating-v1>details>summary{
  min-height:38px!important;
}

body.send-folio-open-v1{overflow:hidden!important}
.send-folio-overlay-v1{
  position:fixed;inset:0;z-index:2147483000;
  display:grid;place-items:center;padding:14px;
  background:rgba(15,23,42,.38);
}
.send-folio-dialog-v1{
  width:min(760px,calc(100vw - 20px));
  height:min(680px,calc(100dvh - 24px));
  display:grid;grid-template-rows:auto auto auto minmax(0,1fr) auto;
  background:#fff;color:#17202a;border:1px solid #d9e0e7;border-radius:14px;
  box-shadow:0 24px 70px rgba(15,23,42,.24);overflow:hidden;
  direction:rtl;
}
html[lang^="en"] .send-folio-dialog-v1{direction:ltr}
.send-folio-dialog-v1>header{
  min-height:54px;display:flex;align-items:center;justify-content:space-between;
  padding:0 16px;border-bottom:1px solid #e5e7eb;
}
.send-folio-dialog-v1>header strong{font-size:17px;font-weight:800}
.send-folio-dialog-v1>header button{
  width:36px;height:36px;border:0;background:transparent;border-radius:50%;
  font-size:30px;line-height:1;color:#475569;cursor:pointer;
}
.send-folio-dialog-v1>header button:hover{background:#f1f5f9}
.send-folio-search-v1{
  margin:12px 14px 8px;min-height:40px;display:flex;align-items:center;gap:8px;
  padding:0 12px;background:#f3f4f6;border-radius:6px;color:#334155;
}
.send-folio-search-v1 span{font-size:24px;line-height:1}
.send-folio-search-v1 input{
  width:100%!important;border:0!important;outline:0!important;background:transparent!important;
  box-shadow:none!important;padding:8px 0!important;font-size:14px!important;color:#17202a!important;
}
.send-folio-selected-v1{
  margin:0 14px 6px;padding:6px 10px;border-radius:8px;
  background:#eef6ff;color:#0a66c2;font-size:12px;font-weight:700;
}
.send-folio-list-v1{overflow:auto;overscroll-behavior:contain;padding:2px 14px 8px}
.send-folio-person-v1{
  min-height:72px;display:grid;grid-template-columns:48px minmax(0,1fr) 28px;
  align-items:center;gap:12px;border-bottom:1px solid #e6e9ed;cursor:pointer;
}
.send-folio-person-v1>img{
  width:48px;height:48px;border-radius:50%;object-fit:cover;background:#eef2f6;
}
.send-folio-person-copy-v1{min-width:0;display:flex;flex-direction:column;gap:3px}
.send-folio-person-copy-v1 b{font-size:14px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.send-folio-person-copy-v1 small{font-size:11px;color:#334155;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.send-folio-person-v1 input{
  appearance:none;width:24px!important;height:24px!important;margin:0!important;
  border:1.5px solid #64748b!important;border-radius:5px!important;background:#fff!important;
  display:grid;place-items:center;cursor:pointer;
}
.send-folio-person-v1 input:checked{background:#0a66c2!important;border-color:#0a66c2!important}
.send-folio-person-v1 input:checked:after{content:"✓";color:#fff;font-size:16px;font-weight:900}
.send-folio-state-v1{padding:30px 12px;text-align:center;color:#64748b}
.send-folio-state-v1.is-error{color:#b42318}
.send-folio-dialog-v1>footer{
  min-height:58px;display:flex;align-items:center;gap:10px;padding:9px 14px;
  border-top:1px solid #e5e7eb;background:#fff;
}
.send-folio-copy-v1{
  border:0;background:transparent;color:#0a66c2;font-weight:750;cursor:pointer;
  display:flex;align-items:center;gap:7px;padding:9px 4px;
}
.send-folio-submit-v1{
  margin-inline-start:auto;border:0;border-radius:18px;background:#0a66c2;color:#fff;
  min-width:92px;min-height:36px;padding:7px 18px;font-weight:800;cursor:pointer;
}
.send-folio-submit-v1:disabled{opacity:.42;cursor:not-allowed}
.send-folio-submit-v1.is-done{background:#137333}
@media(max-width:640px){
  .send-folio-overlay-v1{padding:0;place-items:stretch}
  .send-folio-dialog-v1{width:100vw;height:100dvh;max-height:none;border:0;border-radius:0}
  .send-folio-person-v1{min-height:68px;grid-template-columns:44px minmax(0,1fr) 26px}
  .send-folio-person-v1>img{width:44px;height:44px}
  .send-folio-dialog-v1>footer{padding-bottom:max(9px,env(safe-area-inset-bottom))}
}
/* Folinq work menu viewport hard reset v1
   The three-dot Folio menu is already portalled to document.body by R20.13.
   Neutralize legacy dropdown geometry so a collapsed card can never clip or
   visually offset the floating menu. */
.folio-work-menu-floating-v1{
  position:fixed!important;
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  pointer-events:auto!important;

  right:auto!important;
  bottom:auto!important;
  margin:0!important;

  transform:none!important;
  translate:none!important;
  scale:none!important;
  rotate:none!important;
  filter:none!important;
  perspective:none!important;

  clip:auto!important;
  clip-path:none!important;
  mask:none!important;
  contain:none!important;
  content-visibility:visible!important;

  box-sizing:border-box!important;
  max-width:calc(100vw - 20px)!important;
  max-height:calc(100dvh - 20px)!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  overscroll-behavior:contain!important;
  -webkit-overflow-scrolling:touch;

  z-index:2147482500!important;
}

.folio-work-menu-floating-v1 > *{
  visibility:visible!important;
}

@media (max-width:640px){
  .folio-work-menu-floating-v1{
    max-width:calc(100vw - 12px)!important;
    max-height:calc(100dvh - 12px)!important;
  }
}

/* Folinq work menu inline coordinates restore v1.2
   R20.13 JavaScript owns inline top/left; no work-menu inset override remains. */

/* Folinq Folio menu owner + notification mobile geometry v1
   1) The legacy qafaseh hover dropdown must not preview a clipped half-menu.
      Real Folio menus are click-owned by R20.13 and portalled to body.
   2) Desktop Folio menus are kept horizontally inside their own card.
   3) Mobile Folio menus follow the three-dot trigger and flip only if necessary.
   4) Mobile notification actions reset the old v169 translateY(48px). */

/* Kill only the legacy Folio hover/focus preview while the menu is still
   nested in the card.  Once R20.13 portals it to body this selector no longer
   matches and .folio-work-menu-floating-v1 becomes the sole visible owner. */
.post-head > .dropdown:hover > .dropdown-menu:not(.folio-work-menu-floating-v1),
.post-head > .dropdown:focus-within > .dropdown-menu:not(.folio-work-menu-floating-v1){
  display:none!important;
}

@media (max-width:820px){
  .folio-work-menu-floating-v1{
    position:fixed!important;
    min-width:0!important;
    max-width:calc(100vw - 16px)!important;
    max-height:calc(100dvh - 16px)!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    margin:0!important;
    border-radius:12px!important;
    transform:none!important;
    z-index:2147482500!important;
  }
}

/* The work-menu button sits close to the edge, while the blue ribbon stays visible. */
body.folinq-r2013 .post[data-work-card] > .post-head > .dropdown{
  margin-inline-end:-16px!important;
}
@media (max-width:820px){
  body.folinq-r2013 .post[data-work-card] > .post-head > .dropdown{
    margin-inline-end:-20px!important;
  }
}

/* v169 leaves transform:translateY(48px)!important on the notification panel.
   v199 later makes it fixed on mobile but did not clear that transform, which
   can push the action sheet out of the usable mobile viewport. */
@media (max-width:760px){
  .notification-menu-v166.notification-menu-v169[open]{
    z-index:2147483390!important;
  }

  .notification-menu-panel-v166.notification-menu-panel-v169{
    position:fixed!important;
    top:auto!important;
    left:10px!important;
    right:10px!important;
    bottom:calc(84px + env(safe-area-inset-bottom))!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    max-height:min(46dvh,300px)!important;
    overflow:auto!important;
    transform:none!important;
    margin:0!important;
    border-radius:16px!important;
    z-index:2147483400!important;
  }
}
/* Folinq compact mobile Folio + notification menus v1
   Refinement only: desktop geometry remains untouched. */
@media (max-width:820px){
  /* Folio: keep the mobile action menu compact instead of almost full-width. */
  .folio-work-menu-floating-v1{
    left:12px!important;
    right:auto!important;
    width:min(278px,calc(100vw - 24px))!important;
    max-width:min(278px,calc(100vw - 24px))!important;
    min-width:0!important;
  }
}

@media (max-width:760px){
  /* A transformed ancestor becomes the containing block for fixed descendants.
     v199 leaves translateY(-50%) on the notification <details>; reset it while
     open so the fixed panel is truly viewport-fixed instead of a tall ghost box. */
  .notification-menu-v166.notification-menu-v169[open]{
    transform:none!important;
  }

  /* Notification actions: compact fixed popup, not a full-width empty sheet. */
  .notification-menu-panel-v166.notification-menu-panel-v169{
    left:12px!important;
    right:auto!important;
    width:min(276px,calc(100vw - 24px))!important;
    min-width:0!important;
    max-width:min(276px,calc(100vw - 24px))!important;
    height:auto!important;
    min-height:0!important;
    max-height:min(46dvh,300px)!important;
    overflow:auto!important;
    transform:none!important;
  }
}

/* Folinq notification mobile anchored card menu v1
   Mobile only. Keep the action menu attached to the notification's own
   three-dot button and reserve space in that notification card so the next
   notification is pushed down instead of being covered. */
@media (max-width:760px){
  .notification-item-v169:has(.notification-menu-v169[open]){
    min-height:224px!important;
    overflow:visible!important;
    z-index:7000!important;
  }

  .notification-menu-v166.notification-menu-v169{
    position:absolute!important;
    top:50%!important;
    left:7px!important;
    right:auto!important;
    inset-inline-end:auto!important;
    margin:0!important;
    transform:translateY(-50%)!important;
    z-index:40!important;
  }

  html[dir="ltr"] .notification-menu-v166.notification-menu-v169{
    left:auto!important;
    right:7px!important;
  }

  .notification-menu-v166.notification-menu-v169[open]{
    top:33px!important;
    transform:none!important;
    z-index:9000!important;
  }

  .notification-menu-panel-v166.notification-menu-panel-v169{
    position:absolute!important;
    top:40px!important;
    left:0!important;
    right:auto!important;
    bottom:auto!important;
    width:min(276px,calc(100vw - 32px))!important;
    min-width:0!important;
    max-width:min(276px,calc(100vw - 32px))!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow:visible!important;
    transform:none!important;
    margin:0!important;
    z-index:9500!important;
  }

  html[dir="ltr"] .notification-menu-panel-v166.notification-menu-panel-v169{
    left:auto!important;
    right:0!important;
  }
}

/* Folinq directional Folio menu + sharp visibility corner v1
   RTL: avatar starts right, three-dot and visibility corner finish left.
   LTR: avatar starts left, three-dot and visibility corner finish right. */

/* Make the work-card header obey the document writing direction explicitly. */
html[dir="rtl"] body.folinq-r2013 article.post[data-work-card] .post-head{
  direction:rtl!important;
}
html[dir="ltr"] body.folinq-r2013 article.post[data-work-card] .post-head{
  direction:ltr!important;
}
body.folinq-r2013 article.post[data-work-card] .post-head>.dropdown{
  flex:0 0 36px!important;
  align-self:flex-start!important;
}

/* One sharp Folinq-blue corner, mirrored physically with the locale. */
body.folinq-r2013 article.post[data-work-card]>.visibility-ribbon,
body.folinq-r2013 .post[data-work-card]>.visibility-ribbon{
  top:0!important;
  width:38px!important;
  height:38px!important;
  min-width:38px!important;
  max-width:38px!important;
  min-height:38px!important;
  max-height:38px!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  background:#0a66c2!important;
  color:#fff!important;
  opacity:1!important;
  filter:none!important;
  -webkit-filter:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  box-shadow:none!important;
  transform:none!important;
  isolation:isolate!important;
}

html[dir="rtl"] body.folinq-r2013 article.post[data-work-card]>.visibility-ribbon,
html[dir="rtl"] body.folinq-r2013 .post[data-work-card]>.visibility-ribbon{
  left:0!important;
  right:auto!important;
  border-radius:14px 0 0 0!important;
  clip-path:polygon(0 0,100% 0,0 100%)!important;
  -webkit-clip-path:polygon(0 0,100% 0,0 100%)!important;
}

html[dir="ltr"] body.folinq-r2013 article.post[data-work-card]>.visibility-ribbon,
html[dir="ltr"] body.folinq-r2013 .post[data-work-card]>.visibility-ribbon{
  left:auto!important;
  right:0!important;
  border-radius:0 14px 0 0!important;
  clip-path:polygon(100% 0,0 0,100% 100%)!important;
  -webkit-clip-path:polygon(100% 0,0 0,100% 100%)!important;
}

body.folinq-r2013 article.post[data-work-card]>.visibility-ribbon svg,
body.folinq-r2013 .post[data-work-card]>.visibility-ribbon svg{
  top:7px!important;
  width:12px!important;
  height:12px!important;
  opacity:1!important;
  filter:none!important;
  transform:none!important;
  color:#fff!important;
}

html[dir="rtl"] body.folinq-r2013 article.post[data-work-card]>.visibility-ribbon svg,
html[dir="rtl"] body.folinq-r2013 .post[data-work-card]>.visibility-ribbon svg{
  left:7px!important;
  right:auto!important;
}

html[dir="ltr"] body.folinq-r2013 article.post[data-work-card]>.visibility-ribbon svg,
html[dir="ltr"] body.folinq-r2013 .post[data-work-card]>.visibility-ribbon svg{
  left:auto!important;
  right:7px!important;
}
/* Folinq English mobile Folio alignment v1
   Mobile LTR refinement only.
   - Mirror the compact Folio action menu to the right edge.
   - Remove the stale 50px left reservation from the Folio header so the
     author avatar/details return to the natural 14px card inset.
   RTL, desktop, visibility corner and notification menus stay untouched. */
@media (max-width:820px){
  html[dir="ltr"] .folio-work-menu-floating-v1{
    left:auto!important;
    right:12px!important;
  }

  html[dir="ltr"] body.folinq-r2013 article.post[data-work-card] .post-head{
    padding-left:14px!important;
  }
}

/* Folinq Refolio video source preview v1
   Reuse the existing two-column Refolio source card. Image and video occupy
   the same media cell; only the active media node is visible. */
body.folinq-r2013 .refolio-source-r2013>[data-refolio-cover-r2013],
body.folinq-r2013 .refolio-source-r2013>[data-refolio-video-r2013]{
  grid-column:1!important;
  grid-row:1!important;
}
body.folinq-r2013 .refolio-source-r2013>[data-refolio-video-r2013]{
  display:block!important;
  width:76px!important;
  height:88px!important;
  object-fit:cover!important;
  border:0!important;
  border-radius:10px!important;
  background:#edf2f7!important;
}
body.folinq-r2013 .refolio-source-r2013>[data-refolio-video-r2013][hidden]{display:none!important}
body.folinq-r2013 .refolio-source-r2013>div{grid-column:2!important;grid-row:1!important}
/* Folinq professional Refolio video + mobile notification menu v1
   Local visual refinement only. Refolio keeps the existing source-preview
   owner and native video node. Mobile notifications keep the existing
   <details> action owner and are constrained to their own card/viewport. */

/* Refolio video preview: social-post style source card with full-width media. */
body.folinq-r2013 .refolio-dialog-r2013:has(.refolio-source-r2013.has-video-r2013){
  width:min(700px,100%)!important;
}
body.folinq-r2013 .refolio-source-r2013.has-video-r2013{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:auto auto!important;
  gap:0!important;
  padding:0!important;
  overflow:hidden!important;
  border:1px solid #d9e3ed!important;
  border-radius:16px!important;
  background:#fff!important;
  box-shadow:0 1px 3px rgba(15,35,64,.08)!important;
}
body.folinq-r2013 .refolio-source-r2013.has-video-r2013>div{
  grid-column:1!important;
  grid-row:1!important;
  width:100%!important;
  min-width:0!important;
  padding:14px 16px 13px!important;
  gap:5px!important;
  background:#fff!important;
}
body.folinq-r2013 .refolio-source-r2013.has-video-r2013>div>small{
  color:#607086!important;
  font-size:12px!important;
  font-weight:750!important;
}
body.folinq-r2013 .refolio-source-r2013.has-video-r2013>div>b{
  color:var(--r2013-navy)!important;
  font-size:15px!important;
  line-height:1.55!important;
}
body.folinq-r2013 .refolio-source-r2013.has-video-r2013 .refolio-source-body-r2013{
  max-height:138px!important;
  padding-inline-end:4px!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  line-height:1.78!important;
  color:#41546a!important;
}
body.folinq-r2013 .refolio-source-r2013.has-video-r2013>[data-refolio-video-r2013]{
  display:block!important;
  grid-column:1!important;
  grid-row:2!important;
  width:100%!important;
  height:auto!important;
  min-height:220px!important;
  max-height:min(52dvh,420px)!important;
  aspect-ratio:16/9!important;
  object-fit:contain!important;
  border:0!important;
  border-top:1px solid #e1e8f0!important;
  border-radius:0!important;
  background:#101827!important;
}
body.folinq-r2013 .refolio-source-r2013.has-video-r2013>[data-refolio-video-r2013][hidden]{display:none!important}

/* Mobile notification actions: anchor to the card edge, never outside screen. */
@media(max-width:760px){
  body.folinq-r2013 .notification-item-v169:has(.notification-menu-v169[open]){
    min-height:224px!important;
    overflow:visible!important;
    z-index:7000!important;
  }
  body.folinq-r2013 .notification-menu-v166.notification-menu-v169{
    position:absolute!important;
    top:18px!important;
    left:auto!important;
    right:auto!important;
    inset-inline-start:auto!important;
    inset-inline-end:10px!important;
    margin:0!important;
    transform:none!important;
    z-index:40!important;
  }
  body.folinq-r2013 .notification-menu-v166.notification-menu-v169[open]{
    top:18px!important;
    transform:none!important;
    z-index:9000!important;
  }
  body.folinq-r2013 .notification-menu-panel-v166.notification-menu-panel-v169{
    position:absolute!important;
    top:40px!important;
    left:auto!important;
    right:auto!important;
    bottom:auto!important;
    inset-inline-start:auto!important;
    inset-inline-end:0!important;
    width:min(276px,calc(100vw - 32px))!important;
    min-width:0!important;
    max-width:min(276px,calc(100vw - 32px))!important;
    height:auto!important;
    min-height:0!important;
    max-height:min(52dvh,320px)!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    transform:none!important;
    margin:0!important;
    padding:8px!important;
    border:1px solid #dbe5ef!important;
    border-radius:14px!important;
    background:#fff!important;
    box-shadow:0 16px 42px rgba(15,35,64,.22)!important;
    z-index:9500!important;
  }
  body.folinq-r2013 .notification-menu-panel-v166.notification-menu-panel-v169>a,
  body.folinq-r2013 .notification-menu-panel-v166.notification-menu-panel-v169 form>button{
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
}

@media(max-width:480px){
  body.folinq-r2013 .refolio-dialog-r2013:has(.refolio-source-r2013.has-video-r2013){
    width:100%!important;
  }
  body.folinq-r2013 .refolio-source-r2013.has-video-r2013>[data-refolio-video-r2013]{
    min-height:180px!important;
    max-height:42dvh!important;
  }
}


/* Folinq mobile RTL Folio three-dot edge alignment + profile viewers v1.1
   Mobile RTL only: move the existing Folio overflow trigger from the inherited
   14px card inset to an 8px visual inset. Desktop and LTR remain unchanged. */
@media (max-width:820px){
  html[dir="rtl"] body.folinq-r2013 article.post[data-work-card] .post-head>.dropdown{
    margin-inline-end:-6px!important;
  }
}

/* Folinq mobile profile drawer v1 - scoped mobile account surface. */
.mobile-profile-drawer-v1,.mobile-profile-drawer-backdrop-v1{display:none}
@media(max-width:760px){
  body.mobile-profile-drawer-open-v1{overflow:hidden!important}
  .mobile-profile-drawer-backdrop-v1{display:block;position:fixed;inset:0;z-index:25990;background:rgba(15,23,42,.48);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .18s ease,visibility .18s ease}
  .mobile-profile-drawer-backdrop-v1.is-open{opacity:1;visibility:visible;pointer-events:auto}
  .mobile-profile-drawer-v1{display:flex;flex-direction:column;position:fixed;top:0;bottom:0;width:min(88vw,360px);max-width:360px;z-index:26000;background:var(--card,#fff);color:var(--text,#0f172a);border:0;box-shadow:0 0 42px rgba(15,23,42,.22);padding:calc(18px + env(safe-area-inset-top)) 18px calc(18px + env(safe-area-inset-bottom));overflow-y:auto;visibility:hidden;pointer-events:none;transition:transform .22s ease,visibility .22s ease}
  body.q-dir-rtl .mobile-profile-drawer-v1{right:0;left:auto;direction:rtl;text-align:right;transform:translateX(104%)}
  body.q-dir-ltr .mobile-profile-drawer-v1{left:0;right:auto;direction:ltr;text-align:left;transform:translateX(-104%)}
  body.q-dir-rtl .mobile-profile-drawer-v1.is-open,body.q-dir-ltr .mobile-profile-drawer-v1.is-open{transform:translateX(0);visibility:visible;pointer-events:auto}
  .mobile-profile-drawer-head-v1{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
  .mobile-profile-drawer-avatar-link-v1{display:block;width:78px;height:78px;border-radius:50%;overflow:hidden}
  .mobile-profile-drawer-avatar-v1{display:block;width:78px!important;height:78px!important;min-width:78px!important;border-radius:50%!important;object-fit:cover}
  .mobile-profile-drawer-close-v1{appearance:none;width:40px;height:40px;min-width:40px;border:0;border-radius:50%;background:transparent;color:var(--text,#0f172a);display:grid;place-items:center;font-size:31px;line-height:1;cursor:pointer}
  .mobile-profile-drawer-close-v1:hover,.mobile-profile-drawer-close-v1:focus-visible{background:var(--soft,#eef3f8);outline:0}
  .mobile-profile-drawer-identity-v1{display:grid;gap:4px;margin-top:15px;padding-bottom:17px;border-bottom:1px solid var(--line,#e5e7eb)}
  .mobile-profile-drawer-name-v1{font-size:21px;font-weight:950;line-height:1.45;color:var(--text,#0f172a);text-decoration:none;overflow-wrap:anywhere}
  .mobile-profile-drawer-username-v1{width:max-content;max-width:100%;font-size:12px;color:var(--muted,#64748b);text-decoration:none;direction:ltr;unicode-bidi:isolate;overflow-wrap:anywhere}
  .mobile-profile-drawer-headline-v1{margin:3px 0 0;color:var(--muted,#64748b);font-size:13px;line-height:1.75;overflow-wrap:anywhere}
  body.q-dir-rtl .mobile-profile-drawer-name-v1,body.q-dir-rtl .mobile-profile-drawer-headline-v1{text-align:right}
  body.q-dir-ltr .mobile-profile-drawer-name-v1,body.q-dir-ltr .mobile-profile-drawer-headline-v1{text-align:left}
  .mobile-profile-drawer-stats-v1{margin-top:18px;border:1px solid var(--line,#e5e7eb);border-radius:18px;overflow:hidden;background:var(--card,#fff)}
  .mobile-profile-drawer-stats-v1 a{min-height:52px;padding:11px 14px;display:flex;align-items:center;justify-content:space-between;gap:14px;color:var(--text,#0f172a);text-decoration:none;border-bottom:1px solid var(--line,#e5e7eb)}
  .mobile-profile-drawer-stats-v1 a:last-child{border-bottom:0}.mobile-profile-drawer-stats-v1 a:hover{background:var(--soft,#f8fafc)}
  .mobile-profile-drawer-stats-v1 span{font-size:13px;color:var(--muted,#64748b);font-weight:800}.mobile-profile-drawer-stats-v1 b{font-size:20px;color:var(--blue,#0a66c2);font-weight:950;white-space:nowrap}
  .mobile-profile-drawer-create-v1{margin-top:16px;min-height:58px;padding:8px 13px;display:flex;align-items:center;gap:11px;border:1px solid #cfe0f2;border-radius:18px;background:#f8fbff;color:var(--blue,#0a66c2);font-weight:950;text-decoration:none}
  .mobile-profile-drawer-create-v1:hover{background:#eef6ff}.mobile-profile-drawer-create-dot-v1{width:38px;height:38px;min-width:38px;display:grid;place-items:center;border-radius:50%;background:#fff;border:1px solid #d8e7f5;overflow:visible}
  .mobile-profile-drawer-create-dot-v1 .profile-create-folio-dot-svg-v2010{width:32px!important;height:32px!important}
  .mobile-profile-drawer-settings-v1{margin-top:auto;padding:18px 4px 2px;min-height:58px;display:flex;align-items:center;gap:11px;color:var(--text,#0f172a);font-weight:900;text-decoration:none;border-top:1px solid var(--line,#e5e7eb)}
  .mobile-profile-drawer-settings-v1 svg{width:23px;height:23px;color:var(--muted,#64748b)}
  body.q-theme-mobile-dark .mobile-profile-drawer-v1,body.q-theme-mobile-dark .mobile-profile-drawer-stats-v1{background:var(--card,#111827);border-color:var(--line,#334155)}
}
@media(prefers-reduced-motion:reduce){.mobile-profile-drawer-v1,.mobile-profile-drawer-backdrop-v1{transition:none!important}}
/* Folinq mobile profile drawer v1.1 - mobile topbar avatar replaces authenticated wordmark. */
.mobile-topbar-profile-trigger-v1{display:none}
@media(max-width:760px){
  body.q-authenticated .q-topbar-stable .brand{display:none!important}
  body.q-authenticated .q-topbar-stable .mobile-topbar-profile-trigger-v1{appearance:none;display:grid!important;place-items:center!important;flex:0 0 44px!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;margin:0!important;padding:2px!important;border:1px solid var(--line,#dbe7f5)!important;border-radius:50%!important;background:var(--card,#fff)!important;color:inherit!important;box-shadow:none!important;cursor:pointer!important;overflow:hidden!important;touch-action:manipulation!important}
  body.q-authenticated .q-topbar-stable .mobile-topbar-profile-trigger-v1:hover,body.q-authenticated .q-topbar-stable .mobile-topbar-profile-trigger-v1:focus-visible{border-color:#7fb7ea!important;background:var(--soft,#f6fbff)!important;outline:2px solid transparent!important}
  body.q-authenticated .q-topbar-stable .mobile-topbar-profile-avatar-v1{display:block!important;width:38px!important;height:38px!important;min-width:38px!important;max-width:38px!important;min-height:38px!important;max-height:38px!important;margin:0!important;border-radius:50%!important;object-fit:cover!important}
  body.q-authenticated .q-topbar-stable .q-nav-stable .nav-profile{display:none!important}
}


/* FOLINQ_FOLIO_VIDEO_COMPOSER_PREVIEW_V1_0_1
 * Scoped to the feed Folio composer. Folinq light/blue visual language, native video controls.
 */
form[data-work-composer-v198][data-fast-work-form] [data-file-chip-for="video"]{display:none!important}
form[data-work-composer-v198][data-fast-work-form] .folio-video-preview-r2013v1{
  position:relative!important;
  width:100%!important;
  aspect-ratio:16/9;
  margin:8px 0 10px!important;
  overflow:hidden!important;
  border:1px solid #dbe7f5!important;
  border-radius:14px!important;
  background:#eef5fc!important;
  box-sizing:border-box!important;
}
form[data-work-composer-v198][data-fast-work-form] .folio-video-preview-r2013v1[hidden]{display:none!important}
form[data-work-composer-v198][data-fast-work-form] .folio-video-preview-r2013v1 video{
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  object-fit:contain!important;
  background:#eef5fc!important;
}
form[data-work-composer-v198][data-fast-work-form] .folio-video-preview-r2013v1 video:focus-visible{
  outline:3px solid rgba(10,102,194,.42)!important;
  outline-offset:-3px!important;
}
/* The local file always gets a visible preview surface, even if the device
   cannot decode MPEG-4 Part 2/HEVC or cannot read the metadata yet. */
form[data-work-composer-v198][data-fast-work-form] .folio-video-preview-r2013v1
.folio-video-preview-fallback-v1{
  position:absolute;inset:0;z-index:2;display:flex;align-items:center;
  justify-content:center;padding:28px 18px 42px;box-sizing:border-box;
  background:#e8f2fc;color:#254764;line-height:1.75;text-align:center;
  font-size:13px;font-weight:650;overflow:auto;overflow-wrap:anywhere;
}
form[data-work-composer-v198][data-fast-work-form] .folio-video-preview-r2013v1
.folio-video-preview-fallback-v1[hidden]{display:none!important}
form[data-work-composer-v198][data-fast-work-form] .folio-video-preview-r2013v1.has-video-fallback-v1 video{
  opacity:0!important;pointer-events:none!important;
}
form[data-work-composer-v198][data-fast-work-form] .folio-video-preview-r2013v1
.folio-video-preview-file-v1{
  position:absolute;bottom:0;left:0;right:0;z-index:4;
  padding:6px 12px;box-sizing:border-box;
  background:rgba(14,30,47,.85);color:#f0f7ff;
  font-size:11px;font-weight:600;white-space:nowrap;
  overflow:hidden;text-overflow:ellipsis;direction:rtl;unicode-bidi:plaintext;
}
form[data-work-composer-v198][data-fast-work-form] .folio-video-preview-r2013v1.has-video-fallback-v1
.folio-video-preview-file-v1{
  background:#233e5a;color:#f4f9ff;
}
body.folinq-r2013.folio-night-v1 form[data-work-composer-v198][data-fast-work-form]
.folio-video-preview-fallback-v1{
  background:#1a2e45!important;color:#dcecff!important;
}

form[data-work-composer-v198][data-fast-work-form] .folio-video-preview-actions-r2013v1{
  inset-inline-end:10px!important;
  top:10px!important;
  bottom:auto!important;
  z-index:3!important;
}
@media(max-width:760px){
  form[data-work-composer-v198][data-fast-work-form] .folio-video-preview-r2013v1{margin:7px 0 9px!important;border-radius:12px!important}
  form[data-work-composer-v198][data-fast-work-form] .folio-video-preview-actions-r2013v1{inset-inline-end:8px!important;top:8px!important}
}


/* FOLINQ_FOLIO_VIDEO_COMPOSER_PREVIEW_POLISH_V1_0_2
 * Visual polish only: quieter overlay actions, playback fade, subtle depth.
 */
form[data-work-composer-v198][data-fast-work-form] .folio-video-preview-r2013v1{
  isolation:isolate!important;
  box-shadow:0 10px 28px rgba(15,23,42,.055)!important;
}
form[data-work-composer-v198][data-fast-work-form] .folio-video-preview-actions-r2013v1{
  gap:6px!important;
  opacity:.92;
  transform:translateY(0);
  transition:opacity .16s ease,transform .16s ease;
}
form[data-work-composer-v198][data-fast-work-form] .folio-video-preview-actions-r2013v1 .folio-preview-icon-v178{
  width:30px!important;
  height:30px!important;
  min-width:30px!important;
  min-height:30px!important;
  border-color:rgba(255,255,255,.72)!important;
  background:rgba(15,23,42,.68)!important;
  box-shadow:0 6px 16px rgba(15,23,42,.16)!important;
  backdrop-filter:blur(7px);
}
form[data-work-composer-v198][data-fast-work-form] .folio-video-preview-actions-r2013v1 .folio-preview-icon-v178.danger{
  background:rgba(190,24,93,.78)!important;
}
form[data-work-composer-v198][data-fast-work-form] .folio-video-preview-actions-r2013v1 .folio-preview-icon-v178:hover,
form[data-work-composer-v198][data-fast-work-form] .folio-video-preview-actions-r2013v1 .folio-preview-icon-v178:focus-visible{
  background:#0a66c2!important;
  transform:translateY(-1px)!important;
}
form[data-work-composer-v198][data-fast-work-form] .folio-video-preview-actions-r2013v1 .folio-preview-icon-v178.danger:hover,
form[data-work-composer-v198][data-fast-work-form] .folio-video-preview-actions-r2013v1 .folio-preview-icon-v178.danger:focus-visible{
  background:#dc2626!important;
}
form[data-work-composer-v198][data-fast-work-form] .folio-video-preview-r2013v1.is-video-playing-r2013v102 .folio-video-preview-actions-r2013v1{
  opacity:.16;
  transform:translateY(-2px);
}
form[data-work-composer-v198][data-fast-work-form] .folio-video-preview-r2013v1.is-video-playing-r2013v102:hover .folio-video-preview-actions-r2013v1,
form[data-work-composer-v198][data-fast-work-form] .folio-video-preview-r2013v1.is-video-playing-r2013v102:focus-within .folio-video-preview-actions-r2013v1{
  opacity:.92;
  transform:translateY(0);
}
@media(hover:none){
  form[data-work-composer-v198][data-fast-work-form] .folio-video-preview-r2013v1.is-video-playing-r2013v102 .folio-video-preview-actions-r2013v1{opacity:.58;transform:none}
}
@media(max-width:760px){
  form[data-work-composer-v198][data-fast-work-form] .folio-video-preview-actions-r2013v1 .folio-preview-icon-v178{
    width:29px!important;height:29px!important;min-width:29px!important;min-height:29px!important;
  }
}
@media(prefers-reduced-motion:reduce){
  form[data-work-composer-v198][data-fast-work-form] .folio-video-preview-actions-r2013v1{transition:none!important;transform:none!important}
}
/* Folio actions are never an inner scrolling pane. */
body.folinq-r2013 .folio-work-menu-floating-v1{
  max-height:none!important;
  overflow:visible!important;
  scrollbar-width:none!important;
  overscroll-behavior:auto!important;
}
body.folinq-r2013 .folio-work-menu-floating-v1::-webkit-scrollbar{display:none!important}

/* Folio smart frame: size follows each image's native aspect ratio.
   Never crop or magnify via cover; no letterbox, fake dark panels or fixed-square frame.
   JS measures the content width and caps unusually tall portraits to one view. */
body.folinq-r2013 .work-gallery-pro-v22123{
  width:100%!important;max-width:100%!important;margin:10px auto 12px!important;
  background:transparent!important;border:0!important;border-radius:5px!important;
  box-shadow:none!important;overflow:hidden!important;
}
body.folinq-r2013 .work-gallery-pro-v22123::before,
body.folinq-r2013 .work-gallery-pro-v22123::after{display:none!important}
body.folinq-r2013 .work-gallery-pro-v22123.is-smart-frame-v1{
  width:var(--folio-smart-width,100%)!important;max-width:100%!important;
  margin-inline:auto!important
}
body.folinq-r2013 .work-gallery-pro-v22123 .work-gallery-viewport-v22123{
  width:100%!important;max-width:100%!important;background:transparent!important;min-height:0!important
}
body.folinq-r2013 .work-gallery-pro-v22123.is-smart-frame-v1 .work-gallery-viewport-v22123{
  height:var(--folio-smart-height,auto)!important;aspect-ratio:auto!important;
  transition:height .18s ease!important
}
body.folinq-r2013 .work-gallery-pro-v22123.is-smart-frame-v1 .work-gallery-track-v22123{
  height:100%!important;align-items:stretch!important;background:transparent!important
}
body.folinq-r2013 .work-gallery-pro-v22123 .work-gallery-slide-v22123{
  display:flex!important;flex:0 0 100%!important;align-items:center!important;justify-content:center!important;
  width:100%!important;min-width:0!important;min-height:0!important;max-height:none!important;
  aspect-ratio:4/3!important;background:transparent!important;overflow:hidden!important
}
body.folinq-r2013 .work-gallery-pro-v22123.is-smart-frame-v1 .work-gallery-slide-v22123{
  height:100%!important;aspect-ratio:auto!important;max-height:none!important
}
body.folinq-r2013 .work-gallery-pro-v22123 .work-gallery-slide-v22123>img{
  display:block!important;position:static!important;flex:0 1 auto!important;
  width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;
  max-width:100%!important;max-height:100%!important;
  object-fit:contain!important;object-position:center!important;transform:none!important;
  margin:0!important;padding:0!important;background:transparent!important
}
body.folinq-r2013 .work-gallery-pro-v22123 .work-gallery-arrow-v22123{
  width:36px!important;height:36px!important
}
body.folinq-r2013 .work-gallery-pro-v22123 .work-gallery-status-v22123{
  bottom:7px!important;padding:4px 9px!important
}
@media(max-width:760px){
  body.folinq-r2013 .work-gallery-pro-v22123 .work-gallery-slide-v22123{
    aspect-ratio:1/1!important;min-height:0!important;max-height:none!important
  }
  body.folinq-r2013 .work-gallery-pro-v22123.is-smart-frame-v1 .work-gallery-slide-v22123{
    aspect-ratio:auto!important;height:100%!important;max-height:none!important
  }
  body.folinq-r2013 .work-gallery-pro-v22123 .work-gallery-arrow-v22123{
    width:31px!important;height:31px!important
  }
}
@media(prefers-reduced-motion:reduce){
  body.folinq-r2013 .work-gallery-pro-v22123.is-smart-frame-v1 .work-gallery-viewport-v22123{
    transition:none!important
  }
}
/* FOLINQ_NIGHT_CONTRAST_V1 */

/* Audio folios: blue progress and matching blue draggable dot on every browser. */
body.folinq-r2013 .audio-player{position:relative;border-radius:10px}
body.folinq-r2013 .audio-player.folio-audio-enhanced-v1>audio{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
body.folinq-r2013 .audio-player .folio-audio-controls-v1{
 display:grid;grid-template-columns:30px 38px minmax(50px,1fr) 38px 30px 35px 26px;
 gap:6px;align-items:center;min-height:37px;direction:ltr;color:#344054
}
body.folinq-r2013 .audio-player .folio-audio-controls-v1 button,
body.folinq-r2013 .audio-player .folio-audio-controls-v1 a{
 display:grid!important;place-items:center!important;box-sizing:border-box!important;
 margin:0!important;padding:0!important;height:29px!important;min-height:29px!important;
 border:0!important;border-radius:6px!important;background:transparent!important;
 color:inherit!important;box-shadow:none!important;text-decoration:none!important;
 font-size:13px!important;cursor:pointer!important
}
body.folinq-r2013 .audio-player .folio-audio-controls-v1 button:hover,
body.folinq-r2013 .audio-player .folio-audio-controls-v1 a:hover{background:rgba(10,102,194,.08)!important;color:#0a66c2!important}
body.folinq-r2013 .audio-player .folio-audio-controls-v1 .folio-audio-play-v1{color:#0a66c2!important;font-size:18px!important}
body.folinq-r2013 .audio-player .folio-audio-icon-pause-v1{display:none!important}
body.folinq-r2013 .audio-player.folio-audio-playing-v1 .folio-audio-icon-play-v1{display:none!important}
body.folinq-r2013 .audio-player.folio-audio-playing-v1 .folio-audio-icon-pause-v1{display:block!important;font-size:20px!important}
body.folinq-r2013 .audio-player :is(.folio-audio-current-v1,.folio-audio-duration-v1){font-size:11px;white-space:nowrap;font-variant-numeric:tabular-nums;text-align:center}
body.folinq-r2013 .audio-player .folio-audio-controls-v1 .folio-audio-seek-v1{
 display:block!important;width:100%!important;min-width:0!important;height:6px!important;
 min-height:6px!important;margin:0!important;padding:0!important;border:0!important;
 border-radius:999px!important;appearance:none!important;-webkit-appearance:none!important;
 box-shadow:none!important;accent-color:#0a66c2!important;cursor:pointer!important;
 background:linear-gradient(to right,#0a66c2 0%,#0a66c2 var(--folio-audio-progress,0%),#c4d0df var(--folio-audio-progress,0%),#c4d0df 100%)!important
}
body.folinq-r2013 .audio-player .folio-audio-controls-v1 .folio-audio-seek-v1::-webkit-slider-thumb{
 width:14px;height:14px;border:2px solid #f5faff;border-radius:50%;
 background:#0a66c2;box-shadow:0 0 0 1px #0a66c2;
 appearance:none;-webkit-appearance:none;cursor:grab
}
body.folinq-r2013 .audio-player .folio-audio-controls-v1 .folio-audio-seek-v1::-moz-range-track{background:#c4d0df;border-radius:999px;height:6px}
body.folinq-r2013 .audio-player .folio-audio-controls-v1 .folio-audio-seek-v1::-moz-range-progress{background:#0a66c2;border-radius:999px;height:6px}
body.folinq-r2013 .audio-player .folio-audio-controls-v1 .folio-audio-seek-v1::-moz-range-thumb{width:11px;height:11px;border:2px solid #f5faff;border-radius:50%;background:#0a66c2}
body.folinq-r2013 .audio-player .folio-audio-controls-v1 .folio-audio-seek-v1:disabled{opacity:.5!important;cursor:default!important}
body.folinq-r2013 .audio-player .folio-audio-speed-v1{font-size:11px!important}
body.folinq-r2013 .audio-player .folio-audio-controls-v1 :focus-visible{outline:2px solid #0a66c2!important;outline-offset:3px!important}
@media(max-width:560px){
 body.folinq-r2013 .audio-player{margin-inline:7px!important;padding:9px!important}
 body.folinq-r2013 .audio-player .folio-audio-controls-v1{grid-template-columns:26px 31px minmax(36px,1fr) 31px 26px 30px 24px;gap:4px}
 body.folinq-r2013 .audio-player :is(.folio-audio-current-v1,.folio-audio-duration-v1){font-size:10px}
}
body.folinq-r2013.folio-night-v1 .media-player.audio-player{background:#182536!important;border-color:#38506b!important;color:#e9f2fd!important}
body.folinq-r2013.folio-night-v1 .audio-player :is(.media-player-title,.folio-audio-controls-v1){color:#e3edf9!important}
body.folinq-r2013.folio-night-v1 .audio-player .folio-audio-controls-v1 .folio-audio-seek-v1{
 background:linear-gradient(to right,#3c9bff 0%,#3c9bff var(--folio-audio-progress,0%),#536982 var(--folio-audio-progress,0%),#536982 100%)!important
}
body.folinq-r2013.folio-night-v1 .audio-player .folio-audio-controls-v1 .folio-audio-seek-v1::-webkit-slider-thumb{background:#3c9bff;border-color:#142437;box-shadow:0 0 0 1px #3c9bff}
body.folinq-r2013.folio-night-v1 .audio-player .folio-audio-controls-v1 .folio-audio-seek-v1::-moz-range-thumb,
body.folinq-r2013.folio-night-v1 .audio-player .folio-audio-controls-v1 .folio-audio-seek-v1::-moz-range-progress{background:#3c9bff}
body.folinq-r2013.folio-night-v1 .audio-player .folio-audio-controls-v1 .folio-audio-play-v1{color:#69b5ff!important}

/* My Network: dark backgrounds must carry legible light text, not light-theme colors. */
body.folinq-r2013.folio-night-v1 .network-v193-shell .network-discovery-hero-v2211{
 background:linear-gradient(118deg,#17263b,#1c324a)!important;border-color:#3b5674!important;box-shadow:none!important
}
body.folinq-r2013.folio-night-v1 .network-discovery-copy-v2211 h1{color:#f2f7ff!important}
body.folinq-r2013.folio-night-v1 .network-discovery-copy-v2211 p{color:#c1d1e5!important}
body.folinq-r2013.folio-night-v1 .network-discovery-kicker-v2211{background:#233b56!important;color:#e6f2ff!important;border-color:#456785!important}
body.folinq-r2013.folio-night-v1 .network-discovery-kicker-v2211 svg{color:#8ac8ff!important}
body.folinq-r2013.folio-night-v1 .network-discovery-search-v2211{background:#101c2b!important;border-color:#4a77a4!important;box-shadow:none!important}
body.folinq-r2013.folio-night-v1 .network-discovery-search-v2211>input[type=search]{background:transparent!important;color:#ecf4ff!important;border:0!important;box-shadow:none!important}
body.folinq-r2013.folio-night-v1 .network-discovery-search-v2211>input[type=search]::placeholder{color:#a8bad0!important}
body.folinq-r2013.folio-night-v1 .network-discovery-filter-toggle-v2211{background:#233853!important;border-color:#47617e!important;color:#c8def3!important}
body.folinq-r2013.folio-night-v1 .network-v193-shell .network-discovery-filter-toggle-v2211 svg{color:#bfdcfa!important}
body.folinq-r2013.folio-night-v1 .network-v193-shell .network-discovery-filters-v2211{background:#1a293d!important;border-color:#47617e!important;color:#e7f1fd!important}
body.folinq-r2013.folio-night-v1 .network-v193-shell .network-discovery-filters-v2211 :is(label,span){color:#d9e6f5!important}
body.folinq-r2013.folio-night-v1 .network-v193-shell .network-primary-tabs-v190{background:#152338!important;border-color:#344962!important}
body.folinq-r2013.folio-night-v1 .network-v193-shell .network-primary-tab-v190{background:#1a2a40!important;border-color:#3a526b!important;color:#e6eef9!important;box-shadow:none!important}
body.folinq-r2013.folio-night-v1 .network-v193-shell .network-primary-tab-v190.active{background:linear-gradient(135deg,#183755,#1c456f)!important;border-color:#4593df!important;color:#f0f7ff!important}
body.folinq-r2013.folio-night-v1 .network-primary-tab-v190 b{color:#f2f7ff!important}
body.folinq-r2013.folio-night-v1 .network-primary-tab-v190 small{color:#b8cde3!important}
body.folinq-r2013.folio-night-v1 .network-primary-tab-icon-v190{background:#294058!important;color:#c3ddfa!important}
body.folinq-r2013.folio-night-v1 .network-primary-tab-v190.active .network-primary-tab-icon-v190{background:#0d73d4!important;color:#fff!important}
body.folinq-r2013.folio-night-v1 .network-view-switch-v219{background:#1b2c43!important;border-color:#405670!important;color:#d9e7f6!important}
body.folinq-r2013.folio-night-v1 .network-view-switch-v219>span{color:#b6cbe0!important}
body.folinq-r2013.folio-night-v1 .network-view-switch-v219>a{background:transparent!important;color:#d2e4f7!important;border-color:#405670!important}
body.folinq-r2013.folio-night-v1 .network-view-switch-v219>a.active{background:#164d83!important;color:#fff!important;border-color:#5c9bdd!important}
/* Portrait/list cards: names, biography, location, metrics and follow button. */
body.folinq-r2013.folio-night-v1 .network-v162-grid .network-v162-card.card{background:#172538!important;border-color:#3a506a!important;color:#e8f2fc!important}
body.folinq-r2013.folio-night-v1 .network-view-grid-v219 .network-person-portrait-v1 .network-person-body-v1 h3,
body.folinq-r2013.folio-night-v1 .network-person-portrait-v1 .network-person-body-v1 h3 a{color:#eff6ff!important}
body.folinq-r2013.folio-night-v1 .network-person-portrait-v1 .network-person-tagline-v1{color:#c2d0e2!important}
body.folinq-r2013.folio-night-v1 .network-person-portrait-v1 :is(.network-person-location-v1,.network-person-role-v1){color:#aebfd4!important}
body.folinq-r2013.folio-night-v1 .network-person-portrait-v1 .network-person-metric-v1 strong{color:#deebfa!important}
body.folinq-r2013.folio-night-v1 .network-person-portrait-v1 .network-person-metric-v1 span{color:#adbed2!important}
body.folinq-r2013.folio-night-v1 .network-person-portrait-v1 .network-person-metric-v1 svg{color:#9eb5d0!important}
body.folinq-r2013.folio-night-v1 .network-person-portrait-v1 .network-person-metric-v1 + .network-person-metric-v1{border-inline-start-color:#47617c!important}
body.folinq-r2013.folio-night-v1 .network-view-grid-v219 .network-person-portrait-v1 .network-person-follow-v1 .network-follow-fab{background:#263d57!important;color:#dfedfb!important;border-color:#58718b!important;box-shadow:none!important}
body.folinq-r2013.folio-night-v1 .network-view-grid-v219 .network-person-portrait-v1 .network-person-follow-v1 .network-follow-fab.is-followed{background:#163a60!important;color:#8bc6ff!important;border-color:#377bbb!important}

/* Profile: activity Folio, book, comment and reaction cards. */
body.folinq-r2013.folio-night-v1 .activity-lane-v162 .activity-card-v162{background:#192a40!important;color:#ecf4ff!important;border-color:#3d536d!important;box-shadow:none!important}
body.folinq-r2013.folio-night-v1 .activity-lane-v162 .activity-card-body-v162{background:#192a40!important;color:#ecf4ff!important}
body.folinq-r2013.folio-night-v1 .activity-card-body-v162 :is(b,b a,h3){color:#f1f7ff!important}
body.folinq-r2013.folio-night-v1 .activity-card-body-v162 p{color:#c4d4e8!important}
body.folinq-r2013.folio-night-v1 .activity-card-body-v162 small{color:#adbed3!important}
body.folinq-r2013.folio-night-v1 .activity-kind-tab-v162:not(.active){background:#233750!important;color:#dceafa!important;border-color:#496581!important}
body.folinq-r2013.folio-night-v1 .activity-kind-tab-v162:not(.active) b{color:#c7e2ff!important;background:#193e64!important}
body.folinq-r2013.folio-night-v1 .activity-lane-head-v161,
body.folinq-r2013.folio-night-v1 .activity-lane-head-v161 :is(h3,span){color:#e9f4ff!important}
body.folinq-r2013.folio-night-v1 .activity-lane-nav-v162 .profile-icon-btn{background:#253b55!important;color:#d5e8fa!important;border-color:#476482!important}
/* Feed: real actor name, activity verb and event age on dark surfaces. */
body.folinq-r2013.folio-night-v1 .feed-engagement-context{background:#172538!important;color:#eaf3ff!important;border-color:#34485f!important}
body.folinq-r2013.folio-night-v1 .feed-engagement-actor{color:#edf6ff!important}
body.folinq-r2013.folio-night-v1 .feed-engagement-verb{color:#c4d3e4!important}
body.folinq-r2013.folio-night-v1 .feed-engagement-age{color:#aabcce!important}
body.folinq-r2013.folio-night-v1 .feed-engagement-comment{background:#1b2c42!important;color:#edf6ff!important;border-color:#405570!important}
/* Notification cards: readable title/body/time plus dark action menu. */
body.folinq-r2013.folio-night-v1 .notifications-grid-v169 .notification-item-v169,
body.folinq-r2013.folio-night-v1 .notification-item-v169{background:#19283c!important;border-color:#3a5069!important;color:#e9f4ff!important;box-shadow:none!important}
body.folinq-r2013.folio-night-v1 .notification-item-v169.unread{background:#1c3652!important;border-color:#467cae!important}
body.folinq-r2013.folio-night-v1 .notification-main-link-v169{background:transparent!important;color:#e8f2fc!important}
body.folinq-r2013.folio-night-v1 .notification-body-v169 b{color:#f2f7ff!important;opacity:1!important}
body.folinq-r2013.folio-night-v1 .notification-body-v169 small{color:#c4d4e7!important;opacity:1!important}
body.folinq-r2013.folio-night-v1 .notification-body-v169 em{color:#adc4da!important;opacity:1!important}
body.folinq-r2013.folio-night-v1 .notification-more-v169{background:#263c57!important;border-color:#496784!important;color:#e2efff!important}
body.folinq-r2013.folio-night-v1 .notifications-grid-v169 .notification-menu-v169 .notification-menu-panel-v169{background:#20334a!important;color:#eaf3ff!important;border-color:#496380!important}
body.folinq-r2013.folio-night-v1 .notifications-grid-v169 .notification-menu-panel-v169>a,
body.folinq-r2013.folio-night-v1 .notifications-grid-v169 .notification-menu-panel-v169>form>button{color:#e6effb!important;background:transparent!important}
body.folinq-r2013.folio-night-v1 .notifications-grid-v169 .notification-menu-panel-v169>a:hover,
body.folinq-r2013.folio-night-v1 .notifications-grid-v169 .notification-menu-panel-v169>form>button:hover{background:#315176!important;color:#fff!important}

/* Admin Folios + Comments: light-only table rows and headings were low contrast. */
body.folinq-r2013.folio-night-v1 .admin-table,
body.folinq-r2013.folio-night-v1 .admin-comments-v166{background:#141f2e!important;color:#e8f2fc!important;border-color:#3d5067!important}
body.folinq-r2013.folio-night-v1 .admin-table th{background:#263b52!important;color:#edf6ff!important;border-bottom-color:#4d6680!important}
body.folinq-r2013.folio-night-v1 .admin-table td{background:#151f2e!important;color:#e7f1fb!important;border-bottom-color:#3a4e65!important}
body.folinq-r2013.folio-night-v1 .admin-table tbody tr:hover td{background:#22364d!important}
body.folinq-r2013.folio-night-v1 .admin-table td :is(b,strong),
body.folinq-r2013.folio-night-v1 .admin-table td[data-no-translate]{color:#eef6ff!important}
body.folinq-r2013.folio-night-v1 .admin-table td a{color:#9dccff!important}
body.folinq-r2013.folio-night-v1 .admin-table td :is(.small,.muted){color:#b8cce2!important}
body.folinq-r2013.folio-night-v1 .admin-table .check-label{color:#d2e3f5!important}
body.folinq-r2013.folio-night-v1 .admin-table .inline-admin-form select,
body.folinq-r2013.folio-night-v1 .admin-table input:not([type=checkbox]){background:#1c2c42!important;color:#eaf4ff!important;border-color:#4a647f!important}
body.folinq-r2013.folio-night-v1 .admin-table .admin-icon-action:not(.danger){background:#233b56!important;color:#cae6ff!important;border-color:#42678e!important}
body.folinq-r2013.folio-night-v1 .admin-tabs a:not(.active){background:#1b2b41!important;color:#c5d9ee!important}
body.folinq-r2013.folio-night-v1 .admin-tabs a.active{background:#1b476f!important;color:#fff!important}
body.folinq-r2013.folio-night-v1 .admin-panel-head h3{color:#edf4fe!important}

/* Folinq NIGHT AUDIT v2: profile featured, section cards, Portfolio header. */
/* Every rule is scoped to the effective night theme, not the other preference. */
html body.folinq-r2013.folio-night-v1 .featured-strip .featured-grid .featured-mini{
  background:#1c2c43!important;color:#eef5ff!important;
  border:1px solid #405875!important;box-shadow:none!important
}
html body.folinq-r2013.folio-night-v1 .featured-strip .featured-mini:is(:hover,:focus-visible){
  background:#233b56!important;border-color:#6298cf!important
}
html body.folinq-r2013.folio-night-v1 .featured-strip .featured-mini b{
  color:#edf5ff!important;opacity:1!important
}
html body.folinq-r2013.folio-night-v1 .featured-strip .featured-mini small{
  color:#bbcee4!important;opacity:1!important
}
html body.folinq-r2013.folio-night-v1 .featured-strip :is(.side-title,.side-title svg,.side-title .li-icon){color:#eff7ff!important}
/* Profile editor: old --surface-soft was light even while page body was dark. */
html body.folinq-r2013.folio-night-v1 .profile-edit-v193 .profile-edit-section-v193{
  background:#1b2b40!important;border-color:#405876!important;color:#edf4ff!important
}
html body.folinq-r2013.folio-night-v1 .profile-edit-v193 .profile-edit-section-head-v193 :is(h3,svg,.li-icon){
  color:#f0f6ff!important;stroke:currentColor!important;opacity:1!important
}
html body.folinq-r2013.folio-night-v1 .profile-edit-v193 .profile-edit-section-head-v193 p{
  color:#bbcee4!important;opacity:1!important
}
html body.folinq-r2013.folio-night-v1 .profile-edit-v193 :is(.field>label,.field label,.form-grid .field label){
  color:#dceafd!important;opacity:1!important
}
html body.folinq-r2013.folio-night-v1 .profile-edit-v193 .field :is(input,select,textarea){
  background:#101e30!important;border:1px solid #46607b!important;
  color:#eef6ff!important;box-shadow:none!important
}
html body.folinq-r2013.folio-night-v1 .profile-edit-v193 .field :is(input,textarea)::placeholder{color:#a5bdd6!important}
html body.folinq-r2013.folio-night-v1 .profile-edit-v193 .field :is(input,select,textarea):focus{
  border-color:#69abf2!important;outline:2px solid rgba(64,152,245,.14)!important
}
html body.folinq-r2013.folio-night-v1 .profile-edit-v193 .field :is(small,.muted){
  color:#aebfd2!important;opacity:1!important
}
html body.folinq-r2013.folio-night-v1 .profile-edit-v193 :is(.password-panel,.onboarding-inline){
  background:#1b2b40!important;border-color:#405876!important;color:#e6f2fd!important
}
html body.folinq-r2013.folio-night-v1 .profile-edit-v193 .password-panel h3{color:#f0f6ff!important}
/* Studio title was a hardcoded white block; both text and surface follow night mode. */
html body.folinq-r2013.folio-night-v1 .studio-hero-modern{
  background:#1a2a40!important;border:1px solid #3e5570!important;
  color:#edf6ff!important;box-shadow:none!important
}
html body.folinq-r2013.folio-night-v1 .studio-hero-modern :is(h1,h2,b,strong){
  color:#f2f7ff!important;opacity:1!important
}
html body.folinq-r2013.folio-night-v1 .studio-hero-modern :is(p,.muted,small){
  color:#b9cde2!important;opacity:1!important
}
html body.folinq-r2013.folio-night-v1 .studio-hero-modern .btn.secondary{
  background:#233c58!important;border:1px solid #4c6988!important;color:#dcefff!important
}
html body.folinq-r2013.folio-night-v1 .studio-hero-modern .btn.secondary:hover{
  background:#2d4e70!important;color:#fff!important
}
html body.folinq-r2013.folio-night-v1 .studio-search{
  background:#203149!important;border-color:#405c78!important;color:#dceaf7!important
}
html body.folinq-r2013.folio-night-v1 .studio-search input{color:#ebf3ff!important;background:transparent!important}
html body.folinq-r2013.folio-night-v1 .studio-search input::placeholder{color:#a7bcd4!important}

/* Floating Folio action menu is portalled to <body>; override its original
   hard-coded white surface and button pills AFTER the old mobile layer. */
html body.folinq-r2013.folio-night-v1 .folio-work-menu-floating-v1{
  background:#1c2e44!important;border:1px solid #4a617c!important;
  color:#eaf3ff!important;box-shadow:0 18px 44px rgba(0,0,0,.39)!important
}
html body.folinq-r2013.folio-night-v1 .folio-work-menu-floating-v1>form{
  background:transparent!important;color:#edf6ff!important;border:0!important
}
html body.folinq-r2013.folio-night-v1 .folio-work-menu-floating-v1>:is(a,button),
html body.folinq-r2013.folio-night-v1 .folio-work-menu-floating-v1>form>button,
html body.folinq-r2013.folio-night-v1 .folio-work-menu-floating-v1>details>summary{
  background:transparent!important;color:#e8f3ff!important;
  border-color:transparent!important;box-shadow:none!important
}
html body.folinq-r2013.folio-night-v1 .folio-work-menu-floating-v1>:is(a,button):hover,
html body.folinq-r2013.folio-night-v1 .folio-work-menu-floating-v1>form>button:hover,
html body.folinq-r2013.folio-night-v1 .folio-work-menu-floating-v1>details>summary:hover{
  background:#2f4c6b!important;color:#fff!important
}
html body.folinq-r2013.folio-night-v1 .folio-work-menu-floating-v1 :is(.li-icon,svg){
  color:currentColor!important;stroke:currentColor!important;opacity:1!important
}
html body.folinq-r2013.folio-night-v1 .folio-work-menu-floating-v1>details{
  background:transparent!important;border-top-color:#3d5875!important
}
html body.folinq-r2013.folio-night-v1 .folio-work-menu-floating-v1>details>summary{
  color:#ff9eaa!important
}
html body.folinq-r2013.folio-night-v1 .folio-work-menu-floating-v1 .report-pro-form{
  background:#20364e!important;color:#eaf3ff!important;border-color:#425d78!important
}
html body.folinq-r2013.folio-night-v1 .send-folio-dialog-v1{
  background:#17283e!important;border-color:#425e7c!important;color:#edf5ff!important
}
html body.folinq-r2013.folio-night-v1 .send-folio-dialog-v1 :is(header,footer){
  background:#182a41!important;border-color:#395371!important;color:#eaf4ff!important
}
html body.folinq-r2013.folio-night-v1 .send-folio-search-v1,
html body.folinq-r2013.folio-night-v1 .send-folio-selected-v1{
  background:#243e5b!important;color:#e9f4ff!important
}
html body.folinq-r2013.folio-night-v1 .send-folio-search-v1 input{
  color:#f2f6ff!important
}
html body.folinq-r2013.folio-night-v1 .send-folio-person-v1{
  border-bottom-color:#3e5873!important;color:#e9f4ff!important
}
html body.folinq-r2013.folio-night-v1 .send-folio-person-v1 :is(b,small){color:#e0edfa!important}

/* Messages: bubble, tiny white reaction chips, time labels and composer. */
html body.folinq-r2013.folio-night-v1 .chat-linkedin-v183 .chat-stream-v183{
  background:#142237!important;color:#eaf3ff!important
}
html body.folinq-r2013.folio-night-v1 .chat-message-v183 .chat-message-bubble-v183{
  background:#25384e!important;border-color:#42607d!important;color:#f0f7ff!important
}
html body.folinq-r2013.folio-night-v1 .chat-message-v183.mine .chat-message-bubble-v183{
  background:#1b416b!important;border-color:#3970a5!important;color:#f6faff!important
}
html body.folinq-r2013.folio-night-v1 .chat-message-v183 :is(.chat-message-text-v183,.chat-message-author-v183 b){
  color:#edf5ff!important;opacity:1!important
}
html body.folinq-r2013.folio-night-v1 .chat-message-v183 :is(.chat-message-author-v183 time,.chat-message-meta-v183,.chat-message-footer-v183 small,.chat-reply-quote-v183 span){
  color:#b5cbdf!important;opacity:1!important
}
html body.folinq-r2013.folio-night-v1 .chat-message-v183 .chat-reactions-v183 span{
  background:#294664!important;border:1px solid #57799d!important;color:#eef5ff!important
}
html body.folinq-r2013.folio-night-v1 .chat-message-v183 .chat-reply-quote-v183{
  background:#233c56!important;border-inline-start-color:#66b2fb!important;color:#e6f3ff!important
}
html body.folinq-r2013.folio-night-v1 .chat-message-v183 .chat-message-file-v183{
  background:#1c324a!important;border-color:#456887!important;color:#ebf4ff!important
}
html body.folinq-r2013.folio-night-v1 .chat-message-v183 .chat-message-file-v183 small{color:#b6cae1!important}
html body.folinq-r2013.folio-night-v1 .chat-message-v183 .chat-message-hover-v183 :is(button,summary){
  background:#253c55!important;border-color:#4b6683!important;color:#e3f2ff!important
}
html body.folinq-r2013.folio-night-v1 .chat-message-v183 .chat-message-hover-v183 :is(button,summary):hover{
  background:#335879!important;color:#fff!important
}
html body.folinq-r2013.folio-night-v1 .chat-linkedin-v183 :is(.chat-typing-v183,.chat-compose-v183,.chat-compose-bottom-v183){
  background:#182b42!important;border-color:#385370!important;color:#e8f3ff!important
}
html body.folinq-r2013.folio-night-v1 .chat-linkedin-v183 .chat-compose-v183 textarea{
  background:#0f2035!important;border:1px solid #476380!important;color:#eef7ff!important
}
html body.folinq-r2013.folio-night-v1 .chat-linkedin-v183 .chat-compose-v183 textarea::placeholder{color:#adbed1!important}
html body.folinq-r2013.folio-night-v1 .chat-linkedin-v183 .chat-date-separator-v183{color:#adc0d6!important}
html body.folinq-r2013.folio-night-v1 .chat-linkedin-v183 .chat-date-separator-v183:before,
html body.folinq-r2013.folio-night-v1 .chat-linkedin-v183 .chat-date-separator-v183:after{background:#405873!important}
html body.folinq-r2013.folio-night-v1 .chat-linkedin-v183 .chat-thread-select-wrap-v184 span{background:#1c3149!important;border-color:#54728f!important}
html body.folinq-r2013.folio-night-v1 .chat-linkedin-v183 .chat-thread-select-wrap-v184 input:checked+span{
  background:#1474ce!important;border-color:#1474ce!important;box-shadow:inset 0 0 0 4px #1c3149!important
}

/* The light-source Folinq wordmark has white pixels behind its dark lettering.
   In night mode only, invert the image and blend black/white source pixels
   onto the dark header.  Keeps the blue Folinq dot without a white rectangle.
   Do not apply to user photos or the mark-only avatar. */
html body.folinq-r2013.folio-night-v1 .topbar .brand{
  background:transparent!important;border-color:transparent!important
}
html body.folinq-r2013.folio-night-v1 .topbar .brand img.folinq-wordmark-top{
  background:transparent!important;border:0!important;box-shadow:none!important;
  filter:invert(1) hue-rotate(180deg) saturate(1.1)!important;
  mix-blend-mode:screen!important;opacity:1!important;
}

/* Native fallback must be visible if a browser refuses custom audio playback. */
body.folinq-r2013 .audio-player:not(.folio-audio-enhanced-v1) .folio-audio-controls-v1{
  display:none!important
}
body.folinq-r2013 .audio-player:not(.folio-audio-enhanced-v1)>audio{
  display:block!important;position:static!important;width:100%!important;
  height:38px!important;max-width:100%!important;opacity:1!important;
  pointer-events:auto!important
}
/* Dark sidebar: the curve of the blue CTA must reveal the dark card, not
   the gradient-white light-mode ribbon footer underneath the SVG mask. */
html body.folinq-r2013.folio-night-v1 .smart-sidebar .network-box.feed-side-ribbon-card{
  background:#162336!important;border-color:#364b64!important;color:#ecf4ff!important
}
html body.folinq-r2013.folio-night-v1 .smart-sidebar .feed-side-ribbon-card .feed-side-ribbon-footer{
  background:transparent!important;background-image:none!important;
  border-top:0!important;box-shadow:none!important
}
html body.folinq-r2013.folio-night-v1 .smart-sidebar .feed-side-ribbon-card .feed-side-ribbon-footer::before,
html body.folinq-r2013.folio-night-v1 .smart-sidebar .feed-side-ribbon-card .feed-side-ribbon-footer::after{
  background:transparent!important;background-image:none!important;box-shadow:none!important
}
html body.folinq-r2013.folio-night-v1 .smart-sidebar .feed-side-ribbon-card .feed-side-ribbon{
  color:#fff!important;border-color:transparent!important
}

/* Profile overview - night theme pass: left rail favorites and endorsement cards.
   Only active night mode, not the inactive desktop/mobile preference. */
html body.folinq-r2013.folio-night-v1 .profile-credit-network-v171 .profile-credit-name-list-v171 a{
  background:#203750!important;color:#e8f3ff!important;
  border:1px solid #47617e!important;box-shadow:none!important
}
html body.folinq-r2013.folio-night-v1 .profile-credit-network-v171 .profile-credit-name-list-v171 a:hover{
  background:#294c70!important;border-color:#6aa5dd!important;color:#fff!important
}
html body.folinq-r2013.folio-night-v1 :is(.favorite-profile-card,.reader-library-panel) .favorite-mini-row{
  background:#203149!important;color:#e8f2ff!important;
  border:1px solid #3d5571!important;box-shadow:none!important
}
html body.folinq-r2013.folio-night-v1 :is(.favorite-profile-card,.reader-library-panel) .favorite-mini-row:hover{
  background:#2b4767!important;border-color:#6395c9!important
}
html body.folinq-r2013.folio-night-v1 :is(.favorite-profile-card,.reader-library-panel) .favorite-mini-row b{
  color:#eef6ff!important;opacity:1!important
}
html body.folinq-r2013.folio-night-v1 :is(.favorite-profile-card,.reader-library-panel) .favorite-mini-row small{
  color:#b7cce2!important;opacity:1!important
}
html body.folinq-r2013.folio-night-v1 .reader-book-tabs details{
  background:#1a2a40!important;border-color:#405875!important;color:#e8f4ff!important
}
html body.folinq-r2013.folio-night-v1 .reader-book-tabs summary{color:#ebf4ff!important}
html body.folinq-r2013.folio-night-v1 .favorite-profile-card .side-title,
html body.folinq-r2013.folio-night-v1 .reader-library-panel .side-title{color:#f0f7ff!important}
html body.folinq-r2013.folio-night-v1 .favorite-profile-card .favorite-mini-cover{
  background:#273f5a!important;color:#a9d2ff!important
}
/* Endorsement tabs: light-only badge, row and label colors. */
html body.folinq-r2013.folio-night-v1 [data-profile-endorsements-v204]{
  background:#162336!important;border-color:#37506c!important;color:#edf5ff!important
}
html body.folinq-r2013.folio-night-v1 [data-profile-endorsements-v204] .profile-endorsement-tabs-head-v204 h3{
  color:#f2f7ff!important
}
html body.folinq-r2013.folio-night-v1 [data-profile-endorsements-v204] .profile-endorsement-tabs-head-v204 p{
  color:#bed0e4!important
}
html body.folinq-r2013.folio-night-v1 [data-profile-endorsements-v204] .profile-endorsement-tab-buttons-v204{
  border-bottom-color:#3d5571!important
}
html body.folinq-r2013.folio-night-v1 [data-profile-endorsements-v204] .profile-endorsement-tab-buttons-v204 button{
  background:#1c3047!important;border-color:#405976!important;color:#d7e7f8!important
}
html body.folinq-r2013.folio-night-v1 [data-profile-endorsements-v204] .profile-endorsement-tab-buttons-v204 button.active{
  background:#23496c!important;border-color:#66a8ef!important;color:#f2f9ff!important
}
html body.folinq-r2013.folio-night-v1 [data-profile-endorsements-v204] .profile-endorsement-tab-buttons-v204 button span{
  background:#294660!important;color:#ddecfc!important
}
html body.folinq-r2013.folio-night-v1 [data-profile-endorsements-v204] .profile-endorsement-wide-item-v204{
  background:#1f3148!important;background-image:none!important;
  border:1px solid #405b79!important;color:#e9f4ff!important;box-shadow:none!important
}
html body.folinq-r2013.folio-night-v1 [data-profile-endorsements-v204] .profile-endorsement-wide-item-v204:is(:hover,:focus-visible){
  background:#27415e!important;border-color:#67a4e0!important
}
html body.folinq-r2013.folio-night-v1 [data-profile-endorsements-v204] .profile-endorsement-person-v204 b{
  color:#f2f7ff!important
}
html body.folinq-r2013.folio-night-v1 [data-profile-endorsements-v204] .profile-endorsement-person-v204 small,
html body.folinq-r2013.folio-night-v1 [data-profile-endorsements-v204] .profile-endorsement-wide-item-v204 time{
  color:#b1c6de!important
}
html body.folinq-r2013.folio-night-v1 [data-profile-endorsements-v204] .profile-endorsement-wide-item-v204 p{
  color:#d7e5f5!important
}
html body.folinq-r2013.folio-night-v1 [data-profile-endorsements-v204] .profile-endorsement-relation-v204{
  background:#244a71!important;border-color:#486b91!important;color:#d8edff!important
}
html body.folinq-r2013.folio-night-v1 [data-profile-endorsements-v204] .profile-endorsement-view-r2013{
  background:#274563!important;border-color:#51759a!important;color:#d8edff!important
}

/* Profile awards: remove white card tops and default-placeholder white matte. */
html body.folinq-r2013.folio-night-v1 .profile-awards-v111{
  background:#162336!important;border-color:#37506a!important;color:#edf5ff!important
}
html body.folinq-r2013.folio-night-v1 .profile-awards-v111 .profile-awards-title-wrap-v1 h2{
  color:#f0f7ff!important
}
html body.folinq-r2013.folio-night-v1 .profile-awards-v111 .profile-awards-title-wrap-v1 p{
  color:#b9cbe0!important
}
html body.folinq-r2013.folio-night-v1 .profile-awards-v111 .profile-awards-kicker-v1{
  color:#cbe7ff!important;background:#1d4161!important;border-color:#446e97!important
}
html body.folinq-r2013.folio-night-v1 .profile-awards-v111 .profile-award-card-v107{
  background:#1c2c43!important;border:1px solid #3a526f!important;color:#eaf3ff!important;
  box-shadow:none!important
}
html body.folinq-r2013.folio-night-v1 .profile-awards-v111 .profile-award-media-v107{
  background:#1d3049!important;border-bottom:1px solid #395675!important
}
html body.folinq-r2013.folio-night-v1 .profile-awards-v111 .profile-award-placeholder-v110,
html body.folinq-r2013.folio-night-v1 .profile-awards-v111 .profile-award-placeholder-v110 img{
  background:#1d3049!important
}
/* Only built-in placeholder artwork is adapted; user-uploaded award photos
   retain their original colors. Invert white matte to black and use screen
   blending so dark pixels disappear into the dark card while blue icons show. */
html body.folinq-r2013.folio-night-v1 .profile-awards-v111 .profile-award-placeholder-v110 img{
  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 .profile-awards-v111 .profile-award-body-v107 h3{
  color:#edf6ff!important
}
html body.folinq-r2013.folio-night-v1 .profile-awards-v111 .profile-award-body-v107 p,
html body.folinq-r2013.folio-night-v1 .profile-awards-v111 .profile-award-issuer-v1{
  color:#c0d2e6!important
}
html body.folinq-r2013.folio-night-v1 .profile-awards-v111 .profile-award-type-v1,
html body.folinq-r2013.folio-night-v1 .profile-awards-v111 .profile-award-date-v1{
  background:#25496c!important;color:#cbe8ff!important;border-color:#47739c!important
}
html body.folinq-r2013.folio-night-v1 .profile-awards-v111 .profile-award-owner-actions-v107{
  border-top-color:#3d5673!important
}
html body.folinq-r2013.folio-night-v1 .profile-awards-v111 .profile-award-icon-action-v107,
html body.folinq-r2013.folio-night-v1 .profile-awards-v111 .profile-awards-settings-trigger-v107{
  background:#263f5a!important;border-color:#476786!important;color:#a9d5ff!important
}
html body.folinq-r2013.folio-night-v1 .profile-awards-v111 .profile-award-icon-action-v107:hover,
html body.folinq-r2013.folio-night-v1 .profile-awards-v111 .profile-awards-settings-trigger-v107:hover{
  background:#325574!important;border-color:#74ace4!important;color:#eaf5ff!important
}
html body.folinq-r2013.folio-night-v1 .profile-awards-v111 .profile-award-icon-action-v107.danger{
  background:#3b2939!important;border-color:#835269!important;color:#ffadb4!important
}
/* Award settings/edit UI and details are portalled dialogs: match same surface. */
html body.folinq-r2013.folio-night-v1 .profile-awards-v111 .profile-awards-settings-panel-v107,
html body.folinq-r2013.folio-night-v1 .profile-awards-v111 .profile-award-file-picker-v107,
html body.folinq-r2013.folio-night-v1 .profile-award-edit-dialog-v110,
html body.folinq-r2013.folio-night-v1 .profile-award-detail-dialog-v111,
html body.folinq-r2013.folio-night-v1 .profile-award-detail-shell-v111{
  background:#18283f!important;border-color:#3f5976!important;color:#eaf4ff!important
}
html body.folinq-r2013.folio-night-v1 .profile-award-detail-head-v111,
html body.folinq-r2013.folio-night-v1 .profile-award-edit-dialog-head-v110{
  background:#1d3047!important;border-color:#3f5b7b!important
}
html body.folinq-r2013.folio-night-v1 .profile-award-detail-head-v111 strong,
html body.folinq-r2013.folio-night-v1 .profile-awards-settings-title-v107 strong,
html body.folinq-r2013.folio-night-v1 .profile-award-detail-content-v111 h2{
  color:#f0f7ff!important
}
html body.folinq-r2013.folio-night-v1 .profile-awards-settings-title-v107 small,
html body.folinq-r2013.folio-night-v1 .profile-award-detail-description-v111 p,
html body.folinq-r2013.folio-night-v1 .profile-award-detail-issuer-v111 span{
  color:#c0d3e8!important
}
html body.folinq-r2013.folio-night-v1 .profile-award-detail-issuer-v111,
html body.folinq-r2013.folio-night-v1 .profile-award-detail-description-v111{
  border-top-color:#415c78!important
}
html body.folinq-r2013.folio-night-v1 .profile-award-detail-issuer-v111 b,
html body.folinq-r2013.folio-night-v1 .profile-award-detail-description-v111>b,
html body.folinq-r2013.folio-night-v1 .profile-awards-form-v107 label>span:first-child{
  color:#d4e6f6!important
}
html body.folinq-r2013.folio-night-v1 .profile-awards-v111 .profile-awards-form-v107 :is(input:not([type=file]),select,textarea),
html body.folinq-r2013.folio-night-v1 .profile-award-edit-dialog-v110 :is(input:not([type=file]),select,textarea){
  background:#0f1f32!important;color:#edf6ff!important;border-color:#496584!important
}
html body.folinq-r2013.folio-night-v1 .profile-award-detail-media-v111{
  background:#1d3049!important;border-color:#47617e!important
}
html body.folinq-r2013.folio-night-v1 .profile-award-detail-media-v111 img{
  background:transparent!important
}
html body.folinq-r2013.folio-night-v1 .profile-award-detail-media-v111.is-placeholder img{
  filter:invert(1) hue-rotate(180deg) saturate(1.15)!important;mix-blend-mode:screen!important
}
html body.folinq-r2013.folio-night-v1 .profile-award-detail-media-v111:not(.is-placeholder) img{
  filter:none!important;mix-blend-mode:normal!important
}

/* Folinq night hover: My Shelf row in the feed profile stats must never
   inherit the old #f7f9fc hover surface from the light theme. */
html body.folinq-r2013.folio-night-v1 .profile-card .stat-row.stat-row-link:hover,
html body.folinq-r2013.folio-night-v1 .profile-card .stat-row.stat-row-link:focus-visible,
html body.folinq-r2013.folio-night-v1 .profile-card .stat-row.stat-row-link:active{
  background:#253e5a!important;
  background-image:none!important;
  color:#f0f7ff!important;
  border-color:#47627e!important;
}
html body.folinq-r2013.folio-night-v1 .profile-card .stat-row.stat-row-link:is(:hover,:focus-visible,:active) span{
  color:#e6f1ff!important;
}
html body.folinq-r2013.folio-night-v1 .profile-card .stat-row.stat-row-link:is(:hover,:focus-visible,:active) b{
  color:#84c2ff!important;
}
html body.folinq-r2013.folio-night-v1 .profile-card .stat-row.stat-row-link:focus-visible{
  outline:2px solid #76b6f6!important;outline-offset:-2px!important;
}
/* The white circular dot beside the Folios heading is the activity count
   badge's light-mode background, while its label was made white at night. */
html body.folinq-r2013.folio-night-v1 .profile-activity-pro-v162 .activity-lane-head-v161 span{
  display:inline-grid!important;
  place-items:center!important;
  background:#26476b!important;
  color:#d9edff!important;
  border:1px solid #4875a4!important;
  box-shadow:none!important;
  opacity:1!important;
}
html body.folinq-r2013.folio-night-v1 .profile-activity-pro-v162 .activity-lane-head-v161 h3{
  color:#f1f7ff!important;
}

/* NIGHT_SURFACE_AUDIT_20261123: Personal shelf and Kanban.
   Use the effective night-mode class; keep light mode unchanged. */
html body.folinq-r2013.folio-night-v1 .shelf-dashboard-v194 .shelf-hero-v194{
  background:linear-gradient(130deg,#172a41,#1b3652)!important;
  border-color:#3d5876!important;color:#edf6ff!important
}
html body.folinq-r2013.folio-night-v1 .shelf-dashboard-v194 .shelf-hero-copy :is(h1,p){
  color:#eaf3ff!important
}
html body.folinq-r2013.folio-night-v1 .shelf-dashboard-v194 .shelf-summary-v194>div{
  background:#213853!important;border-color:#486381!important;color:#e9f4ff!important
}
html body.folinq-r2013.folio-night-v1 .shelf-dashboard-v194 .shelf-summary-v194 span{color:#bed3e8!important}
html body.folinq-r2013.folio-night-v1 .shelf-dashboard-v194 .shelf-summary-v194 b{color:#91c9ff!important}
html body.folinq-r2013.folio-night-v1 .shelf-dashboard-v194 .shelf-unified-card-v194{
  background:#16263b!important;border-color:#395371!important;color:#f0f7ff!important
}
html body.folinq-r2013.folio-night-v1 .shelf-dashboard-v194 .shelf-primary-tabbar-v194{
  background:#101f32!important;border-color:#435c77!important
}
html body.folinq-r2013.folio-night-v1 .shelf-dashboard-v194 .shelf-primary-tab-v194:not(.active){
  background:#1c3048!important;color:#d5e8fa!important
}
html body.folinq-r2013.folio-night-v1 .shelf-dashboard-v194 .shelf-primary-tab-v194:not(.active):hover{
  background:#2a496b!important;color:#fff!important
}
html body.folinq-r2013.folio-night-v1 .shelf-dashboard-v194 .shelf-primary-tab-v194:not(.active) b{
  background:#294b6d!important;color:#e9f5ff!important
}
html body.folinq-r2013.folio-night-v1 .shelf-dashboard-v194 .shelf-tab-v194{
  background:#1a2c43!important;color:#dceaf9!important;border-color:#415875!important
}
html body.folinq-r2013.folio-night-v1 .shelf-dashboard-v194 .shelf-tab-v194:hover{
  background:#294866!important;border-color:#669fd6!important;color:#fff!important
}
html body.folinq-r2013.folio-night-v1 .shelf-dashboard-v194 .shelf-tab-v194.active{
  background:#1b4268!important;border-color:#5b9cd9!important;color:#eaf5ff!important
}
html body.folinq-r2013.folio-night-v1 .shelf-dashboard-v194 .shelf-tab-v194:not(.active) b{
  background:#29425d!important;color:#cfe4f8!important
}
html body.folinq-r2013.folio-night-v1 .shelf-dashboard-v194 .shelf-inline-head-v194 h2{
  color:#f0f7ff!important
}
html body.folinq-r2013.folio-night-v1 .shelf-dashboard-v194 .shelf-inline-head-v194 p{
  color:#bcd1e6!important
}
html body.folinq-r2013.folio-night-v1 .shelf-dashboard-v194 .shelf-work-card-pro,
html body.folinq-r2013.folio-night-v1 .shelf-dashboard-v194 .book-rack-pro,
html body.folinq-r2013.folio-night-v1 .shelf-dashboard-v194 .book-tile-pro{
  background:#1c3048!important;background-image:none!important;
  border-color:#425d7a!important;color:#ebf5ff!important;
  box-shadow:none!important
}
html body.folinq-r2013.folio-night-v1 .shelf-dashboard-v194 .shelf-work-card-pro :is(h3,h3 a){
  color:#f2f8ff!important;opacity:1!important;text-decoration:none!important
}
html body.folinq-r2013.folio-night-v1 .shelf-dashboard-v194 .shelf-work-card-pro p{
  color:#cbdcf0!important
}
html body.folinq-r2013.folio-night-v1 .shelf-dashboard-v194 .shelf-work-card-pro .small.muted,
html body.folinq-r2013.folio-night-v1 .shelf-dashboard-v194 .book-info-pro small{
  color:#afc5dd!important;opacity:1!important
}
html body.folinq-r2013.folio-night-v1 .shelf-dashboard-v194 .shelf-work-card-pro .badge{
  background:#27476a!important;color:#cde9ff!important;border-color:#456e95!important
}
html body.folinq-r2013.folio-night-v1 .shelf-dashboard-v194 .shelf-reading-decision-v1 button{
  background:#263e59!important;color:#dcecff!important;border-color:#4a6785!important
}
html body.folinq-r2013.folio-night-v1 .shelf-dashboard-v194 .shelf-reading-decision-v1 button.is-selected{
  background:#1c4a76!important;color:#fff!important;border-color:#64a8eb!important
}
html body.folinq-r2013.folio-night-v1 .shelf-dashboard-v194 .shelf-reading-decision-v1 button:hover:not(:disabled){
  background:#35577a!important;border-color:#7aaff0!important
}
html body.folinq-r2013.folio-night-v1 .shelf-dashboard-v194 .shelf-status-form :is(select,option){
  background:#101f32!important;color:#edf6ff!important;border-color:#4e6a89!important
}
html body.folinq-r2013.folio-night-v1 .shelf-dashboard-v194 .book-rack-title,
html body.folinq-r2013.folio-night-v1 .shelf-dashboard-v194 .book-info-pro b{
  color:#eaf5ff!important
}
html body.folinq-r2013.folio-night-v1 .shelf-dashboard-v194 .book-cover-pro{
  background:#264765!important
}
html body.folinq-r2013.folio-night-v1 .shelf-dashboard-v194 .shelf-skeleton-v194 span{
  background:linear-gradient(90deg,#21334b,#304862,#21334b)!important;
  background-size:220% 100%!important
}
html body.folinq-r2013.folio-night-v1 .shelf-dashboard-v194 .shelf-empty-v194,
html body.folinq-r2013.folio-night-v1 .shelf-dashboard-v194 .shelf-error-v194{
  color:#b4c9e0!important
}

/* Kanban: board, columns, card contents, interactions and menus. */
html body.folinq-r2013.folio-night-v1 .shelf-kanban-pro-v1992 .shelf-kanban-toolbar-v1992{
  background:#16263b!important;border-color:#3e5876!important;color:#eff7ff!important
}
html body.folinq-r2013.folio-night-v1 .shelf-kanban-pro-v1992 .shelf-kanban-title-v1992 h1{
  color:#f1f8ff!important
}
html body.folinq-r2013.folio-night-v1 .shelf-kanban-pro-v1992 .shelf-kanban-title-v1992 p{
  color:#b9cfe4!important
}
html body.folinq-r2013.folio-night-v1 .shelf-kanban-pro-v1992 .shelf-kanban-brand-v1992,
html body.folinq-r2013.folio-night-v1 .shelf-kanban-pro-v1992 .kanban-scroll-r2013{
  background:#294561!important;color:#a8d8ff!important;border-color:#4e718f!important
}
html body.folinq-r2013.folio-night-v1 .shelf-kanban-pro-v1992 .shelf-kanban-view-actions-v1992 a{
  background:#264463!important;color:#e5f3ff!important;border-color:#51789e!important
}
html body.folinq-r2013.folio-night-v1 .shelf-kanban-pro-v1992 :is(.shelf-kanban-filter-v1992,.shelf-folder-create-v1992) label{
  background:#112236!important;border-color:#435e7c!important;color:#d5eafa!important
}
html body.folinq-r2013.folio-night-v1 .shelf-kanban-pro-v1992 :is(.shelf-kanban-filter-v1992,.shelf-folder-create-v1992) input:not([type=color]),
html body.folinq-r2013.folio-night-v1 .shelf-kanban-pro-v1992 .shelf-kanban-filter-v1992 select{
  background:#112236!important;color:#edf5ff!important;border-color:#4c6b8a!important
}
html body.folinq-r2013.folio-night-v1 .shelf-kanban-pro-v1992 :is(.shelf-kanban-filter-v1992,.shelf-folder-create-v1992) input::placeholder{
  color:#9fb9d2!important
}
html body.folinq-r2013.folio-night-v1 .shelf-kanban-pro-v1992 .shelf-kanban-column-v1992{
  background:#1a2b41!important;border-color:#3b536e!important;
  border-top:4px solid var(--folder-color)!important;color:#e7f2ff!important
}
html body.folinq-r2013.folio-night-v1 .shelf-kanban-pro-v1992 .shelf-kanban-column-head-v1992{
  background:#1e3149!important;border-bottom-color:#405875!important;color:#eef6ff!important
}
html body.folinq-r2013.folio-night-v1 .shelf-kanban-pro-v1992 .shelf-kanban-column-head-v1992 b{
  color:#f2f8ff!important
}
html body.folinq-r2013.folio-night-v1 .shelf-kanban-pro-v1992 .shelf-kanban-column-head-v1992 small{
  color:#b7cce2!important
}
html body.folinq-r2013.folio-night-v1 .shelf-kanban-pro-v1992 .shelf-kanban-card-v1992{
  background:#223851!important;border-color:#4a6580!important;
  color:#edf5ff!important;box-shadow:none!important
}
html body.folinq-r2013.folio-night-v1 .shelf-kanban-pro-v1992 .shelf-kanban-card-v1992:is(:hover,:focus-within){
  background:#294460!important;border-color:#76a5d4!important
}
html body.folinq-r2013.folio-night-v1 .shelf-kanban-pro-v1992 .shelf-kanban-card-link-v1992{
  color:#eff7ff!important
}
html body.folinq-r2013.folio-night-v1 .shelf-kanban-pro-v1992 .shelf-kanban-card-link-v1992 b{
  color:#f2f7ff!important;opacity:1!important
}
html body.folinq-r2013.folio-night-v1 .shelf-kanban-pro-v1992 .shelf-kanban-card-link-v1992 p{
  color:#c9d9ed!important;opacity:1!important
}
html body.folinq-r2013.folio-night-v1 .shelf-kanban-pro-v1992 .shelf-kanban-card-link-v1992 small{
  color:#91c9ff!important;opacity:1!important
}
html body.folinq-r2013.folio-night-v1 .shelf-kanban-pro-v1992 .shelf-kanban-card-placeholder-v1992{
  background:#294966!important;color:#8dccff!important
}
html body.folinq-r2013.folio-night-v1 .shelf-kanban-pro-v1992 :is(.kanban-drag-r2013,.kanban-card-menu-toggle-r2013){
  background:transparent!important;color:#b8d5f0!important
}
html body.folinq-r2013.folio-night-v1 .shelf-kanban-pro-v1992 :is(.kanban-drag-r2013,.kanban-card-menu-toggle-r2013):hover{
  background:#345371!important;color:#fff!important;border-color:#6c99c5!important
}
html body.folinq-r2013.folio-night-v1 .shelf-kanban-pro-v1992 .shelf-kanban-card-menu-v1992,
html body.folinq-r2013.folio-night-v1 .shelf-kanban-pro-v1992 .shelf-kanban-folder-menu-v1992>div{
  background:#1b2e45!important;border-color:#52708e!important;color:#e8f3ff!important
}
html body.folinq-r2013.folio-night-v1 .shelf-kanban-pro-v1992 :is(.shelf-kanban-card-menu-v1992,.shelf-kanban-folder-menu-v1992) :is(input,select,option){
  background:#112238!important;color:#eff8ff!important;border-color:#517190!important
}
html body.folinq-r2013.folio-night-v1 .shelf-kanban-pro-v1992 .shelf-kanban-empty-v1992{
  background:#20344c!important;color:#bad0e5!important;
  border-color:#4b6785!important
}
html body.folinq-r2013.folio-night-v1 .shelf-kanban-pro-v1992 .shelf-kanban-cards-v1992.is-drag-over-r2013{
  background:#244967!important;outline-color:#79b5f1!important
}
html body.folinq-r2013.folio-night-v1 .shelf-kanban-pro-v1992 .shelf-kanban-folder-menu-v1992 summary{
  background:#243f5b!important;color:#d9ecff!important;border-color:#486785!important
}

/* Message list: the focused/other filter row and selected conversation. */
html body.folinq-r2013.folio-night-v1 .chat-linkedin-v183 .chat-filter-pills-v183{
  background:#182a40!important;border-color:#405876!important;color:#ecf6ff!important
}
html body.folinq-r2013.folio-night-v1 .chat-linkedin-v183 .chat-filter-pills-v183 a{
  background:#243a55!important;border-color:#4d6886!important;color:#dbeeff!important
}
html body.folinq-r2013.folio-night-v1 .chat-linkedin-v183 .chat-filter-pills-v183 a.active{
  background:#1b65a6!important;color:#fff!important;border-color:#6ab2ed!important
}
html body.folinq-r2013.folio-night-v1 .chat-linkedin-v183 .chat-filter-pills-v183 a:hover{
  background:#32577a!important;color:#fff!important
}
html body.folinq-r2013.folio-night-v1 .chat-linkedin-v183 .chat-filter-pills-v183 a:not(.active) em{
  background:#34536f!important;color:#e5f1ff!important
}
html body.folinq-r2013.folio-night-v1 .chat-linkedin-v183 .chat-thread-item-v183,
html body.folinq-r2013.folio-night-v1 .chat-linkedin-v183 .chat-thread-item-v183.is-unread{
  background:#1a2c43!important;border-color:#3a506a!important;color:#edf5ff!important
}
html body.folinq-r2013.folio-night-v1 .chat-linkedin-v183 .chat-thread-item-v183.is-active{
  background:#26496c!important;border-color:#5b86af!important;color:#f0f8ff!important
}
html body.folinq-r2013.folio-night-v1 .chat-linkedin-v183 .chat-thread-item-v183:hover{
  background:#29435d!important;color:#f5faff!important
}
html body.folinq-r2013.folio-night-v1 .chat-linkedin-v183 .chat-thread-item-v183 :is(.chat-thread-main-v183,.chat-thread-name-v183 b){
  color:#f0f6ff!important;opacity:1!important
}
html body.folinq-r2013.folio-night-v1 .chat-linkedin-v183 .chat-thread-item-v183 :is(.chat-thread-copy-v183>small,.chat-thread-meta-v183 time){
  color:#b5cbe2!important;opacity:1!important
}
html body.folinq-r2013.folio-night-v1 .chat-linkedin-v183 .chat-thread-menu-v183 summary{
  background:#284562!important;color:#e6f3ff!important;border-color:#486785!important
}
/* Human verification: preserve disabled submit behavior, only fix contrast. */
html body.folinq-r2013.folio-night-v1 .support-shell .support-human-check-v186>label{
  color:#e9f3ff!important
}
html body.folinq-r2013.folio-night-v1 .support-shell .support-human-check-row-v186 span{
  background:#263f5b!important;border-color:#506e8e!important;color:#f5faff!important
}
html body.folinq-r2013.folio-night-v1 .support-shell .support-human-check-row-v186 input{
  background:#102338!important;border:1px solid #506e8e!important;
  color:#eff8ff!important;box-shadow:none!important
}
html body.folinq-r2013.folio-night-v1 .support-shell .support-human-check-v186 small{
  color:#b3cbe1!important
}
html body.folinq-r2013.folio-night-v1 .support-shell .support-card{
  background:#172940!important;border-color:#3d5673!important;color:#ecf6ff!important
}
html body.folinq-r2013.folio-night-v1 .support-shell .support-card :is(h1,.support-head h1){
  color:#f0f7ff!important
}
html body.folinq-r2013.folio-night-v1 .support-shell .support-card .field :is(label,input,textarea){
  color:#ebf4ff!important
}
html body.folinq-r2013.folio-night-v1 .support-shell .support-card .field :is(input,textarea){
  background:#102338!important;border-color:#486581!important
}
html body.folinq-r2013.folio-night-v1 .support-shell .support-card .btn.secondary{
  background:#2c4968!important;border-color:#54799d!important;color:#e6f5ff!important
}
/* Footer language toggle: no pale capsule or near-invisible active option. */
html body.folinq-r2013.folio-night-v1 .q-footer-language-switch{
  background:#1d3149!important;border:1px solid #4e6b8a!important;
  color:#dbeaf8!important;box-shadow:none!important
}
html body.folinq-r2013.folio-night-v1 .q-footer-language-switch span{
  color:#bcd1e7!important
}
html body.folinq-r2013.folio-night-v1 .q-footer-language-switch a{
  background:transparent!important;color:#b8d4ef!important;opacity:1!important
}
html body.folinq-r2013.folio-night-v1 .q-footer-language-switch a.active{
  background:#24568a!important;color:#fff!important
}
html body.folinq-r2013.folio-night-v1 .q-footer-language-switch a:hover{
  background:#356b9d!important;color:#fff!important
}

/* Folinq Terms and Privacy: match the dark canvas across the entire document. */
html body.folinq-r2013.folio-night-v1 .folinq-policy-page{
  color:#eaf4ff!important
}
html body.folinq-r2013.folio-night-v1 .folinq-policy-page .folinq-policy-hero{
  background:
    radial-gradient(circle at 10% 0%,rgba(31,112,184,.19),transparent 39%),
    linear-gradient(135deg,#1c344e,#17273b)!important;
  border:1px solid #3e5c7a!important;color:#ebf5ff!important;
  box-shadow:none!important
}
html body.folinq-r2013.folio-night-v1 .folinq-policy-page .folinq-policy-kicker{
  background:#244e76!important;border-color:#5089bc!important;color:#d5edff!important
}
html body.folinq-r2013.folio-night-v1 .folinq-policy-page .folinq-policy-hero h1{
  color:#f4f9ff!important;opacity:1!important
}
html body.folinq-r2013.folio-night-v1 .folinq-policy-page .folinq-policy-hero p{
  color:#cbdff0!important;opacity:1!important
}
html body.folinq-r2013.folio-night-v1 .folinq-policy-page .folinq-policy-meta{
  color:#aac3db!important
}
html body.folinq-r2013.folio-night-v1 .folinq-policy-page .folinq-policy-meta span::before{
  background:#65b4ff!important;box-shadow:0 0 0 3px rgba(70,154,238,.18)!important
}
html body.folinq-r2013.folio-night-v1 .folinq-policy-page .folinq-policy-hero-actions .btn.secondary{
  background:#285074!important;border-color:#527ca1!important;color:#eaf5ff!important
}
html body.folinq-r2013.folio-night-v1 .folinq-policy-page .folinq-policy-hero-actions .btn.ghost{
  background:#1a2e46!important;border-color:#4b6a88!important;color:#e5f1ff!important
}
html body.folinq-r2013.folio-night-v1 .folinq-policy-page .folinq-policy-toc{
  background:#1b2e45!important;border-color:#3f5a78!important;
  color:#e4f2ff!important;box-shadow:none!important
}
html body.folinq-r2013.folio-night-v1 .folinq-policy-page .folinq-policy-toc strong{
  color:#f0f7ff!important;opacity:1!important
}
html body.folinq-r2013.folio-night-v1 .folinq-policy-page .folinq-policy-toc a{
  color:#bfd4e9!important;opacity:1!important
}
html body.folinq-r2013.folio-night-v1 .folinq-policy-page .folinq-policy-toc a:is(:hover,:focus-visible){
  background:#2b4c6e!important;color:#fff!important;outline:2px solid #75b7f0!important
}
html body.folinq-r2013.folio-night-v1 .folinq-policy-page .folinq-policy-content{
  background:#17283e!important;border-color:#3d5876!important;
  color:#e5effa!important;box-shadow:none!important
}
html body.folinq-r2013.folio-night-v1 .folinq-policy-page .folinq-policy-section{
  border-bottom-color:#3b526c!important
}
html body.folinq-r2013.folio-night-v1 .folinq-policy-page .folinq-policy-section h2{
  color:#f0f6ff!important;opacity:1!important
}
html body.folinq-r2013.folio-night-v1 .folinq-policy-page .folinq-policy-section h3{
  color:#d5e9fc!important;opacity:1!important
}
html body.folinq-r2013.folio-night-v1 .folinq-policy-page .folinq-policy-section :is(p,ul,ol,li){
  color:#c4d8ec!important;opacity:1!important
}
html body.folinq-r2013.folio-night-v1 .folinq-policy-page .folinq-policy-cards>div{
  background:#233952!important;background-image:none!important;
  border-color:#496583!important;color:#eaf5ff!important
}
html body.folinq-r2013.folio-night-v1 .folinq-policy-page .folinq-policy-cards b{
  color:#f0f7ff!important
}
html body.folinq-r2013.folio-night-v1 .folinq-policy-page .folinq-policy-cards p{
  color:#c4d8ec!important
}
html body.folinq-r2013.folio-night-v1 .folinq-policy-page .folinq-policy-note{
  background:#214060!important;color:#dcefff!important;border-color:#6bb6fb!important
}
html body.folinq-r2013.folio-night-v1 .folinq-policy-page .folinq-policy-inline-link{
  color:#86c5ff!important
}
html body.folinq-r2013.folio-night-v1 .folinq-policy-page :is(.folinq-policy-final-actions,.folinq-policy-section) .btn.secondary{
  background:#2a496a!important;border-color:#4d7195!important;color:#e7f5ff!important
}

/* Profile activity preferences: the open edit panel and checkbox tiles. */
html body.folinq-r2013.folio-night-v1 .profile-activity-pro-v162 .profile-activity-settings-v163{
  background:#1d3148!important;border:1px solid #4b6683!important;
  color:#eef6ff!important;box-shadow:none!important
}
html body.folinq-r2013.folio-night-v1 .profile-activity-pro-v162 .profile-activity-settings-v163 .activity-option-grid-v159{
  background:transparent!important
}
html body.folinq-r2013.folio-night-v1 .profile-activity-pro-v162 .profile-activity-settings-v163 .activity-option-grid-v159 label{
  background:#273f5a!important;border:1px solid #4c6a89!important;
  color:#e3f0ff!important;opacity:1!important
}
html body.folinq-r2013.folio-night-v1 .profile-activity-pro-v162 .profile-activity-settings-v163 .activity-option-grid-v159 label:hover{
  background:#2e5071!important;border-color:#71a4d6!important
}
html body.folinq-r2013.folio-night-v1 .profile-activity-pro-v162 .profile-activity-settings-v163 .activity-option-grid-v159 input[type=checkbox]{
  accent-color:#63b0fa!important;opacity:1!important
}
html body.folinq-r2013.folio-night-v1 .profile-activity-pro-v162 .profile-activity-settings-v163 .btn.secondary{
  background:#294c70!important;border:1px solid #6294c0!important;
  color:#eef7ff!important
}
html body.folinq-r2013.folio-night-v1 .profile-activity-pro-v162 .profile-activity-settings-v163 .btn.secondary:hover{
  background:#346391!important;color:#fff!important
}
/* My Network: role chips are emitted by page-local CSS with !important;
   override using a higher-specificity theme selector in this final layer. */
html body.folinq-r2013.folio-night-v1 .network-v193-shell .network-people-role-tabs-v190 .network-v162-chip{
  background:#21374e!important;border:1px solid #486582!important;
  color:#d9eafa!important;box-shadow:none!important;opacity:1!important
}
html body.folinq-r2013.folio-night-v1 .network-v193-shell .network-people-role-tabs-v190 .network-v162-chip :is(svg,span){
  color:inherit!important;opacity:1!important;stroke:currentColor!important
}
html body.folinq-r2013.folio-night-v1 .network-v193-shell .network-people-role-tabs-v190 .network-v162-chip:is(.active,[aria-current=page]){
  background:#1a568c!important;border-color:#7db9f5!important;color:#fff!important
}
html body.folinq-r2013.folio-night-v1 .network-v193-shell .network-people-role-tabs-v190 .network-v162-chip:hover{
  background:#2b5175!important;color:#fff!important;border-color:#7baad9!important
}
html body.folinq-r2013.folio-night-v1 .network-v193-shell .network-role-picker-mobile-v2212 select{
  background:#162a41!important;border-color:#527497!important;color:#ecf5ff!important
}
html body.folinq-r2013.folio-night-v1 .network-v193-shell .network-role-picker-mobile-v2212 label span{
  color:#deecfb!important
}

/* FOLINQ_PROFILE_BOOKS_NIGHT_V1
   Published book mini-cards in profile Books tab were left white on dark. */
html body.folinq-r2013.folio-night-v1 .profile-fa-zone .book-grid{
  background:#16263b!important;color:#ebf4ff!important;border-color:#3d5874!important
}
html body.folinq-r2013.folio-night-v1 .profile-fa-zone .book-grid .book-card-shell{
  background:transparent!important;border:0!important;box-shadow:none!important
}
html body.folinq-r2013.folio-night-v1 .profile-fa-zone .book-grid .book-card-shell .book-card{
  background:#203650!important;background-image:none!important;
  border:1px solid #476382!important;border-radius:13px!important;
  color:#eaf3ff!important;box-shadow:none!important
}
html body.folinq-r2013.folio-night-v1 .profile-fa-zone .book-grid .book-card-shell .book-card:hover{
  background:#284664!important;border-color:#79ade0!important
}
html body.folinq-r2013.folio-night-v1 .profile-fa-zone .book-grid .book-card-shell .book-card .book-info{
  color:#e8f3ff!important
}
html body.folinq-r2013.folio-night-v1 .profile-fa-zone .book-grid .book-card-shell .book-info b{
  color:#f2f8ff!important;opacity:1!important
}
html body.folinq-r2013.folio-night-v1 .profile-fa-zone .book-grid .book-card-shell .book-info small{
  color:#b8d0e5!important;opacity:1!important
}
html body.folinq-r2013.folio-night-v1 .profile-fa-zone .book-grid .book-card-shell .book-info p{
  color:#d3e3f1!important;opacity:1!important
}
html body.folinq-r2013.folio-night-v1 .profile-fa-zone .book-grid .book-card-shell .book-cuts-badge{
  background:#294866!important;border:1px solid #4a6a88!important;color:#dceeff!important
}
html body.folinq-r2013.folio-night-v1 .profile-fa-zone .book-grid .book-card-shell .book-cuts-badge.read-badge{
  background:#1f594b!important;border-color:#3b8d72!important;color:#c1f1db!important
}
html body.folinq-r2013.folio-night-v1 .profile-fa-zone .book-grid .book-card-shell .book-cuts-badge.pdf-badge{
  background:#24446c!important;border-color:#568bbd!important;color:#bcdfff!important
}
html body.folinq-r2013.folio-night-v1 .profile-fa-zone .book-grid .book-card-shell .book-cover:not(:has(img)){
  background:#294765!important;color:#a7d5ff!important
}

/* FOLINQ_VIDEO_RESUMABLE_UPLOAD_UI_V1 — day and night, desktop and mobile. */
body.folinq-r2013 .folio-video-upload-status-v1{
  box-sizing:border-box;display:flex;align-items:center;gap:9px;flex-wrap:wrap;
  width:calc(100% - 20px);max-width:100%;padding:11px 13px;margin:6px 10px 9px;
  border:1px solid #c8ddec;border-radius:6px;background:#eef6fd;
  color:#24435f;direction:rtl;font-size:12px;font-weight:700
}
body.folinq-r2013 .folio-video-upload-status-v1[hidden]{display:none!important}

body.folinq-r2013 .folio-video-upload-status-v1.is-hint-v1{
  display:none!important
}
body.folinq-r2013 .folio-video-upload-status-v1.is-hint-v1 .folio-video-upload-bar-v1,
body.folinq-r2013 .folio-video-upload-status-v1.is-hint-v1 .folio-video-upload-meta-v1{
  display:none!important
}
body.folinq-r2013 .folio-video-upload-status-v1 .folio-video-upload-meta-v1{
  display:block;flex:1 1 100%;width:100%;font-size:11px;
  font-weight:500;line-height:1.7;opacity:.94;
  text-align:start;white-space:normal;overflow-wrap:anywhere
}
body.folinq-r2013.folio-night-v1 .folio-video-upload-status-v1.is-hint-v1{
  color:#bbd4eb!important
}
body.folinq-r2013 .folio-video-upload-status-v1 .folio-video-upload-label-v1{
  min-width:0;flex:1 1 100%;line-height:1.8;text-align:start;overflow-wrap:anywhere
}
body.folinq-r2013 .folio-video-upload-status-v1 .folio-video-upload-bar-v1{
  flex:1 1 80px;display:block;min-width:70px;height:6px;overflow:hidden;
  background:#c5d8ea;border-radius:999px
}
body.folinq-r2013 .folio-video-upload-status-v1 .folio-video-upload-bar-v1>i{
  display:block;width:0;height:100%;background:#0a66c2;border-radius:999px;
  transition:width .18s ease
}
body.folinq-r2013 .folio-video-upload-status-v1 .folio-video-upload-retry-v1{
  padding:5px 11px;border:1px solid #8abcea;border-radius:5px;
  background:#fff;color:#0a66c2;font-size:12px;font-weight:800;cursor:pointer
}
body.folinq-r2013 .folio-video-upload-status-v1 .folio-video-upload-retry-v1[hidden]{display:none!important}
body.folinq-r2013 .folio-video-upload-status-v1.is-ready-v1{
  background:#eaf8f1;border-color:#91c9b0;color:#216447
}
body.folinq-r2013 .folio-video-upload-status-v1.has-error-v1{
  background:#fff1f1;border-color:#e9a1a9;color:#a52739
}
body.folinq-r2013.folio-night-v1 .folio-video-upload-status-v1{
  background:#1c344e;border-color:#426381;color:#deefff
}
body.folinq-r2013.folio-night-v1 .folio-video-upload-bar-v1{background:#3e5a79}
body.folinq-r2013.folio-night-v1 .folio-video-upload-bar-v1>i{background:#3b9dff}
body.folinq-r2013.folio-night-v1 .folio-video-upload-status-v1.is-ready-v1{
  background:#1b4037;border-color:#398166;color:#c0f6db
}
body.folinq-r2013.folio-night-v1 .folio-video-upload-status-v1.has-error-v1{
  background:#412b35;border-color:#9b5364;color:#ffbac2
}
body.folinq-r2013.folio-night-v1 .folio-video-upload-retry-v1{
  background:#294a67;color:#bfe3ff;border-color:#658eb3
}
@media(max-width:768px){
  body.folinq-r2013 .folio-video-upload-status-v1{
    margin:7px 7px 5px;width:calc(100% - 14px);padding:9px 11px
  }
}

/* Folinq unified video card: same light/night framing as the audio player. */
body.folinq-r2013 .folio-video-player-v2{
  margin:10px 0 12px!important;padding:10px!important;
  border:1px solid var(--line,#dbe5f1)!important;border-radius:8px!important;
  background:var(--card,#f7faff)!important;overflow:hidden!important;
}
body.folinq-r2013 .folio-video-player-v2 .media-player-title{
  margin:0 0 9px!important;display:flex!important;gap:8px!important;
  align-items:center!important;color:var(--text,#27384c)!important;
  font-size:13px!important;font-weight:800!important;
}
body.folinq-r2013 .folio-video-player-v2 .media-player-title svg{
  width:18px!important;height:18px!important;flex-shrink:0!important;
}
body.folinq-r2013 .folio-video-stage-v2{
  position:relative;display:grid;place-items:center;width:100%;
  min-height:210px;max-height:min(73dvh,720px);
  background:#101b2c;border:1px solid #293951;border-radius:7px;
  overflow:hidden;box-sizing:border-box;
}
body.folinq-r2013 .folio-video-stage-v2 video{
  display:block!important;width:100%!important;max-width:100%!important;
  height:auto!important;max-height:min(73dvh,720px)!important;
  min-height:210px!important;object-fit:contain!important;
  margin:0!important;border:0!important;border-radius:0!important;
  box-shadow:none!important;background:#101b2c!important;
}
body.folinq-r2013 .folio-video-playback-warning-v2{
  position:absolute;top:10px;left:10px;right:10px;z-index:3;
  display:flex;flex-wrap:wrap;justify-content:space-between;
  align-items:center;gap:8px;padding:11px 12px;box-sizing:border-box;
  background:rgba(12,25,43,.94);border:1px solid #466384;border-radius:6px;
  color:#eef6ff!important;font-size:12px;line-height:1.8;
}
body.folinq-r2013 .folio-video-playback-warning-v2[hidden]{display:none!important}
body.folinq-r2013 .folio-video-player-v2.is-video-processing .folio-video-stage-v2 video{
  visibility:hidden!important;pointer-events:none!important
}
body.folinq-r2013 .folio-video-player-v2.is-video-processing .folio-video-playback-warning-v2{
  top:50%;transform:translateY(-50%);z-index:4
}
body.folinq-r2013 .folio-video-playback-warning-v2 span{flex:1 1 180px;min-width:0}
body.folinq-r2013 .folio-video-playback-warning-v2 a{
  display:inline-flex;padding:5px 10px;border-radius:5px;
  background:#0a66c2;color:#fff!important;font-weight:750;
  white-space:nowrap;text-decoration:none
}
body.folinq-r2013.folio-night-v1 .folio-video-player-v2{
  background:#182536!important;border-color:#38506b!important;
}
body.folinq-r2013.folio-night-v1 .folio-video-player-v2 .media-player-title{
  color:#e3edf9!important;
}
@media(max-width:760px){
  body.folinq-r2013 .folio-video-player-v2{margin:9px 0!important;padding:8px!important;border-radius:6px!important}
  body.folinq-r2013 .folio-video-stage-v2{min-height:220px}
  body.folinq-r2013 .folio-video-stage-v2 video{
    min-height:220px!important;max-height:66dvh!important;
  }
}
/* Portal based tooltips stay visible above mobile dialog overflow. */
body.folinq-r2013 .folio-tooltip-floating-v1{
  position:fixed!important;z-index:2147483500!important;
  max-width:min(260px,calc(100vw - 20px));
  box-sizing:border-box;padding:7px 11px;border-radius:6px;
  background:#121a28!important;color:#fff!important;
  border:1px solid #48546a;
  box-shadow:0 8px 24px rgba(4,15,30,.25);
  font:600 12px/1.6 Vazirmatn,Tahoma,Arial,sans-serif;
  text-align:center;direction:rtl;white-space:normal;
  overflow-wrap:anywhere;pointer-events:none!important;
}
body.folinq-r2013 .folio-tooltip-floating-v1[hidden]{display:none!important}
body.folinq-r2013 .folio-tooltip-floating-v1[dir="ltr"]{direction:ltr}
body.folinq-r2013 .folio-tooltip-floating-v1.is-media-detail-v1{max-width:min(310px,calc(100vw - 20px));padding:6px 10px}
body.folinq-r2013 .folio-tooltip-heading-v1{display:block;font-size:12px;font-weight:650;line-height:1.5}
body.folinq-r2013 .folio-tooltip-detail-v1{display:block;font-size:10px;font-weight:400;line-height:1.7;color:#e3eaf3;margin-top:3px;unicode-bidi:plaintext}

