/* PaisaNow Clean PRO V9 - focused UI/UX fixes, no fetcher renames */
:root{--pn-v9-white:#fff;--pn-v9-line:#dbe6f3;--pn-v9-muted:#64748b;}
/* Timeline plain white cards desktop + mobile */
.story-composer,.stories-strip,.greeting-card,.dashboard-card,.smart-card,.suggestion-card,.nearby-card,.right-sidebar .card,.left-sidebar .card,.post,.post-card,[data-feed-item],.timeline-card,.pn-phase3-default-discovery,.pn-smart-dashboard,.pn-smart-timeline-card,.pn-story-card{background:#fff!important;background-image:none!important;box-shadow:0 10px 30px rgba(15,23,42,.06)!important;border-color:var(--pn-v9-line)!important;}
.greeting-card::before,.dashboard-card::before,.smart-card::before,.pn-smart-dashboard::before,.pn-story-card::before{display:none!important;}
.pn-v9-composer-status{margin:8px 0 0;padding:9px 11px;border-radius:12px;background:#eff6ff;color:#1d4ed8;font-weight:800;font-size:12px;border:1px solid #bfdbfe}.pn-v9-composer-status.success{background:#ecfdf5;color:#047857;border-color:#a7f3d0}.pn-v9-composer-status.error{background:#fef2f2;color:#b91c1c;border-color:#fecaca}.pn-v9-composer-status.busy::before{content:'';display:inline-block;width:10px;height:10px;margin-right:7px;border-radius:50%;border:2px solid currentColor;border-top-color:transparent;animation:pnv9spin .7s linear infinite}@keyframes pnv9spin{to{transform:rotate(360deg)}}
/* Mobile menu language: one compact button; options only after tap */
.mobile-category-menu .pn-mobile-language-picker{grid-column:1/-1;display:block;min-width:0;border:1px solid #dbe6f3;border-radius:14px;background:#f8fafc;overflow:hidden}.pn-mobile-language-picker summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:46px;padding:10px 12px;color:#0f172a;font-size:13px;font-weight:900}.pn-mobile-language-picker summary::-webkit-details-marker{display:none}.pn-mobile-language-picker summary span{display:inline-flex;align-items:center;gap:9px;min-width:0}.pn-mobile-language-picker summary b{font-size:12px;color:#2563eb;white-space:nowrap}.pn-mobile-language-picker .pn-mobile-language-grid{display:none!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:8px;border-top:1px solid #e6eef8}.pn-mobile-language-picker[open] .pn-mobile-language-grid{display:grid!important}.pn-mobile-language-picker .pn-mobile-language-grid button{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-height:38px;padding:8px 10px;border-radius:11px}.mobile-category-menu a,.mobile-category-menu button{min-width:0;overflow:hidden}.mobile-category-menu a span,.mobile-category-menu button span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* Calendar/reminder text focus/select fix */
.pn7-dialog,.pn7-dialog *{user-select:text!important;-webkit-user-select:text!important;pointer-events:auto!important}.pn7-dialog input,.pn7-dialog textarea,.pn7-dialog select{user-select:text!important;-webkit-user-select:text!important;touch-action:manipulation!important;-webkit-touch-callout:default!important}.pn7-dialog::backdrop{pointer-events:auto!important}
/* Local requirements button/card overflow containment */
.pnreq-tabs,.pnreq-actions,.pnreq-form .wide{min-width:0;overflow:hidden}.pnreq-tabs a,.pnreq-actions .button,.pnreq-form .button{min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-flex;align-items:center;justify-content:center}.pnreq-row{min-width:0}.pnreq-row strong,.pnreq-row small{overflow:hidden;text-overflow:ellipsis}.pnreq-status{word-break:break-word}
/* Admin compact one-line actions without changing handlers */
.admin-content form:not(.admin-large-form) .form-row,.admin-content .filter-bar,.admin-content .admin-filters,.admin-content .pn-admin-filter-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.admin-content table td:last-child,.admin-content .action-cell{white-space:nowrap}.admin-content button,.admin-content .button,.admin-content input[type=submit]{min-height:34px;padding:7px 10px;border-radius:10px;font-size:12px}.admin-content select,.admin-content input{min-height:34px;font-size:12px}
@media(max-width:760px){.post,.story-composer,.greeting-card,.dashboard-card,.smart-card,.nearby-card,.right-sidebar .card,[data-feed-item]{background:#fff!important}.pnreq-tabs{display:flex!important;gap:7px;overflow-x:auto!important;scrollbar-width:none}.pnreq-tabs a{flex:0 0 auto;max-width:170px}.pnreq-actions{display:flex;gap:6px;flex-wrap:wrap}.pn-mobile-language-picker .pn-mobile-language-grid{grid-template-columns:1fr 1fr!important}}
