#recording-calendar.panel { display:grid; gap:18px; max-width:100%; padding:0; border:0; border-radius:0; background:none; box-shadow:none; backdrop-filter:none; }
.calendar-hero { position:relative; display:flex; min-height:180px; padding:clamp(24px,3vw,38px); overflow:hidden; border:1px solid #9a43d4; border-radius:24px; background:radial-gradient(circle at 85% 10%,#8a18e345,transparent 36%),linear-gradient(120deg,#241037,#101328 70%); box-shadow:0 0 26px #8100ff2c,inset 0 1px #ffffff16; }
.calendar-hero__copy { position:relative; z-index:1; max-width:700px; }
.calendar-eyebrow { margin:0 0 10px; color:#c6ff00; font-family:var(--font-mono),monospace; font-size:.72rem; font-weight:700; letter-spacing:.16em; text-transform:uppercase; }
#recording-calendar h1 { margin:0 0 12px; font-size:clamp(1.85rem,3.2vw,3rem); line-height:1.08; letter-spacing:-.055em; }
.calendar-intro { max-width:58ch; margin:0; color:#d3d8ed; line-height:1.55; }
.calendar-hero__mark { position:absolute; right:6%; top:-85px; display:flex; align-items:center; gap:14px; height:320px; transform:rotate(-25deg); opacity:.65; }
.calendar-hero__mark span { display:block; width:29px; height:170px; border-radius:50px; background:linear-gradient(#d0ff00,#28e853); box-shadow:0 0 26px #a5ff2e80; }
.calendar-hero__mark span:first-child { height:105px; background:linear-gradient(#5125ff,#b055ff); box-shadow:0 0 24px #8d39ff9e; }
.calendar-hero__mark span:last-child { height:215px; background:linear-gradient(#ffad17,#ff5720); box-shadow:0 0 29px #ff802375; }
.calendar-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); overflow:hidden; border:1px solid #70428c; border-radius:18px; background:#101226d9; }
.calendar-stat { display:grid; gap:4px; min-width:0; padding:17px 22px; }
.calendar-stat+.calendar-stat { border-left:1px solid #513360; }
.calendar-stat__value { color:#fff; font-size:clamp(1.4rem,2vw,1.9rem); line-height:1.1; letter-spacing:-.05em; overflow-wrap:anywhere; }
.calendar-stat:first-child .calendar-stat__value { color:#c6ff00; }
.calendar-stat:nth-child(2) .calendar-stat__value { color:#ffac29; }
.calendar-stat__label { color:#bfc7df; font-size:.82rem; }
.calendar-layout { display:grid; grid-template-columns:minmax(0,1.7fr) minmax(290px,1fr); align-items:start; gap:18px; min-width:0; }
.calendar-month-panel,.calendar-day { min-width:0; border:1px solid #73469e; border-radius:22px; background:linear-gradient(155deg,#16132be8,#0b1022eb); box-shadow:0 0 22px #8100ff1a,inset 0 1px #ffffff10; }
.calendar-month-panel { padding:22px; }
.calendar-controls { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:20px; }
.calendar-month-navigation { display:flex; align-items:center; gap:9px; min-width:0; }
.calendar-month { min-width:170px; margin:0; text-align:center; font-size:clamp(1.15rem,1.6vw,1.45rem); white-space:nowrap; }
.calendar-icon-button,.calendar-today { display:grid; place-items:center; min-width:44px; min-height:44px; border:1px solid #8c54ad; border-radius:14px; background:#29163b; color:#fff; font:inherit; cursor:pointer; }
.calendar-icon-button { font-size:1.7rem; line-height:1; }
.calendar-today { padding:0 15px; font-size:.83rem; font-weight:700; }
.calendar-icon-button:hover,.calendar-today:hover { border-color:#c6ff00; background:#362050; }
.calendar-icon-button:disabled,.calendar-today:disabled { opacity:.5; cursor:wait; }
.calendar-weekdays,.calendar-grid { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:5px; }
.calendar-weekdays { margin-bottom:7px; }
.calendar-weekdays span { padding:5px 0; text-align:center; color:#bdc5da; font-size:.75rem; font-weight:700; }
.calendar-date,.calendar-blank { min-width:0; height:clamp(66px,6.4vw,88px); }
.calendar-date { position:relative; display:flex; align-items:flex-start; padding:10px; border:1px solid transparent; border-radius:12px; background:#ffffff08; color:#aab4ca; font:inherit; font-weight:700; cursor:pointer; transition:background .16s ease,border-color .16s ease,box-shadow .16s ease; }
.calendar-date:hover { background:#58367458; border-color:#9163b3; }
.calendar-date--active { border-color:#a147c5; background:linear-gradient(145deg,#351948,#211b35); color:#fff; }
.calendar-date--active:hover { border-color:#ffac29; background:#42224a; }
.calendar-date[aria-pressed="true"] { border-color:#c6ff00; box-shadow:inset 0 0 0 1px #c6ff00,0 0 15px #baff0032; }
.calendar-date--today .calendar-date-number { display:grid; place-items:center; width:24px; height:24px; margin:-3px; border-radius:50%; background:#ff9c24; color:#211000; }
.calendar-date-signal { position:absolute; left:10px; bottom:12px; width:30%; height:4px; border-radius:8px; background:linear-gradient(90deg,#9d40ff,#ff8723); box-shadow:0 0 10px #c75bff66; }
.calendar-date[data-activity="2"] .calendar-date-signal { width:52%; }
.calendar-date[data-activity="3"] .calendar-date-signal { width:72%; }
.calendar-date-count { position:absolute; right:9px; bottom:8px; color:#ffb850; font-family:var(--font-mono),monospace; font-size:.78rem; }
.calendar-date:focus-visible,.calendar-controls button:focus-visible,.calendar-recording:focus-visible { outline:3px solid #c6ff00; outline-offset:2px; }
.calendar-day { min-height:390px; padding:25px 23px; border-color:#b55863; background:radial-gradient(circle at 100% 0,#ff851123,transparent 50%),linear-gradient(160deg,#221426,#0b1022 75%); scroll-margin-top:112px; }
.calendar-day-title { margin:0 0 6px; font-size:clamp(1.3rem,2vw,1.65rem); line-height:1.25; }
.calendar-day-count { margin:0 0 20px; color:#ffb14b; font-size:.85rem; font-weight:700; }
.calendar-recordings { display:grid; gap:8px; }
.calendar-recording { display:flex; align-items:center; justify-content:space-between; gap:12px; min-width:0; width:100%; min-height:70px; padding:12px 14px; border:1px solid #554066; border-radius:13px; background:#130f22bd; color:#fff; font:inherit; text-align:left; cursor:pointer; }
.calendar-recording:hover { border-color:#ffac29; background:#241630; }
.calendar-recording-copy { display:grid; gap:4px; min-width:0; overflow-wrap:anywhere; }
.calendar-recording-copy strong { font-size:.91rem; }
.calendar-recording-copy span { color:#bfc8dd; font-size:.76rem; line-height:1.35; }
.calendar-recording-arrow { display:grid; place-items:center; flex:0 0 30px; width:30px; height:30px; border-radius:50%; background:#ffac29; color:#241100; font-weight:800; }
.calendar-empty { display:grid; justify-items:start; gap:7px; padding:28px 4px; color:#c9d2e7; }
.calendar-empty__glyph { display:grid; place-items:center; width:44px; height:44px; margin-bottom:6px; border:1px solid #b7ff0059; border-radius:50%; background:#aaff0016; color:#c6ff00; font-size:1.4rem; }
.calendar-empty h3 { margin:0; color:#fff; font-size:1.13rem; }
.calendar-empty p { max-width:34ch; margin:0; line-height:1.5; }
.calendar-error { color:#ffb4a8; }
@media(max-width:960px) { .calendar-layout { grid-template-columns:1fr; } .calendar-day { min-height:0; } }
@media(max-width:620px) {
  #recording-calendar.panel { gap:14px; }
  .calendar-hero { min-height:0; padding:24px 20px; }
  .calendar-hero__copy { padding-right:18px; }
  .calendar-hero__mark { right:-30px; opacity:.23; }
  #recording-calendar h1 { font-size:clamp(1.75rem,8vw,2.4rem); }
  .calendar-intro { font-size:.89rem; }
  .calendar-stat { padding:13px 11px; }
  .calendar-stat__value { font-size:1.2rem; }
  .calendar-stat__label { font-size:.68rem; line-height:1.25; }
  .calendar-layout { gap:14px; }
  .calendar-month-panel,.calendar-day { padding:17px 13px; border-radius:18px; }
  .calendar-controls { gap:8px; }
  .calendar-month-navigation { gap:3px; }
  .calendar-month { min-width:0; font-size:1.02rem; }
  .calendar-icon-button { min-width:36px; min-height:40px; border-radius:11px; }
  .calendar-today { min-width:44px; min-height:40px; padding:0 10px; }
  .calendar-weekdays,.calendar-grid { gap:3px; }
  .calendar-weekdays span { font-size:.63rem; }
  .calendar-date,.calendar-blank { height:clamp(46px,13vw,59px); }
  .calendar-date { padding:6px; border-radius:8px; font-size:.82rem; }
  .calendar-date-signal { left:6px; bottom:8px; height:3px; }
  .calendar-date-count { right:5px; bottom:3px; font-size:.64rem; }
  .calendar-date--today .calendar-date-number { width:21px; height:21px; margin:-3px; }
}
@media(prefers-reduced-motion:reduce) { .calendar-date { transition:none; } }

/* Recording calendar reference layout. */
body[data-current-app-view="calendar"] #main-content.shell { width:min(1360px,calc(100% - 8vw)); padding-top:30px; padding-bottom:28px; }
body[data-current-app-view="calendar"] .site-footer { display:none; }
#recording-calendar.panel { gap:18px; }
.calendar-hero { min-height:118px; margin:0 40px; padding:0; align-items:center; border:0; border-radius:0; overflow:visible; background:none; box-shadow:none; }
.calendar-hero__copy { max-width:850px; }
.calendar-eyebrow { margin-bottom:10px; font-family:inherit; font-size:.91rem; letter-spacing:.11em; }
#recording-calendar h1 { margin:0 0 6px; font-size:clamp(2.5rem,3.4vw,3.15rem); letter-spacing:-.035em; }
.calendar-intro { max-width:none; color:#eee8f4; font-size:1.22rem; line-height:1.4; }
.calendar-hero__mark { right:18px; top:9px; height:96px; gap:9px; transform:rotate(-25deg); opacity:1; }
.calendar-hero__mark span { width:20px; height:85px; box-shadow:none; }
.calendar-hero__mark span:first-child { height:50px; box-shadow:none; }
.calendar-hero__mark span:last-child { height:100px; box-shadow:none; }
.calendar-stats { min-height:92px; border-color:#775089; border-radius:17px; background:linear-gradient(110deg,#271a32eb,#17182ce8); }
.calendar-stat { position:relative; align-content:center; gap:0; padding:12px 40px; }
.calendar-stat+.calendar-stat { border:0; }
.calendar-stat+.calendar-stat::before { content:""; position:absolute; left:0; top:17px; bottom:17px; width:1px; background:#815f93; }
.calendar-stat__value { font-size:2.25rem; line-height:1.07; letter-spacing:-.035em; }
.calendar-stat__label { color:#f1eaf4; font-size:1.03rem; }
.calendar-layout { grid-template-columns:minmax(0,1.66fr) minmax(0,1fr); align-items:stretch; gap:18px; }
.calendar-month-panel,.calendar-day { border-color:#80539d; border-radius:22px; background:linear-gradient(150deg,#251a36f5,#131226f7 78%); box-shadow:inset 0 1px #ffffff12; }
.calendar-month-panel { display:flex; flex-direction:column; min-height:650px; padding:28px; }
.calendar-controls { margin-bottom:23px; }
.calendar-month-navigation { gap:20px; }
.calendar-month { min-width:206px; font-size:1.82rem; font-weight:800; letter-spacing:-.025em; }
.calendar-icon-button,.calendar-today { min-width:54px; min-height:48px; border-color:#a56cbc; border-radius:12px; background:#2c1b3d; box-shadow:inset 0 1px #ffffff12; }
.calendar-today { min-width:100px; padding:0 18px; font-size:1rem; }
.calendar-weekdays,.calendar-grid { gap:6px; }
.calendar-weekdays { margin-bottom:9px; }
.calendar-weekdays span { color:#e9ddf0; font-size:1rem; }
.calendar-date,.calendar-blank { height:82px; border-radius:12px; }
.calendar-date,.calendar-blank { border:1px solid #38334b; background:linear-gradient(145deg,#26243b,#1d1d32); }
.calendar-date { padding:9px 10px; color:#f9f5ff; font-size:1.48rem; line-height:1; }
.calendar-date--active { border-color:#9250a9; background:linear-gradient(145deg,#532957,#301b44); }
.calendar-date[data-activity="2"],.calendar-date[data-activity="3"] { background:linear-gradient(145deg,#63306a,#371d4b); }
.calendar-date[aria-pressed="true"] { border:2px solid #d3ff00; box-shadow:0 0 0 1px #d3ff0070,0 0 15px #c6ff0033; }
.calendar-date[aria-pressed="true"] .calendar-date-number { width:auto; height:auto; margin:0; background:none; color:#fff; }
.calendar-date[aria-pressed="true"]::after { content:""; position:absolute; right:10px; top:9px; width:13px; height:13px; border-radius:50%; background:#c6ff00; box-shadow:0 0 10px #c6ff00a0; }
.calendar-date-signal { left:12px; bottom:10px; width:64%; height:8px; background:linear-gradient(90deg,#b353f5 5%,#ffab27 90%); box-shadow:none; }
.calendar-date[data-activity="2"] .calendar-date-signal,.calendar-date[data-activity="3"] .calendar-date-signal { width:72%; }
.calendar-date-count { display:none; }
.calendar-legend { display:flex; align-items:center; gap:40px; margin-top:auto; padding:20px 12px 0; border-top:1px solid #5c4769; color:#f4eaf8; font-size:1rem; }
.calendar-legend__item { display:inline-flex; align-items:center; gap:11px; }
.calendar-legend__dot { width:16px; height:16px; border-radius:50%; background:#bc65e5; }
.calendar-legend__selected { width:22px; height:22px; border:2px solid #c6ff00; border-radius:5px; }
.calendar-day { display:flex; flex-direction:column; min-height:650px; padding:33px 36px; border-color:#845492; background:radial-gradient(circle at 75% 12%,#5c235146,transparent 57%),linear-gradient(150deg,#291735,#111329 85%); }
.calendar-day-title { margin:0; font-size:clamp(1.7rem,2.45vw,2.3rem); line-height:1.18; letter-spacing:-.025em; }
.calendar-day-count { align-self:flex-start; margin:14px 0 20px; padding:9px 20px; border-radius:10px; background:#6f3282; color:#fff; font-size:1.03rem; }
.calendar-recordings { gap:12px; }
.calendar-recording { display:grid; grid-template-columns:minmax(0,1fr); justify-content:stretch; gap:22px; min-height:208px; padding:21px; border-color:#a46abb; border-radius:17px; background:linear-gradient(140deg,#211831e8,#151225d9); }
.calendar-recording:hover { border-color:#e0a84d; background:linear-gradient(140deg,#2a1b3c,#1c142d); }
.calendar-recording__top { display:flex; align-items:flex-start; gap:20px; min-width:0; }
.calendar-recording__icon { display:grid; place-items:center; flex:0 0 68px; height:68px; border-radius:16px; background:linear-gradient(140deg,#73377e,#472454); color:#fff; }
.calendar-recording__icon svg { width:34px; height:34px; }
.calendar-recording-copy { gap:3px; }
.calendar-recording-copy strong { font-size:1.35rem; line-height:1.25; }
.calendar-recording-copy span { color:#ece1f4; font-size:1rem; line-height:1.35; }
.calendar-recording__action { display:flex; align-items:center; justify-content:center; position:relative; width:100%; min-height:55px; border-radius:12px; background:linear-gradient(120deg,#ffb329,#ffad27); color:#130e0b; font-size:1.15rem; font-weight:800; }
.calendar-recording-arrow { position:absolute; right:17px; top:50%; transform:translateY(-50%); width:auto; height:auto; border-radius:0; background:none; color:#1b0d00; font-size:1.7rem; }
.calendar-help { display:flex; gap:24px; margin-top:42px; padding-top:32px; border-top:1px solid #845a95; }
.calendar-help__icon { flex:0 0 45px; color:#e3b8f7; }
.calendar-help__icon svg { width:45px; height:45px; }
.calendar-help__copy { display:grid; gap:4px; min-width:0; }
.calendar-help__copy strong { font-size:1.17rem; line-height:1.35; }
.calendar-help__copy p { margin:0; color:#e4d8eb; font-size:.94rem; line-height:1.45; }
.calendar-sync-link { display:inline-flex; align-items:center; gap:14px; width:max-content; margin-top:15px; color:#e8b7f9; font-size:1.02rem; font-weight:700; text-decoration:none; }
.calendar-sync-link svg { width:24px; height:24px; }
.calendar-sync-link:hover,.calendar-sync-link:focus-visible { color:#c6ff00; text-decoration:underline; }
.calendar-page-note { display:flex; align-items:baseline; flex-wrap:wrap; gap:18px; margin:12px 8px 0; color:#e2d5e9; font-size:1rem; }
.calendar-page-note strong { color:#fff; font-size:1.12rem; }
.calendar-empty { padding:18px 4px; }
@media(max-width:960px) { .calendar-layout { grid-template-columns:1fr; } .calendar-day { min-height:0; } .calendar-month-panel { min-height:0; } .calendar-legend { margin-top:20px; } }
@media(max-width:620px) {
  body[data-current-app-view="calendar"] #main-content.shell { width:calc(100% - 28px); padding-top:18px; }
  .calendar-hero { min-height:136px; margin:0 7px; align-items:flex-start; }
  .calendar-hero__copy { padding-right:42px; }
  .calendar-hero__mark { right:0; top:14px; transform:rotate(-25deg) scale(.55); transform-origin:top right; opacity:.7; }
  #recording-calendar h1 { font-size:clamp(1.9rem,7vw,2.5rem); }
  .calendar-intro { font-size:.9rem; }
  .calendar-stats { min-height:76px; }
  .calendar-stat { padding:10px 9px; }
  .calendar-stat+.calendar-stat::before { top:11px; bottom:11px; }
  .calendar-stat__value { font-size:1.2rem; }
  .calendar-stat__label { font-size:.66rem; }
  .calendar-month-panel,.calendar-day { padding:18px 13px; }
  .calendar-month-navigation { gap:5px; }
  .calendar-month { min-width:0; font-size:1.12rem; }
  .calendar-icon-button { min-width:37px; min-height:41px; }
  .calendar-today { min-width:58px; min-height:41px; padding:0 9px; font-size:.78rem; }
  .calendar-weekdays span { font-size:.72rem; }
  .calendar-date,.calendar-blank { height:clamp(44px,12vw,64px); border-radius:8px; }
  .calendar-date { padding:6px; font-size:.89rem; }
  .calendar-date-signal { left:6px; bottom:7px; height:5px; }
  .calendar-date[aria-pressed="true"]::after { right:5px; top:5px; width:8px; height:8px; }
  .calendar-legend { gap:18px; padding:14px 3px 0; font-size:.78rem; }
  .calendar-legend__item { gap:6px; }
  .calendar-legend__dot { width:12px; height:12px; }
  .calendar-legend__selected { width:17px; height:17px; }
  .calendar-day { min-height:0; }
  .calendar-day-title { font-size:1.55rem; }
  .calendar-recording { min-height:0; padding:15px; }
  .calendar-recording__top { gap:12px; }
  .calendar-recording__icon { flex-basis:52px; height:52px; }
  .calendar-recording__icon svg { width:27px; height:27px; }
  .calendar-recording-copy strong { font-size:1.06rem; }
  .calendar-recording-copy span { font-size:.84rem; }
  .calendar-help { gap:14px; margin-top:28px; padding-top:22px; }
  .calendar-help__icon,.calendar-help__icon svg { width:33px; height:33px; }
  .calendar-help__icon { flex-basis:33px; }
  .calendar-help__copy strong { font-size:1rem; }
  .calendar-help__copy p,.calendar-sync-link { font-size:.85rem; }
  .calendar-page-note { gap:6px; font-size:.8rem; }
  .calendar-page-note strong { font-size:.9rem; }
}
