.plcc{--navy:#091733;--muted:#66728a;--line:#e7ebf2;--green:#059669;--blue:#1d72f3;--purple:#9333ea;--orange:#f97316;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--navy)}.plcc *{box-sizing:border-box}.plcc-shell{width:100%;max-width:1460px;margin:0 auto;background:rgba(255,255,255,.94);border-radius:22px;padding:48px;box-shadow:0 20px 60px rgba(18,35,70,.08);border:1px solid #f1f4f8}.plcc-head{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:34px}.plcc-head h2{margin:0;font-size:44px;line-height:1.05;font-weight:800;letter-spacing:-.04em;color:var(--navy)}.plcc-head p{margin:14px 0 0;font-size:20px;color:var(--muted);font-weight:500}.plcc-stat{display:flex;align-items:center;gap:14px;border:1px solid #dfe4ec;border-radius:16px;padding:18px 24px;min-width:300px;background:white}.plcc-stat span,.plcc-footer span{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;background:#e7f7ef;color:var(--green);flex:none}.plcc svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.plcc-stat strong{font-size:34px;color:var(--green);line-height:1}.plcc-stat b{display:block;font-size:16px}.plcc-stat em{display:block;font-style:normal;color:var(--muted);font-size:15px;margin-top:5px}.plcc-grid{display:grid;grid-template-columns:minmax(380px,.84fr) minmax(520px,1.2fr);gap:28px}.plcc-card{background:#fff;border:1px solid #e2e7ef;border-radius:16px;padding:28px}.plcc-card-head,.plcc-list-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.plcc-card h3{margin:0;font-size:23px;letter-spacing:-.02em}.plcc-nav{display:flex;border:1px solid #dce2eb;border-radius:10px;overflow:hidden}.plcc-nav button{width:50px;height:44px;border:0;background:white;font-size:34px;line-height:1;cursor:pointer;color:var(--navy)}.plcc-nav button+button{border-left:1px solid #dce2eb}.plcc-weekdays{display:grid;grid-template-columns:repeat(7,1fr);gap:8px;margin-top:46px;color:#707b94;font-size:13px;font-weight:800;text-align:center}.plcc-days{display:grid;grid-template-columns:repeat(7,1fr);gap:22px 8px;margin-top:28px}.plcc-day{height:38px;display:grid;place-items:center;font-size:18px;font-weight:700;border-radius:50%;margin:auto;position:relative}.plcc-day.muted{color:#9aa4b8}.plcc-day.has-event{width:42px}.plcc-day.income{background:linear-gradient(135deg,#00a76f,#057a55);color:#fff;box-shadow:0 8px 18px rgba(5,150,105,.28)}.plcc-day.gst{border:1.8px solid var(--blue);color:var(--blue);background:#fff}.plcc-day.pf{background:#ddb8fb;color:#3b155e}.plcc-day.pt{border:1.8px solid var(--orange);color:var(--orange);background:#fff}.plcc-legend{border-top:1px solid var(--line);display:flex;flex-wrap:wrap;gap:18px;margin-top:38px;padding-top:28px}.plcc-legend span{display:flex;align-items:center;gap:10px;background:#f6f7f9;border-radius:8px;padding:12px 16px;font-weight:600;color:#1d2a44}.plcc-legend i{width:9px;height:9px;border-radius:50%;display:block}.plcc-legend .income i{background:var(--green)}.plcc-legend .gst i{background:var(--blue)}.plcc-legend .pf i{background:var(--purple)}.plcc-legend .pt i{background:var(--orange)}.plcc-view-all{border:0;background:transparent;color:var(--green);font-weight:800;font-size:16px;cursor:pointer}.plcc-list{margin-top:24px;display:grid}.plcc-item{display:grid;grid-template-columns:72px 1fr 190px 120px;align-items:center;gap:14px;border:1px solid #edf0f5;border-radius:12px;padding:17px 18px;background:#fff;box-shadow:0 6px 18px rgba(10,30,65,.03)}.plcc-item+.plcc-item{margin-top:0}.plcc-icon{width:58px;height:58px;border-radius:50%;display:grid;place-items:center}.plcc-icon.income{background:#e8f7ef;color:var(--green)}.plcc-icon.gst{background:#e9f2ff;color:var(--blue)}.plcc-icon.pf{background:#f5eafa;color:var(--purple)}.plcc-icon.pt{background:#fff1e8;color:var(--orange)}.plcc-info b{display:block;font-size:19px;letter-spacing:-.02em}.plcc-info span{display:block;margin-top:7px;font-size:16px;font-weight:800}.plcc-info .income{color:var(--green)}.plcc-info .gst{color:var(--blue)}.plcc-info .pf{color:#c000c8}.plcc-info .pt{color:var(--orange)}.plcc-date{display:grid;grid-template-columns:24px 1fr;gap:10px;color:#56627a}.plcc-date b{color:#1c2942}.plcc-date em{font-style:normal;grid-column:2}.plcc-badge{justify-self:end;border-radius:7px;padding:10px 13px;font-weight:800}.plcc-badge.income{background:#dff3e9;color:var(--green)}.plcc-badge.gst{background:#e6f1ff;color:#1268d9}.plcc-badge.pf{background:#f0e3fb;color:var(--purple)}.plcc-badge.pt{background:#fff0e6;color:var(--orange)}.plcc-footer{margin-top:24px;border:1px solid #e2e7ef;border-radius:14px;padding:20px 26px;display:flex;align-items:center;justify-content:space-between;gap:18px}.plcc-footer>div{display:flex;align-items:center;gap:20px}.plcc-footer b{font-size:17px}.plcc-footer p{margin:8px 0 0;color:var(--muted)}.plcc-subscribe{display:inline-flex;align-items:center;gap:10px;text-decoration:none;background:#dff3e9;color:#08794f;font-weight:800;border-radius:8px;padding:14px 20px}.plcc-subscribe svg{width:18px;height:18px}.plcc-empty{padding:40px 0;color:var(--muted);font-weight:700;text-align:center}@media(max-width:1050px){.plcc-shell{padding:28px}.plcc-head{flex-direction:column}.plcc-stat{width:100%;min-width:0}.plcc-grid{grid-template-columns:1fr}.plcc-item{grid-template-columns:64px 1fr;gap:12px}.plcc-date{grid-column:2}.plcc-badge{grid-column:2;justify-self:start}.plcc-head h2{font-size:36px}}@media(max-width:620px){.plcc-shell{padding:18px;border-radius:16px}.plcc-card{padding:18px}.plcc-head h2{font-size:30px}.plcc-head p{font-size:16px}.plcc-stat{padding:14px}.plcc-weekdays{font-size:11px;margin-top:28px}.plcc-days{gap:14px 2px}.plcc-day{font-size:15px;height:32px}.plcc-day.has-event{width:34px}.plcc-legend{gap:8px}.plcc-legend span{padding:9px 10px;font-size:13px}.plcc-item{padding:14px;grid-template-columns:50px 1fr}.plcc-icon{width:46px;height:46px}.plcc-info b{font-size:16px}.plcc-info span{font-size:14px}.plcc-footer{flex-direction:column;align-items:flex-start;padding:16px}.plcc-subscribe{width:100%;justify-content:center}.plcc-card h3{font-size:19px}}

/* Full-screen fit layout: visual-only overrides. */
.plcc{
  width:100%;
  height:auto;

  overflow:hidden;
}
.plcc-shell{
  width:100%;
  max-width:none;
  height:auto;
  margin:0;
  padding:clamp(14px,2.2vh,24px) clamp(14px,2vw,28px);
  border-radius:0;
  display:flex;
  flex-direction:column;
  overflow:hidden;
}
.plcc-head{
  flex:none;
  align-items:center;
  gap:18px;
  margin-bottom:clamp(10px,1.6vh,18px);
}
.plcc-head h2{font-size:clamp(28px,2.4vw,38px);line-height:1}
.plcc-head p{margin:7px 0 0;font-size:clamp(14px,1.15vw,17px)}
.plcc-stat{
  gap:10px;
  min-width:230px;
  padding:10px 16px;
  border-radius:12px;
}
.plcc-stat span,.plcc-footer span{width:42px;height:42px}
.plcc-stat strong{font-size:28px}
.plcc-stat b{font-size:14px}
.plcc-stat em{font-size:13px;margin-top:2px}
.plcc-grid{
  flex:1;
  min-height:0;
  grid-template-columns:minmax(300px,.78fr) minmax(0,1.22fr);
  gap:clamp(12px,1.4vw,20px);
}
.plcc-card{
  min-height:0;
  height:100%;
  padding:clamp(14px,1.7vh,20px);
  border-radius:14px;
  overflow:hidden;
}
.plcc-calendar-card,.plcc-list-card{display:flex;flex-direction:column}
.plcc-card h3{font-size:clamp(18px,1.35vw,22px)}
.plcc-nav{border-radius:8px}
.plcc-nav button{width:42px;height:36px;font-size:28px}
.plcc-weekdays{
  flex:none;
  gap:4px;
  margin-top:clamp(14px,2.2vh,24px);
  font-size:11px;
}
.plcc-days{
  flex:1;
  min-height:0;
  grid-template-rows:repeat(6,minmax(0,1fr));
  gap:4px;
  margin-top:clamp(10px,1.6vh,16px);
}
.plcc-day{
  width:34px;
  height:34px;
  max-width:100%;
  max-height:100%;
  font-size:clamp(13px,1vw,16px);
}
.plcc-day.has-event{width:36px}
.plcc-legend{
  flex:none;
  gap:7px;
  margin-top:clamp(10px,1.5vh,16px);
  padding-top:clamp(9px,1.4vh,14px);
}
.plcc-legend span{
  gap:7px;
  padding:7px 10px;
  border-radius:7px;
  font-size:12px;
  line-height:1.1;
}
.plcc-list-head{flex:none}
.plcc-list{
  flex:1;
  min-height:0;
  margin-top:clamp(9px,1.2vh,14px);
  grid-template-rows:repeat(6,minmax(0,1fr));
  gap:6px;
  overflow:hidden;
}
.plcc-item{
  min-height:0;
  height:100%;
  grid-template-columns:48px minmax(0,1fr) minmax(145px,175px) 100px;
  gap:10px;
  padding:8px 12px;
  border-radius:10px;
  overflow:hidden;
}
.plcc-icon{width:42px;height:42px}
.plcc-icon svg{width:20px;height:20px}
.plcc-info{min-width:0}
.plcc-info b{
  font-size:clamp(14px,1.1vw,17px);
  line-height:1.15;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.plcc-info span{margin-top:3px;font-size:12px}
.plcc-date{
  grid-template-columns:18px minmax(0,1fr);
  gap:6px;
  font-size:12px;
  line-height:1.15;
}
.plcc-date svg{width:17px;height:17px}
.plcc-date b{white-space:nowrap}
.plcc-date em{margin-top:2px}
.plcc-badge{padding:7px 9px;border-radius:6px;font-size:12px}
.plcc-empty{margin:auto;padding:16px 0;font-size:14px}

@media(max-width:1050px) and (min-width:701px){
  .plcc-shell{padding:14px 16px}
  .plcc-head{flex-direction:row}
  .plcc-stat{width:auto;min-width:205px}
  .plcc-grid{grid-template-columns:minmax(270px,.82fr) minmax(0,1.18fr);gap:12px}
  .plcc-item{grid-template-columns:42px minmax(0,1fr) minmax(125px,150px) 88px;gap:8px;padding:7px 9px}
  .plcc-date{grid-column:auto}
  .plcc-badge{grid-column:auto;justify-self:end}
  .plcc-head h2{font-size:30px}
}

@media(max-width:700px){
  .plcc-shell{padding:10px 12px;border-radius:0}
  .plcc-head{flex:none;flex-direction:row;align-items:center;margin-bottom:8px;gap:10px}
  .plcc-head h2{font-size:22px}
  .plcc-head p{display:none}
  .plcc-stat{width:auto;min-width:0;margin-left:auto;padding:7px 9px;gap:7px}
  .plcc-stat span{width:32px;height:32px}
  .plcc-stat span svg{width:18px;height:18px}
  .plcc-stat strong{font-size:20px}
  .plcc-stat b{font-size:11px}
  .plcc-stat em{display:none}
  .plcc-grid{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) minmax(0,1fr);gap:8px}
  .plcc-card{padding:10px 12px;border-radius:10px}
  .plcc-card h3{font-size:16px}
  .plcc-nav button{width:34px;height:28px;font-size:22px}
  .plcc-weekdays{margin-top:8px;font-size:9px}
  .plcc-days{margin-top:5px;gap:1px}
  .plcc-day{width:25px;height:25px;font-size:11px}
  .plcc-day.has-event{width:27px}
  .plcc-legend{gap:4px;margin-top:5px;padding-top:5px}
  .plcc-legend span{padding:4px 6px;font-size:9px;gap:4px}
  .plcc-legend i{width:6px;height:6px}
  .plcc-list{margin-top:6px;gap:3px}
  .plcc-item{grid-template-columns:32px minmax(0,1fr) 88px;grid-template-rows:1fr;gap:6px;padding:4px 6px}
  .plcc-icon{width:28px;height:28px}
  .plcc-icon svg{width:15px;height:15px}
  .plcc-info b{font-size:11px}
  .plcc-info span{margin-top:1px;font-size:9px}
  .plcc-date{grid-column:auto;grid-template-columns:13px 1fr;gap:3px;font-size:9px}
  .plcc-date svg{width:12px;height:12px}
  .plcc-date em{grid-column:2;margin-top:0}
  .plcc-badge{display:none}
}

@media(max-height:700px) and (min-width:701px){
  .plcc-shell{padding-top:10px;padding-bottom:10px}
  .plcc-head{margin-bottom:8px}
  .plcc-head h2{font-size:26px}
  .plcc-head p{margin-top:4px;font-size:13px}
  .plcc-stat{padding:7px 12px}
  .plcc-stat span{width:34px;height:34px}
  .plcc-stat strong{font-size:23px}
  .plcc-card{padding:11px 14px}
  .plcc-weekdays{margin-top:10px}
  .plcc-days{margin-top:6px;gap:1px}
  .plcc-day{width:28px;height:28px;font-size:12px}
  .plcc-day.has-event{width:30px}
  .plcc-legend{margin-top:6px;padding-top:6px}
  .plcc-legend span{padding:5px 7px;font-size:10px}
  .plcc-list{margin-top:7px;gap:3px}
  .plcc-item{grid-template-columns:38px minmax(0,1fr) minmax(125px,150px) 82px;padding:4px 8px}
  .plcc-icon{width:32px;height:32px}
  .plcc-info b{font-size:13px}
  .plcc-info span{font-size:10px}
  .plcc-date{font-size:10px}
  .plcc-badge{padding:5px 7px;font-size:10px}
}

/* Desktop width + navigation centering adjustment only. */
@media(min-width:1051px){
  .plcc-shell{
    width:100%;
    max-width:1440px;
    margin-left:auto;
    margin-right:auto;
    padding-left:30px;
    padding-right:30px;
  }
}
.plcc-nav button{
  display:grid;
  place-items:center;
  padding:0;
  font-size:0;
  line-height:0;
}
.plcc-nav button::before{
  content:"";
  display:block;
  width:9px;
  height:9px;
  border:solid currentColor;
  border-width:0 2px 2px 0;
  transform-origin:center;
}
.plcc-nav button[data-dir="-1"]::before{transform:rotate(135deg)}
.plcc-nav button[data-dir="1"]::before{transform:rotate(-45deg)}

/* Large-desktop calendar spacing + exact nav icon centering only. */
@media(min-width:1051px){
  .plcc-days{
    flex:0 0 auto;
    height:clamp(360px,42vh,455px);
    grid-template-rows:repeat(6,minmax(0,1fr));
    row-gap:0;
  }
  .plcc-legend{
    margin-top:auto;
  }
}

.plcc-nav button{
  position:relative;
  display:block;
  padding:0;
  font-size:0;
  line-height:0;
}
.plcc-nav button::before{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:8px;
  height:8px;
  border:solid currentColor;
  border-width:2px 2px 0 0;
  margin:0;
  transform-origin:50% 50%;
}
.plcc-nav button[data-dir="-1"]::before{
  transform:translate(-42%,-50%) rotate(-135deg);
}
.plcc-nav button[data-dir="1"]::before{
  transform:translate(-58%,-50%) rotate(45deg);
}

/* Mobile responsiveness fix only: natural card heights + fitted event content. */
@media(max-width:700px){
  .plcc,
  .plcc-shell{
    height:auto;
    min-height:0;
  }

  .plcc-shell{
    overflow:visible;
  }

  .plcc-grid{
    flex:none;
    height:auto;
    min-height:0;
    grid-template-columns:1fr;
    grid-template-rows:auto auto;
    align-items:start;
  }

  .plcc-card,
  .plcc-calendar-card,
  .plcc-list-card{
    height:auto;
    min-height:0;
  }

  .plcc-calendar-card,
  .plcc-list-card{
    align-self:start;
  }

  /* Keep the calendar compact instead of stretching to available height. */
  .plcc-days{
    flex:none;
    height:auto;
    min-height:0;
    grid-template-rows:repeat(6,27px);
    row-gap:2px;
  }

  /* Event dates stay perfectly circular on phones. */
  .plcc-day.has-event{
    width:27px;
    height:27px;
  }

  /* Upcoming list grows only with the number of actual events. */
  .plcc-list{
    flex:none;
    height:auto;
    min-height:0;
    grid-template-rows:none;
    grid-auto-rows:auto;
    overflow:visible;
  }

  .plcc-item{
    height:auto;
    min-height:44px;
    grid-template-columns:28px minmax(0,1fr) minmax(84px,auto);
    grid-template-rows:auto;
    align-items:center;
    overflow:visible;
  }

  .plcc-info{
    min-width:0;
  }

  .plcc-info b{
    white-space:normal;
    overflow:visible;
    text-overflow:clip;
    line-height:1.12;
    overflow-wrap:anywhere;
  }

  .plcc-date{
    min-width:0;
    grid-template-columns:11px minmax(0,1fr);
    gap:2px;
    font-size:8.5px;
    line-height:1.1;
  }

  .plcc-date svg{
    width:10px;
    height:10px;
  }

  .plcc-date b{
    min-width:0;
    white-space:nowrap;
    font-size:8.5px;
  }

  .plcc-date em{
    white-space:nowrap;
  }

  /* Do not cut the "This Month" text in the mobile summary. */
  .plcc-stat em{
    display:block;
    margin-top:1px;
    font-size:8px;
    line-height:1;
    white-space:nowrap;
  }

  .plcc-stat > div{
    min-width:0;
  }

  .plcc-stat b{
    white-space:nowrap;
    line-height:1.05;
  }
}

@media(max-width:360px){
  .plcc-head{
    gap:6px;
  }

  .plcc-head h2{
    font-size:20px;
  }

  .plcc-stat{
    padding:6px 7px;
    gap:5px;
  }

  .plcc-stat span{
    width:28px;
    height:28px;
  }

  .plcc-stat strong{
    font-size:18px;
  }

  .plcc-stat b{
    font-size:10px;
  }

  .plcc-item{
    grid-template-columns:27px minmax(0,1fr) minmax(78px,auto);
    gap:5px;
  }

  .plcc-date,
  .plcc-date b{
    font-size:8px;
  }
}
