/* Feature-specific preview presentation. No generic selectors escape .ss-studio. */
.ss-studio #projectsSection{padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
.ss-studio #projectsSection>.section-heading{margin:0 0 12px;justify-content:flex-end;min-height:0}.ss-studio #projectsSection>.section-heading h2{display:none}
.ss-studio #projectsSection .projects-toolbar{padding:0 0 16px;margin:0 0 18px;border-bottom:1px solid var(--studio-line);gap:10px;align-items:center}
.ss-studio #projectsSection .project-inner-tabs{display:flex;gap:3px;padding:4px;background:var(--studio-paper);border:1px solid var(--studio-line);border-radius:10px;flex:none}
.ss-studio #projectsSection .project-inner-tabs>button{font-size:13px;min-height:34px;padding:8px 12px;border:0;border-radius:7px;background:transparent;color:var(--studio-muted);font-weight:550}
.ss-studio #projectsSection .project-inner-tabs>button[aria-selected=true],.ss-studio #projectsSection .project-inner-tabs>button.is-active{background:var(--studio-soft);color:var(--studio-ink);box-shadow:0 1px 4px #16233913}
.ss-studio #projectsSection :is(.project-catalog-filters,.project-roster-tools,.project-table-tools){display:flex;align-items:end;flex-wrap:wrap;gap:12px;margin-bottom:16px}
.ss-studio #projectsSection :is(.project-catalog-filters,.project-roster-tools,.project-table-tools) label{font-size:12px;color:var(--studio-muted);display:grid;gap:5px;min-width:0}
.ss-studio #projectsSection #projectCreate{border:1px solid var(--studio-line);border-radius:12px;background:var(--studio-paper);padding:14px 18px;margin:0 0 18px}.ss-studio #projectCreate>summary{font-size:14px;font-weight:600;color:var(--studio-green);padding:4px 0}.ss-studio #projectCreate[open]>summary{padding-bottom:18px;margin-bottom:16px;border-bottom:1px solid var(--studio-line)}
.ss-studio #projectCatalog[data-view=cards]{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px;margin:16px 0 22px}
.ss-studio #projectsSection #projectCatalog .project-catalog-card{display:flex!important;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:7px;margin:0;width:100%;min-width:0;padding:13px 14px;min-height:142px;border-radius:12px;text-align:left;font-weight:400;position:relative;background:color-mix(in srgb,var(--event-bg) 55%,var(--studio-paper));color:var(--event-text);border:1px solid color-mix(in srgb,var(--event-border) 50%,var(--studio-line));box-shadow:0 3px 7px #13294605!important;transition:box-shadow .15s ease,border-color .15s ease}
.ss-studio #projectsSection #projectCatalog .project-catalog-card:hover{box-shadow:0 6px 18px #13294614!important;border-color:var(--studio-blue)}
.ss-studio .studio-project-name{font-size:16px;font-weight:650;letter-spacing:-.3px;line-height:1.35;margin-bottom:4px;display:block;padding-right:12px}
.ss-studio .studio-project-line{display:flex!important;align-items:center;gap:8px;font-size:12px!important;line-height:1.45;margin:0!important;font-weight:400!important}.ss-studio .studio-project-line .studio-icon{width:14px;height:14px;opacity:.7}
.ss-studio .studio-project-manager{margin-top:auto!important;padding-top:9px;border-top:1px solid #56647419}.ss-studio .studio-project-chevron{margin-left:auto;font-size:20px;line-height:14px;opacity:.7}
.ss-studio #projectsSection :is(.planning-group,.equipment-hall,.project-task-plan){border-radius:12px;border-color:var(--studio-line);padding:18px;background:var(--studio-paper)}
.ss-studio #projectsSection :is(.planning-grid,.project-task-plan){gap:16px}
.ss-studio #projectsSection :is(.dispatch-period-matrix,.dispatch-day-matrix){background:var(--studio-paper);border-radius:10px;overflow:hidden}
.ss-studio #projectsSection :is(.dispatch-period-matrix,.dispatch-day-matrix) :is(th,td){border-color:var(--studio-line)}
.ss-studio #projectCalendarSection{padding:20px!important}.ss-studio #projectCalendarSection .calendar-week{border-color:var(--studio-line);background:var(--studio-paper)}
.ss-studio #peopleSection{gap:20px;grid-template-columns:minmax(240px,290px) minmax(0,1fr);background:transparent}
.ss-studio #peopleSection>.admin-panel{margin-top:0;min-width:0;padding:18px}
.ss-studio #employeeAdminList{max-height:calc(100dvh - 360px);overflow:auto;scrollbar-width:thin;margin-top:14px}
.ss-studio #employeeAdminList :is(.employee-row,.review-queue-item){border:1px solid var(--studio-line);padding:12px 13px;border-radius:9px;background:var(--studio-paper);font-size:13px;margin-bottom:8px;box-shadow:none}
.ss-studio #employeeAdminList strong{font-size:13px;line-height:1.4;font-weight:600}.ss-studio #employeeAdminList small{font-size:12px;line-height:1.5}
.ss-studio #employeeAdminList :is(.is-active,.selected){border-color:var(--studio-blue);background:color-mix(in srgb,var(--studio-blue) 5%,var(--studio-paper))}
.ss-studio #adminEditor .staff-profile-header{padding:0 0 18px;border:0;border-bottom:1px solid var(--studio-line);border-radius:0;gap:14px;box-shadow:none;background:transparent}
.ss-studio #adminEditor #adminEmployeeName{font-size:20px;font-weight:650}.ss-studio #adminEditor #employeeProfileSummary .profile-stat{min-width:95px}.ss-studio #adminEditor #employeeProfileSummary .profile-stat span{font-size:11px}.ss-studio #adminEditor #employeeProfileSummary .profile-stat strong{font-size:15px}
.ss-studio #adminEditor :is(.entry-card,.admin-day-card){padding:16px;border-radius:12px}.ss-studio #adminEditor .entry-date{font-size:14px;font-weight:650}.ss-studio #adminEditor .entry-top{flex-wrap:wrap;gap:12px}
.ss-studio #adminEditor :is(.day-venue-block,.compact-expenses>div){padding:10px 12px;border-radius:9px}.ss-studio #adminEditor :is(.admin-inline-tasks,.compact-expenses){gap:10px}
.ss-studio #adminEditor input[type=number]{min-height:38px;font-size:15px;max-width:120px}
.ss-studio #venuesSection{max-width:none!important;min-width:0;font-size:14px!important;padding:22px!important}.ss-studio #venuesSection>.section-heading{display:none}
.ss-studio #venuesSection .reference-nav{gap:5px;padding-bottom:18px}.ss-studio #venuesSection .reference-nav button{font-size:13px!important;border-radius:8px;padding:9px 12px;min-height:38px}.ss-studio #venuesSection .reference-nav button[aria-pressed=true]{background:#edf3ff;color:#285eac;border-color:#d3e2fc}
.ss-studio #venuesSection .ref-list{max-width:none;display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:12px;margin-top:20px}
.ss-studio #venuesSection .ref-row{padding:16px;border:1px solid var(--studio-line);border-radius:10px;margin:0;min-width:0;background:var(--studio-paper)}
.ss-studio #venuesSection .ref-row :is(strong,button,summary){font-size:14px!important}.ss-studio #venuesSection .ref-row small{font-size:12px!important}.ss-studio #venuesSection .ref-row:has([open]){grid-column:1/-1}
.ss-studio #venuesSection :is(.ref-form,.ref-editor){gap:12px}.ss-studio #venuesSection .reference-panel>h3{font-size:18px;margin-bottom:20px}
.ss-studio #employeeView{max-width:1120px;width:calc(100% - 48px);padding:24px 0 40px}
.ss-studio #employeeView .employee-header{padding:20px 22px;background:var(--studio-paper)!important;border:1px solid var(--studio-line);border-radius:14px;box-shadow:none;gap:16px;position:relative}
.ss-studio #employeeView .employee-header h1{font-size:25px}.ss-studio #employeeIdentity{font-size:13px;margin-top:4px}
.ss-studio #employeeView .employee-header .brand-home-btn{display:none}.ss-studio #employeeView .profile-avatar-header{width:44px;height:48px;border-radius:12px;object-fit:cover}
.ss-studio #employeeView .employee-navigation{gap:8px;align-items:center;flex-wrap:wrap}.ss-studio #employeeView .own-schedule-actions{display:flex;gap:10px;margin:16px 0}
.ss-studio #employeeView .employee-date-filter{padding:16px;background:var(--studio-paper);border:1px solid var(--studio-line);border-radius:12px;gap:12px;box-shadow:none;margin:16px 0}
.ss-studio #employeeView .employee-finances.payment-balance{gap:12px;margin:16px 0 20px}
.ss-studio #employeeView .payment-balance .balance-card{padding:16px;border-radius:12px;border-top-width:2px;background:var(--studio-paper)!important;gap:6px;min-height:92px}
.ss-studio #employeeView .payment-balance .balance-card h4{font-size:13px;font-weight:500}.ss-studio #employeeView .payment-balance .balance-card .balance-hero{font-size:24px;font-weight:650;letter-spacing:-.6px}
.ss-studio #employeeView .payment-balance .balance-expenses{--balance-accent:#306ea4;--balance-tint:#edf4fc}
.ss-studio #employeeView .employee-days{padding:20px}.ss-studio #employeeView .entry-card{padding:18px;background:var(--studio-paper);border-radius:12px}.ss-studio #employeeView .entry-date{font-size:14px;font-weight:600}.ss-studio #employeeView .entry-meta{gap:6px}
.ss-studio #employeeView .task-display-row{padding:10px 12px;border-radius:8px;background:var(--studio-soft);font-size:13px}
.ss-studio #eventForm>.workday-fields{gap:16px;padding:16px 0}.ss-studio #eventForm .workday-extras{padding:18px 0 0}.ss-studio #eventForm .workday-extras h3{font-size:16px;margin-bottom:16px}
.ss-studio #eventForm :is(.venue-block,.work-venue-block,.taxi-trip){padding:16px;border-radius:12px;border:1px solid var(--studio-line);background:var(--studio-soft)}
.ss-studio #eventForm .dialog-header{position:sticky;top:0;background:var(--studio-paper);z-index:5}
.ss-studio #eventForm .dialog-actions{position:sticky;bottom:0;background:var(--studio-paper);z-index:5;padding-bottom:12px}
.ss-studio #loginView .login-card{padding:36px;width:min(440px,100%);border-radius:18px;background:var(--studio-paper);box-shadow:0 15px 60px #172c4910;border:1px solid var(--studio-line)}
.ss-studio #loginView::before,.ss-studio #loginView::after{display:none}.ss-studio #loginView .login-card::after{display:none}.ss-studio #loginView .login-icon{width:60px;height:60px;margin-bottom:26px}
.ss-studio #notificationsDialog .notification-toolbar{gap:12px;align-items:end;flex-wrap:wrap}.ss-studio #notificationsDialog :is(.notification-item,.notification-row){padding:16px;border:1px solid var(--studio-line);border-radius:10px;margin:12px 0;font-size:14px}
@media(max-width:1100px){.ss-studio #peopleSection{grid-template-columns:240px minmax(0,1fr);gap:14px}.ss-studio #projectsSection #projectCatalog[data-view=cards]{grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}}
@media(max-width:760px){
 .ss-studio .card{padding:16px;border-radius:12px}.ss-studio .section-heading{flex-wrap:wrap;align-items:center;gap:12px}.ss-studio h2{font-size:18px}
 .ss-studio :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea){font-size:16px;min-height:44px;padding:10px 11px}.ss-studio .btn{min-height:42px;font-size:13px}
 .ss-studio .dialog{width:100%!important;max-width:100%!important;max-height:96dvh;margin:auto 0 0;border-radius:18px 18px 0 0}.ss-studio .dialog-card{max-height:94dvh;padding:20px 16px calc(18px + env(safe-area-inset-bottom));border-radius:18px 18px 0 0;box-shadow:none}
 .ss-studio .dialog-header h2{font-size:19px}.ss-studio .dialog-header{gap:10px}.ss-studio .dialog-actions{gap:10px;flex-wrap:wrap}.ss-studio .dialog-actions-right{gap:8px;flex:1;justify-content:flex-end}
 .ss-studio #projectsSection>.section-heading{margin-bottom:12px}.ss-studio #projectsSection .projects-toolbar{gap:12px;display:block;padding:0 0 14px}.ss-studio #projectsSection .project-inner-tabs{display:flex;width:100%;overflow:auto;gap:2px;margin-bottom:14px}.ss-studio #projectsSection .project-inner-tabs>button{font-size:12px;padding:8px 9px;min-height:38px;flex:1;white-space:normal}
 .ss-studio #projectCatalog[data-view=cards]{grid-template-columns:1fr!important;gap:12px}.ss-studio #projectsSection #projectCatalog .project-catalog-card{min-height:150px;padding:16px;gap:8px}.ss-studio .studio-project-name{font-size:16px}.ss-studio .studio-project-line{font-size:13px!important}
 .ss-studio #projectCreate{padding:12px!important}.ss-studio #projectsSection :is(.planning-group,.equipment-hall,.project-task-plan){padding:14px;gap:14px}.ss-studio #projectsSection :is(.project-catalog-filters,.project-roster-tools,.project-table-tools){gap:10px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.ss-studio #projectsSection :is(.project-catalog-filters,.project-roster-tools,.project-table-tools)>label{width:auto!important;min-width:0!important}
 .ss-studio #peopleSection:not(.hidden){display:block!important}.ss-studio #peopleSection>.admin-panel{padding:16px}.ss-studio #peopleSection>.admin-panel:last-child{display:none}.ss-studio #adminView.studio-staff-detail #peopleSection>.admin-panel:first-child{display:none}.ss-studio #adminView.studio-staff-detail #peopleSection>.admin-panel:last-child{display:block}
 .ss-studio .studio-review-back{display:flex;gap:5px;align-items:center;border:0;background:none;padding:0 0 16px;color:var(--studio-blue);font-size:14px;font-weight:550;min-height:40px}.ss-studio #employeeAdminList{max-height:none}.ss-studio #employeeAdminList :is(.employee-row,.review-queue-item){padding:14px}.ss-studio #employeeAdminList strong{font-size:15px}
 .ss-studio #adminEditor .staff-profile-header{flex-wrap:wrap;gap:12px}.ss-studio #adminEditor #adminEmployeeName{font-size:18px}.ss-studio #adminEditor #employeeProfileSummary{gap:12px;flex-basis:100%}.ss-studio #adminEditor .entry-top{display:flex;align-items:flex-start;gap:10px}.ss-studio #adminEditor .entry-top>div{flex-wrap:wrap;min-width:0}.ss-studio #adminEditor .entry-card{padding:12px}.ss-studio #adminEditor .entry-date{font-size:14px}.ss-studio #adminEditor .compact-expenses{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
 .ss-studio #adminEditor .compact-expenses>div{display:flex;flex-wrap:wrap;gap:8px;min-width:0;width:100%;max-width:100%;box-sizing:border-box}
 .ss-studio #adminEditor .compact-expenses .inline-expense{display:grid;grid-template-columns:minmax(0,1fr) minmax(80px,110px);align-items:center;gap:8px;width:100%;min-width:0;flex:1 1 100%}
 .ss-studio #adminEditor .compact-expenses input{width:100%;max-width:100%;min-width:0;box-sizing:border-box}
 .ss-studio #adminEditor .compact-expenses :is(.taxi-route-summary,.trip-comment,.receipt-declaration){flex:1 1 100%;min-width:0;max-width:100%;overflow-wrap:anywhere;margin:0}
 .ss-studio #adminEditor .payment-balance{grid-template-columns:repeat(2,minmax(0,1fr))!important}.ss-studio #adminEditor .payment-balance .balance-card{grid-column:auto;padding:12px}.ss-studio #adminEditor .payment-balance .balance-hero{font-size:19px!important}
 .ss-studio #venuesSection{padding:16px!important}.ss-studio #venuesSection .reference-nav{gap:5px;flex-wrap:wrap}.ss-studio #venuesSection .reference-nav button{padding:8px 10px;font-size:13px!important}.ss-studio #venuesSection .ref-list{grid-template-columns:1fr}.ss-studio #venuesSection .ref-row{padding:14px}
 .ss-studio #employeeView{width:100%!important;max-width:none;padding:0 14px calc(96px + env(safe-area-inset-bottom))!important;margin:0!important}
 .ss-studio #employeeView .employee-header{margin:0 -14px 18px;padding:18px 16px 14px;border:0;border-bottom:1px solid var(--studio-line);border-radius:0;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}
 .ss-studio #employeeView .employee-header h1{font-size:22px;margin:0}.ss-studio #employeeView .employee-header .brand-heading{gap:10px;flex:1;min-width:140px}.ss-studio #employeeIdentity{font-size:12px}.ss-studio #employeeView .employee-navigation{display:flex;gap:7px;flex:none;justify-content:flex-end}
 .ss-studio #employeeView .employee-navigation>.btn:not([data-notifications]):not([data-open-bug-report]){font-size:12px;min-height:34px;padding:7px 9px}.ss-studio #employeeView .employee-navigation>.studio-bug{width:36px;padding:7px;min-height:36px}.ss-studio #employeeView .studio-bug span{display:none}
 .ss-studio #employeeView .employee-navigation [data-notifications]{width:36px;height:36px;min-height:36px;padding:7px;position:relative}.ss-studio #employeeView .notification-label{display:none}.ss-studio #employeeView .notification-count{position:absolute;right:-4px;top:-7px;font-size:10px;padding:1px 5px;background:#25835c;color:white;border-radius:20px}
 .ss-studio #employeeView .own-schedule-actions{margin:0 0 12px}.ss-studio #employeeView #openMyScheduleBtn{display:none}.ss-studio #employeeView #backToAdminFromOwnBtn{padding:7px 10px;font-size:12px;min-height:34px}.ss-studio #employeeView #addEventBtn{display:none}
 .ss-studio #employeeView .employee-date-filter{margin:12px 0;padding:12px;display:grid;grid-template-columns:1fr auto;gap:10px}.ss-studio #employeeView .employee-date-filter .report-period{grid-column:1;display:flex;min-width:0}.ss-studio #employeeView .employee-date-filter .date-range-inputs{grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ss-studio #employeeView .employee-date-filter .date-filter-controls{grid-column:2;grid-row:1}.ss-studio #employeeView .date-shortcuts{gap:4px}.ss-studio #employeeView .date-shortcuts .btn{padding:7px 8px;min-height:40px;font-size:12px}
 .ss-studio #employeeView .report-period select{padding:9px 7px;font-size:14px;min-width:0}.ss-studio #employeeView .date-range-inputs label{font-size:11px;color:var(--studio-muted);gap:4px}.ss-studio #employeeView .date-range-inputs input{font-size:14px;min-height:40px}
 .ss-studio #employeeView .employee-finances.payment-balance{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0}.ss-studio #employeeView .payment-balance .balance-card{min-height:86px;padding:12px 14px;gap:3px;border-radius:11px}.ss-studio #employeeView .payment-balance .balance-card h4{font-size:12px}.ss-studio #employeeView .payment-balance .balance-card .balance-hero{font-size:22px}.ss-studio #employeeView .payment-balance .balance-card small{font-size:10px}
 .ss-studio #employeeView .employee-days{padding:0;border:0!important;background:transparent!important;box-shadow:none!important}.ss-studio #employeeView .employee-days .report-list-heading{margin:22px 0 12px}.ss-studio #employeeView .employee-days h2{font-size:18px}.ss-studio #employeeView .entry-card{padding:14px;border-radius:12px}.ss-studio #employeeView .entry-top{gap:8px;flex-wrap:wrap}.ss-studio #employeeView .task-display-row{font-size:13px;gap:8px}
 .ss-studio #employeeView .footer-actions{position:static;padding:0;border:0;background:transparent;box-shadow:none}.ss-studio #employeeView .report-comment{padding:14px;border:1px solid var(--studio-line);border-radius:10px;background:var(--studio-paper)}
 .ss-studio .studio-employee-dock{display:grid;grid-template-columns:1fr 1.2fr 1fr;gap:10px;position:fixed;bottom:0;left:0;right:0;background:var(--studio-paper);border-top:1px solid var(--studio-line);padding:9px 18px calc(9px + env(safe-area-inset-bottom));z-index:42;box-shadow:0 -3px 16px #17283d08}
 .ss-studio .studio-employee-dock>button{border:0;background:transparent;color:var(--studio-muted);display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;font-size:11px;border-radius:11px;min-height:48px;padding:6px}.ss-studio .studio-employee-dock>button.studio-dock-add{color:#fff;background:#25835c;flex-direction:row;gap:8px;font-size:13px;font-weight:600}
 .ss-studio #eventForm>.workday-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ss-studio #eventForm .field-full{grid-column:1/-1}.ss-studio #eventForm .dialog-actions{margin-top:18px}.ss-studio #eventForm .workday-extras{padding-top:16px}.ss-studio #eventForm :is(.venue-block,.work-venue-block,.taxi-trip){padding:12px}
 .ss-studio #notificationsDialog .notification-toolbar{display:grid;grid-template-columns:1fr;gap:10px}
}

.ss-studio #employeeAdminList .employee-row.active{border-color:var(--studio-blue);box-shadow:inset 3px 0 var(--studio-blue)}
.ss-studio .studio-review-summary{border:1px solid var(--studio-line);border-radius:10px;background:var(--studio-soft);padding:0 14px;margin-bottom:16px}
.ss-studio .studio-review-summary>summary{cursor:pointer;padding:13px 0;font-size:14px;font-weight:600;color:var(--studio-ink)}
.ss-studio .studio-review-summary[open]>summary{margin-bottom:12px;border-bottom:1px solid var(--studio-line)}
.ss-studio #adminEditor .studio-review-summary #adminReportSummary{margin:0 0 14px}
.ss-studio #employeeView .employee-menu-items>[data-own-statistics],.ss-studio #employeeView .employee-menu-items>[data-surveys]{display:flex;align-items:center;border:0;padding:10px;font-size:14px;background:transparent;color:var(--studio-ink);font-weight:500}
.ss-studio #employeeView .employee-finances.payment-balance{column-gap:12px!important;row-gap:12px!important;border:0!important;border-radius:0;overflow:visible}
.ss-studio #employeeView .employee-finances.payment-balance>.balance-card{border-radius:12px!important;margin:0!important;box-shadow:none!important;border:1px solid var(--studio-line)!important;border-top:3px solid var(--balance-accent)!important}
.ss-studio #eventDialog #eventForm>.dialog-header{background:var(--studio-paper);padding:0 0 14px}
.ss-studio #eventDialog #eventForm>.dialog-header h2{font-size:21px;font-weight:650}
.ss-studio #eventDialog #eventForm>.dialog-actions{background:var(--studio-paper);padding:14px 0 0}
@media(max-width:760px){
 .ss-studio #peopleSection>.admin-panel{overflow:visible;max-height:none}
 .ss-studio #adminEditor #staffReportsViewport{height:auto;max-height:none;overflow:visible}
 .ss-studio #adminEditor .staff-person{flex:1 1 170px}
 .ss-studio #adminEditor #employeeProfileSummary{display:none}
 .ss-studio #adminEditor .staff-profile-header{align-items:center;padding-bottom:14px}
 .ss-studio #adminEditor #adminExportBtn{font-size:12px;min-height:36px;width:100%}
 .ss-studio #adminEditor #staffIdentityAvatar{height:52px;width:42px;flex-basis:42px}
 .ss-studio #adminEditor .studio-review-summary #adminReportSummary{grid-template-columns:1fr!important}
 .ss-studio #adminEditor #staffPayments{padding:12px;margin:0 0 14px;gap:10px}
 .ss-studio #adminEditor #staffPayments .btn{min-height:42px}
 .ss-studio #adminReportList .review-action{display:flex;gap:8px;align-items:center;width:100%}
 .ss-studio #adminReportList .review-action .btn{flex:1;min-height:42px;font-size:13px}
 .ss-studio #adminReportList .review-action .review-status{flex-basis:100%;justify-content:flex-start;background:transparent;padding:0;min-height:24px}
 .ss-studio #adminEditor .compact-expenses :is(input,.btn){min-height:42px;height:auto;font-size:16px}
 .ss-studio #adminReportList .day-heading{font-size:14px;gap:6px}
 .ss-studio #adminReportList .day-heading .day-hours{font-size:12px}
 .ss-studio #employeeView .employee-header{flex-wrap:nowrap;gap:8px}
 .ss-studio #employeeView .employee-header .brand-heading{min-width:0}
 .ss-studio #employeeView .employee-header h1{font-size:19px}
 .ss-studio #employeeView .profile-avatar-header{width:32px;height:38px}
 .ss-studio .studio-employee-dock [aria-current=page]{color:var(--studio-green);background:var(--studio-soft)}
 .ss-studio #adminEventDialog .dialog-header{position:static;display:block}
 .ss-studio #adminEventDialog .dialog-header-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px;margin-top:12px}
 .ss-studio #adminEventDialog .dialog-header-actions .btn{font-size:12px}
 .ss-studio #adminEventDialog .dialog-actions{bottom:0;padding:12px 0;background:var(--studio-paper)}
 .ss-studio #adminEventDialog :is(input:not([type=checkbox]):not([type=radio]),select){font-size:16px;min-height:44px}
}

.ss-studio .studio-profile-terms{flex:1 1 390px;min-width:0}.ss-studio .studio-profile-terms>summary{display:none}.ss-studio .studio-review-next{display:none}
@media(max-width:760px){
 .ss-studio .studio-profile-terms{flex-basis:100%;border:1px solid var(--studio-line);border-radius:8px;padding:0 10px}
 .ss-studio .studio-profile-terms>summary{display:list-item;font-size:12px;color:var(--studio-muted);padding:8px 0;cursor:pointer}
 .ss-studio #adminEditor .studio-profile-terms #employeeProfileSummary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:8px 0 12px}
 .ss-studio #adminEditor #employeeProfileSummary .profile-stat{min-width:0}
 .ss-studio #adminEditor #employeeProfileSummary .profile-stat strong{font-size:13px}
 .ss-studio #peopleSection[data-workspace=review] .studio-review-next{display:block;float:right;border:0;background:none;color:var(--studio-blue);padding:0 0 16px;min-height:40px;font-size:13px}
 .ss-studio .studio-review-back{display:inline-flex}
 .ss-studio .studio-review-next{margin-top:-40px}
}

.ss-studio .studio-review-navigation{display:none}
@media(max-width:760px){
 .ss-studio .studio-review-navigation{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:14px}
 .ss-studio .studio-review-navigation .studio-review-back{padding:0;min-height:36px}
 .ss-studio #adminView:is([data-studio-page=production-review],[data-studio-page=expenses-review]) .studio-review-navigation .studio-review-next{display:block;float:none;margin:0;padding:0;border:0;background:transparent;color:var(--studio-blue);font-size:13px;min-height:36px}
}

@media(min-width:360px) and (max-width:760px){.ss-studio #employeeView .employee-header h1{white-space:nowrap}}

/* Keep event identity colours without reducing dark-mode contrast. */
.ss-studio[data-theme=dark] #projectsSection #projectCatalog .project-catalog-card{background:color-mix(in srgb,var(--event-bg) 9%,var(--studio-paper));border-color:color-mix(in srgb,var(--event-border) 35%,var(--studio-line));color:var(--studio-ink)}
.ss-studio[data-theme=dark] #projectCatalog .studio-project-line{color:var(--studio-muted)}
.ss-studio[data-theme=dark] #projectCatalog .studio-project-name{color:var(--studio-ink)}
.ss-studio #monthlySummaryBody .summary-money{min-width:100px;white-space:nowrap}
.ss-studio #monthlySummaryBody .summary-money>small{display:block;margin-top:5px;max-width:240px;white-space:normal;font-size:11px;line-height:1.45;color:var(--studio-muted)}

/* One section title in the shared bar; feature-specific subheadings stay in place. */
.ss-studio #projectCalendarSection>h2,
.ss-studio #businessTripsSection>.section-heading>h2,
.ss-studio #ratesHeading,
.ss-studio #statsSection>.section-heading>h2,
.ss-studio #hostSection>.section-heading,
.ss-studio #adminView[data-studio-page=people] #peopleSection>.admin-panel>.section-heading>h2{display:none}
.ss-studio :is(#businessTripsSection,#statsSection)>.section-heading:not(:has(button,a,input,select)){display:none}
.ss-studio #projectsSection .studio-project-actions{margin:0 0 0 auto!important;display:flex;align-items:center;gap:8px;min-height:0;flex:0 0 auto}
.ss-studio #projectsSection .studio-project-actions h2{display:none}
.ss-studio #projectsSection .studio-project-actions #projectManagerExport{margin:0;min-height:38px;font-size:13px}
.ss-studio #projectCatalog[data-view=cards]{gap:12px;grid-auto-rows:1fr}
.ss-studio #projectCatalog .studio-project-name{font-size:15px;line-height:1.35;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ss-studio #projectCatalog .studio-project-manager{padding-top:7px}
.ss-studio #adminEditor .staff-profile-header #staffIdentityAvatar{display:grid!important;place-items:center!important;text-align:center!important;align-self:center;line-height:1.35;font-size:12px;overflow:hidden;padding:0;min-width:42px;flex-shrink:0}
.ss-studio #staffIdentityAvatar>span{display:block;width:100%;padding:6px;text-align:center}
.ss-studio #staffIdentityAvatar>img{display:block;width:100%;height:100%;object-fit:cover}

/* Identity thumbnails are crops, never the natural portrait height. */
.ss-studio #adminEditor .staff-profile-header #staffIdentityAvatar{width:64px!important;height:64px!important;min-width:64px!important;min-height:64px!important;max-height:64px;aspect-ratio:1;border-radius:14px}
.ss-studio :is(#adminAvatarPreview,#profileAvatarPreview){width:86px!important;height:86px!important;min-height:86px!important;aspect-ratio:1;border-radius:14px;overflow:hidden;padding:0}
.ss-studio :is(#staffIdentityAvatar,#adminAvatarPreview,#profileAvatarPreview)>img{display:block;width:100%!important;height:100%!important;min-height:0!important;object-fit:cover;object-position:center}
.ss-studio .employee-header .profile-avatar-header{width:44px!important;height:44px!important;min-width:44px;max-height:44px;flex:0 0 44px;aspect-ratio:1;object-fit:cover;border-radius:50%}
.ss-studio .personnel-header>img{width:64px!important;height:64px!important;aspect-ratio:1;object-fit:cover;border-radius:14px;flex-shrink:0}
.ss-studio :is(#employeeAdminList,#staffReportsViewport,.staff-card-grid){scrollbar-gutter:stable;padding-inline-end:10px;box-sizing:border-box}
.ss-studio #projectCalendarSection .calendar-bands{box-sizing:border-box;padding:10px;border:1px solid var(--studio-line);border-radius:14px;overflow:hidden;background:var(--studio-paper)}
.ss-studio #projectCalendarSection .calendar-band-week{padding-block:6px}
@media(max-width:600px){
 .ss-studio #adminEditor .staff-profile-header #staffIdentityAvatar{width:48px!important;height:48px!important;min-width:48px!important;min-height:48px!important;max-height:48px;border-radius:11px}
 .ss-studio #projectCalendarSection .calendar-bands{padding:6px;border-radius:12px}
}

/* Host panels use theme tokens instead of inherited white-on-white legacy colours. */
.ss-studio #projectsSection .project-plan-heading{padding:14px 16px;margin:16px 0;gap:10px 18px;background:color-mix(in srgb,var(--event-bg,var(--studio-soft)) 50%,var(--studio-paper));color:var(--studio-ink);border-color:var(--event-border,var(--studio-line))}
.ss-studio[data-theme=dark] #projectsSection .project-plan-heading{background:color-mix(in srgb,var(--event-bg,var(--studio-soft)) 10%,var(--studio-paper))}
.ss-studio #projectsSection .project-plan-heading h3{color:var(--studio-ink);font-size:18px;font-weight:600;margin:0}
.ss-studio #projectsSection .project-plan-location{color:var(--studio-muted);font-size:14px}
.ss-studio #projectsSection .project-plan-period{background:var(--studio-paper);color:var(--studio-ink);border-color:var(--studio-line);font-size:13px;padding:6px 9px}
.ss-studio #projectsSection .project-collapse{color:var(--studio-ink);background:var(--studio-paper);border-color:var(--studio-line);margin-left:auto;min-height:36px;font-size:13px}
.ss-studio #hostSection{color:var(--studio-ink)!important}
.ss-studio #hostSection .host-access{--line:var(--studio-line);--muted:var(--studio-muted);color:var(--studio-ink)!important;padding:0 0 22px;margin:0 0 22px}
.ss-studio #hostSection .host-access>h2{margin:0 0 8px;font-size:18px}
.ss-studio #hostSection .host-access>p{font-size:13px;color:var(--studio-muted);max-width:850px;line-height:1.5}
.ss-studio #hostSection .host-access :is(label,input,select,button,.host-permission){color:var(--studio-ink)!important}
.ss-studio #hostSection .host-access :is(input,select){background:var(--studio-paper)!important;border-color:var(--studio-line)!important}
.ss-studio #hostSection .host-access-list button{background:var(--studio-soft)!important;border-color:var(--studio-line)!important;font-size:14px;padding:10px 12px;min-height:42px}
.ss-studio #hostSection .host-access-list button[aria-pressed=true]{background:color-mix(in srgb,var(--studio-blue) 12%,var(--studio-paper))!important;border-color:var(--studio-blue)!important}
.ss-studio #hostSection .host-permission{background:var(--studio-soft)!important;border-color:var(--studio-line)!important}
.ss-studio #hostSection .host-access-toolbar{display:flex;align-items:end;gap:12px;max-width:960px}
.ss-studio #hostSection .host-access-toolbar label{display:grid;gap:6px;font-size:13px}
.ss-studio #hostSection .host-access-layout{grid-template-columns:minmax(220px,280px) minmax(0,1fr);gap:24px}
.ss-studio #hostSection .host-access-list{max-height:420px}
.ss-studio #hostSection .host-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:22px}
.ss-studio #hostSection .host-grid>div{grid-column:1;min-width:0;border:1px solid var(--studio-line);border-radius:12px;padding:16px;background:var(--studio-paper)}
.ss-studio #hostSection .host-grid h3{margin:0 0 12px;font-size:16px}
.ss-studio #hostSection .host-technical>.section-heading{display:flex;justify-content:flex-start;flex-wrap:wrap;gap:14px;align-items:center}
.ss-studio #hostSection .log-filter-row{display:flex;flex-direction:row;flex-wrap:wrap;gap:10px;margin:0;max-width:600px}
.ss-studio #hostSection .log-filter-row :is(input,select){min-width:0;flex:1 1 180px}
.ss-studio #hostSection :is(.audit-row,.technical-log-row){background:var(--studio-soft);color:var(--studio-ink);padding:12px;border:1px solid var(--studio-line);border-radius:8px;min-height:0}
.ss-studio #hostSection .audit-list{max-height:360px}
@media(max-width:760px){
 .ss-studio #hostSection .host-access-layout{grid-template-columns:minmax(0,1fr);gap:16px}
 .ss-studio #hostSection .host-access-list{max-height:190px}
 .ss-studio #hostSection .host-permission{grid-template-columns:minmax(0,1fr)}
 .ss-studio #hostSection .host-grid>div{padding:14px}
 .ss-studio #projectsSection .studio-project-actions{margin:0!important}
 .ss-studio #projectsSection .project-inner-tabs{max-width:100%;overflow:auto}
 .ss-studio #projectsSection .project-inner-tabs>button{padding:8px;font-size:12px;white-space:normal;flex:1;min-width:0}
}
