.calendar-demo-page { margin:0; background:#faf9f5; color:#222c29; font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
.desk-shell,.desk-shell * {box-sizing:border-box}
.desk-shell {--desk-rule:#d9ddd7; display:grid; grid-template-columns:clamp(180px,18vw,255px) minmax(0,1fr); min-height:100svh}
.desk-shell button {font-family:inherit; cursor:pointer}
.desk-shell [hidden] {display:none!important}
.desk-shell :focus-visible {outline:3px solid #27855c; outline-offset:3px}
.desk-sidebar {display:flex; flex-direction:column; gap:30px; padding:28px 16px 18px; background:#eef0e9; border-right:1px solid var(--desk-rule)}
.desk-brand {display:flex; align-items:center; gap:12px; padding:5px 8px 22px; border-bottom:1px solid var(--desk-rule); font-size:clamp(16px,1.4vw,21px); letter-spacing:-.04em}
.desk-cal-icon {flex:none; display:grid; overflow:hidden; width:34px; height:37px; place-items:center; grid-template-rows:8px 1fr; border-radius:7px; border:1px solid #c5c6bc; background:#fff; color:#343832; font:bold 19px/1 system-ui; box-shadow:0 2px 3px #26372c16}
.desk-cal-icon i {width:100%; height:100%; background:#c95444}
.desk-nav {display:grid; gap:3px}
.desk-nav h2 {font-weight:600; line-height:1.4; font-size:12px; color:#667166; margin:0 0 6px 12px}
.desk-nav button,.desk-reset {display:flex; align-items:center; gap:11px; padding:9px 12px; border:1px solid transparent; border-radius:8px; background:transparent; color:#3d4940; text-align:left; font-size:15px; line-height:1.3}
.desk-nav button:hover,.desk-reset:hover {background:#e2e6dc}
.desk-nav button[aria-current=page] {background:#d8e6db; color:#1c5636; font-weight:650}
.desk-nav button[aria-expanded=true] {border-color:#a8bfaa}
.desk-reset {margin-top:auto; width:fit-content; color:#637066; font-size:13px}
.desk-content {min-width:0; padding:clamp(16px,3vw,56px)}
.desk-window {position:fixed; z-index:8; display:flex; flex-direction:column; min-width:0; overflow:auto; max-height:calc(100svh - 35px); background:white; border:1px solid #aaafa6; border-radius:14px; color:#252c27; box-shadow:0 22px 65px #17251938,0 3px 10px #1c2e201a}
.desk-window.desk-front {z-index:9}
.desk-window [data-desk-handle] {display:flex; align-items:center; justify-content:space-between; min-height:45px; padding:6px 9px 6px 16px; gap:16px; background:#f7f7f3; border-bottom:1px solid var(--desk-rule); cursor:grab; touch-action:none; user-select:none}
.desk-window [data-desk-handle]:active {cursor:grabbing}
.desk-window [data-desk-handle] h2 {display:flex; align-items:center; gap:9px; margin:0; font:600 15px/1.3 system-ui}
.desk-window [data-desk-close] {border:0; background:transparent; color:#4c554e; border-radius:50%; width:32px; height:32px; font-size:22px; line-height:1}
.desk-window [data-desk-close]:hover {background:#e8ebe5}
.desk-notes {left:clamp(30px,17vw,255px); top:clamp(50px,14vh,145px); width:min(345px,93vw); background:#fffdf1}
.desk-window[data-desk-window=variables] {right:clamp(16px,5vw,96px); top:clamp(60px,12vh,132px); width:min(590px,94vw)}
.desk-notes [data-desk-handle] {background:#fbefbe; border-bottom-color:#dfcf92}
.desk-note-tabs {display:flex; gap:8px; padding:12px 15px; border-bottom:1px solid #e7e0c5}
.desk-note-tabs button {padding:6px 9px; border-radius:6px; border:1px solid transparent; background:transparent; color:#585344; font-size:13px}
.desk-note-tabs button[aria-pressed=true] {color:#4c3b13; border-color:#d9c878; background:#f5ebbe}
.desk-note {padding:12px 20px; font-size:15px; line-height:1.55}
.desk-note h3 {margin:0 0 6px; font-size:21px; line-height:1.2; letter-spacing:-.04em}
.desk-note p {margin:8px 0 12px}
.desk-note dl {border-top:1px solid #e8dec2; margin:12px 0 0; padding-top:7px}
.desk-note dt {color:#665f49; margin:5px 0 2px; font-size:12px}
.desk-note dd {display:flex; justify-content:space-between; align-items:center; gap:5px; margin:0 0 6px}
.desk-note code {font:500 14px/1.5 ui-monospace,Menlo,monospace; user-select:all}
.desk-note dd button {border:1px solid #d7cead; border-radius:5px; padding:3px 8px; background:#fffdf3; color:#50472f}
.desk-copy-status {min-height:24px; padding:0 20px 6px; color:#336642; font-size:12px}
@media(max-width:700px){
  .desk-shell {display:flex;flex-direction:column}
  .desk-sidebar {padding:7px 11px;display:flex;flex-direction:row;align-items:center;gap:4px;flex-wrap:wrap;border-right:0;border-bottom:1px solid var(--desk-rule)}
  .desk-brand {display:none}
  .desk-nav {display:flex;gap:2px}
  .desk-nav h2 {display:none}
  .desk-nav button,.desk-reset {min-height:38px;gap:4px;padding:4px 6px;font-size:12px;white-space:nowrap}
  .desk-nav button svg,.desk-reset svg {width:15px;height:15px}
  .desk-reset {margin:0 0 0 auto}
  .desk-content {padding:10px 6px}
  .desk-window {max-height:calc(100svh - 80px)}
  .desk-notes,.desk-window[data-desk-window=variables] {top:70px;left:3vw;right:auto}
}
