@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: separate desktop/mobile switches stored on the profile */
@media (min-width: 761px){
  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: 760px){
  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:761px){
  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:760px){
  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%}}
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,body.q-theme-desktop-dark .error-mark,body.q-theme-mobile-dark .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,body.q-theme-desktop-dark .health-checklist-head,body.q-theme-mobile-dark .health-checklist-head{background:#111827;color:#cbd5e1}body.q-dark-active .health-check-row:hover,body.q-theme-desktop-dark .health-check-row:hover,body.q-theme-mobile-dark .health-check-row:hover{background:#0f172a}body.q-dark-active .health-check-value,body.q-theme-desktop-dark .health-check-value,body.q-theme-mobile-dark .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-opportunities,
.q-role-reader .nav-publisher,
.q-role-guest .nav-opportunities,
.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:cover;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;
  }
}
