.template-default:has(.custom-dashboard),.template-default__wrap:has(.custom-dashboard),main:has(.custom-dashboard){background-color:#f4f6fb!important}.custom-dashboard{--bg:#f4f6fb;--card:#ffffff;--border:rgba(226,232,240,0.9);--shadow-sm:0 1px 3px rgba(0,0,0,0.04),0 1px 2px rgba(0,0,0,0.03);--shadow-md:0 4px 16px -2px rgba(0,0,0,0.06),0 2px 6px -1px rgba(0,0,0,0.03);--shadow-hover:0 8px 28px -4px rgba(0,0,0,0.09),0 4px 10px -2px rgba(0,0,0,0.04);--radius:16px;--radius-sm:10px;--text-primary:#0f172a;--text-secondary:#475569;--text-muted:#94a3b8;--purple:#6f42c1;--blue:#3b82f6;--green:#22c55e;--yellow:#eab308;--red:#ef4444;--orange:#f97316;--cyan:#06b6d4;padding:12px 24px;background:var(--bg);font-family:Inter,-apple-system,system-ui,sans-serif;color:var(--text-primary);display:flex;flex-direction:column;align-items:center}.custom-dashboard>.dashboard-grid,.custom-dashboard>.dashboard-header{width:100%;max-width:1380px}.custom-dashboard h1,.custom-dashboard h2,.custom-dashboard h3,.custom-dashboard h4,.custom-dashboard h5,.custom-dashboard h6,.custom-dashboard p{margin:0}.custom-dashboard a{text-decoration:none;color:inherit}.custom-dashboard .dashboard-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px;flex-wrap:wrap;gap:14px}.custom-dashboard .dashboard-header .header-text h1{font-size:24px;font-weight:700;letter-spacing:-.025em;display:flex;align-items:center;gap:10px;color:var(--text-primary)}.custom-dashboard .dashboard-header .header-text h1 .wave{display:inline-block;animation:wave 2.5s infinite;transform-origin:70% 70%}.custom-dashboard .dashboard-header .header-text p{color:var(--text-secondary);margin-top:3px;font-size:13px}.custom-dashboard .dashboard-header .header-meta{display:flex;align-items:center;gap:14px}.custom-dashboard .dashboard-header .header-meta .header-date{font-size:12.5px;color:var(--text-muted);font-weight:500}.custom-dashboard .dashboard-header .header-meta .header-cta{display:flex;align-items:center;gap:6px;padding:8px 16px;background:var(--purple);color:#fff;border-radius:8px;font-size:13px;font-weight:600;box-shadow:0 2px 8px rgba(111,66,193,.35);transition:all .2s ease}.custom-dashboard .dashboard-header .header-meta .header-cta:hover{background:#5a32a3;box-shadow:0 4px 14px rgba(111,66,193,.45);transform:translateY(-1px)}.custom-dashboard .dashboard-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:18px;align-items:start}.custom-dashboard .main-content{display:flex;flex-direction:column;gap:18px;min-width:0}.custom-dashboard .sidebar-content{display:flex;flex-direction:column;gap:16px;min-width:0}.custom-dashboard .dashboard-box{background:var(--card);border-radius:var(--radius);border:1px solid var(--border);padding:18px;box-shadow:var(--shadow-sm);transition:box-shadow .25s ease;min-width:0}.custom-dashboard .dashboard-box:hover{box-shadow:var(--shadow-md)}.custom-dashboard .dashboard-box .box-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.custom-dashboard .dashboard-box .box-header h3{font-size:15px;font-weight:600;color:var(--text-primary);letter-spacing:-.01em;display:flex;align-items:center;gap:8px}.custom-dashboard .dashboard-box .box-header .view-all{font-size:12.5px;color:var(--purple);font-weight:500;transition:color .2s}.custom-dashboard .dashboard-box .box-header .view-all:hover{color:#5a32a3}.custom-dashboard .dashboard-box .box-header .chart-badge{font-size:11px;padding:3px 9px;border-radius:20px;background:rgba(0,0,0,0);color:var(--purple);font-weight:600}.custom-dashboard .dashboard-box .box-header .chart-badge.animated:before{content:"●";margin-right:4px;color:var(--green);animation:pulse 1.5s ease-in-out infinite}.custom-dashboard .metrics-row{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.custom-dashboard .metric-card{background:var(--card);border-radius:var(--radius);border:1px solid var(--border);padding:13px 14px 10px;box-shadow:var(--shadow-sm);transition:transform .2s ease,box-shadow .25s ease;min-width:0;display:flex;flex-direction:column;position:relative;overflow:hidden}.custom-dashboard .metric-card:before{content:"";position:absolute;top:0;left:0;width:3px;height:100%;background:var(--accent,var(--purple));border-radius:3px 0 0 3px;opacity:.7}.custom-dashboard .metric-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-hover)}.custom-dashboard .metric-card .mc-top{display:flex;align-items:center;gap:9px;margin-bottom:7px}.custom-dashboard .metric-card .mc-icon{width:30px;height:30px;border-radius:var(--radius-sm);display:flex;align-items:center;justify-content:center;flex-shrink:0}.custom-dashboard .metric-card .mc-label{font-size:11px;font-weight:500;color:var(--text-secondary)}.custom-dashboard .metric-card .mc-value{font-size:22px;font-weight:700;color:var(--text-primary);letter-spacing:-.02em;line-height:1;margin-bottom:2px}.custom-dashboard .metric-card .mc-sub{font-size:11px;color:var(--text-muted);margin-bottom:8px}.custom-dashboard .metric-card .mc-spark{margin-top:10px;height:44px;width:100%}.custom-dashboard .metric-card .sparkline-svg{display:block}.custom-dashboard .area-chart-box{flex:1 1}.custom-dashboard .area-chart-box .area-chart-wrapper{display:flex;flex-direction:column;gap:8px}.custom-dashboard .area-chart-box .area-chart-info{display:flex;gap:14px}.custom-dashboard .area-chart-box .area-badge{font-size:12px;color:var(--text-secondary);display:flex;align-items:center;gap:5px}.custom-dashboard .area-chart-box .area-badge strong{color:var(--text-primary);font-weight:700}.custom-dashboard .area-chart-box .area-badge .dot-green{width:7px;height:7px;border-radius:50%;background:var(--green);display:inline-block;animation:pulse 1.5s ease-in-out infinite}.custom-dashboard .area-chart-box .area-svg{overflow:visible;display:block;width:100%}.custom-dashboard .donut-box-new .donut-wrap{display:flex;flex-direction:column;align-items:center;gap:14px}.custom-dashboard .donut-box-new .donut-legend{width:100%;display:flex;flex-direction:column;gap:8px}.custom-dashboard .donut-box-new .donut-legend .legend-row{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--text-secondary)}.custom-dashboard .donut-box-new .donut-legend .legend-row .legend-dot{width:9px;height:9px;border-radius:50%;flex-shrink:0}.custom-dashboard .donut-box-new .donut-legend .legend-row span:first-of-type{flex:1 1}.custom-dashboard .donut-box-new .donut-legend .legend-row strong{font-weight:700;color:var(--text-primary)}.custom-dashboard .donut-box-new .donut-legend .legend-row strong em{font-style:normal;font-weight:400;color:var(--text-muted);font-size:11px}.custom-dashboard .donut-box-new .content-status-bars{width:100%;display:flex;flex-direction:column;gap:8px;margin-top:4px}.custom-dashboard .donut-box-new .content-status-bars .cs-bar-row{display:flex;align-items:center;gap:8px;font-size:11.5px;color:var(--text-secondary)}.custom-dashboard .donut-box-new .content-status-bars .cs-bar-row span:first-child{width:60px;font-weight:500}.custom-dashboard .donut-box-new .content-status-bars .cs-bar-row .cs-track{flex:1 1;height:5px;background:#f1f5f9;border-radius:4px;overflow:hidden}.custom-dashboard .donut-box-new .content-status-bars .cs-bar-row .cs-track .cs-fill{height:100%;border-radius:4px;transition:width 1.2s cubic-bezier(.4,0,.2,1)}.custom-dashboard .donut-box-new .content-status-bars .cs-bar-row .cs-track .cs-fill.green{background:var(--green)}.custom-dashboard .donut-box-new .content-status-bars .cs-bar-row .cs-track .cs-fill.blue{background:var(--blue)}.custom-dashboard .donut-box-new .content-status-bars .cs-bar-row .cs-num{font-weight:700;color:var(--text-primary);min-width:24px;text-align:right}.custom-dashboard .charts-row{display:grid;grid-template-columns:1fr;gap:18px}.custom-dashboard .site-content-box .bar-list{display:flex;flex-direction:column;gap:13px}.custom-dashboard .site-content-box .bar-item{display:flex;align-items:center;gap:10px}.custom-dashboard .site-content-box .bar-item .bar-rank{font-size:11px;font-weight:700;color:var(--text-muted);width:22px;text-align:right}.custom-dashboard .site-content-box .bar-item .bar-label{width:105px;font-size:12.5px;font-weight:500;color:var(--text-secondary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.custom-dashboard .site-content-box .bar-item .bar-track{flex:1 1;height:5px;background:#f1f5f9;border-radius:4px;overflow:hidden}.custom-dashboard .site-content-box .bar-item .bar-track .bar-fill{height:100%;background:linear-gradient(90deg,var(--purple),#a855f7);border-radius:4px;transition:width 1s cubic-bezier(.4,0,.2,1)}.custom-dashboard .site-content-box .bar-item .bar-value{font-size:11.5px;text-align:right;min-width:90px}.custom-dashboard .site-content-box .bar-item .bar-value strong{font-weight:700;color:var(--text-primary)}.custom-dashboard .site-content-box .bar-item .bar-value em{font-style:normal;color:var(--text-muted);font-size:10.5px;margin-left:2px}.custom-dashboard .top-articles-box .article-list{display:flex;flex-direction:column;gap:0}.custom-dashboard .top-articles-box .article-item{display:flex;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid #f1f5f9;transition:background .15s;cursor:pointer}.custom-dashboard .top-articles-box .article-item:last-child{border-bottom:none}.custom-dashboard .top-articles-box .article-item:hover{background:#fafbfe;border-radius:8px;padding-left:6px;padding-right:6px}.custom-dashboard .top-articles-box .article-item .article-rank{font-size:11px;color:var(--text-muted);font-weight:700;width:18px}.custom-dashboard .top-articles-box .article-item .article-thumb{width:38px;min-width:38px;height:28px;border-radius:6px;background:#e2e8f0;flex-shrink:0;overflow:hidden;display:flex;align-items:center;justify-content:center;color:#94a3b8}.custom-dashboard .top-articles-box .article-item .article-title{font-size:12.5px;font-weight:500;flex:1 1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--text-secondary)}.custom-dashboard .top-articles-box .article-item .article-views{font-size:11.5px;color:var(--text-muted);display:flex;align-items:center;gap:3px;white-space:nowrap}.custom-dashboard .top-articles-box .article-item .fallback-thumb{display:flex;align-items:center;justify-content:center;background:#f1f5f9;color:#94a3b8}.custom-dashboard .quick-actions-box .box-header .pwa-install-btn{display:flex;align-items:center;gap:6px;background:var(--blue);color:#fff;border:1px solid var(--blue);padding:5px 10px;border-radius:8px;font-size:11.5px;font-weight:600;cursor:pointer;transition:all .2s ease;box-shadow:0 3px 8px rgba(59,130,246,.25)}.custom-dashboard .quick-actions-box .box-header .pwa-install-btn svg{width:14px;height:14px}.custom-dashboard .quick-actions-box .box-header .pwa-install-btn:hover{background:rgba(59,130,246,.1);color:var(--blue);border-color:rgba(59,130,246,.2);transform:translateY(-1px);box-shadow:none}.custom-dashboard .quick-actions-box .action-list{display:flex;flex-direction:column;gap:6px}.custom-dashboard .quick-actions-box .action-item{display:flex;align-items:center;gap:10px;padding:10px 11px;border:1px solid var(--border);border-radius:var(--radius-sm);transition:all .2s ease}.custom-dashboard .quick-actions-box .action-item:hover{background:#f8faff;border-color:#cbd5e1;transform:translateX(3px);box-shadow:var(--shadow-sm)}.custom-dashboard .quick-actions-box .action-item .action-icon{width:32px;height:32px;border-radius:8px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.custom-dashboard .quick-actions-box .action-item .action-icon.purple{background:rgba(111,66,193,.1);color:var(--purple)}.custom-dashboard .quick-actions-box .action-item .action-icon.blue{background:rgba(59,130,246,.1);color:var(--blue)}.custom-dashboard .quick-actions-box .action-item .action-icon.red{background:rgba(239,68,68,.1);color:var(--red)}.custom-dashboard .quick-actions-box .action-item .action-icon.green{background:rgba(34,197,94,.1);color:var(--green)}.custom-dashboard .quick-actions-box .action-item .action-text{flex:1 1;display:flex;flex-direction:column;min-width:0}.custom-dashboard .quick-actions-box .action-item .action-text strong{font-size:13px;font-weight:600;color:var(--text-primary)}.custom-dashboard .quick-actions-box .action-item .action-text span{font-size:11px;color:var(--text-muted)}.custom-dashboard .quick-actions-box .action-item .action-arrow{color:#cbd5e1;font-size:16px}.custom-dashboard .calendar-box{padding:16px}.custom-dashboard .mini-calendar .cal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.custom-dashboard .mini-calendar .cal-header .cal-month-label{font-size:14px;font-weight:700;color:var(--text-primary);letter-spacing:-.01em}.custom-dashboard .mini-calendar .cal-header .cal-nav{display:flex;gap:4px}.custom-dashboard .mini-calendar .cal-header .cal-nav button{width:26px;height:26px;border:1px solid var(--border);border-radius:6px;background:var(--card);color:var(--text-secondary);font-size:16px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .15s ease}.custom-dashboard .mini-calendar .cal-header .cal-nav button:hover{background:var(--orange);color:#fff;border-color:var(--orange);transform:scale(1.08)}.custom-dashboard .mini-calendar .cal-grid-wrapper{transition:transform .22s ease,opacity .22s ease}.custom-dashboard .mini-calendar .cal-grid-wrapper.cal-slide-left{animation:slideLeft .22s ease forwards}.custom-dashboard .mini-calendar .cal-grid-wrapper.cal-slide-right{animation:slideRight .22s ease forwards}.custom-dashboard .mini-calendar .cal-days-header{display:grid;grid-template-columns:repeat(7,1fr);margin-bottom:6px}.custom-dashboard .mini-calendar .cal-days-header span{text-align:center;font-size:10px;font-weight:600;color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em;padding:4px 0}.custom-dashboard .mini-calendar .cal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:3px}.custom-dashboard .mini-calendar .cal-cell{aspect-ratio:1;display:flex;align-items:center;justify-content:center;font-size:12.5px;font-weight:500;color:var(--text-secondary);border-radius:50%;cursor:default;transition:background .15s ease,color .15s ease,transform .15s ease}.custom-dashboard .mini-calendar .cal-cell.empty{opacity:0;pointer-events:none}.custom-dashboard .mini-calendar .cal-cell:not(.empty):not(.today):hover{background:#fff7ed;color:var(--orange);transform:scale(1.05)}.custom-dashboard .mini-calendar .cal-cell.today{background:rgba(249,115,22,.12);color:var(--orange);font-weight:700;box-shadow:none}.custom-dashboard .posts-panel{display:flex;flex-direction:column}.custom-dashboard .posts-panel .pp-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;flex-wrap:wrap;gap:12px}.custom-dashboard .posts-panel .pp-header .pp-title{font-size:15px;font-weight:600;color:var(--text-primary);letter-spacing:-.01em;margin:0}.custom-dashboard .posts-panel .pp-header .pp-tabs{display:inline-flex;background:#f1f5f9;padding:4px;border-radius:8px;gap:2px}.custom-dashboard .posts-panel .pp-header .pp-tab{background:rgba(0,0,0,0);border:none;padding:6px 14px;font-size:13px;font-weight:500;color:var(--text-secondary);border-radius:6px;cursor:pointer;display:flex;align-items:center;gap:6px;transition:all .2s ease}.custom-dashboard .posts-panel .pp-header .pp-tab:hover:not(.active){color:var(--text-primary)}.custom-dashboard .posts-panel .pp-header .pp-tab.active{background:#fff;color:var(--text-primary);box-shadow:0 1px 3px rgba(0,0,0,.06),0 1px 2px rgba(0,0,0,.04);font-weight:600}.custom-dashboard .posts-panel .pp-header .pp-tab .pp-badge{background:#e2e8f0;color:var(--text-primary);font-size:10px;font-weight:700;padding:2px 6px;border-radius:12px;line-height:1}.custom-dashboard .posts-panel .pp-header .pp-view-all{font-size:12.5px;color:var(--purple);font-weight:500;transition:color .2s;text-decoration:none}.custom-dashboard .posts-panel .pp-header .pp-view-all:hover{color:#5a32a3}.custom-dashboard .posts-panel .pp-list{display:flex;flex-direction:column;gap:0}.custom-dashboard .posts-panel .pp-item{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid #f1f5f9;transition:all .15s ease;cursor:pointer;text-decoration:none}.custom-dashboard .posts-panel .pp-item:last-child{border-bottom:none}.custom-dashboard .posts-panel .pp-item:hover{background:#f8faff;border-radius:8px;padding-left:8px;padding-right:8px}.custom-dashboard .posts-panel .pp-item.drafts:hover{background:#fffbeb}.custom-dashboard .posts-panel .pp-item .pp-thumb{width:44px;min-width:44px;height:32px;border-radius:6px;background:#e2e8f0;flex-shrink:0;overflow:hidden}.custom-dashboard .posts-panel .pp-item .pp-thumb.fallback-thumb{display:flex;align-items:center;justify-content:center;background:#f1f5f9;color:#94a3b8}.custom-dashboard .posts-panel .pp-item .pp-info{flex:1 1;min-width:0;display:flex;flex-direction:column;gap:3px}.custom-dashboard .posts-panel .pp-item .pp-info .pp-item-title{font-size:13px;font-weight:500;color:var(--text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.custom-dashboard .posts-panel .pp-item .pp-info .pp-item-meta{font-size:11px;color:var(--text-muted);display:flex;align-items:center;gap:6px}.custom-dashboard .posts-panel .pp-item .pp-info .pp-item-meta .pp-dot{width:6px;height:6px;border-radius:50%;flex-shrink:0}.custom-dashboard .posts-panel .pp-item .pp-info .pp-item-meta .pp-dot.green{background:var(--green)}.custom-dashboard .posts-panel .pp-item .pp-info .pp-item-meta .pp-dot.yellow{background:var(--yellow)}.custom-dashboard .posts-panel .pp-item .pp-views{font-size:12px;color:var(--text-muted);display:flex;align-items:center;gap:4px;white-space:nowrap}.custom-dashboard .posts-panel .pp-item .pp-edit-icon{color:var(--text-muted);display:flex;align-items:center;transition:color .15s}.custom-dashboard .posts-panel .pp-item:hover .pp-edit-icon{color:var(--purple)}.custom-dashboard .site-overview-box .site-list{display:flex;flex-direction:column;gap:0}.custom-dashboard .site-overview-box .site-item{display:flex;justify-content:space-between;align-items:center;padding:8px 0;border-bottom:1px solid #f1f5f9;transition:background .15s}.custom-dashboard .site-overview-box .site-item:last-child{border-bottom:none}.custom-dashboard .site-overview-box .site-item:hover{background:#f8faff;border-radius:8px;padding-left:6px;padding-right:6px}.custom-dashboard .site-overview-box .site-item .site-name{font-size:12.5px;font-weight:500;color:var(--text-secondary)}.custom-dashboard .site-overview-box .site-item .site-status{display:flex;align-items:center;gap:5px;font-size:11.5px;font-weight:600}.custom-dashboard .site-overview-box .site-item .site-status:before{content:"";display:block;width:6px;height:6px;border-radius:50%}.custom-dashboard .site-overview-box .site-item .site-status.green{color:var(--green)}.custom-dashboard .site-overview-box .site-item .site-status.green:before{background:var(--green)}.custom-dashboard .site-overview-box .site-item .site-status.yellow{color:var(--yellow)}.custom-dashboard .site-overview-box .site-item .site-status.yellow:before{background:var(--yellow)}.custom-dashboard .site-overview-box .site-item .site-status.red{color:var(--red)}.custom-dashboard .site-overview-box .site-item .site-status.red:before{background:var(--red)}.custom-dashboard .site-overview-box .site-item .site-status .arrow{color:#cbd5e1;margin-left:4px}.custom-dashboard .no-data{font-size:13px;color:var(--text-muted);text-align:center;padding:16px 0}@keyframes wave{0%{transform:rotate(0deg)}10%{transform:rotate(14deg)}20%{transform:rotate(-8deg)}30%{transform:rotate(14deg)}40%{transform:rotate(-4deg)}50%{transform:rotate(10deg)}60%{transform:rotate(0deg)}to{transform:rotate(0deg)}}@keyframes pulse{0%,to{opacity:1}50%{opacity:.4}}@keyframes slideLeft{0%{transform:translateX(20px);opacity:0}to{transform:translateX(0);opacity:1}}@keyframes slideRight{0%{transform:translateX(-20px);opacity:0}to{transform:translateX(0);opacity:1}}@media(max-width:1200px){.custom-dashboard .dashboard-grid{grid-template-columns:1fr}.custom-dashboard .metrics-row{grid-template-columns:repeat(3,1fr)}}@media(max-width:900px){.custom-dashboard{padding:14px 16px}.custom-dashboard .charts-row{grid-template-columns:1fr}.custom-dashboard .metrics-row{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){.custom-dashboard .metrics-row{grid-template-columns:repeat(2,1fr);gap:10px}.custom-dashboard .dashboard-header{flex-direction:column;align-items:flex-start}}