/* BayanPulse front-end Newsroom v1.1 - glass accents, responsive scheduler */
:root { --nr-navy:#0c274a; --nr-navy2:#06172f; --nr-bg:#f3f6fc; --nr-ink:#142b4b; --nr-stroke:#e2e9f3; --nr-red:#d11c38; --nr-blue:#215fcc; }
html,body{max-width:100%;} .bp-admin-main,.bp-admin-body,.bp-app{min-width:0;}
.bp-admin-sidebar {background:linear-gradient(165deg,#06162f,#102d57 64%,#071a34);border-right:1px solid rgba(255,255,255,.06);}
.bp-admin-sidebar:after{content:"";position:absolute;left:-80px;bottom:100px;width:300px;height:300px;border-radius:50%;border:1px solid rgba(255,255,255,.035);pointer-events:none;}
.bp-admin-brand{display:block;padding:0 7px;white-space:normal;margin:0 0 12px;}
.bp-admin-brand-logo{display:block;width:205px;max-width:100%;height:auto;object-fit:contain;}
.bp-brand-caption{display:block;color:#9cb8d5;font-size:9px;font-weight:800;letter-spacing:.26em;margin-left:22px;margin-top:-8px;}
.bp-side-label{margin-top:22px;color:#839ab5;}
.bp-side-nav a{border-radius:8px;transition:background .17s,transform .17s;}
.bp-side-nav a:hover{background:rgba(54,113,175,.21);transform:translateX(2px);}
.bp-side-nav a.is-active{background:linear-gradient(108deg,#db213b,#a91637);box-shadow:0 7px 21px rgba(192,30,55,.2);color:#fff;}
.bp-side-nav a.is-active .bp-side-icon{color:#fff;}
.bp-admin-top{background:#fff;box-shadow:0 4px 19px rgba(9,38,80,.035);}
.bp-crumb{color:#112e50;}.bp-admin-body{padding-top:32px;}
.bp-page-heading{position:relative;padding:17px 23px 23px 0;}
.bp-page-heading:before{content:"";position:absolute;pointer-events:none;right:0;top:0;height:100%;width:40%;opacity:.8;background:radial-gradient(ellipse at 75% 0%,#d9e8fa,transparent 64%);z-index:0;}
.bp-page-heading>*{position:relative;z-index:1;}
.bp-page-heading h1{font-size:clamp(27px,3vw,38px);color:#102b4f;}
.bp-stats{gap:12px;}.bp-stat{border:1px solid #e1eaf5;border-radius:13px;box-shadow:0 5px 23px rgba(22,66,119,.05);}
.bp-stat-icon{color:#d5213f;background:#fef0f3;border-radius:9px;padding:5px;}
.bp-quick-panel{border-radius:13px;background:linear-gradient(110deg,#08264d,#123f76 72%,#c21b38 150%);box-shadow:0 12px 29px rgba(10,36,76,.15);}
.bp-panel{border:1px solid #e3eaf5;border-radius:13px;box-shadow:0 4px 20px rgba(21,61,107,.04);}
.bp-btn--primary{background:linear-gradient(125deg,#e72745,#b51535);border-color:transparent;box-shadow:0 5px 11px rgba(193,27,50,.12);}
.bp-status--future{background:#e8f0ff!important;color:#1b5bc9!important;}
.bp-login-shell{background:#f8fbff;}
.bp-login-art{background:linear-gradient(90deg,rgba(4,16,41,.75),rgba(5,22,52,.3)),url('../newsroom-hero.webp') 54% center/cover no-repeat;}
.bp-login-art:before{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(6,22,48,.8),transparent 55%);pointer-events:none;}
.bp-login-word{font-size:clamp(45px,5.3vw,85px);max-width:680px;text-shadow:0 7px 25px rgba(0,0,0,.2);}
.bp-login-word em{color:#ff738a;}
.bp-login-panel{max-width:590px;}
.bp-login-brand{margin-bottom:49px;}.bp-admin-brand-logo--login{width:295px;max-width:100%;}
/* Interactive editorial calendar - does not require external libraries. */
.bp-calendar-block{background:#fff;border:1px solid #e1eaf4;border-radius:15px;padding:0;box-shadow:0 10px 32px rgba(19,56,98,.07);overflow:hidden;margin:0 0 20px;min-width:0;}
.bp-calendar-head{padding:20px 23px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;background:linear-gradient(109deg,#082345,#134474 78%,#c31c39 150%);color:#fff;}
.bp-calendar-head h2{font-size:21px;margin:4px 0 3px;color:#fff;line-height:1.2;letter-spacing:-.03em;}
.bp-calendar-head p{margin:0;color:#cadcf1;font-size:11px;line-height:1.45;}
.bp-calendar-head .bp-eyebrow{color:#ff9cab;font-size:9px;letter-spacing:.16em;}
.bp-calendar-nav{display:flex;align-items:center;gap:6px;flex-wrap:wrap;}
.bp-calendar-nav>a{display:grid;place-items:center;min-width:34px;height:34px;color:#fff;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);border-radius:7px;font-size:22px;line-height:1;}
.bp-calendar-nav>a:hover{background:#e32440;}.bp-calendar-nav strong{min-width:123px;text-align:center;font-size:13px;white-space:nowrap;}
.bp-calendar-nav>a.bp-calendar-today{min-width:auto;padding-inline:10px;font-size:11px;font-weight:800;}
.bp-calendar-filter{padding:11px 18px;display:flex;gap:6px;flex-wrap:wrap;border-bottom:1px solid #e5ecf4;background:#f9fbff;}
.bp-calendar-filter a{font-size:10px;font-weight:800;color:#62768e;padding:7px 12px;border-radius:30px;}
.bp-calendar-filter a:hover{background:#e6eef9;}.bp-calendar-filter a.is-active{background:#dbeaff;color:#1356a3;}
.bp-calendar-scroll{overflow-x:auto;max-width:100%;}
.bp-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));background:#fff;border-left:1px solid #edf1f8;}
.bp-calendar-weekday{background:#f4f7fc;color:#455e7e;font-size:10px;font-weight:850;text-align:center;padding:11px 2px;border-bottom:1px solid #e3eaf3;border-right:1px solid #e3eaf3;text-transform:uppercase;}
.bp-calendar-weekday:first-child,.bp-calendar-weekday:last-of-type{color:#bf203c;}
.bp-calendar-day{min-width:0;min-height:111px;border-right:1px solid #e8eef6;border-bottom:1px solid #e8eef6;padding:6px 6px 8px;background:#fff;}
.bp-calendar-day.is-outside{background:#f7f9fd;}.bp-calendar-day.is-today{background:#f4f9ff;box-shadow:inset 0 0 0 2px #9cbbf1;}
.bp-calendar-day.is-selected{background:#fef5f6;box-shadow:inset 0 0 0 2px #d83751;}
.bp-day-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px;gap:1px;}
.bp-day-number{display:grid;place-items:center;border-radius:50%;width:28px;height:28px;color:#223b5f;font-size:11px;font-weight:850;}
.bp-day-number:hover{background:#e4efff;}.bp-calendar-day.is-today .bp-day-number{background:#c91e39;color:#fff;}
.bp-day-add{display:grid;place-items:center;width:22px;height:22px;color:#6985a5;border-radius:6px;font-size:17px;line-height:1;}
.bp-day-add:hover{background:#dbeaff;color:#0e5bba;}
.bp-day-events{display:flex;flex-direction:column;gap:3px;min-width:0;}
.bp-calendar-event{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:4px;font-size:10px;padding:4px 5px;line-height:1.3;font-weight:730;text-decoration:none!important;}
.bp-calendar-event.is-scheduled{color:#164c9b;background:#e6efff;border-left:3px solid #376fe0;}
.bp-calendar-event.is-published{color:#207253;background:#e3f7ed;border-left:3px solid #2bb976;}
.bp-calendar-event:hover{filter:brightness(.95);}.bp-cal-time{font-size:8px;font-weight:850;opacity:.82;display:block;}
.bp-calendar-more{font-size:10px;font-weight:850;padding:3px 5px;color:#1559ae;}
.bp-calendar-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;color:#8594aa;font-size:10px;flex-wrap:wrap;}
.bp-calendar-bottom strong{color:#1f3c62;}.bp-calendar-legend{display:flex;gap:14px;flex-wrap:wrap;}
.bp-calendar-legend span{display:flex;align-items:center;gap:6px;}.bp-calendar-legend i{width:9px;height:9px;border-radius:50%;display:inline-block;}
.bp-calendar-legend i.is-scheduled{background:#3678ed;}.bp-calendar-legend i.is-published{background:#2ab477;}
.bp-calendar-selected{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;background:#f8fafd;border-top:1px solid #e6ecf5;flex-wrap:wrap;}
.bp-calendar-selected strong{font-size:13px;color:#173d65;}.bp-calendar-selected p{margin:2px 0;color:#8190a5;font-size:11px;}
.bp-calendar-selected-story,.bp-upcoming-item{display:flex;align-items:center;gap:12px;padding:12px 20px;border-top:1px solid #eef2f8;min-width:0;}
.bp-calendar-selected-story img,.bp-upcoming-item img{width:70px;height:52px;object-fit:cover;border-radius:7px;flex:0 0 70px;}
.bp-calendar-selected-story>span:nth-child(2),.bp-upcoming-item>span{flex:1;min-width:0;}
.bp-calendar-selected-story strong,.bp-upcoming-item strong{font-size:11px;display:block;line-height:1.4;color:#1a3558;}
.bp-calendar-selected-story small,.bp-upcoming-item small{font-size:10px;color:#6e90b5;display:block;margin-top:4px;}
.bp-calendar-selected-story>span:last-child,.bp-upcoming-item b{font-size:11px;color:#1e65b7;font-weight:850;flex-shrink:0;}
.bp-upcoming{margin-top:20px;}.bp-upcoming .bp-panel-title{margin-bottom:4px;}.bp-upcoming-item{padding:11px 0;}.bp-upcoming-item:hover,.bp-calendar-selected-story:hover{background:#f5faff;}
.bp-calendar-note{background:#eaf3ff;color:#3c5f87;border:1px solid #cfe1f9;border-radius:9px;font-size:12px;padding:16px;margin:12px 0 20px;line-height:1.65;}
.bp-calendar-compact{margin-block:22px;}.bp-calendar-compact .bp-calendar-day{min-height:85px;}.bp-calendar-compact .bp-calendar-head{padding:18px 23px;}.bp-calendar-compact .bp-calendar-event{font-size:9px;padding:3px 4px;}
.bp-calendar-compact .bp-cal-time{font-size:8px;}
@media(max-width:960px){.bp-calendar-head{padding:18px 16px}.bp-calendar-day{min-height:82px;padding:4px;}.bp-calendar-event{font-size:9px;}.bp-calendar-compact .bp-calendar-day{min-height:76px}.bp-admin-brand-logo{width:180px;}}
@media(max-width:700px){.bp-calendar-head{flex-direction:column;align-items:flex-start;gap:14px;}.bp-calendar-nav{width:100%;justify-content:space-between;}.bp-calendar-nav strong{flex:1;}.bp-calendar-grid{width:100%;}.bp-calendar-weekday{font-size:9px;padding:10px 2px;}.bp-calendar-day{min-height:70px;padding:3px 2px;}.bp-day-number{width:24px;height:24px;font-size:10px;}.bp-day-add{width:17px;height:19px;font-size:14px;}.bp-calendar-event{font-size:0!important;height:9px;min-height:9px;padding:0!important;border-radius:6px;border-left-width:0!important;line-height:0;}.bp-calendar-event .bp-cal-time{display:none;}.bp-calendar-more{font-size:8px;padding:1px;}.bp-day-events{gap:3px;}.bp-calendar-compact .bp-calendar-day{min-height:68px;}.bp-calendar-selected-story,.bp-upcoming-item{gap:8px;padding:10px 12px;}.bp-calendar-selected-story img,.bp-upcoming-item img{width:48px;height:43px;flex-basis:48px;}.bp-calendar-bottom{font-size:9px;}.bp-login-brand{margin-bottom:44px;}.bp-admin-brand-logo--login{width:290px;}.bp-page-heading:before{width:80%;}.bp-admin-top{overflow:hidden;}}
@media(max-width:380px){.bp-calendar-nav strong{min-width:94px;font-size:11px;}.bp-calendar-nav>a{min-width:29px;height:30px;}.bp-calendar-nav>a.bp-calendar-today{font-size:10px;}.bp-day-add{font-size:12px;}.bp-calendar-weekday{font-size:8px;}.bp-calendar-selected-story>span:last-child{display:none;}}
@media(prefers-reduced-motion:reduce){.bp-side-nav a{transition:none;}}
