.cs-stage, :host(.cs-stage) {
  position:relative; display:block; width:100%; min-width:0; aspect-ratio:1.76;
  container:session-desk / inline-size; background:#faf9f5; color:#252b28; color-scheme:light;
  text-align:left; overflow:hidden; isolation:isolate;
}
@media(max-width:680px) { .cs-stage, :host(.cs-stage) {aspect-ratio:1/1.02} }
.cs-world {position:absolute; inset:0; overflow:hidden; background:#faf9f5; font:400 14px/1.35 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; text-align:left; color:#252b28}
.cs-world *, .cs-world *::before,.cs-world *::after {box-sizing:border-box}
.cs-world [hidden] {display:none!important}
.cs-world .desk-shell {width:100%;height:100%;min-height:0;display:grid;grid-template-columns:18% minmax(0,1fr)}
.cs-world .desk-sidebar {min-width:0;padding:clamp(6px,1.3cqw,16px);display:flex;flex-direction:column;align-items:stretch;gap:clamp(9px,1.7cqw,20px)}
.cs-world .desk-brand {display:flex;gap:6px;padding:0 0 10px 2px;font-size:clamp(10px,1.6cqw,19px)}
.cs-world .desk-cal-icon {height:25px;width:24px;font-size:13px;grid-template-rows:5px 1fr;border-radius:5px}
.cs-world .desk-nav {display:grid;gap:2px}
.cs-world .desk-nav h2 {display:block;font-size:clamp(9px,1.15cqw,13px);margin:0 0 2px 5px}
.cs-world .desk-nav button {font-size:clamp(10px,1.4cqw,16px);padding:6px 5px;gap:5px;min-height:0}
.cs-world .desk-sidebar button svg {width:clamp(12px,1.7cqw,17px);height:auto;flex:none}
.cs-world .desk-reset {display:none}
.cs-world .desk-content {padding:clamp(9px,2cqw,24px);min-width:0;min-height:0}
.cs-world .ca-app {height:100%;min-height:0;display:flex;flex-direction:column;border:0;border-radius:0;box-shadow:none;overflow:visible}
.cs-world .ca-head {flex:none;padding:clamp(7px,1.95cqw,23px) clamp(8px,2.6cqw,28px) 6px}
.cs-world .ca-name {font-size:clamp(9px,1.18cqw,14px);margin-bottom:3px}
.cs-world .sh-month {font-size:clamp(26px,4.1cqw,55px);letter-spacing:-.06em}
.cs-world .ca-toolbar {padding:4px clamp(8px,2.6cqw,28px) clamp(7px,1.8cqw,19px);flex:none}
.cs-world .ca-month-nav button {width:24px;height:24px}
.cs-world .ca-switch button,.cs-world .ca-add {font-size:clamp(10px,1.2cqw,14px);min-height:22px;padding:3px 7px}
.cs-world .ca-switch {padding:2px}
.cs-world .ca-grid {flex:1;min-height:0;display:grid;grid-template-rows:repeat(5,minmax(0,1fr))}
.cs-world .ca-cells .sh-day {min-height:0;font-size:clamp(10px,1.55cqw,18px);padding:4px}
.cs-world .ca-cells .sh-day small {font-size:clamp(8px,.95cqw,11px);margin-top:1px}
.cs-world .ca-events {align-content:end;padding:0 0 3px}
.cs-world .ca-event {min-height:15px;padding:2px 3px;font-size:clamp(9px,1.22cqw,14px);opacity:1}
.cs-world .sh-weekdays span {padding:4px;font-size:clamp(8px,.98cqw,11px)}
.cs-world .desk-window {position:absolute;max-height:83%;border-radius:10px;box-shadow:0 11px 35px #27312836;scrollbar-width:none}
.cs-world .desk-window::-webkit-scrollbar,.cs-world .cv-console::-webkit-scrollbar {display:none}
.cs-world .desk-window [data-desk-handle] {min-height:25px;padding:3px 5px 3px 10px}
.cs-world .desk-window [data-desk-handle] h2,.cs-world #cv-window-title,.cs-world .desk-window-head {font-size:clamp(10px,1.3cqw,15px)}
.cs-world .desk-window [data-desk-handle] h2 svg {width:13px;height:13px}
.cs-world .desk-window [data-desk-close] {width:20px;height:20px;font-size:16px}
.cs-world .desk-notes {width:28%;left:10%;top:12%}
.cs-world .desk-note-tabs {padding:5px 8px;gap:5px}
.cs-world .desk-note-tabs button {font-size:clamp(9px,1cqw,12px);padding:3px 5px}
.cs-world .desk-note {padding:8px 11px;font-size:clamp(10px,1.22cqw,14px);line-height:1.35}
.cs-world .desk-note h3 {font-size:clamp(13px,1.6cqw,19px)}
.cs-world .desk-note p {margin:3px 0 6px}
.cs-world .desk-note dl {margin:6px 0 0;padding-top:2px}
.cs-world .desk-note dt,.cs-world .desk-note dd button {font-size:clamp(8px,1.08cqw,12px)}
.cs-world .desk-note dd {margin:0 0 3px}
.cs-world .desk-note code {font-size:clamp(9px,1.19cqw,14px)}
.cs-world .desk-note dd button {padding:1px 4px}
.cs-world .desk-copy-status {min-height:3px;padding:0 10px 3px;font-size:10px}
.cs-world .desk-window[data-desk-window=variables] {width:49%;top:11%;right:4%;left:auto}
.cs-world .cv-console {container:normal;scrollbar-width:none;font-size:clamp(10px,1.35cqw,14px);overscroll-behavior:contain}
.cs-world .cv-account {padding:3px 9px;min-height:23px}
.cs-world .cv-account>span {font-size:clamp(11px,1.45cqw,16px)}
.cs-world .cv-account svg {width:19px;height:13px}
.cs-world .cv-account small,.cs-world .cv-console :is(.cv-crumb,.cv-description,.cv-editor-heading span,.cv-guidance) {font-size:clamp(8px,1.1cqw,12px)}
.cs-world .cv-content {padding:7px 10px 9px}
.cs-world .cv-content h2 {margin:2px 0 7px;font-size:clamp(15px,2cqw,24px)}
.cs-world .cv-content h3,.cs-world .cv-content h4 {font-size:clamp(11px,1.4cqw,16px)}
.cs-world .cv-description {margin:4px 0 6px}
.cs-world .cv-console button {min-height:22px;font-size:clamp(9px,1.15cqw,13px);padding:3px 6px}
.cs-world .cv-table {font-size:clamp(9px,1.17cqw,13px)}
.cs-world .cv-table :is(td,th) {padding:4px 5px}
.cs-world .cv-table th:last-child {width:12%}
.cs-world .cv-editor {margin:7px 0;padding:6px 8px}
.cs-world .cv-editor-heading {margin-bottom:3px}
.cs-world .cv-editor label {margin-top:5px;font-size:clamp(9px,1.12cqw,12px)}
.cs-world .cv-editor input {min-height:23px;padding:3px 5px;font-size:clamp(9px,1.3cqw,14px);margin-top:2px}
.cs-world .cv-form-actions {margin-top:6px}
.cs-world .cv-guidance {margin-top:4px}
.cs-world .cv-guidance label {min-height:18px}
.cs-world .cv-guidance input {width:11px;height:11px}
.cs-marks {position:absolute;inset:0;z-index:11;pointer-events:none}
.cs-mark {position:absolute;inset:auto;border:2px dashed color-mix(in srgb,var(--cs-color) 62%,transparent);background:color-mix(in srgb,var(--cs-color) 8%,transparent);border-radius:7px;opacity:.65}
.cs-mark > span {position:absolute;left:3px;bottom:calc(100% - 4px);padding:2px 7px;border:1px solid color-mix(in srgb,var(--cs-color) 48%,transparent);border-radius:100px;color:#24212a;background:color-mix(in srgb,var(--cs-color) 22%,white);font:600 clamp(8px,1.15cqw,13px)/1.1 -apple-system,system-ui,sans-serif;white-space:nowrap}
.cs-mark.cs-current {opacity:1;z-index:1;border-color:var(--cs-color);box-shadow:0 0 0 2px #ffffffa8,0 0 9px 3px color-mix(in srgb,var(--cs-color) 50%,transparent)}
.cs-mark.cs-current > span {color:white;background:var(--cs-color);border-color:transparent}
.cs-target {position:absolute;border:2px solid #38b893;border-radius:8px;box-shadow:0 0 0 3px #73efc84d;z-index:11;pointer-events:none}
.cs-pointer {position:absolute;top:0;left:0;width:22px;height:26px;z-index:14;pointer-events:none;filter:drop-shadow(0 2px 2px #31293c75);transform-origin:top left}
.cs-pointer svg {display:block;width:100%;height:100%}
.cs-world[data-owner=user] .cs-pointer path {fill:#313337}
.cs-chat,.cs-driving {position:absolute;z-index:12;left:50%;transform:translateX(-50%);border:1px solid #676a74;background:linear-gradient(145deg,#26262eea,#19191df5);color:white;box-shadow:0 6px 16px #0b10183b;backdrop-filter:blur(9px)}
.cs-chat {top:2%;display:flex;align-items:flex-start;gap:7px;width:max-content;max-width:64%;padding:8px 12px;border-radius:13px;font:500 clamp(10px,1.5cqw,16px)/1.35 -apple-system,system-ui,sans-serif}
.cs-chat img {flex:none;width:18px;height:18px}
.cs-driving {bottom:2%;display:flex;align-items:center;gap:6px;white-space:nowrap;padding:4px 11px;border-radius:100px;font:550 clamp(10px,1.22cqw,14px)/1.3 -apple-system,system-ui,sans-serif}
.cs-driving i {width:7px;height:7px;background:#83e7ca;border-radius:50%}
@container session-desk (max-width:600px) {
  .cs-world .desk-shell {grid-template-columns:1fr;grid-template-rows:48px minmax(0,1fr)}
  .cs-world .desk-sidebar {padding:5px 4px;display:flex;flex-direction:row;justify-content:center;align-items:center;gap:7px;border:0;border-bottom:1px solid #cdd5ca}
  .cs-world .desk-brand,.cs-world .desk-nav h2 {display:none}
  .cs-world .desk-nav {display:flex;gap:2px}
  .cs-world .desk-nav button {white-space:nowrap;gap:3px;font-size:11px;min-height:30px;padding:3px 4px}
  .cs-world .desk-nav button svg {width:13px}
  .cs-world .desk-content {padding:6px}
  .cs-world .desk-window {max-height:83%}
  .cs-world .desk-window[data-desk-window=variables] {width:87%;top:11%;right:3%;left:auto}
  .cs-world .desk-notes {left:3%;top:13%;width:77%}
  .cs-world[data-interactive=false][data-front=notes] .desk-notes {z-index:10}
  .cs-world .desk-note {font-size:12px}
  .cs-world .desk-note dd code {font-size:12px}
  .cs-world .desk-note h3 {font-size:16px}
  .cs-world .desk-note dt,.cs-world .desk-note dd button {font-size:10px}
  .cs-world .cv-console {font-size:12px}
  .cs-world .cv-console button,.cs-world .cv-editor input,.cs-world .cv-editor label,.cs-world .cv-table {font-size:11px}
  .cs-world .cv-content h2 {font-size:18px}
  .cs-world .cv-content h3,.cs-world .cv-content h4 {font-size:13px}
  .cs-world .cv-table td:nth-child(-n+2):not([colspan]) {font-size:10px}
  .cs-world .cs-chat {max-width:88%;top:10%;font-size:12px}
}

.cs-target > span {position:absolute;top:calc(100% + 3px);right:0;white-space:nowrap;padding:2px 6px;background:#176d61;color:white;border:1px solid #fff9;border-radius:5px;font:600 clamp(9px,1.1cqw,13px)/1.3 system-ui,sans-serif}
.cs-chat.cs-prompt {background:linear-gradient(145deg,#47424bea,#2c2a32f2)}
.cs-ink {position:absolute;inset:-2px;overflow:visible;width:calc(100% + 4px);height:calc(100% + 4px);opacity:0}
.cs-ink rect {fill:none;stroke:var(--cs-color);stroke-width:2.5;stroke-linecap:round;stroke-dasharray:1 1}
.cs-mark.cs-sketching {background:transparent;border-color:transparent;box-shadow:none}
.cs-mark.cs-sketching .cs-ink {opacity:1}
.cs-mark.cs-sketching > span {opacity:.85}

.cs-world[data-interactive=true] :is(.cs-marks,.cs-pointer,.cs-chat,.cs-driving) {display:none}
.cs-world[data-interactive=true] .desk-content {overflow:auto}
.cs-world[data-interactive=true] .ca-app[data-calendar-view=week] .ca-grid {flex:none;grid-template-rows:auto}
.cs-world[data-interactive=true] .ca-app[data-calendar-view=week] .ca-hours {min-height:240px}
.cs-world[data-interactive=true] .desk-content:has(.ca-form:not([hidden])) {overflow:visible}
.cs-world[data-interactive=true] .ca-form {max-height:100%;overflow:auto}
