/* The desk is an overview sized to the viewport; objects open their full views. */
.calendar-page{max-width:1080px;margin:0 auto 40px}.calendar-page>.text-action{display:inline-block;margin-bottom:30px}.calendar-page .calendar-object{width:100%;max-width:none}.calendar-page .calendar-content{min-height:500px}.expand-mark{font-family:'Public Sans',sans-serif;font-size:16px;vertical-align:middle}
body[data-view=desk]{padding-bottom:0!important}
body[data-view=desk] #main{width:100%;height:calc(100dvh - var(--topbar-height,76px));max-width:1920px;padding:24px 38px 34px 30px}

body[data-view=desk] .desk-expanded{height:100%;max-width:none;margin:0;grid-template-columns:minmax(0,.8fr) minmax(0,1.65fr) minmax(0,.95fr);grid-template-rows:minmax(0,1.35fr) minmax(0,1fr);grid-template-areas:'profile calendar jobs' 'cvs monitor files';gap:26px 24px;align-items:stretch}
body[data-view=desk] .desk-expanded:before{inset:53% -38px -34px -30px}
.desk-expanded>.object{height:100%;min-height:0;max-width:none;width:100%;margin-top:0;align-self:stretch}
.desk-expanded .profile-content,.desk-expanded .jobs-content,.desk-expanded .cv-content,.desk-expanded .calendar-content{height:100%;min-height:0}
.desk-expanded .profile-content{padding:24px 20px 20px}.desk-expanded .profile-content h2{font-size:28px;margin-bottom:16px}.desk-expanded .identity{gap:10px;margin-bottom:12px;flex-wrap:nowrap}.desk-expanded .identity h3{font-size:18px}.desk-expanded .identity p{font-size:14px}.desk-expanded .monogram{width:48px;height:54px;font-size:24px}.desk-expanded .location{padding-bottom:12px;margin-bottom:14px;font-size:14px}.desk-expanded .bio{font-size:14px;line-height:1.6;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.desk-expanded .profile-content .object-actions{padding-top:14px}.desk-expanded .profile-content .paper-action{font-size:14px;min-height:40px}
.desk-expanded .calendar-content{padding:30px 18px 16px}.desk-expanded .calendar-top{margin-bottom:12px;gap:10px}.desk-expanded .calendar-top h2{font-size:clamp(26px,3dvh,34px)}.desk-expanded .calendar-top .eyebrow{font-size:12px;max-width:85px;letter-spacing:.4px}.desk-expanded .calendar-body{min-height:0;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:16px}.desk-expanded .calendar-month{display:flex;flex-direction:column;min-height:0}.desk-expanded .month-heading{flex-shrink:0;margin-bottom:6px}.desk-expanded .month-heading h3{font-size:14px}.desk-expanded .month-heading .square{min-height:30px;width:30px;font-size:24px}.desk-expanded .weekdays{font-size:12px;flex-shrink:0}.desk-expanded .month-grid{flex:1;min-height:0;grid-template-rows:repeat(6,minmax(24px,1fr))}.desk-expanded .day{min-height:24px;font-size:14px}.desk-expanded .day.has-event span{width:25px;height:25px}.desk-expanded .calendar-legend{font-size:12px;flex-shrink:0;margin-top:4px}.desk-expanded .calendar-legend .text-action{font-size:12px;min-height:24px;padding:3px 0}.desk-expanded .calendar-bottom{flex-shrink:0;gap:12px;margin-top:12px}.desk-expanded .calendar-bottom .paper-action{min-height:38px;font-size:14px;padding:8px 12px}.desk-expanded .appointment{min-height:0;padding:12px;gap:5px}.desk-expanded .appointment h3{font-size:25px;line-height:1.15}.desk-expanded .appointment .role{font-size:14px;line-height:1.4}.desk-expanded .appointment .timezone,.desk-expanded .appointment .stage{font-size:12px}.desk-expanded .appointment-date>b{font-size:33px}.desk-expanded .appointment-date strong{font-size:18px}.desk-expanded .appointment .priority{min-height:40px;margin-top:auto;padding:9px 10px;font-size:14px}.desk-expanded .appointment .text-action{font-size:12px;min-height:25px;padding:4px 0}
.desk-expanded .jobs-content{padding:20px;display:flex;flex-direction:column}.desk-expanded .pinned-heading{font-size:27px;margin-bottom:14px;padding:6px 14px}.desk-expanded .job-notes{grid-template-columns:1fr;grid-template-rows:1fr 1fr;gap:12px;min-height:0}.desk-expanded .job-note:nth-child(n+3){display:none}.desk-expanded .job-note{min-height:0;padding:20px 12px 10px}.desk-expanded .job-note strong{font-size:20px}.desk-expanded .job-note .job-role{font-size:14px}.desk-expanded .job-note .stamp{font-size:12px;letter-spacing:0;padding:2px 4px}.desk-expanded .jobs-content .object-actions{margin-top:14px;flex-wrap:nowrap;gap:10px}.desk-expanded .jobs-content .paper-action{font-size:14px;min-height:38px;padding:8px 10px}
.desk-expanded .cv-object{padding-bottom:8px;height:calc(100% - 8px)}.desk-expanded .cv-content{padding:20px}.desk-expanded .cv-content h2{font-size:27px;margin-bottom:14px}.desk-expanded .cv-sheet h3{font-size:21px}.desk-expanded .cv-sheet .title{font-size:14px}.desk-expanded .cv-sheet .rule{margin:10px 0}.desk-expanded .cv-sheet h4,.desk-expanded .cv-sheet h4~p{display:none}.desk-expanded .cv-sheet h4:first-of-type+p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:14px}.desk-expanded .cv-content .object-actions{padding-top:14px;gap:10px;flex-wrap:nowrap}.desk-expanded .cv-content .paper-action{font-size:14px;min-height:38px;padding:8px 10px}
.desk-expanded .monitor-object{height:calc(100% - 24px);margin-bottom:24px;min-height:0;padding:13px 22px 18px;grid-template-rows:auto minmax(0,1fr) auto}.desk-expanded .monitor-label{font-size:13px;padding-bottom:10px}.desk-expanded .monitor-screen{min-height:0;padding:13px 18px;border-width:7px;border-radius:18px;display:flex;flex-direction:column}.desk-expanded .mini-site-header{padding-bottom:8px;flex-shrink:0}.desk-expanded .mini-site-header strong{font-size:14px}.desk-expanded .mini-site-header>span{display:none}.desk-expanded .mini-hero{height:auto;min-height:0;flex:1;padding:9px 0 0;gap:15px}.desk-expanded .mini-copy h3{font-size:clamp(24px,3.5dvh,36px);line-height:1.1}.desk-expanded .mini-copy p{display:none}.desk-expanded .mini-copy .text-action{font-size:13px;min-height:28px;margin-top:5px}.desk-expanded .mini-art{min-height:0;height:auto}.desk-expanded .monitor-controls{padding-top:12px;gap:12px}.desk-expanded .monitor-controls .metal{min-height:38px;font-size:14px;padding:7px 13px}.desk-expanded .monitor-foot{height:28px;bottom:-23px}
.desk-expanded .files-object{min-height:0;height:calc(100% - 4px);padding:10px 12px;gap:6px}.desk-expanded .files-caption{font-size:25px;margin-bottom:2px}.desk-expanded .drawer{min-height:0;flex:1;padding:4px 8px 6px;justify-content:center}.desk-expanded .drawer span{font-size:14px;padding:1px 5px}.desk-expanded .drawer:after{height:7px;margin-top:4px}.desk-expanded .file-upload{font-size:14px;min-height:36px;padding:7px 12px;margin:4px -12px -7px 0}
.desk-compact{display:none}
@media(min-width:1200px) and (max-height:850px){.desk-expanded .calendar-top h2{font-size:27px}.desk-expanded .calendar-top .eyebrow{font-size:12px}.desk-expanded .appointment .stage,.desk-expanded .appointment .text-action{display:none}.desk-expanded .appointment{padding:9px;gap:3px}.desk-expanded .appointment h3{font-size:22px}.desk-expanded .appointment .role{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.desk-expanded .appointment-date>b{font-size:29px}.desk-expanded .appointment-date strong{font-size:16px}.desk-expanded .appointment .priority{font-size:13px;min-height:38px;padding:8px}.desk-expanded .profile-content{padding:22px 18px 18px}.desk-expanded .profile-content .bio{-webkit-line-clamp:2}.desk-expanded .job-note strong{font-size:18px}.desk-expanded .job-note .job-role{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.desk-expanded .job-note{padding:17px 10px 8px}.desk-expanded .cv-content{padding:16px}.desk-expanded .cv-content h2{font-size:25px;margin-bottom:10px}.desk-expanded .monitor-label{padding-bottom:7px}.desk-expanded .monitor-controls{padding-top:8px}.desk-expanded .mini-copy .text-action{display:none}.desk-expanded .files-caption{font-size:23px}}
@media(max-width:1199px){
 body[data-view=desk] #main{padding:24px 22px 25px;min-height:595px}
 body[data-view=desk] .desk-expanded{display:none}
 .desk-compact{display:grid;width:min(100%,820px);height:100%;min-height:546px;margin:auto;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:minmax(306px,1.4fr) minmax(96px,.48fr) minmax(112px,.55fr);grid-template-areas:'calendar calendar calendar' 'profile jobs cvs' 'monitor monitor files';gap:16px}
 .compact-calendar{grid-area:calendar;max-width:none!important;align-self:stretch;margin:0;width:100%}.compact-calendar .calendar-content{min-height:0;height:100%;padding:28px 18px 12px;display:flex;flex-direction:column;gap:9px}.compact-calendar-header{display:flex;gap:12px;align-items:center;justify-content:space-between}.compact-calendar-header h2{font-size:29px;line-height:1.1}.compact-calendar-header .text-action{font-size:14px;min-height:36px;padding:5px 0;white-space:nowrap}.desk-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;padding:0 0 7px;border-bottom:1px solid var(--line)}.desk-week-day{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:48px;gap:1px;border:1px solid transparent;background:none;padding:3px 0 7px;border-radius:3px}.desk-week-day small{font-size:12px}.desk-week-day strong{font-size:18px;line-height:1.2}.desk-week-day.today{border-color:var(--line)}.desk-week-day.has-event{background:var(--blue);color:var(--accent-on);box-shadow:inset 0 1px #fff4}.desk-week-day i{position:absolute;width:4px;height:4px;border-radius:50%;background:currentColor;bottom:3px}.compact-next{display:flex;align-items:center;justify-content:space-between;gap:15px;flex:1;min-height:0}.compact-next>div{min-width:0}.compact-next .eyebrow{font-size:12px}.compact-next h3{font:750 28px/1.15 Fraunces,serif;margin:4px 0}.compact-role{font-size:14px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.compact-when{font-size:14px;margin-top:6px!important;line-height:1.4}.compact-zone{font-size:12px;color:var(--muted);margin-top:2px!important}.compact-next .priority{font-size:14px;min-height:44px;flex-shrink:0;padding:10px 13px;white-space:nowrap}.compact-calendar-actions{display:flex;justify-content:space-between;gap:14px}.compact-calendar-actions .text-action{font-size:13px;padding:3px 0;min-height:28px}
 .compact-object{display:flex;flex-direction:column;justify-content:center;padding:14px 18px;min-height:0;height:100%;min-width:0;gap:5px;overflow-wrap:anywhere}.compact-object h2{font-size:27px;letter-spacing:-.5px;line-height:1.15}.compact-object>p{font-size:14px;line-height:1.4;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.compact-open{font-size:13px;color:var(--blue);text-decoration:underline;text-underline-offset:3px}.compact-profile{grid-area:profile;transform:rotate(-1deg)}.compact-profile .material-base,.compact-cvs .material-base{background:var(--paper);background-image:var(--paper-grain);background-size:240px;background-blend-mode:soft-light}.compact-profile .washi{width:46px;height:20px;top:-6px}.compact-profile .washi-left{left:-5px}.compact-profile .washi-right{right:-5px}
 .compact-jobs{grid-area:jobs;padding:14px 18px}.compact-jobs .material-base{background-color:var(--cork-seed);background-image:var(--cork-grain);background-size:220px;background-blend-mode:soft-light;border:6px solid var(--chrome2);box-shadow:0 0 0 1px var(--chrome3),inset 0 1px 4px #0004,var(--shadow)}.compact-jobs h2,.compact-jobs>p,.compact-jobs .compact-open{background:var(--paper);padding:1px 6px;margin:0;align-self:start}.compact-jobs h2{transform:rotate(-2deg)}
 .compact-cvs{grid-area:cvs;transform:rotate(.7deg)}.compact-cvs .material-base{box-shadow:3px 3px 0 var(--paper2),4px 4px 0 var(--line),5px 8px 9px #0002}.compact-cvs .paper-underlay{inset:-2px 2px 0;transform:rotate(-1deg)}
 .compact-pages{grid-area:monitor;display:grid;grid-template-columns:minmax(0,1fr);justify-content:stretch;grid-template-rows:auto minmax(0,1fr);padding:12px 16px 15px;height:calc(100% - 13px);margin:0 0 13px;gap:0}.compact-pages .monitor-label{font-family:'Public Sans',sans-serif;font-size:14px;letter-spacing:0;padding:0 0 7px}.compact-pages .monitor-screen{min-height:0;height:100%;padding:10px 13px;border-width:6px;border-radius:14px;display:flex;flex-direction:column;justify-content:center;gap:3px}.compact-pages .monitor-screen>strong{font-family:Fraunces,serif;font-size:22px;line-height:1.2}.compact-pages .monitor-screen>p{font-size:13px;line-height:1.4;margin:0}.compact-pages .monitor-foot{height:20px;bottom:-14px}.compact-pages .material-base{border-radius:14px 14px 24px 24px}
 .compact-files{grid-area:files;gap:6px;padding:12px;justify-content:flex-start}
 .compact-files h2{font-size:25px;background:var(--paper);box-shadow:1px 2px 2px #0002;padding:1px 8px;align-self:center}
 .compact-drawer{flex:1;min-height:0;width:100%;padding:8px;justify-content:center}
 .compact-drawer-label{width:min(90%,210px);font-size:14px;padding:2px 4px;line-height:1.25}
 .compact-drawer:after{height:8px;margin-top:7px;width:44%}
 .compact-files .compact-open{font-size:13px;color:var(--blue);align-self:center;line-height:1.3}

 .compact-object:hover{filter:brightness(1.035)}
}
@media(max-width:767px){body[data-view=desk] #main{padding:21px 16px 20px;min-height:587px}.desk-compact{gap:15px 12px}.compact-calendar .calendar-content{padding:25px 12px 10px;gap:7px}.compact-calendar-header h2{font-size:25px}.compact-calendar-header .text-action{font-size:12px}.compact-next{gap:9px}.compact-next h3{font-size:26px}.compact-next .priority{padding:9px 10px;font-size:14px}.compact-object{padding:12px 10px;gap:4px}.compact-object h2{font-size:22px}.compact-object>p{font-size:13px}.compact-open{font-size:12px}.compact-jobs{padding:12px}.compact-pages{padding:10px 12px 12px}.compact-pages .monitor-label{font-size:13px;padding-bottom:6px}.compact-pages .monitor-screen{padding:8px 10px}.compact-pages .monitor-screen>strong{font-size:20px}.compact-pages .monitor-screen>p{font-size:12px}.compact-files{padding:10px}.compact-files h2{font-size:22px}.compact-drawer{font-size:13px;padding:3px}.compact-files .compact-open{font-size:12px}.calendar-page .calendar-content{min-height:0}.calendar-page>.text-action{margin-bottom:25px}}
@media(max-width:359px){body[data-view=desk] #main{padding-inline:14px}.compact-calendar-header h2{font-size:23px}.compact-calendar-header .text-action{font-size:12px}.compact-next h3{font-size:24px}.compact-next .priority{font-size:13px;padding:9px}.compact-object h2{font-size:20px}.compact-pages .monitor-label{font-size:13px}.compact-pages .monitor-screen>strong{font-size:18px}.compact-zone{font-size:12px}}

@media(min-width:1200px) and (max-height:850px){.desk-expanded .job-note .job-role{display:none}.desk-expanded .job-note{padding:16px 10px 7px}.desk-expanded .job-note:nth-child(2){margin-top:0}.desk-expanded .job-note strong{margin-bottom:3px}.desk-expanded .job-note .stamp{margin-top:5px}.desk-expanded .cv-sheet h4:first-of-type+p{display:none}}
@media(max-width:359px){.compact-profile h2{font-size:18px;white-space:nowrap}.compact-profile>p{-webkit-line-clamp:1}}
@media(min-width:1200px) and (max-height:850px){
 body[data-view=desk] .desk-expanded{grid-template-rows:minmax(0,1.85fr) minmax(0,1fr)}
 .desk-expanded .appointment .role{flex-shrink:0}
 .desk-expanded .monitor-object{padding:10px 18px 12px}
 .desk-expanded .monitor-label{font-size:12px;padding-bottom:5px}
 .desk-expanded .monitor-screen{padding:10px 14px}
 .desk-expanded .mini-site-header{display:none}
 .desk-expanded .mini-copy h3{font-size:24px}
}

.desk-expanded .file-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-shrink:0;margin:4px 0 -7px}.desk-expanded .file-actions .paper-action{font-size:14px;min-height:36px;padding:7px 10px;margin:0;white-space:nowrap}

@media(max-width:767px){
 .compact-files{padding:8px;gap:4px}
 .compact-files h2{font-size:20px;padding:1px 5px}
 .compact-files .compact-drawer{padding:5px 4px}
 .compact-drawer-label{width:100%;font-size:12px;padding:1px 2px}
 .compact-drawer:after{height:6px;margin-top:5px;width:48%}
 .compact-files .compact-open{font-size:12px}
}


.calendar-heading-actions{display:flex;flex-direction:column;align-items:flex-end;gap:4px}.calendar-heading-actions .text-action{min-height:30px;padding:4px 0}.calendar-top{flex-wrap:wrap}
/* My desk uses one naturally sized layout at every width. The full calendar
   keeps its existing skin on #calendar; old object sizing cannot constrain this view. */
body[data-view=desk] #main:has(>.desk-home){height:auto;min-height:calc(100dvh - var(--topbar-height,64px));width:100%;max-width:1240px;padding:24px clamp(12px,3vw,32px) 40px}
.desk-home{--panel:color-mix(in srgb,var(--paper),var(--ink) 2%);--paper2:var(--panel);padding:clamp(16px,2.5vw,28px);display:grid;gap:24px;background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow);overflow-wrap:anywhere}
.desk-home-header h1{font-family:'Public Sans',sans-serif;font-size:clamp(28px,3vw,36px);letter-spacing:-1px;line-height:1.2;margin:0 0 6px}
.desk-home-header p{color:var(--muted)}
.desk-home :is(h2,h3){font-family:'Public Sans',sans-serif;letter-spacing:0;line-height:1.3}
.desk-home h2{font-size:22px;font-weight:750}
.desk-home h3{font-size:19px;font-weight:750}
.desk-next{padding:16px 20px;background:var(--panel);border:1px solid var(--line);border-left:4px solid var(--blue);border-radius:6px}
.desk-next-heading,.desk-next-content{display:flex;align-items:center;justify-content:space-between;gap:12px 24px;flex-wrap:wrap}
.desk-next-heading{margin-bottom:8px}
.desk-next-content>div:first-child{flex:1 1 360px;min-width:0}
.desk-next-content p{font-size:14px;line-height:1.5;margin:4px 0 0}
.desk-next-time{color:var(--muted)}
.desk-home-actions{display:flex;align-items:center;gap:8px 12px;flex-wrap:wrap;min-width:0}
.desk-home-actions>*{max-width:100%}
.desk-home-link{display:inline-flex;align-items:center;min-height:44px;padding:8px 12px;gap:6px;border-radius:4px;text-decoration:underline;text-underline-offset:4px;font-weight:650;font-size:14px}
.desk-home-link:hover{background:var(--paper2)}
.desk-schedule-check{margin:8px 0 0;border-top:1px solid var(--line);padding-top:4px}
.desk-workspace>h2{margin-bottom:12px}
.desk-home-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.desk-home-card{display:flex;flex-direction:column;align-items:start;gap:8px;padding:16px 20px;background:var(--panel);border:1px solid var(--line);border-radius:6px;min-width:0}
.desk-home-card h3{margin:0 -12px;min-height:44px;display:flex;align-items:center}
.desk-home-card h3 .desk-home-link{font-size:19px}
.desk-home-card>p,.desk-home-identity p{font-size:14px;line-height:1.5;margin:0}
.desk-home-count{font-weight:650}
.desk-home-card>.desk-home-actions{margin-top:auto;padding-top:8px}
.desk-home-identity{display:flex;align-items:start;gap:12px;min-width:0}
.desk-home-identity .profile-picture{flex:0 0 44px;width:44px;height:44px}
.desk-home-identity p{min-width:0}
.desk-home .desk-placeholder-control{display:block;width:8rem;height:44px;border-radius:4px;background:currentColor;opacity:.12}
@media(max-width:900px){.desk-home-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){
 .desk-home-grid{grid-template-columns:minmax(0,1fr)}
 .desk-home{gap:20px}
 .desk-next,.desk-home-card{padding:12px 16px}
 .desk-next-heading,.desk-next-content{align-items:start}
 .desk-next-heading>.desk-home-actions{gap:4px 8px}
 .desk-next-content>div:first-child{flex-basis:100%}
}
