/* Shared type scale and comfortable controls across the workspace and access pages. */
:root{--muted:#667087;--line:#e1e5ef}
body{font-size:15px;line-height:1.5}
.sidebar{width:260px;overflow-y:auto;padding:26px 18px}
.shell{margin-left:260px}
.org-switch{margin:26px 6px 12px}
.org-switch label,.nav-label{font-size:12px;letter-spacing:.7px;color:#a9afc6}
.org-select-row{gap:8px}
.org-select-row select{font-size:16px;font-weight:600;min-height:46px;padding:10px;color:#fff;border-color:#50516b}
.org-add{width:38px;height:46px;color:#e0d9ff}
.sidebar nav button{font-size:16px;min-height:48px;padding:12px 16px}
.nav-count{font-size:12px;color:#d6d8e8}
.nav-label{margin:20px 12px 10px}.management{margin-top:24px}
.sidebar-foot{font-size:12px;color:#b7bdd1}.sidebar-caption{font-size:12px;color:#a1a9c2}
.topbar{min-height:76px;height:auto;padding:16px 0;flex-wrap:wrap}
.breadcrumb{font-size:14px;color:#68728a}
.account-actions .account-name,.account-actions a,.account-actions button{font-size:14px}
.account-actions a,.account-actions button{min-height:40px;display:inline-flex;align-items:center}
.page-heading{align-items:flex-start}.page-heading>div:first-child{min-width:0}
#organizationLabel{font-size:19px;line-height:1.4;font-weight:600;letter-spacing:0;text-transform:none;color:#6653b8;margin-bottom:10px;overflow-wrap:anywhere}
h1{line-height:1.25}.page-heading p{font-size:15px;line-height:1.6;color:#667087}
.overline{font-size:12px;color:#737d94}
.heading-actions{flex-wrap:wrap;justify-content:flex-end}
.primary,.secondary{font-size:14px;min-height:44px;padding:10px 16px;white-space:normal;text-align:center;line-height:1.4}
.secondary{color:#565f79}.icon-btn{width:40px;height:40px;color:#69738c}
.month-picker{font-size:15px;min-height:44px;padding:10px 14px}
.stat-top,.stat-note{color:#68728a;font-size:14px;line-height:1.5}
.stat-note strong{color:#58667f}.stat-value{line-height:1.2}
.payment-summary,.payment-summary .pay-chip{font-size:13px;color:#68728a}.pay-chip strong{font-size:14px;color:#46546e}
.payroll-card>span{font-size:14px;color:#626b82}.payroll-card>strong{font-variant-numeric:tabular-nums;line-height:1.35}
.payroll-warning,.payments-help,.pay-rate-history{font-size:14px;line-height:1.7}
.panel-heading h2,.settings-panel h2{font-size:19px;line-height:1.4}
.panel-heading p,.settings-panel p,.empty p{font-size:14px;line-height:1.65;color:#667087}
.search{max-width:260px;min-height:44px}.search input{font-size:14px;color:#3f4b65}.search input::placeholder{color:#737e95}
.period-name{font-size:14px}.period-actions{flex-wrap:wrap}.period-actions .secondary,.segmented button{font-size:13px;min-height:40px}.period-actions .icon-btn{width:40px;height:40px}
.staff-table{min-width:900px}.staff-table th{font-size:12px;color:#667087}.staff-table th .header-date{font-size:15px;color:#535f78}
.staff-table th.employee-col,.staff-table td.employee-col,.monthly-table th.employee-col,.monthly-table td.employee-col{width:210px;min-width:210px}
.staff-table th.employee-col{font-size:13px;color:#626d85}.staff-table th.weekend-col{color:#748097}
.employee-name,.team-row .employee-name{font-size:14px;color:#414e68}.employee-role{font-size:12px;color:#6a758c}
.employee-avatar{width:34px;height:34px;font-size:12px}
.employee-list-row .employee-name{font-size:16px}.employee-list-row .employee-role,.employee-department,.employee-schedule{font-size:14px;color:#667087}
.employee-list-row .secondary{font-size:13px;min-height:40px}.archive-filter{font-size:14px;color:#626d85}
.day-cell{width:58px;min-height:48px}.day-cell small{font-size:10px;line-height:1.2}
.monthly-table{min-width:1850px}.monthly-table .day-cell{width:44px;min-height:42px}.monthly-table .day-cell small{font-size:9px}
.legend{font-size:12px;color:#626d85;line-height:1.7}.legend-dot{width:8px;height:8px}.swipe-hint{font-size:12px;color:#69748c}
.report-table th{font-size:13px;color:#626d85}.report-table td{font-size:14px;color:#525f77}.report-table td:first-child{color:#3e4b65}
.payment-voided td{color:#70798c}.payment-voided td:nth-child(3){text-decoration:line-through;text-decoration-color:#b2b8c7}
.team-number{font-size:15px}.team-number small{font-size:13px}.bar-label{font-size:11px;color:#69748c}
.settings-panel h3{font-size:17px;color:#535f78}
form label,.secret-link-field{font-size:14px;color:#566179;font-weight:500;line-height:1.5}
form label>input:not([type=checkbox]),form label>select,form label>textarea{font-size:16px;color:#35425c;min-height:46px;border-color:#cfd6e4}
form input::placeholder,form textarea::placeholder{color:#7d879b}
.field-hint{font-size:13px!important;color:#69748b!important;line-height:1.7!important}
.dialog-heading p,.share-description,#shareEmployeeName{font-size:14px;color:#667087}.dialog-heading .overline{font-size:12px}
.dialog-heading .icon-btn{width:40px;height:40px}
.form-error,.connection,.connection button,.connection a,.loading{font-size:14px}
.quick-hours button{font-size:14px;min-height:42px;color:#66568f}
.payment-control strong{font-size:14px;color:#5a657f}.payment-control small,.entry-explanation{font-size:13px;color:#69748b}
.hours-input span{font-size:14px}.text-button{font-size:14px;color:#6c6284;min-height:44px}
.workspace-footer{font-size:12px;color:#6e7990}.toast{font-size:14px;left:calc(50% + 130px)}
.admin-table th,.admin-table td{font-size:15px}.admin-table td small{font-size:13px;color:#69748b}.admin-table th{color:#626d85}
.access-card{width:min(480px,100%);max-width:480px}.access-card>p{font-size:15px}.access-result .primary,.access-result .secondary{font-size:14px}
.viewer-period label,.read-only,.viewer-foot{font-size:13px}.viewer-heading p:not(.overline){font-size:16px;color:#626d85}.viewer-table{font-size:15px}.viewer-status{font-size:13px}
@media(max-width:1150px){.sidebar{width:240px}.shell{margin-left:240px}.heading-actions>.primary{font-size:14px;padding:10px 14px}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-top{font-size:14px}.toast{left:calc(50% + 120px)}}
@media(max-width:900px){.sidebar{width:min(290px,85vw)}.shell{margin-left:0}.toast{left:50%}.topbar{padding:10px 0;min-height:64px}.heading-actions>.primary{font-size:14px}}
@media(max-width:600px){
 main{padding:22px 14px}.topbar{gap:8px}.breadcrumb{font-size:14px}.topbar-right{gap:4px}.account-actions a,.account-actions button{font-size:13px}
 #organizationLabel{font-size:18px;margin-bottom:8px}h1{font-size:26px}.overline{font-size:12px}.page-heading p{font-size:14px}.heading-actions{justify-content:stretch;gap:8px}.heading-actions>.primary{font-size:14px;min-height:44px}.month-picker{font-size:14px}
 .stats{gap:10px}.stat-card{padding:16px 14px}.stat-top{font-size:13px}.stat-value{font-size:30px}.stat-note{display:block;font-size:12px;min-height:0;margin-top:8px}
 .payment-summary,.payment-summary .pay-chip,.payment-summary .staff-summary{font-size:13px}.pay-chip strong{font-size:14px}
 .payroll-summary,.payroll-summary:has(>.payroll-card:nth-child(4)){grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .payroll-summary>.payroll-card:last-child:nth-child(odd){grid-column:1/-1}.payroll-card{padding:16px 14px}.payroll-card>span{font-size:14px}.payroll-card>strong,.viewer-payroll .payroll-card>strong{font-size:22px}
 .panel-heading{padding:18px 16px}.panel-heading h2{font-size:18px}.panel-heading p,.settings-panel p,.empty p{font-size:14px}.table-actions{flex-wrap:wrap}.table-actions .primary{font-size:13px;min-height:44px}.search{flex-basis:160px}
 .period-name{font-size:14px}.period-actions{justify-content:flex-start;gap:8px}.period-actions .secondary{font-size:13px;min-height:40px}.segmented button{font-size:13px}.period-actions .icon-btn{width:40px;height:40px}
 .staff-table{min-width:850px}.staff-table th.employee-col,.staff-table td.employee-col,.monthly-table th.employee-col,.monthly-table td.employee-col{width:170px;min-width:170px}.monthly-table{min-width:1810px}
 .employee-name{font-size:14px}.employee-role{font-size:12px}.employee-avatar{width:30px;height:30px;font-size:12px}.employee-list-row .employee-name{font-size:16px}.employee-list-row .employee-role,.employee-schedule{font-size:13px}.employee-list-row .employee-info{min-width:160px}
 .staff-table th{font-size:12px}.staff-table th .header-date{font-size:15px}.day-cell{width:54px;min-height:48px}.legend{font-size:12px}.swipe-hint{font-size:12px;max-width:100px}
 .table-footer{flex-wrap:wrap}.form-columns{grid-template-columns:1fr}.modal{padding:24px 20px}.dialog-actions{flex-wrap:wrap}.dialog-actions .primary,.dialog-actions .secondary{font-size:14px}.entry-dialog .primary{font-size:15px}.entry-explanation{font-size:13px}.quick-hours button{font-size:14px}
 .workspace-footer{font-size:12px}.toast{font-size:14px}.payroll-warning{font-size:14px}.settings-panel{padding:22px 18px}.archive-filter{font-size:14px}
 .viewer-stats,.admin-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.viewer-stats>.stat-card:last-child:nth-child(odd),.admin-stats>.stat-card:last-child:nth-child(odd){grid-column:1/-1}.viewer-stats .stat-top,.admin-stats .stat-top{font-size:13px}.viewer-stats .stat-value{font-size:28px}.viewer-period label,.read-only,.viewer-foot{font-size:13px}.admin-top .secondary{font-size:14px;min-height:44px}
}

/* Stable organization identity is visible only in the developer interface. */
.organization-id{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;margin:8px 0 12px;color:#667087;font-size:13px;line-height:1.5;text-transform:none;letter-spacing:0}
.organization-id code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px;overflow-wrap:anywhere;user-select:all}
.copy-id{font-size:13px;font-weight:500;color:#6653b8;border:1px solid #ded8f0;border-radius:7px;background:#f8f6ff;padding:7px 10px;min-height:36px;white-space:nowrap}
.copy-id:hover{background:#efebfc}.admin-table .organization-id{max-width:350px;margin-bottom:0}.admin-table .organization-id code{flex-basis:100%}
#adminOrganizations .admin-table{min-width:1160px}#adminOrganizations time{display:block;min-width:145px;font-variant-numeric:tabular-nums;color:#525f77}#adminOrganizations .activity-unknown{color:#737d90}#adminOrganizations .admin-table td:last-child{min-width:190px}#adminOrganizations .admin-table td:last-child .secondary{margin:3px 0}.panel-heading .activity-note{font-size:13px;max-width:760px;margin-top:8px}
.danger{display:inline-flex;align-items:center;justify-content:center;background:#b72f43;border:1px solid #b72f43;border-radius:9px;padding:11px 16px;min-height:44px;color:#fff;font-size:14px;font-weight:600;line-height:1.4}.danger:hover{background:#992338}.danger-zone{margin-top:22px;border-color:#e8bbc3}.danger-zone h2{color:#9e293c}.deleted-notice{background:#fff0f2;border:1px solid #e8bbc3;border-radius:10px;padding:14px 18px;font-size:14px;line-height:1.7;color:#8f293b}.organization-status{display:inline-block;margin:4px 0 4px 10px;padding:3px 8px;border-radius:6px;font-size:12px;font-weight:600;white-space:nowrap}.organization-status.active{background:#e7f3ed;color:#326749}.organization-status.deleted{background:#fce8ec;color:#a52b40}.admin-table td small time{font-size:12px}
.admin-purge{font-size:13px;min-height:40px;margin:4px 0}.admin-success{font-size:14px;color:#326749;background:#e7f3ed;border:1px solid #b7d9c6;border-radius:9px;padding:12px 16px;line-height:1.6}

.organization-count{font-size:12px;line-height:1.5;color:#b7b3d0;margin:10px 0 0}.org-select-row select:disabled{opacity:.65;cursor:wait}
