/* The signed-in space shares the landing page's quiet, rounded visual language. */
.study-space{--study-ink:#25262a;--study-muted:#747b85;--study-line:#e6e8eb;background:#f8f9fa;color:var(--study-ink);padding:35px 0 60px;min-height:calc(100vh - 72px);}
.study-space .study-shell{max-width:1240px;margin:0 auto;padding:0 32px;}
.study-space button,.study-space input,.study-space textarea,.study-space select{font:inherit;}
.study-space button{touch-action:manipulation;}
.study-space button:disabled,.study-space input:disabled,.study-space textarea:disabled,.study-space select:disabled{cursor:not-allowed;opacity:.48;}
.study-space :is(button,input,textarea,select):focus-visible{outline:3px solid #8caeb3;outline-offset:4px;}
.study-space .study-topline,.study-space .study-top-actions,.study-space .study-heading,.study-space .study-calendar-top,.study-space .study-week-actions{display:flex;align-items:center;}
.study-space .study-topline{justify-content:space-between;gap:20px;}
.study-space .study-eyebrow{color:#737a82;font-size:12px;font-weight:550;letter-spacing:.015em;}
.study-space .study-top-actions{gap:20px;}
.study-space .study-text-button{border:0;background:none;padding:7px 0;color:#737a82;font-size:12px;line-height:1.4;white-space:nowrap;}
.study-space .study-text-button:hover{color:var(--study-ink);text-decoration:underline;text-underline-offset:4px;}
.study-space .study-text-button span{margin-left:3px;}
.study-space .study-heading{justify-content:space-between;gap:28px;margin:31px 0 34px;}
.study-space .study-greeting{font-size:14px;line-height:1.6;color:#757b83;margin-bottom:10px;}
.study-space h1{font-size:40px;line-height:1.3;letter-spacing:-.04em;font-weight:780;}
.study-space .study-mobile-break{display:none;}
.study-space .study-heading-note{font-size:13px;line-height:1.9;color:#8a9099;text-align:right;}
.study-space .study-tabs{display:flex;gap:27px;border-bottom:1px solid #e3e6e9;margin-bottom:29px;overflow-x:auto;scrollbar-width:thin;}
.study-space .study-tab{flex:0 0 auto;position:relative;background:none;border:0;border-bottom:2px solid transparent;padding:13px 1px 14px;font-size:14px;font-weight:550;line-height:1.5;color:#939aa3;white-space:nowrap;}
.study-space .study-tab:hover{color:#4e5862;}
.study-space .study-tab[aria-pressed="true"]{color:#272d33;border-bottom-color:#292f36;font-weight:700;}
.study-space .study-tab:focus-visible{outline-offset:-3px;border-radius:3px;}
.study-space .study-calendar-top{justify-content:space-between;margin-bottom:15px;gap:16px;}
.study-space .study-month{font-size:15px;font-weight:650;letter-spacing:-.02em;}
.study-space .study-week-actions{gap:25px;}
.study-space .study-week-button{display:inline-flex;align-items:center;gap:9px;background:none;border:0;color:#45494f;font-weight:650;font-size:13px;padding:4px 0;min-height:36px;}
.study-space .study-week-button span{font-size:25px;line-height:1;}
.study-space .study-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;padding:10px;background:#eff1f3;border-radius:20px;}
.study-space .study-day{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;position:relative;border:1px solid transparent;border-radius:14px;background:transparent;color:#747b84;min-height:103px;padding:12px 8px;line-height:1.4;}
.study-space .study-day:hover{background:#ffffff87;}
.study-space .study-day[aria-pressed="true"],.study-space .study-day.is-selected,.study-space .study-day[aria-selected="true"]{background:#fff;color:#25292e;box-shadow:0 4px 11px #2431400b;border-color:#fff;}
.study-space .study-day-name{font-size:13px;font-weight:550;}
.study-space .study-day-number{font-size:26px;font-weight:750;letter-spacing:-.03em;}
.study-space .study-day-marker{width:4px;height:4px;border-radius:50%;background:#86a38c;position:absolute;bottom:8px;}
.study-space .study-day.is-weekend .study-day-name{color:#657e6c;}
.study-space .study-day small{font-size:10px;}
.study-space .study-day-placeholder{height:103px;background:#ffffff36;border-radius:14px;}
.study-space .study-feedback,.study-space .study-loading{font-size:13px;color:#66726e;margin-top:15px;line-height:1.7;}
.study-space .study-feedback:empty{display:none;}
.study-space .study-loading{display:flex;align-items:center;gap:8px;}
.study-space .study-loading::before{content:"";width:7px;height:7px;background:#9faea5;border-radius:50%;}
.study-space .study-date-heading{display:flex;align-items:baseline;gap:14px;margin:34px 0 17px;}
.study-space .study-date-heading h2{font-size:19px;line-height:1.4;font-weight:700;letter-spacing:-.02em;}
.study-space .study-date-heading p{font-size:12px;color:#858b94;}
.study-space .study-grid{display:grid;grid-template-columns:1.12fr 1fr;gap:24px;align-items:start;}
.study-space .study-card{min-width:0;background:#fff;border:1px solid var(--study-line);border-radius:18px;padding:28px;}
.study-space .study-card-heading{display:flex;align-items:center;gap:12px;margin-bottom:24px;}
.study-space .study-card-icon{width:40px;height:40px;flex:0 0 40px;background:#f5f6f7;display:grid;place-items:center;border-radius:11px;color:#717780;}
.study-space .study-card-icon svg{width:22px;height:22px;}
.study-space .study-card-heading h3{font-size:21px;line-height:1.4;font-weight:730;letter-spacing:-.025em;}
.study-space .study-card-heading p{font-size:12px;color:var(--study-muted);margin-top:3px;line-height:1.5;}
.study-space .study-optional{margin-left:auto;align-self:flex-start;white-space:nowrap;background:#f5f6f7;border-radius:5px;color:#858b92;padding:3px 7px;font-size:10px;}
.study-space .planner-upload{display:flex;min-height:239px;position:relative;border:1px dashed #d8dce0;border-radius:12px;overflow:hidden;align-items:center;justify-content:center;flex-direction:column;background:#fafbfc;cursor:pointer;}
.study-space .planner-upload:hover{border-color:#9ca4ad;background:#f7f9fa;}
.study-space .planner-upload:focus-within{outline:3px solid #8caeb3;outline-offset:4px;}
.study-space .planner-upload input{position:absolute;inset:0;opacity:0;width:100%;height:100%;z-index:2;cursor:pointer;}
.study-space .planner-upload input:disabled{cursor:not-allowed;}
.study-space .planner-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;padding:27px 12px 14px;text-align:center;pointer-events:none;}
.study-space .planner-upload-icon{width:45px;height:45px;display:grid;place-items:center;margin-bottom:12px;color:#929aa5;}
.study-space .planner-upload-icon svg{width:34px;height:34px;}
.study-space .planner-empty strong{font-size:15px;font-weight:650;}
.study-space .planner-empty>span:last-child{font-size:11px;line-height:1.7;color:#9097a0;margin-top:6px;}
.study-space .planner-upload-change{display:flex;align-items:center;justify-content:center;gap:12px;font-size:11px;color:#767e88;padding:8px 12px 16px;pointer-events:none;}
.study-space .planner-upload-change span{font-size:15px;}
.study-space .planner-preview{object-fit:contain;width:100%;max-height:350px;padding:12px 12px 0;}
.study-space .planner-file-meta{display:flex;gap:12px;justify-content:space-between;font-size:10px;color:#9299a2;margin:8px 1px 21px;}
.study-space #planner-filename{max-width:56%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:right;}
.study-space .study-field{min-width:0;}
.study-space .study-field label{display:block;color:#525960;font-size:12px;font-weight:600;margin-bottom:8px;}
.study-space .study-field label span{font-size:10px;color:#9299a2;margin-left:5px;font-weight:400;}
.study-space textarea,.study-space select,.study-space input[type="text"]{width:100%;min-width:0;border:1px solid #e0e3e7;border-radius:8px;background:#fff;color:#33383e;font-size:13px;}
.study-space input[type="text"]{height:44px;padding:0 12px;}
.study-space input[type="text"]::placeholder{color:#9ca2aa;}
.study-space .planner-nickname-field{margin-bottom:20px;}
.study-space .planner-share-setting{margin-top:17px;padding:13px 14px;background:#f7f9f8;border-radius:8px;}
.study-space .planner-share-label{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:600;color:#53655b;width:fit-content;cursor:pointer;}
.study-space .planner-share-label input{width:16px;height:16px;margin:0;accent-color:#5f7969;}
.study-space #planner-share-help{color:#88948c;font-size:10px;line-height:1.7;margin-top:7px;}
.study-space textarea{resize:vertical;min-height:91px;max-height:300px;line-height:1.7;padding:12px;}
.study-space textarea::placeholder{color:#9ca2aa;}
.study-space select{height:47px;padding:0 12px;}
.study-space .planner-actions{display:flex;align-items:center;gap:18px;margin-top:18px;}
.study-space .study-primary-button{display:inline-flex;align-items:center;justify-content:center;gap:20px;min-height:44px;padding:12px 18px;border:0;border-radius:8px;background:#28292d;color:#fff;font-weight:600;font-size:13px;line-height:1.5;}
.study-space .study-primary-button:hover:not(:disabled){background:#45464b;}
.study-space .study-primary-button span{font-size:16px;font-weight:400;}
.study-space .study-delete-button{font-size:11px;color:#8c777d;margin-left:auto;}
.study-space .study-status{font-size:12px;line-height:1.7;color:#5c7869;margin-top:12px;overflow-wrap:anywhere;}
.study-space .study-status:empty{display:none;}
.study-space .study-status[data-state="error"],.study-space .study-status.is-error,.study-space .study-feedback[data-state="error"]{color:#a55161;}
.study-space .study-private-note{display:flex;align-items:flex-start;gap:6px;font-size:10px;line-height:1.7;color:#9097a0;margin-top:19px;}
.study-space .study-private-note svg{width:12px;height:14px;flex:0 0 12px;margin-top:1px;}
.study-space .planner-history-section,.study-space .booking-list-section{margin-top:25px;border-top:1px solid #edf0f2;padding-top:20px;}
.study-space h4{font-size:12px;font-weight:650;line-height:1.5;margin:0 0 12px;color:#666e77;}
.study-space .planner-history,.study-space .booking-list{padding:0;margin:0;list-style:none;}
.study-space .study-list-empty{font-size:12px;color:#969da6;line-height:1.8;padding:3px 0 1px;}
.study-space .planner-history{display:flex;gap:7px;flex-wrap:wrap;}
.study-space .planner-history-item{border:1px solid #e9ecef;background:#f8f9fa;border-radius:6px;line-height:1.5;font-size:11px;padding:6px 9px;color:#747c86;}
.study-space .planner-history-item:hover{color:#25292e;border-color:#cbd2d8;}
.study-space .planner-history-item[aria-current="date"]{background:#e9efeb;border-color:#d9e3dc;color:#4f6b59;}
.study-space .booking-session{border-radius:11px;background:#f7f8f9;padding:19px 20px;margin-bottom:21px;}
.study-space .booking-session-label{display:flex;align-items:center;gap:6px;font-size:11px;color:#7d858d;}
.study-space .booking-session-label>span{width:5px;height:5px;border-radius:50%;background:#8ba48f;}
.study-space .booking-session-time{font-size:17px;font-weight:500;margin-top:9px;letter-spacing:-.025em;}
.study-space .booking-session-time strong{font-weight:700;margin-left:9px;}
.study-space .booking-session-location{font-size:11px;color:#9299a1;margin-top:5px;}
.study-space .booking-weekday-note{font-size:12px;line-height:1.8;padding:14px 15px;border-radius:8px;background:#f3f6f4;color:#738077;margin-bottom:19px;}
.study-space .booking-date-label{font-size:13px;font-weight:650;color:#555d65;margin-bottom:15px;}
.study-space .booking-time-fields{display:grid;grid-template-columns:1fr 12px 1fr;gap:10px;align-items:end;}
.study-space .booking-time-dash{font-size:16px;color:#a7adb5;align-self:end;line-height:47px;text-align:center;}
.study-space .booking-time-help{font-size:10px;color:#9299a3;margin-top:9px;}
.study-space .booking-form .study-primary-button{width:100%;margin-top:22px;justify-content:space-between;padding-inline:18px;}
.study-space .booking-payment-note{font-size:10px;line-height:1.7;color:#969da5;margin-top:13px;}
.study-space .booking-list{display:grid;gap:10px;}
.study-space .booking-item{border:1px solid #e5e9e6;border-radius:8px;background:#fafcfb;padding:12px 14px;display:flex;align-items:center;gap:12px;flex-wrap:wrap;}
.study-space .booking-item-title{font-size:13px;font-weight:650;line-height:1.5;color:#485b50;}
.study-space .booking-item-meta{font-size:11px;line-height:1.7;color:#88928b;}
.study-space .booking-item .study-text-button,.study-space .booking-item>button{margin-left:auto;font-size:11px;}
.study-space .study-bottom-note{text-align:center;color:#a0a6ae;font-size:11px;line-height:1.8;margin-top:30px;}

@media(max-width:1000px){
  .study-space .study-shell{padding-inline:24px;}
  .study-space .study-grid{gap:18px;grid-template-columns:1.08fr 1fr;}
  .study-space .study-card{padding:22px;}
  .study-space .study-card-heading{gap:9px;}
  .study-space .study-card-heading h3{font-size:19px;}
  .study-space .study-card-heading p{font-size:11px;}
  .study-space .study-optional{font-size:9px;padding:3px 5px;}
}
@media(max-width:767px){
  .study-space{padding:23px 0 38px;}
  .study-space .study-shell{padding-inline:20px;}
  .study-space .study-topline{gap:9px;align-items:flex-start;}
  .study-space .study-eyebrow{font-size:10px;padding-top:7px;}
  .study-space .study-top-actions{gap:12px;}
  .study-space .study-text-button{font-size:11px;}
  .study-space .study-heading{margin:25px 0 28px;}
  .study-space h1{font-size:31px;line-height:1.4;}
  .study-space .study-mobile-break{display:initial;}
  .study-space .study-greeting{font-size:12px;margin-bottom:8px;}
  .study-space .study-heading-note{display:none;}
  .study-space .study-tabs{gap:21px;margin-bottom:22px;}
  .study-space .study-tab{font-size:12px;padding-block:10px 12px;}
  .study-space .study-month{font-size:13px;}
  .study-space .study-week-actions{gap:16px;}
  .study-space .study-week-button{font-size:11px;gap:5px;}
  .study-space .study-week-button span{font-size:21px;}
  .study-space .study-calendar-top{margin-bottom:10px;}
  .study-space .study-days{padding:7px;gap:5px;border-radius:14px;grid-template-columns:repeat(7,minmax(51px,1fr));overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#d7dce1 transparent;}
  .study-space .study-day{min-height:85px;padding:10px 5px;border-radius:10px;gap:7px;scroll-snap-align:start;}
  .study-space .study-day-name{font-size:11px;}
  .study-space .study-day-number{font-size:22px;}
  .study-space .study-day-marker{bottom:6px;}
  .study-space .study-day-placeholder{height:85px;border-radius:10px;}
  .study-space .study-date-heading{display:block;margin:27px 0 15px;}
  .study-space .study-date-heading h2{font-size:17px;}
  .study-space .study-date-heading p{font-size:11px;margin-top:5px;}
  .study-space .study-grid{grid-template-columns:minmax(0,1fr);gap:18px;}
  .study-space .study-card{padding:22px 20px;border-radius:15px;}
  .study-space .study-card-heading{gap:10px;margin-bottom:20px;}
  .study-space .study-card-heading h3{font-size:20px;}
  .study-space .study-card-icon{width:36px;height:36px;flex-basis:36px;border-radius:9px;}
  .study-space .study-card-icon svg{width:21px;height:21px;}
  .study-space .study-optional{font-size:9px;}
  .study-space .planner-upload{min-height:215px;}
  .study-space .planner-file-meta{font-size:9px;gap:6px;margin-bottom:19px;}
  .study-space .planner-empty>span:last-child{font-size:10px;}
  .study-space textarea,.study-space select,.study-space input[type="text"]{font-size:16px;}
  .study-space textarea{min-height:101px;font-size:16px;}
  .study-space textarea::placeholder{font-size:12px;}
  .study-space .planner-actions{gap:14px;}
  .study-space .planner-actions .study-primary-button{flex:1;justify-content:space-between;font-size:12px;gap:10px;}
  .study-space .study-delete-button{font-size:10px;}
  .study-space .study-private-note{font-size:10px;}
  .study-space .booking-session{padding:18px;}
  .study-space .booking-session-time{font-size:17px;}
  .study-space .booking-time-help,.study-space .booking-payment-note{font-size:10px;}
  .study-space .study-bottom-note{font-size:10px;padding-inline:14px;margin-top:25px;}
}
@media(max-width:359px){
  .study-space .study-shell{padding-inline:16px;}
  .study-space .study-card{padding:20px 16px;}
  .study-space .study-card-heading{gap:8px;}
  .study-space .study-card-heading h3{font-size:18px;}
  .study-space .study-card-heading p{font-size:10px;}
  .study-space .study-optional{display:none;}
  .study-space .study-top-actions{gap:9px;}
  .study-space .study-eyebrow{font-size:9px;}
  .study-space h1{font-size:28px;}
}
@media(prefers-reduced-motion:reduce){
  .study-space *{scroll-behavior:auto!important;transition:none!important;animation:none!important;}
}

/* Shared account surfaces stay separate from the public landing page. */
.study-is-open .desktop-nav,.study-is-open .nav-actions>a,.study-is-open .menu-toggle,.study-is-open .mobile-menu,.study-is-open .mobile-join{display:none!important}
.study-is-open .nav-actions{margin-left:auto}
.study-space .study-grid.planner-only{grid-template-columns:minmax(0,760px);justify-content:center}
.study-space .shared-head{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px}
.study-space .shared-head h2{font-size:28px;margin:0 0 10px}.study-space .shared-head p{font-size:14px;color:#777c85;line-height:1.7}
.study-space .shared-head label{display:grid;gap:8px;font-size:12px;color:#6a7079}.study-space .shared-head input{padding:12px;border:1px solid #dce0e5;border-radius:10px;background:#fff;font:inherit;color:#20242a;min-height:44px}
.study-space .shared-planners{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:24px 0}
.study-space .shared-planner-card{padding:20px;border:1px solid #e3e5e9;border-radius:16px;background:#fff;overflow:hidden}
.study-space .shared-planner-head{display:flex;justify-content:space-between;gap:12px;align-items:baseline;margin-bottom:16px}.study-space .shared-planner-head strong{font-size:15px;overflow-wrap:anywhere}.study-space .shared-planner-head span{font-size:11px;white-space:nowrap;color:#7e8590}
.study-space .shared-planner-card img{display:block;width:100%;height:auto;border-radius:8px}.study-space .shared-note{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.8;margin-top:16px;color:#4d535d}.study-space .shared-own{display:inline-block;font-size:11px;color:#777;margin-top:14px}.study-space .shared-image-status{font-size:12px;color:#777}
.study-space .study-secondary-button{padding:12px 22px;border:1px solid #dce0e5;border-radius:10px;background:#fff;font:inherit;cursor:pointer}
.study-space .study-status.is-error,.study-space .study-feedback.is-error{color:#ad324c}.study-space [hidden]{display:none!important}
@media(max-width:900px){.study-space .shared-planners{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.study-space .shared-head{align-items:stretch;flex-direction:column;gap:18px}.study-space .shared-head h2{font-size:24px}.study-space .shared-planners{grid-template-columns:1fr}.study-space .shared-head input{width:100%}.study-space .shared-head label{align-self:flex-start}}
