
:root{
  --ad-navy:#071a33;--ad-navy2:#10294f;--ad-burgundy:#8d2345;--ad-gold:#e4b950;
  --ad-ivory:#fffaf0;--ad-paper:#ffffff;--ad-purple:#6c3df0;--ad-blue:#238be4;
  --ad-orange:#ff7c24;--ad-pink:#e6336c;--ad-green:#11a873;--ad-muted:#69758a;
}
*{box-sizing:border-box}
.hsr-author-dashboard{font-family:Inter,Manrope,Arial,sans-serif;color:var(--ad-navy);background:
radial-gradient(circle at 85% 0%,rgba(228,185,80,.18),transparent 27%),
radial-gradient(circle at 4% 28%,rgba(141,35,69,.12),transparent 26%),
linear-gradient(135deg,#fffaf0,#f2f1ff 54%,#edf7ff);min-height:100%;padding:28px;border-radius:22px}
.hsr-ad-top{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:24px}
.hsr-ad-eyebrow{color:var(--ad-purple);font-size:10px;font-weight:900;letter-spacing:.14em;text-transform:uppercase}
.hsr-ad-top h1{font-family:Georgia,serif;font-size:38px;line-height:1.02;margin:8px 0;color:var(--ad-navy)}
.hsr-ad-top p{margin:0;color:var(--ad-muted);font-size:11px}
.hsr-ad-actions{display:flex;gap:10px;flex-wrap:wrap}.hsr-ad-button{border:1px solid #d5dcea;border-radius:12px;background:white;color:var(--ad-navy);padding:12px 15px;font-weight:800;cursor:pointer}
.hsr-ad-button.primary{background:linear-gradient(135deg,var(--ad-navy),var(--ad-burgundy));color:white;border:0}
.hsr-ad-summary{display:grid;grid-template-columns:repeat(6,1fr);gap:14px;margin-bottom:22px}
.hsr-ad-stat{min-height:118px;padding:22px 18px;border-radius:20px;color:white;box-shadow:0 15px 32px rgba(7,26,51,.12)}
.hsr-ad-stat b{display:block;font-size:28px;line-height:1;margin:9px 0}.hsr-ad-stat span{font-size:10px}.hsr-ad-stat small{font-weight:800;letter-spacing:.05em}
.hsr-ad-stat:nth-child(1){background:linear-gradient(145deg,#2a99eb,#1477d1)}
.hsr-ad-stat:nth-child(2){background:linear-gradient(145deg,#7944f4,#5630d6)}
.hsr-ad-stat:nth-child(3){background:linear-gradient(145deg,#ff8a2f,#f46716)}
.hsr-ad-stat:nth-child(4){background:linear-gradient(145deg,#ec4077,#d72661)}
.hsr-ad-stat:nth-child(5){background:linear-gradient(145deg,#19b983,#079662)}
.hsr-ad-stat:nth-child(6){background:linear-gradient(145deg,#33497f,#1e2e5e)}
.hsr-ad-panel{background:rgba(255,255,255,.94);border:1px solid #dbe2ee;border-radius:22px;padding:22px;box-shadow:0 18px 45px rgba(7,26,51,.07);margin-bottom:20px}
.hsr-ad-panel-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:17px}.hsr-ad-panel-head h2{font-family:Georgia,serif;margin:0;font-size:24px}.hsr-ad-panel-head p{margin:4px 0 0;color:var(--ad-muted);font-size:10px}
.hsr-ad-filters{display:grid;grid-template-columns:1.25fr .9fr .8fr .8fr auto;gap:11px;align-items:end}
.hsr-ad-field{display:flex;flex-direction:column;gap:6px}.hsr-ad-field label{font-size:9px;font-weight:900}.hsr-ad-field input,.hsr-ad-field select{width:100%;padding:12px;border:1px solid #d4ddea;border-radius:11px;background:white;color:var(--ad-navy)}
.hsr-ad-calendar-layout{display:grid;grid-template-columns:1.25fr .75fr;gap:18px}
.hsr-ad-calendar-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px}.hsr-ad-calendar-head h3{font-family:Georgia,serif;font-size:23px;margin:0}.hsr-ad-calendar-controls{display:flex;gap:8px}.hsr-ad-calendar-controls button{width:38px;height:38px;border-radius:11px;border:1px solid #d7dfeb;background:#fff;cursor:pointer}
.hsr-ad-weekdays,.hsr-ad-calendar{display:grid;grid-template-columns:repeat(7,1fr);gap:7px}.hsr-ad-weekdays div{text-align:center;font-size:8px;font-weight:900;color:#7d8796;padding:5px}
.hsr-ad-day{min-height:78px;border:1px solid #e0e5ee;border-radius:13px;padding:8px;background:#fff;cursor:pointer;transition:.2s;position:relative}.hsr-ad-day:hover{transform:translateY(-2px);border-color:var(--ad-gold)}.hsr-ad-day.muted{opacity:.38}.hsr-ad-day.active{box-shadow:0 0 0 2px var(--ad-purple);background:#f7f3ff}.hsr-ad-day strong{font-size:10px}.hsr-ad-day .units{display:block;margin-top:10px;color:var(--ad-purple);font-size:12px;font-weight:900}.hsr-ad-day .amount{display:block;margin-top:3px;color:var(--ad-green);font-size:8px}.hsr-ad-day .dot{position:absolute;right:7px;top:8px;width:7px;height:7px;border-radius:50%;background:var(--ad-gold)}
.hsr-ad-month-summary{display:grid;gap:10px}.hsr-ad-month-card{padding:15px;border-radius:16px;background:linear-gradient(135deg,#071a33,#243d69);color:white}.hsr-ad-month-card.gold{background:linear-gradient(135deg,#b57b17,#e5b94d);color:#211501}.hsr-ad-month-card.wine{background:linear-gradient(135deg,#731938,#a82c55)}.hsr-ad-month-card b{display:block;font-size:22px;margin:5px 0}.hsr-ad-month-card span{font-size:9px;opacity:.85}
.hsr-ad-books{display:flex;gap:12px;overflow:auto;padding-bottom:5px}.hsr-ad-book{min-width:230px;display:grid;grid-template-columns:58px 1fr;gap:11px;padding:12px;border:1px solid #e0e5ed;border-radius:15px;background:#fff}.hsr-ad-book img{width:58px;height:82px;object-fit:cover;border-radius:5px;background:#eee}.hsr-ad-book b{font-family:Georgia,serif;font-size:14px}.hsr-ad-book small{display:block;color:var(--ad-muted);font-size:8px;margin-top:6px}
.hsr-ad-table-wrap{overflow:auto}.hsr-ad-table{width:100%;border-collapse:collapse;min-width:930px}.hsr-ad-table th,.hsr-ad-table td{padding:12px 10px;border-bottom:1px solid #e7ebf1;text-align:left;font-size:9px}.hsr-ad-table th{background:#f6f8fb;color:#5f6b7e;text-transform:uppercase;letter-spacing:.04em}.hsr-ad-table td b{font-size:10px}.hsr-ad-status{display:inline-block;padding:5px 8px;border-radius:999px;font-size:8px;font-weight:900}.hsr-ad-status.confirmed{background:#e3f7ee;color:#08764b}.hsr-ad-status.provisional{background:#fff1cf;color:#9a6300}.hsr-ad-status.cancelled{background:#fde5ed;color:#a61e4d}.hsr-ad-status.returned,.hsr-ad-status.rejected,.hsr-ad-status.refunded{background:#ffe8d8;color:#b94700}
.hsr-ad-note{padding:12px 14px;border-radius:13px;background:#fff7df;border-left:4px solid var(--ad-gold);font-size:9px;color:#695321;margin-bottom:18px}
.hsr-ad-empty{text-align:center;padding:35px;color:var(--ad-muted)}
@media(max-width:1150px){.hsr-ad-summary{grid-template-columns:repeat(3,1fr)}.hsr-ad-calendar-layout{grid-template-columns:1fr}.hsr-ad-filters{grid-template-columns:1fr 1fr 1fr}}
@media(max-width:720px){.hsr-author-dashboard{padding:16px;border-radius:0}.hsr-ad-top{display:block}.hsr-ad-actions{margin-top:15px}.hsr-ad-top h1{font-size:29px}.hsr-ad-summary{grid-template-columns:1fr 1fr}.hsr-ad-filters{grid-template-columns:1fr}.hsr-ad-weekdays,.hsr-ad-calendar{gap:4px}.hsr-ad-day{min-height:62px;padding:6px}.hsr-ad-day .amount{display:none}}
/* HSRA 1.4.57 monthly payout/status refinements */
.hsr-ad-status-wrap{display:inline-flex;flex-direction:column;align-items:flex-start;gap:4px}
.hsr-ad-refund-note{font-size:8px;font-weight:900;color:#d97706}
.hsr-ad-payout-pending{display:inline-block;max-width:105px;color:#7a8495;font-size:8px;font-weight:800;line-height:1.3}
.hsr-ad-month-card.gold.live{background:linear-gradient(135deg,#d7a62d,#f0cd69)}
.hsr-ad-month-card.gold.reconciling{background:linear-gradient(135deg,#9a6b10,#dcae3e)}
.hsr-ad-payout-value{font-size:20px!important;line-height:1.12;word-break:break-word}
/* HSRA 1.4.58: five author-facing statuses + two monthly royalty cards */
.hsr-ad-summary{grid-template-columns:repeat(4,1fr)}
.hsr-ad-stat:nth-child(7){background:linear-gradient(145deg,#b57b17,#e5b94d);color:#211501}
.hsr-ad-stat:nth-child(8){background:linear-gradient(145deg,#0e8f6a,#14b686)}
.hsr-ad-stat.royalty-last b,.hsr-ad-stat.royalty-current b{font-size:25px}
.hsr-ad-status.order-received{background:#eef2ff;color:#4750a6}
.hsr-ad-status.in-transit{background:#fff1cf;color:#9a6300}
.hsr-ad-status.delivered{background:#e3f7ee;color:#08764b}
.hsr-ad-status.cancelled{background:#fde5ed;color:#a61e4d}
.hsr-ad-status.returned{background:#ffe8d8;color:#b94700}
@media(max-width:1150px){.hsr-ad-summary{grid-template-columns:repeat(2,1fr)}}
@media(max-width:720px){.hsr-ad-summary{grid-template-columns:1fr}}


/* HSRA 1.4.59 month-wise author statement */
.month-current-summary{grid-template-columns:repeat(3,minmax(0,1fr));}
.hsr-ad-monthwise-panel{overflow:hidden;}
.hsr-ad-month-select-wrap{display:flex;align-items:center;gap:10px;flex-wrap:wrap;}
.hsr-ad-month-select-wrap label{font-size:11px;font-weight:900;letter-spacing:.08em;color:#52627b;}
.hsr-ad-month-select-wrap select{min-width:190px;border:1px solid #d8e0ec;border-radius:12px;padding:11px 14px;background:#fff;font-weight:700;color:#0d2747;}
.hsr-ad-month-group{border:1px solid #dfe6ef;border-radius:18px;overflow:hidden;margin-top:18px;background:#fff;box-shadow:0 8px 24px rgba(19,42,74,.04);}
.hsr-ad-month-group:first-child{margin-top:4px;}
.hsr-ad-month-group-head{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:18px 20px;background:linear-gradient(135deg,#f8fbff,#fff9ec);border-bottom:1px solid #e5eaf1;}
.hsr-ad-month-group-head h3{margin:0;color:#082444;font-size:22px;}
.hsr-ad-month-group-head span{display:block;margin-top:4px;color:#64748b;font-size:12px;}
.hsr-ad-month-totals{display:grid;grid-template-columns:repeat(3,minmax(120px,1fr));gap:10px;min-width:min(520px,55vw);}
.hsr-ad-month-totals>div{background:#fff;border:1px solid #e2e8f0;border-radius:13px;padding:10px 13px;}
.hsr-ad-month-totals small{display:block;font-size:9px;font-weight:900;letter-spacing:.07em;color:#6b7280;}
.hsr-ad-month-totals b{display:block;margin-top:4px;font-size:16px;color:#102a4d;}
.hsr-ad-month-table{min-width:1120px;}
.hsr-ad-month-table th{text-align:center;white-space:nowrap;}
.hsr-ad-month-table th:first-child,.hsr-ad-month-table td:first-child{text-align:left;min-width:300px;}
.hsr-ad-month-table td{text-align:center;vertical-align:middle;}
.hsr-ad-month-book{display:flex;align-items:center;gap:13px;}
.hsr-ad-month-book img{width:48px;height:68px;object-fit:cover;border-radius:7px;border:1px solid #dbe2ea;box-shadow:0 4px 10px rgba(15,23,42,.12);background:#f4f5f7;flex:0 0 auto;}
.hsr-ad-month-book b{display:block;color:#0a274a;line-height:1.25;}
.hsr-ad-month-book small{display:block;color:#738096;margin-top:5px;}
.hsr-ad-royalty-value{color:#087f5b;}
@media(max-width:1180px){.month-current-summary{grid-template-columns:repeat(2,minmax(0,1fr));}.hsr-ad-month-group-head{align-items:flex-start;flex-direction:column}.hsr-ad-month-totals{width:100%;min-width:0;}}
@media(max-width:680px){.month-current-summary{grid-template-columns:1fr}.hsr-ad-month-totals{grid-template-columns:1fr}.hsr-ad-month-group-head{padding:14px}.hsr-ad-month-group-head h3{font-size:19px}.hsr-ad-month-select-wrap{width:100%}.hsr-ad-month-select-wrap select{width:100%;}}

/* HSRA 1.4.60: Sep-01 dashboard cutoff, single corner cover showcase, per-book royalty */
.hsr-ad-top-right{display:flex;flex-direction:column;align-items:flex-end;gap:14px;max-width:430px}
.hsr-ad-cover-corner{display:flex;justify-content:flex-end;align-items:flex-end;gap:0;min-height:102px;padding-right:6px}
.hsr-ad-cover-corner img{width:54px;height:78px;object-fit:cover;border-radius:7px;border:2px solid #fff;box-shadow:0 8px 20px rgba(7,26,51,.18);background:#eef1f5;margin-left:-12px}
.hsr-ad-cover-corner img.primary{width:70px;height:100px;z-index:4;margin-left:0}
.hsr-ad-cover-corner img:nth-child(2){z-index:3}.hsr-ad-cover-corner img:nth-child(3){z-index:2}.hsr-ad-cover-corner img:nth-child(4){z-index:1}
.hsr-ad-month-book{display:block}.hsr-ad-month-book b{font-size:10px}.hsr-ad-month-table{min-width:1240px}.hsr-ad-rate-value{color:#8a5b00}
@media(max-width:720px){.hsr-ad-top-right{align-items:flex-start;max-width:none;margin-top:14px}.hsr-ad-cover-corner{justify-content:flex-start}}



/* HSRA 1.4.61: premium dashboard visual refresh */
:root{
  --ad-bg:#f4f1ea;
  --ad-surface:#ffffff;
  --ad-surface-2:#fbfaf7;
  --ad-ink:#10233f;
  --ad-subtle:#5f7086;
  --ad-line:#e4e8ef;
  --ad-shadow:0 14px 36px rgba(16,35,63,.08);
  --ad-shadow-strong:0 18px 50px rgba(16,35,63,.12);
}
.hsr-author-dashboard{
  color:var(--ad-ink);
  background:linear-gradient(180deg,#f7f3eb 0%,#f5f7fb 42%,#f8fafc 100%);
  padding:32px;
  border-radius:30px;
}
.hsr-ad-top{
  background:linear-gradient(135deg,#0f2644 0%,#1f3b63 56%,#6e2343 100%);
  border-radius:30px;
  padding:28px 30px;
  box-shadow:var(--ad-shadow-strong);
  margin-bottom:22px;
}
.hsr-ad-eyebrow{color:#d5b059;font-size:11px;letter-spacing:.18em}
.hsr-ad-top h1{font-size:44px;line-height:1.06;color:#fff;margin:10px 0 12px}
.hsr-ad-top p{color:rgba(255,255,255,.82);font-size:13px}
.hsr-ad-top-right{gap:16px;align-items:flex-end}
.hsr-ad-actions{justify-content:flex-end}
.hsr-ad-button{
  border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.94);
  color:#10233f;
  padding:13px 18px;
  border-radius:14px;
  font-size:14px;
  font-weight:800;
  box-shadow:0 8px 20px rgba(7,26,51,.08);
}
.hsr-ad-button.primary{
  background:linear-gradient(135deg,#fff,#f7ecd0);
  color:#10233f;
  border:0;
}
.hsr-ad-cover-corner{padding-right:0;min-height:110px}
.hsr-ad-cover-corner img{width:62px;height:90px;border-radius:10px;box-shadow:0 14px 26px rgba(7,26,51,.25)}
.hsr-ad-cover-corner img.primary{width:82px;height:116px}
.hsr-ad-note{
  background:#fff9e8;
  color:#6b571a;
  border-left:5px solid #d3a63a;
  border-radius:16px;
  padding:14px 18px;
  font-size:12px;
  margin-bottom:22px;
}
.hsr-ad-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}
.hsr-ad-stat,
.hsr-ad-stat:nth-child(1),.hsr-ad-stat:nth-child(2),.hsr-ad-stat:nth-child(3),.hsr-ad-stat:nth-child(4),
.hsr-ad-stat:nth-child(5),.hsr-ad-stat:nth-child(6),.hsr-ad-stat:nth-child(7),.hsr-ad-stat:nth-child(8){
  background:var(--ad-surface);
  color:var(--ad-ink);
  border:1px solid var(--ad-line);
  min-height:132px;
  padding:20px 18px 18px;
  border-radius:22px;
  box-shadow:var(--ad-shadow);
  position:relative;
  overflow:hidden;
}
.hsr-ad-stat::before{content:'';position:absolute;left:0;top:0;right:0;height:5px;background:#d8e2ef}
.hsr-ad-stat:nth-child(1)::before{background:#2a99eb}
.hsr-ad-stat:nth-child(2)::before{background:#7944f4}
.hsr-ad-stat:nth-child(3)::before{background:#cf8f18}
.hsr-ad-stat:nth-child(4)::before{background:#11a873}
.hsr-ad-stat:nth-child(5)::before{background:#ec4077}
.hsr-ad-stat:nth-child(6)::before{background:#ff8a2f}
.hsr-ad-stat:nth-child(7)::before{background:#0d315b}
.hsr-ad-stat:nth-child(8)::before{background:#6e2343}
.hsr-ad-stat small{display:block;color:#66778e;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.hsr-ad-stat b{font-size:36px;line-height:1.05;margin:14px 0 10px;color:#10233f}
.hsr-ad-stat span{display:block;font-size:12px;color:#5e6d82;line-height:1.45}
.hsr-ad-panel{
  background:rgba(255,255,255,.98);
  border:1px solid #e3e7ee;
  border-radius:26px;
  padding:24px;
  box-shadow:var(--ad-shadow);
}
.hsr-ad-panel-head h2{font-size:30px;color:#10233f}
.hsr-ad-panel-head p{font-size:12px;color:#68778d}
.hsr-ad-field label{font-size:10px;letter-spacing:.08em;color:#52627b}
.hsr-ad-field input,.hsr-ad-field select{
  padding:14px 15px;
  border-radius:14px;
  border:1px solid #d6deea;
  background:#fbfcfe;
  font-size:14px;
  color:#10233f;
}
.hsr-ad-month-select-wrap label{font-size:12px}
.hsr-ad-month-group{border-radius:22px;box-shadow:0 14px 30px rgba(16,35,63,.05);margin-top:22px}
.hsr-ad-month-group-head{
  background:linear-gradient(135deg,#0f2644 0%,#1d395f 70%,#f2e5bc 70.5%,#fbf5dd 100%);
  padding:22px;
  align-items:stretch;
}
.hsr-ad-month-group-head h3{font-size:26px;color:#fff}
.hsr-ad-month-group-head span{color:rgba(255,255,255,.8);font-size:13px}
.hsr-ad-month-totals{gap:12px}
.hsr-ad-month-totals>div{background:rgba(255,255,255,.96);border:1px solid rgba(255,255,255,.7);border-radius:16px;padding:12px 14px;box-shadow:0 8px 20px rgba(15,23,42,.06)}
.hsr-ad-month-totals small{font-size:10px;color:#66778e}
.hsr-ad-month-totals b{font-size:20px;color:#10233f}
.hsr-ad-table-wrap{border:1px solid #e6eaf0;border-radius:20px;overflow:auto;background:#fff}
.hsr-ad-month-table,.hsr-ad-table{min-width:1260px}
.hsr-ad-month-table th,.hsr-ad-month-table td,
.hsr-ad-table th,.hsr-ad-table td{padding:14px 12px;font-size:12px}
.hsr-ad-month-table th,.hsr-ad-table th{
  position:sticky;top:0;z-index:1;
  background:#f6f8fb;color:#43546c;font-size:11px;letter-spacing:.08em;border-bottom:1px solid #e3e7ee
}
.hsr-ad-month-table td{color:#10233f}
.hsr-ad-month-book b{font-size:14px;line-height:1.35}
.hsr-ad-month-book small{font-size:11px;color:#6b7788}
.hsr-ad-rate-value,.hsr-ad-royalty-value{font-weight:800}
.hsr-ad-rate-value{color:#9a6a0a}
.hsr-ad-royalty-value{color:#0b7a58}
.hsr-ad-status{font-size:11px;padding:6px 10px;border-radius:999px;border:1px solid transparent}
.hsr-ad-status.order-received{background:#edf2ff;color:#3853b3;border-color:#d5ddff}
.hsr-ad-status.in-transit{background:#fff4da;color:#9a6500;border-color:#f5deb0}
.hsr-ad-status.delivered{background:#e7f8ef;color:#0d7a50;border-color:#bde8cf}
.hsr-ad-status.cancelled{background:#ffe7ef;color:#a52351;border-color:#f3c1d0}
.hsr-ad-status.returned{background:#ffede1;color:#b14b00;border-color:#f7d2b8}
.hsr-ad-empty{padding:50px 18px;font-size:14px}
.hsr-ad-table tbody tr:hover,.hsr-ad-month-table tbody tr:hover{background:#fafcff}
@media(max-width:1180px){
  .hsr-ad-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hsr-ad-top{padding:24px}
  .hsr-ad-top h1{font-size:36px}
}
@media(max-width:720px){
  .hsr-author-dashboard{padding:16px;border-radius:0}
  .hsr-ad-top{padding:18px;border-radius:22px}
  .hsr-ad-top h1{font-size:30px}
  .hsr-ad-summary{grid-template-columns:1fr}
  .hsr-ad-button{width:100%;justify-content:center}
  .hsr-ad-note{font-size:11px}
}



/* HSRA 1.4.62: multicolor premium dashboard + sales calendar + gross/net royalty */
.hsr-author-dashboard{
  background:
    radial-gradient(circle at 10% 3%,rgba(45,126,247,.10),transparent 25%),
    radial-gradient(circle at 92% 7%,rgba(237,161,40,.12),transparent 24%),
    radial-gradient(circle at 85% 48%,rgba(123,67,224,.07),transparent 26%),
    linear-gradient(180deg,#f8fafc 0%,#f5f7fb 100%);
}
.hsr-ad-top{background:linear-gradient(120deg,#102b50 0%,#244e82 42%,#70345e 75%,#b5732c 100%)}
.hsr-ad-summary{grid-template-columns:repeat(4,minmax(0,1fr))}
.hsr-ad-stat.stat-books::before{background:#3182ce}.hsr-ad-stat.stat-books{background:linear-gradient(180deg,#fff,#f3f8ff)}
.hsr-ad-stat.stat-month::before{background:#7c4dff}.hsr-ad-stat.stat-month{background:linear-gradient(180deg,#fff,#f7f3ff)}
.hsr-ad-stat.stat-received::before{background:#4f63d8}.hsr-ad-stat.stat-received{background:linear-gradient(180deg,#fff,#f3f5ff)}
.hsr-ad-stat.stat-transit::before{background:#e7a526}.hsr-ad-stat.stat-transit{background:linear-gradient(180deg,#fff,#fff8e7)}
.hsr-ad-stat.stat-delivered::before{background:#15a875}.hsr-ad-stat.stat-delivered{background:linear-gradient(180deg,#fff,#eefaf5)}
.hsr-ad-stat.stat-cancelled::before{background:#e34b78}.hsr-ad-stat.stat-cancelled{background:linear-gradient(180deg,#fff,#fff0f5)}
.hsr-ad-stat.stat-returned::before{background:#f07a2a}.hsr-ad-stat.stat-returned{background:linear-gradient(180deg,#fff,#fff3ea)}
.hsr-ad-stat.royalty-sales-last::before{background:#367cc5}.hsr-ad-stat.royalty-sales-last{background:linear-gradient(160deg,#eef7ff,#ffffff 70%)}
.hsr-ad-stat.royalty-earned-last::before{background:#0b9a6c}.hsr-ad-stat.royalty-earned-last{background:linear-gradient(160deg,#ebfaf4,#ffffff 70%)}
.hsr-ad-stat.royalty-sales-current::before{background:#7b43dc}.hsr-ad-stat.royalty-sales-current{background:linear-gradient(160deg,#f5efff,#ffffff 70%)}
.hsr-ad-stat.royalty-earned-current::before{background:#b87916}.hsr-ad-stat.royalty-earned-current{background:linear-gradient(160deg,#fff7df,#ffffff 70%)}
.hsr-ad-stat.royalty-sales-last b,.hsr-ad-stat.royalty-earned-last b,.hsr-ad-stat.royalty-sales-current b,.hsr-ad-stat.royalty-earned-current b{font-size:29px}
.hsr-ad-calendar-panel{background:linear-gradient(180deg,#ffffff,#fbfcff)}
.calendar-panel-head{align-items:center}
.hsr-ad-calendar-nav{display:flex;align-items:center;gap:10px;background:#f6f8fc;border:1px solid #e0e6ef;border-radius:16px;padding:6px}
.hsr-ad-calendar-nav strong{min-width:150px;text-align:center;font-size:15px;color:#17375c}
.hsr-ad-calendar-nav .hsr-ad-button{padding:8px 12px;min-width:40px;background:#fff;border-color:#dbe2ec;box-shadow:none}
.hsr-ad-calendar-nav .hsr-ad-button:disabled{opacity:.35;cursor:not-allowed}
.hsr-ad-weekdays{margin-top:8px}
.hsr-ad-weekdays div{font-size:10px;letter-spacing:.08em;color:#6f7e93;padding:8px 4px}
.hsr-ad-calendar{gap:9px}
.hsr-ad-day{min-height:100px;border:1px solid #e0e6ee;border-radius:17px;padding:11px;background:#fff;cursor:default;box-shadow:0 5px 14px rgba(16,35,63,.035)}
.hsr-ad-day:hover{transform:none;border-color:#d9e1eb}
.hsr-ad-day strong{font-size:13px;color:#526278}
.hsr-ad-day.has-sales{background:linear-gradient(145deg,#f7fbff,#fff9ec);border-color:#d6e2ee;box-shadow:0 9px 18px rgba(16,35,63,.07)}
.hsr-ad-day.has-sales strong{color:#17375c}
.hsr-ad-day .units{font-size:14px;color:#5c46c7;margin-top:13px}
.hsr-ad-day .amount{font-size:10px;color:#0c8a61;margin-top:6px;font-weight:800}
.hsr-ad-day .no-sales{display:block;color:#c6ced8;margin-top:20px;font-size:13px}
.hsr-ad-day.blank{background:transparent;border-color:transparent;box-shadow:none}
.hsr-ad-month-group-head{background:linear-gradient(120deg,#14355d 0%,#235d8a 50%,#7652b7 76%,#d09a37 100%)}
.hsr-ad-month-totals{grid-template-columns:repeat(4,minmax(125px,1fr));min-width:min(700px,64vw)}
.hsr-ad-sales-royalty-value{color:#5b4fb4;font-weight:800}
.hsr-ad-month-table{min-width:1380px}
@media(max-width:1180px){.hsr-ad-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.hsr-ad-month-totals{grid-template-columns:repeat(2,minmax(0,1fr));width:100%;min-width:0}}
@media(max-width:720px){.hsr-ad-summary{grid-template-columns:1fr}.calendar-panel-head{align-items:flex-start;flex-direction:column}.hsr-ad-calendar-nav{width:100%;justify-content:space-between}.hsr-ad-calendar-nav strong{min-width:0;flex:1}.hsr-ad-weekdays,.hsr-ad-calendar{gap:4px}.hsr-ad-day{min-height:84px;padding:7px}.hsr-ad-day .units{font-size:11px}.hsr-ad-day .amount{font-size:8px;display:block}.hsr-ad-month-totals{grid-template-columns:1fr}}



/* HSRA 1.4.63 — Editorial Luxe author dashboard theme */
:root{
  --lux-bg:#f4f0e8;
  --lux-paper:#ffffff;
  --lux-ink:#17233a;
  --lux-muted:#6c7787;
  --lux-border:#e6e1d8;
  --lux-navy:#17375e;
  --lux-teal:#0f7b73;
  --lux-emerald:#15936d;
  --lux-gold:#bd8a28;
  --lux-violet:#7256b8;
  --lux-rose:#bd4f6c;
  --lux-orange:#cf7134;
  --lux-blue:#3d75b8;
  --lux-shadow:0 14px 34px rgba(23,35,58,.075);
}
.hsr-author-dashboard{
  background:var(--lux-bg)!important;
  color:var(--lux-ink)!important;
  padding:30px!important;
  border-radius:28px!important;
}
.hsr-ad-top{
  position:relative;
  overflow:hidden;
  background:var(--lux-paper)!important;
  border:1px solid var(--lux-border)!important;
  border-radius:26px!important;
  padding:30px 32px!important;
  box-shadow:var(--lux-shadow)!important;
}
.hsr-ad-top::before{
  content:'';position:absolute;left:0;top:0;bottom:0;width:7px;background:linear-gradient(180deg,var(--lux-teal),var(--lux-gold));
}
.hsr-ad-top::after{
  content:'';position:absolute;right:-80px;top:-120px;width:300px;height:300px;border-radius:50%;background:rgba(189,138,40,.08);pointer-events:none;
}
.hsr-ad-eyebrow{color:var(--lux-teal)!important;font-size:11px!important;letter-spacing:.19em!important}
.hsr-ad-top h1{color:var(--lux-ink)!important;font-size:43px!important;letter-spacing:-.025em!important;margin:9px 0 10px!important}
.hsr-ad-top p{color:var(--lux-muted)!important;font-size:13px!important;line-height:1.6!important}
.hsr-ad-actions{position:relative;z-index:2}
.hsr-ad-button{
  background:#fff!important;color:var(--lux-ink)!important;border:1px solid #dcd7cf!important;
  border-radius:13px!important;padding:12px 17px!important;box-shadow:none!important;font-size:13px!important;
}
.hsr-ad-button:hover{border-color:#b8afa2!important;background:#faf8f4!important}
.hsr-ad-button.primary{background:var(--lux-navy)!important;color:#fff!important;border-color:var(--lux-navy)!important}
.hsr-ad-cover-corner{position:relative;z-index:2}
.hsr-ad-cover-corner img{border:3px solid #fff!important;box-shadow:0 13px 28px rgba(23,35,58,.16)!important}
.hsr-ad-note{
  background:#fffaf0!important;border:1px solid #eee0bd!important;border-left:5px solid var(--lux-gold)!important;
  color:#6d5425!important;border-radius:15px!important;padding:14px 17px!important;font-size:12px!important;
}
.hsr-ad-summary{gap:14px!important;grid-template-columns:repeat(4,minmax(0,1fr))!important}
.hsr-ad-stat,.hsr-ad-stat:nth-child(n){
  background:#fff!important;color:var(--lux-ink)!important;border:1px solid var(--lux-border)!important;
  border-radius:19px!important;box-shadow:0 10px 24px rgba(23,35,58,.055)!important;min-height:126px!important;
  padding:19px 18px 17px!important;
}
.hsr-ad-stat::before{height:4px!important}
.hsr-ad-stat.stat-books{background:#f1f5fb!important}.hsr-ad-stat.stat-books::before{background:var(--lux-blue)!important}
.hsr-ad-stat.stat-month{background:#f4f1fb!important}.hsr-ad-stat.stat-month::before{background:var(--lux-violet)!important}
.hsr-ad-stat.stat-received{background:#eef6fb!important}.hsr-ad-stat.stat-received::before{background:#4387b8!important}
.hsr-ad-stat.stat-transit{background:#fff7e9!important}.hsr-ad-stat.stat-transit::before{background:#d3a235!important}
.hsr-ad-stat.stat-delivered{background:#eef9f4!important}.hsr-ad-stat.stat-delivered::before{background:var(--lux-emerald)!important}
.hsr-ad-stat.stat-cancelled{background:#fff0f3!important}.hsr-ad-stat.stat-cancelled::before{background:var(--lux-rose)!important}
.hsr-ad-stat.stat-returned{background:#fff2ea!important}.hsr-ad-stat.stat-returned::before{background:var(--lux-orange)!important}
.hsr-ad-stat.royalty-sales-last{background:#edf4fb!important}.hsr-ad-stat.royalty-sales-last::before{background:#32659a!important}
.hsr-ad-stat.royalty-earned-last{background:#edf8f2!important}.hsr-ad-stat.royalty-earned-last::before{background:#147f5f!important}
.hsr-ad-stat.royalty-sales-current{background:#f3effb!important}.hsr-ad-stat.royalty-sales-current::before{background:#6a4cb2!important}
.hsr-ad-stat.royalty-earned-current{background:#fff7e5!important}.hsr-ad-stat.royalty-earned-current::before{background:#b57b12!important}
.hsr-ad-stat small{color:#667283!important;font-size:10px!important;letter-spacing:.085em!important}
.hsr-ad-stat b{color:var(--lux-ink)!important;font-size:34px!important;margin:12px 0 8px!important}
.hsr-ad-stat span{color:#687486!important;font-size:11px!important;line-height:1.45!important}
.hsr-ad-stat[class*="royalty-"] b{font-size:30px!important}
.hsr-ad-panel{
  background:#fff!important;border:1px solid var(--lux-border)!important;border-radius:22px!important;
  padding:23px!important;box-shadow:var(--lux-shadow)!important;
}
.hsr-ad-panel-head{margin-bottom:18px!important}
.hsr-ad-panel-head h2{color:var(--lux-ink)!important;font-size:28px!important;letter-spacing:-.02em!important}
.hsr-ad-panel-head p{color:var(--lux-muted)!important;font-size:12px!important;line-height:1.5!important}
.hsr-ad-field label,.hsr-ad-month-select-wrap label{color:#596679!important;font-size:10px!important;letter-spacing:.08em!important}
.hsr-ad-field input,.hsr-ad-field select,.hsr-ad-month-select-wrap select{
  background:#fbfaf7!important;color:var(--lux-ink)!important;border:1px solid #ddd8d0!important;border-radius:12px!important;
  padding:13px 14px!important;font-size:13px!important;
}
/* Calendar */
.hsr-ad-calendar-panel{background:#fff!important}
.hsr-ad-calendar-nav{background:#f7f4ee!important;border:1px solid #e4dfd6!important;border-radius:13px!important}
.hsr-ad-calendar-nav strong{color:var(--lux-ink)!important;font-size:14px!important}
.hsr-ad-calendar-nav .hsr-ad-button{background:#fff!important;padding:8px 11px!important}
.hsr-ad-weekdays div{color:#7a8493!important;font-size:10px!important}
.hsr-ad-calendar{gap:8px!important}
.hsr-ad-day{
  min-height:96px!important;background:#fbfaf8!important;border:1px solid #e8e3db!important;border-radius:14px!important;
  box-shadow:none!important;padding:10px!important;
}
.hsr-ad-day.has-sales{background:#fff!important;border-color:#d8d0c5!important;box-shadow:0 7px 18px rgba(23,35,58,.055)!important}
.hsr-ad-day.has-sales::after{content:'';position:absolute;left:0;right:0;bottom:0;height:4px;border-radius:0 0 14px 14px;background:linear-gradient(90deg,var(--lux-blue),var(--lux-emerald),var(--lux-gold))}
.hsr-ad-day strong{color:#536174!important;font-size:12px!important}
.hsr-ad-day .units{color:var(--lux-violet)!important;font-size:14px!important;font-weight:900!important}
.hsr-ad-day .amount{color:var(--lux-emerald)!important;font-size:10px!important;font-weight:900!important}
.hsr-ad-day .no-sales{color:#c2bdb5!important}
/* Month statement */
.hsr-ad-month-group{border:1px solid var(--lux-border)!important;border-radius:20px!important;box-shadow:0 9px 22px rgba(23,35,58,.045)!important}
.hsr-ad-month-group-head{
  background:#f8f5ef!important;border-bottom:1px solid var(--lux-border)!important;padding:20px 22px!important;position:relative!important;
}
.hsr-ad-month-group-head::before{content:'';position:absolute;left:0;top:0;bottom:0;width:6px;background:var(--lux-teal)}
.hsr-ad-month-group-head h3{color:var(--lux-ink)!important;font-size:25px!important}
.hsr-ad-month-group-head span{color:var(--lux-muted)!important;font-size:12px!important}
.hsr-ad-month-totals{gap:9px!important}
.hsr-ad-month-totals>div{background:#fff!important;border:1px solid #e4dfd6!important;border-radius:12px!important;padding:10px 12px!important;box-shadow:none!important}
.hsr-ad-month-totals small{color:#737d8c!important;font-size:9px!important}
.hsr-ad-month-totals b{color:var(--lux-ink)!important;font-size:18px!important}
.hsr-ad-month-totals>div:nth-child(2){border-top:3px solid var(--lux-violet)!important}
.hsr-ad-month-totals>div:nth-child(3){border-top:3px solid var(--lux-orange)!important}
.hsr-ad-month-totals>div:nth-child(4){border-top:3px solid var(--lux-emerald)!important}
.hsr-ad-table-wrap{border:1px solid #e7e2da!important;border-radius:16px!important;background:#fff!important}
.hsr-ad-month-table th,.hsr-ad-table th{
  background:#f7f5f1!important;color:#59677a!important;border-bottom:1px solid #ded9d1!important;font-size:10px!important;
  padding:13px 11px!important;
}
.hsr-ad-month-table td,.hsr-ad-table td{color:#26354a!important;font-size:11px!important;padding:13px 11px!important;border-bottom:1px solid #eeeae4!important}
.hsr-ad-table tbody tr:nth-child(even),.hsr-ad-month-table tbody tr:nth-child(even){background:#fcfbf9!important}
.hsr-ad-table tbody tr:hover,.hsr-ad-month-table tbody tr:hover{background:#f5f8fb!important}
.hsr-ad-month-book b{color:var(--lux-ink)!important;font-size:13px!important}
.hsr-ad-month-book small{color:#7a8492!important;font-size:10px!important}
.hsr-ad-sales-royalty-value{color:var(--lux-violet)!important;font-weight:900!important}
.hsr-ad-rate-value{color:#9d6c14!important;font-weight:900!important}
.hsr-ad-royalty-value{color:var(--lux-emerald)!important;font-weight:900!important}
.hsr-ad-status{font-size:10px!important;font-weight:900!important;padding:6px 9px!important;border-radius:999px!important}
.hsr-ad-status.order-received{background:#edf5fb!important;color:#326c99!important;border-color:#d8e9f6!important}
.hsr-ad-status.in-transit{background:#fff5dc!important;color:#94670d!important;border-color:#f0ddb0!important}
.hsr-ad-status.delivered{background:#eaf8f1!important;color:#0e7857!important;border-color:#ccebdc!important}
.hsr-ad-status.cancelled{background:#fdeef2!important;color:#a33a58!important;border-color:#f1d2db!important}
.hsr-ad-status.returned{background:#fff0e7!important;color:#a9541c!important;border-color:#f2d6c4!important}
@media(max-width:1180px){
  .hsr-ad-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .hsr-ad-top h1{font-size:36px!important}
}
@media(max-width:720px){
  .hsr-author-dashboard{padding:14px!important}
  .hsr-ad-top{padding:20px!important}
  .hsr-ad-top h1{font-size:30px!important}
  .hsr-ad-summary{grid-template-columns:1fr!important}
  .hsr-ad-stat{min-height:112px!important}
  .hsr-ad-day{min-height:82px!important;padding:7px!important}
}




/* HSRA 1.4.64 — compact multicolor premium author dashboard */
:root{
  --c64-navy:#0e2949;--c64-blue:#3178c6;--c64-violet:#7153c7;--c64-teal:#0f9a8a;
  --c64-green:#17a56f;--c64-gold:#d39a25;--c64-coral:#ed7449;--c64-rose:#dc4f79;
  --c64-bg:#f5f6fa;--c64-paper:#fff;--c64-line:#e2e7ef;--c64-ink:#132844;--c64-muted:#66758a;
}
.hsr-author-dashboard{background:linear-gradient(180deg,#f7f9fc 0%,#f4f1fb 52%,#f8f7f2 100%)!important;padding:22px!important;border-radius:24px!important}
/* Compact branded header */
.hsr-ad-top{
  min-height:142px!important;background:linear-gradient(112deg,#0c2949 0%,#174778 44%,#593b92 73%,#9a4b72 100%)!important;
  border:0!important;border-radius:22px!important;padding:18px 22px!important;margin-bottom:14px!important;
  box-shadow:0 14px 34px rgba(13,37,67,.16)!important;align-items:center!important;
}
.hsr-ad-top::before{width:100%!important;height:5px!important;bottom:auto!important;background:linear-gradient(90deg,#36a8ff 0 18%,#8056d8 18% 36%,#11a98f 36% 54%,#f0b12f 54% 72%,#ef6b57 72% 86%,#df4f82 86% 100%)!important}
.hsr-ad-top::after{width:240px!important;height:240px!important;right:-80px!important;top:-100px!important;background:rgba(255,255,255,.07)!important}
.hsr-ad-header-main{display:flex;align-items:center;gap:18px;min-width:0;position:relative;z-index:2}
.hsr-ad-brandmark{width:72px;height:72px;border-radius:18px;background:rgba(255,255,255,.96);display:flex;flex-direction:column;justify-content:center;align-items:center;box-shadow:0 8px 20px rgba(4,20,39,.18);flex:0 0 auto}
.hsr-ad-brandmark b{font-family:Georgia,serif;color:#17395f;font-size:23px;line-height:1}.hsr-ad-brandmark span{font-size:7px;font-weight:900;letter-spacing:.12em;color:#8b5d22;margin-top:5px}
.hsr-ad-author-intro{min-width:0}.hsr-ad-eyebrow{color:#f4d780!important;font-size:9px!important;letter-spacing:.18em!important}
.hsr-ad-top h1{color:#fff!important;font-size:32px!important;line-height:1.05!important;margin:5px 0 5px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:760px}
.hsr-ad-top p{color:rgba(255,255,255,.78)!important;font-size:11px!important;line-height:1.4!important}
.hsr-ad-cycle-chips{display:flex;gap:7px;flex-wrap:wrap;margin-top:9px}.hsr-ad-cycle-chips span{padding:5px 8px;border-radius:999px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);color:#fff;font-size:9px;font-weight:800}
.hsr-ad-top-right{flex-direction:row!important;align-items:center!important;gap:14px!important;max-width:none!important;position:relative;z-index:2}
.hsr-ad-cover-corner{min-height:78px!important;padding:0!important}.hsr-ad-cover-corner img{width:42px!important;height:61px!important;border-radius:7px!important;margin-left:-9px!important;box-shadow:0 8px 18px rgba(5,20,38,.28)!important}.hsr-ad-cover-corner img.primary{width:54px!important;height:76px!important;margin-left:0!important}
.hsr-ad-actions{flex-direction:column;gap:7px!important}.hsr-ad-button{padding:9px 12px!important;border-radius:10px!important;font-size:11px!important}.hsr-ad-top .hsr-ad-button{background:rgba(255,255,255,.95)!important}.hsr-ad-top .hsr-ad-button.primary{background:#f0c65a!important;color:#263249!important;border-color:#f0c65a!important}
.hsr-ad-private-note{padding:8px 12px!important;margin-bottom:12px!important;border-radius:11px!important;font-size:9px!important;background:#fff9e8!important}
/* Dense multicolor KPI area: 6 columns, two compact rows on wide screens */
.hsr-ad-summary{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:10px!important;margin-bottom:14px!important}
.hsr-ad-stat,.hsr-ad-stat:nth-child(n){min-height:88px!important;padding:13px 13px 11px!important;border-radius:15px!important;box-shadow:0 7px 18px rgba(20,39,67,.055)!important}
.hsr-ad-stat::before{height:4px!important}
.hsr-ad-stat small{font-size:8px!important;letter-spacing:.075em!important}.hsr-ad-stat b{font-size:25px!important;margin:7px 0 5px!important}.hsr-ad-stat span{font-size:9px!important;line-height:1.3!important}
.hsr-ad-stat[class*="royalty-"] b{font-size:23px!important}
.hsr-ad-stat.stat-books{background:#eef6ff!important}.hsr-ad-stat.stat-books::before{background:var(--c64-blue)!important}
.hsr-ad-stat.stat-month{background:#f2efff!important}.hsr-ad-stat.stat-month::before{background:var(--c64-violet)!important}
.hsr-ad-stat.stat-received{background:#edf8fb!important}.hsr-ad-stat.stat-received::before{background:#2a91bc!important}
.hsr-ad-stat.stat-transit{background:#fff7e4!important}.hsr-ad-stat.stat-transit::before{background:var(--c64-gold)!important}
.hsr-ad-stat.stat-delivered{background:#ebfaf3!important}.hsr-ad-stat.stat-delivered::before{background:var(--c64-green)!important}
.hsr-ad-stat.stat-cancelled{background:#fff0f5!important}.hsr-ad-stat.stat-cancelled::before{background:var(--c64-rose)!important}
.hsr-ad-stat.stat-returned{background:#fff2eb!important}.hsr-ad-stat.stat-returned::before{background:var(--c64-coral)!important}
.hsr-ad-stat.royalty-sales-last{background:#eef5ff!important}.hsr-ad-stat.royalty-sales-last::before{background:#245b9a!important}
.hsr-ad-stat.royalty-earned-last{background:#eaf9f4!important}.hsr-ad-stat.royalty-earned-last::before{background:#0c8a65!important}
.hsr-ad-stat.royalty-sales-current{background:#f3eeff!important}.hsr-ad-stat.royalty-sales-current::before{background:#6b47bf!important}
.hsr-ad-stat.royalty-earned-current{background:#fff4dc!important}.hsr-ad-stat.royalty-earned-current::before{background:#c3820d!important}
/* Panels are tighter */
.hsr-ad-panel{border-radius:18px!important;padding:17px!important;margin-bottom:14px!important;box-shadow:0 9px 24px rgba(20,39,67,.055)!important}
.hsr-ad-panel-head{margin-bottom:11px!important}.hsr-ad-panel-head h2{font-size:22px!important}.hsr-ad-panel-head p{font-size:10px!important}
/* Smaller centered calendar */
.hsr-ad-calendar-panel{max-width:1120px;margin-left:auto!important;margin-right:auto!important;padding:15px!important;background:#fff!important}
.hsr-ad-calendar-nav{padding:4px!important;border-radius:11px!important}.hsr-ad-calendar-nav strong{min-width:120px!important;font-size:12px!important}.hsr-ad-calendar-nav .hsr-ad-button{padding:6px 9px!important;min-width:32px!important}
.hsr-ad-weekdays,.hsr-ad-calendar{gap:5px!important}.hsr-ad-weekdays div{font-size:8px!important;padding:3px!important}
.hsr-ad-day{min-height:62px!important;padding:6px!important;border-radius:10px!important}.hsr-ad-day.has-sales::after{height:3px!important;border-radius:0 0 10px 10px!important;background:linear-gradient(90deg,#347ed1,#7351ca,#13a382,#e0a126,#e76858)!important}.hsr-ad-day strong{font-size:9px!important}.hsr-ad-day .units{font-size:10px!important;margin-top:5px!important}.hsr-ad-day .amount{font-size:8px!important;margin-top:2px!important}.hsr-ad-day .no-sales{font-size:8px!important}
/* Month tables stay clean but more compact */
.hsr-ad-month-group{margin-top:12px!important;border-radius:16px!important}.hsr-ad-month-group-head{padding:13px 15px!important}.hsr-ad-month-group-head h3{font-size:20px!important}.hsr-ad-month-group-head span{font-size:10px!important}.hsr-ad-month-totals>div{padding:8px 9px!important}.hsr-ad-month-totals small{font-size:8px!important}.hsr-ad-month-totals b{font-size:15px!important}
.hsr-ad-month-table th,.hsr-ad-table th{font-size:9px!important;padding:10px 9px!important}.hsr-ad-month-table td,.hsr-ad-table td{font-size:10px!important;padding:10px 9px!important}
@media(max-width:1350px){.hsr-ad-summary{grid-template-columns:repeat(4,minmax(0,1fr))!important}.hsr-ad-top h1{max-width:600px}}
@media(max-width:960px){.hsr-ad-top{align-items:flex-start!important}.hsr-ad-header-main{align-items:flex-start}.hsr-ad-top-right{flex-direction:column!important}.hsr-ad-summary{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:720px){.hsr-author-dashboard{padding:10px!important}.hsr-ad-top{padding:15px!important;display:block!important}.hsr-ad-brandmark{width:58px;height:58px;border-radius:14px}.hsr-ad-brandmark b{font-size:19px}.hsr-ad-top h1{font-size:24px!important;white-space:normal}.hsr-ad-top-right{align-items:flex-start!important;margin-top:12px!important}.hsr-ad-actions{flex-direction:row!important}.hsr-ad-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}.hsr-ad-stat{min-height:82px!important}.hsr-ad-calendar-panel{padding:10px!important}.hsr-ad-day{min-height:55px!important}.hsr-ad-day .amount{display:block!important;font-size:7px!important}}


/* HSRA 1.4.65: title selector and overall royalty */
.hsr-ad-title-filter{display:flex;flex-direction:column;gap:6px;align-items:flex-start;width:100%;max-width:250px;margin-left:auto}
.hsr-ad-title-filter label{font-size:10px;font-weight:900;letter-spacing:.08em;color:#f8eac7;text-transform:uppercase}
.hsr-ad-title-filter select{width:100%;padding:11px 14px;border-radius:14px;border:1px solid rgba(255,255,255,.24);background:rgba(255,255,255,.95);color:#10233f;font-weight:700;box-shadow:0 8px 20px rgba(7,26,51,.1)}
.hsr-ad-stat.royalty-overall{background:linear-gradient(135deg,#fff5e7,#f7ecd3);border-color:#efddb6}
.hsr-ad-stat.royalty-overall::before{background:#d59a15}
@media(max-width:900px){.hsr-ad-title-filter{max-width:none;margin-left:0}}


/* HSRA 1.4.67: sync freshness, performance graph and PDF statement controls */
.hsr-ad-cycle-chips .sync-chip{background:rgba(16,185,129,.15);border-color:rgba(110,231,183,.35);color:#dffcf2}
.hsr-ad-performance-panel{padding-bottom:18px}
.hsr-ad-performance-legend{display:flex;gap:14px;align-items:center;color:#667085;font-size:10px;font-weight:800}
.hsr-ad-performance-legend span{display:flex;align-items:center;gap:5px}.hsr-ad-performance-legend i{width:9px;height:9px;border-radius:3px;display:inline-block}
.hsr-ad-performance-legend .units-key{background:#2f80ed}.hsr-ad-performance-legend .royalty-key{background:#17a673}
.hsr-ad-performance{height:150px;display:grid;grid-template-columns:repeat(6,minmax(72px,1fr));gap:14px;align-items:end;padding:10px 6px 0}
.hsr-ad-performance-item{height:128px;display:grid;grid-template-rows:78px 16px 16px 16px;align-items:end;text-align:center;min-width:0}
.hsr-ad-performance-bars{height:78px;display:flex;align-items:flex-end;justify-content:center;gap:5px;border-bottom:1px solid #dce3ec}
.hsr-ad-performance-bars i{width:16px;min-height:2px;border-radius:5px 5px 2px 2px;display:block}.hsr-ad-performance-bars .units-bar{background:linear-gradient(180deg,#4ba3ff,#226acb)}.hsr-ad-performance-bars .royalty-bar{background:linear-gradient(180deg,#42c99a,#12805f)}
.hsr-ad-performance-item>b{font-size:11px;color:#10233f}.hsr-ad-performance-item>span{font-size:10px;font-weight:800;color:#5e6d82;text-transform:uppercase}.hsr-ad-performance-item>small{font-size:9px;color:#087f5b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hsr-ad-month-heading{display:flex;flex-direction:column;align-items:flex-start;gap:4px}
.hsr-ad-statement-button{margin-top:8px;border:1px solid rgba(255,255,255,.5);background:rgba(255,255,255,.96);color:#10233f;border-radius:10px;padding:8px 11px;font-size:10px;font-weight:900;cursor:pointer;box-shadow:0 6px 14px rgba(15,23,42,.08)}
.hsr-ad-statement-button:hover{transform:translateY(-1px)}
@media(max-width:850px){.hsr-ad-performance{grid-template-columns:repeat(3,1fr);height:auto}.hsr-ad-performance-item{height:118px}.hsr-ad-performance-legend{display:none}}


/* HSRA 1.4.68: simplified author dashboard — no graph, buyer details or sync indicator */
.hsr-ad-performance-panel,.sync-chip{display:none!important}


/* HSRA 1.4.77 Website-style author dashboard */
.hsr-portal-shell{min-height:100vh;background:#f6f7fb;color:#0f223d;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.hsr-portal-topnav{display:flex;align-items:center;gap:26px;padding:18px 28px;background:#fff;border-bottom:1px solid #e8eaf1;position:sticky;top:0;z-index:20}
.hsr-portal-logo{display:flex;align-items:center;gap:12px;min-width:180px}.hsr-portal-logo img{width:52px;height:52px;object-fit:contain}.hsr-portal-logo span{font-family:Georgia,serif;font-size:26px;line-height:1;color:#10284a}.hsr-portal-logo small{display:block;font-family:Inter,sans-serif;font-size:11px;letter-spacing:.14em;color:#4b5b72;margin-top:4px}
.hsr-portal-mainnav{display:flex;gap:18px;flex-wrap:wrap}.hsr-portal-mainnav a{color:#162a45;text-decoration:none;font-weight:500}
.hsr-portal-search{margin-left:auto;position:relative;display:flex;align-items:center}.hsr-portal-search input{width:310px;max-width:35vw;border:1px solid #dde2ec;border-radius:14px;padding:12px 42px 12px 16px;font-size:15px;background:#fafbfe}.hsr-portal-search span{position:absolute;right:14px;color:#97a0b1}
.hsr-portal-icons{display:flex;gap:18px;font-size:23px;color:#162a45}.hsr-portal-user{display:flex;align-items:center;gap:10px;font-weight:600;color:#162a45}.hsr-portal-user .avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#f3e8b1}
.hsr-portal-body{display:grid;grid-template-columns:250px 1fr;min-height:calc(100vh - 89px)}
.hsr-portal-sidebar{background:linear-gradient(180deg,#08264a 0%,#0b2f59 62%,#123960 100%);color:#fff;display:flex;flex-direction:column;justify-content:space-between;padding:24px 14px 0;position:relative;overflow:hidden}.hsr-portal-sidebar:after{content:'';position:absolute;left:-30px;right:-30px;bottom:-10px;height:210px;background:radial-gradient(circle at 30% 80%, rgba(253,213,142,.35), transparent 25%), linear-gradient(180deg, transparent, rgba(0,0,0,.14));pointer-events:none}
.hsr-portal-profile{display:flex;align-items:center;gap:12px;padding:10px 10px 20px}.hsr-portal-profile-avatar{display:grid;place-items:center;width:58px;height:58px;border-radius:50%;background:rgba(255,255,255,.14);font-size:28px}.hsr-portal-profile b{display:block;font-size:17px}.hsr-portal-profile span{display:block;color:rgba(255,255,255,.75);font-size:14px;margin-top:2px}
.hsr-portal-sidebar-top{display:flex;flex-direction:column;gap:8px;position:relative;z-index:2}.hsr-side-link{appearance:none;border:0;background:transparent;color:#fff;font-size:18px;line-height:1.2;padding:14px 16px;border-radius:12px;text-align:left;cursor:pointer;display:flex;align-items:center;gap:12px}.hsr-side-link.active{background:linear-gradient(90deg,#bf8e22,#d9ac3c);color:#fff;font-weight:600;box-shadow:0 8px 20px rgba(0,0,0,.18)}
.hsr-side-link:nth-child(2)::before{content:'⌂'}.hsr-side-link:nth-child(3)::before{content:'▣'}.hsr-side-link:nth-child(4)::before{content:'◫'}.hsr-side-link:nth-child(5)::before{content:'☰'}.hsr-side-link:nth-child(6)::before{content:'◧'}.hsr-side-link:nth-child(7)::before{content:'◌'}.hsr-side-link:nth-child(8)::before{content:'✎'}.hsr-side-link:nth-child(9)::before{content:'?'}.hsr-portal-sidebar-books{min-height:160px;position:relative;z-index:2;padding:0 8px 26px}.hsr-portal-sidebar-books img{width:84px;height:120px;object-fit:cover;border-radius:6px;box-shadow:0 18px 34px rgba(0,0,0,.28)}
.hsr-portal-main{padding:22px 22px 28px}.hsr-portal-pane{display:none}.hsr-portal-pane.active{display:block}.hsr-portal-pane-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:6px 0 16px}.hsr-portal-pane-head h1{font:700 54px/1.03 Georgia,serif;color:#132642;margin:0 0 10px}.hsr-portal-pane-head p{font-size:17px;color:#56667f;margin:0}.hsr-portal-pane-actions{display:flex;align-items:center;gap:18px}.hsr-portal-gold-btn{appearance:none;border:0;border-radius:10px;background:linear-gradient(135deg,#c99629,#dbb04c);color:#fff;padding:14px 24px;font-size:15px;font-weight:600;cursor:pointer}.hsr-portal-updated{display:flex;align-items:center;gap:12px;padding-left:18px;border-left:1px solid #ebedf4;color:#5f6e82}.hsr-portal-updated span{font-size:24px}.hsr-portal-updated small{display:block;font-size:13px}.hsr-portal-updated b{font-size:15px;color:#354960}
.hsr-portal-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}.metric-card{background:#fff;border-radius:18px;padding:26px 24px;display:flex;align-items:center;gap:18px;box-shadow:0 8px 24px rgba(18,35,66,.05)}.metric-card .metric-icon{display:grid;place-items:center;width:74px;height:74px;border-radius:50%;font-size:38px;font-weight:700}.metric-card small{display:block;color:#1f2f45;font-size:17px;margin-bottom:6px}.metric-card b{display:block;color:#10284a;font-size:24px;font-weight:800;margin-bottom:4px}.metric-card span{display:block;color:#616f83;font-size:14px}.metric-card.blue{background:#edf4ff}.metric-card.green{background:#effaf4}.metric-card.rose{background:#fff4f2}.metric-card.gold{background:#fff8e8}.metric-card.blue .metric-icon{background:#dce9ff;color:#2e6fe8}.metric-card.green .metric-icon{background:#d8f3e5;color:#1ca86a}.metric-card.rose .metric-icon{background:#fde2da;color:#e3622a}.metric-card.gold .metric-icon{background:#faebc5;color:#d69b0f}
.hsr-portal-grid{display:grid;gap:20px}.top-grid{grid-template-columns:1.65fr .9fr;margin-bottom:20px}.bottom-grid{grid-template-columns:1.55fr 1fr}.panel{background:#fff;border-radius:18px;box-shadow:0 8px 24px rgba(18,35,66,.05);padding:18px 20px}.panel.full-panel{padding:22px}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px}.panel-head h2{font-size:22px;color:#172941;margin:0}.panel-legend{display:flex;align-items:center;gap:18px;color:#5a6981;font-size:14px}.panel-legend select{border:1px solid #e0e5ef;border-radius:10px;padding:8px 12px;background:#fff}.bar-dot,.line-dot{display:inline-block;width:12px;height:12px;border-radius:50%;margin-right:8px;vertical-align:middle}.bar-dot{background:#164977}.line-dot{background:#e0a01c}
.combo-chart{position:relative;height:230px;padding:10px 8px 0}.combo-grid{position:absolute;inset:26px 0 32px 0;background:linear-gradient(to top, rgba(15,34,61,.06) 1px, transparent 1px);background-size:100% 20%}.combo-bars{position:absolute;left:0;right:0;bottom:0;top:20px;display:flex;align-items:flex-end;justify-content:space-around;gap:14px;padding:0 14px 0 8px}.combo-col{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%}.bar-wrap{flex:1;display:flex;align-items:flex-end;width:100%}.bar{width:58%;min-height:12px;border-radius:8px 8px 0 0;background:linear-gradient(180deg,#0f3b68,#194f80);box-shadow:0 8px 18px rgba(16,56,98,.16)}.axis-label{margin-top:8px;font-size:13px;color:#66768c;text-align:center}.combo-line{position:absolute;left:4%;right:4%;top:24px;bottom:34px;width:92%;height:calc(100% - 58px);overflow:visible;pointer-events:none}
.donut-wrap{display:flex;align-items:center;gap:22px;padding:14px 4px 4px}.donut{width:190px;height:190px;border-radius:50%;display:grid;place-items:center;margin:0 auto}.donut-hole{width:118px;height:118px;border-radius:50%;background:#fff;display:grid;place-items:center;text-align:center;box-shadow:inset 0 0 0 1px #edf0f6}.donut-hole b{display:block;font-size:22px;color:#132642}.donut-hole span{display:block;color:#617086;font-size:14px}.donut-legend{flex:1;display:grid;gap:16px}.donut-legend div{display:grid;grid-template-columns:16px 1fr auto;align-items:center;gap:10px;color:#24374f}.donut-legend .swatch{width:13px;height:13px;border-radius:50%}
.text-link{appearance:none;border:0;background:none;color:#2571ff;font-weight:600;cursor:pointer;padding:0}
.book-cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}.book-cards.full{grid-template-columns:repeat(auto-fill,minmax(190px,1fr))}.book-card img{width:100%;aspect-ratio:3/4.2;object-fit:cover;border-radius:8px;box-shadow:0 10px 18px rgba(21,42,72,.10);margin-bottom:12px}.book-card h3{font-size:15px;line-height:1.35;color:#172941;margin:0 0 8px}.book-card p{margin:0 0 6px;color:#5d6f87;font-size:14px}
.recent-orders,.orders-tab-list{display:flex;flex-direction:column;gap:12px}.recent-order-row{display:grid;grid-template-columns:50px 1fr auto auto;align-items:center;gap:12px;padding:8px 0;border-bottom:1px solid #eef1f6}.recent-order-row.large{grid-template-columns:1fr auto;padding:14px 0}.recent-order-row:last-child{border-bottom:0}.recent-order-row img{width:44px;height:56px;object-fit:cover;border-radius:6px}.recent-order-copy b{display:block;color:#172941;font-size:14px;margin-bottom:4px}.recent-order-copy small{display:block;color:#6a788c;font-size:13px;margin-top:2px}.recent-order-platform{color:#68788f;font-size:14px}.order-pill{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:7px 14px;font-size:13px;font-weight:600}.order-pill.delivered{background:#dff4e7;color:#198b56}.order-pill.in-transit{background:#e9f0ff;color:#2f69dd}.order-pill.cancelled{background:#fde7e5;color:#d54d4d}.order-pill.returned{background:#fff0e4;color:#d07a22}.order-pill.order-received{background:#eef5ff;color:#3f5da9}
.empty-inline,.empty-state-panel{padding:26px;color:#63738a}.empty-state-panel h3{margin:0 0 8px;color:#172941}
.hsr-sales-royalty-host .hsr-author-dashboard{padding:0;background:transparent}.hsr-sales-royalty-host .hsr-ad-top,.hsr-sales-royalty-host .hsr-ad-private-note{display:none}.hsr-sales-royalty-host .hsr-ad-summary{margin-top:0}.hsr-sales-royalty-host .hsr-ad-panel{box-shadow:0 8px 24px rgba(18,35,66,.05);border-color:#ebeff6}.hsr-sales-royalty-host .hsr-ad-calendar-panel,.hsr-sales-royalty-host .hsr-ad-monthwise-panel,.hsr-sales-royalty-host .hsr-ad-panel{background:#fff;border-radius:18px}.hsr-sales-royalty-host .hsr-ad-stat{box-shadow:0 8px 24px rgba(18,35,66,.05)}
@media (max-width:1380px){.hsr-portal-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.bottom-grid,.top-grid{grid-template-columns:1fr}.book-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:1080px){.hsr-portal-body{grid-template-columns:1fr}.hsr-portal-sidebar{display:none}.hsr-portal-topnav{flex-wrap:wrap}.hsr-portal-search{order:5;width:100%}.hsr-portal-search input{max-width:none;width:100%}.hsr-portal-pane-head{flex-direction:column}.book-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:720px){.hsr-portal-main{padding:14px}.hsr-portal-topnav{padding:14px 16px}.hsr-portal-mainnav{display:none}.hsr-portal-pane-head h1{font-size:34px}.hsr-portal-metrics{grid-template-columns:1fr}.book-cards,.book-cards.full{grid-template-columns:1fr}.recent-order-row{grid-template-columns:42px 1fr}.recent-order-platform{display:none}.panel-legend{flex-wrap:wrap}}


/* HSRA 1.4.78 fixes: compact headerless layout + report PDFs */
.hsr-portal-topnav{display:none!important}
.hsr-portal-body{min-height:100vh!important}
.hsr-portal-main{padding:18px 20px 24px!important}
.hsr-portal-pane-head{padding:0 0 12px!important;gap:12px!important}
.hsr-portal-pane-head h1{font-size:34px!important;line-height:1.05!important;max-width:none!important}
.hsr-portal-pane-head p{font-size:13px!important}
.hsr-portal-pane-actions{gap:14px!important}
.hsr-portal-gold-btn{padding:10px 18px!important;font-size:14px!important}.hsr-portal-gold-btn.small{padding:11px 16px!important;font-size:13px!important}
.hsr-portal-updated{padding-left:12px!important}.hsr-portal-updated b{font-size:14px!important}
.hsr-portal-metrics{gap:14px!important;margin-bottom:18px!important}.metric-card{padding:18px 18px!important;border-radius:16px!important}.metric-card .metric-icon{width:52px!important;height:52px!important;font-size:28px!important}.metric-card small{font-size:14px!important}.metric-card b{font-size:20px!important}.metric-card span{font-size:13px!important}
.hsr-portal-grid{gap:16px!important}.panel{padding:16px 18px!important;border-radius:16px!important}.panel-head h2{font-size:18px!important}.panel-legend{font-size:13px!important;gap:12px!important}
.combo-chart{height:190px!important;padding:6px 4px 0!important}.combo-grid{inset:22px 0 28px 0!important}.combo-bars{top:16px!important;padding:0 16px 0 12px!important;gap:8px!important}.bar{width:40%!important;min-height:4px!important;border-radius:6px 6px 0 0!important}.axis-label{font-size:12px!important;margin-top:6px!important}.combo-line{top:20px!important;bottom:28px!important}
.donut{width:170px!important;height:170px!important}.donut-hole{width:104px!important;height:104px!important}.donut-hole b{font-size:20px!important}.donut-legend{gap:12px!important}.donut-legend div{font-size:14px!important}
.book-cards{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px!important}.book-card h3{font-size:14px!important}.book-card p{font-size:13px!important}
.report-help{margin:0;color:#6b7990;font-size:13px}.hsr-report-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.report-card{border:1px solid #e8edf6;border-radius:16px;padding:18px;background:linear-gradient(180deg,#ffffff 0%,#fafcff 100%)}.report-card h3{margin:0 0 8px;font-size:18px;color:#152740}.report-card p{margin:0 0 14px;font-size:14px;color:#607088;line-height:1.5}.report-form{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:14px}.report-form label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:700;color:#2a3e59}.report-form select{width:100%;border:1px solid #d8dfeb;border-radius:12px;padding:11px 12px;background:#fff;font-size:14px;color:#172941}.report-actions{display:flex;justify-content:flex-start}
@media (max-width:1380px){.book-cards{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media (max-width:1080px){.report-form,.hsr-report-grid{grid-template-columns:1fr!important}.hsr-portal-pane-head h1{font-size:28px!important}.hsr-portal-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media (max-width:720px){.hsr-portal-main{padding:12px!important}.hsr-portal-pane-head h1{font-size:24px!important}.hsr-portal-metrics{grid-template-columns:1fr!important}.book-cards{grid-template-columns:1fr!important}.combo-chart{height:180px!important}}
