.employee-tools{font-size:var(--tool-body,15px);color:var(--ink)}.employee-tools h2{font-size:22px;margin:0 0 18px}.employee-tools h3{font-size:17px;margin:0 0 14px}.employee-tools button{min-height:44px;border:1px solid var(--line);border-radius:10px;padding:10px 14px;font:inherit}.employee-tools input,.employee-tools select,.employee-tools textarea{box-sizing:border-box;width:100%;min-width:0;border:1px solid var(--line);border-radius:10px;padding:11px;font-size:max(16px,var(--tool-body,15px));font-family:inherit;min-height:44px}.employee-tools textarea{line-height:1.6;resize:vertical}.tool-field{display:flex;flex-direction:column;gap:7px;margin:14px 0;font-size:var(--tool-body,15px)}.tool-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.tool-panel{padding:18px 14px;margin:18px 0;background:var(--paper);border:1px solid var(--line);border-radius:16px}.tool-help{font-size:var(--tool-small,13px);line-height:1.6;color:var(--sub)}.employee-tools [role=alert]{color:#bd3934;font-size:14px;white-space:pre-line}.employee-tools fieldset{border:0;padding:0;margin:0;min-width:0}.amount-fields{display:grid;gap:10px;margin-bottom:12px}.amount-fields label{display:grid;grid-template-columns:22px 1fr 24px;gap:8px;align-items:center}.amount-fields input{text-align:right;font-variant-numeric:tabular-nums}.money-total{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 0 0;font-weight:600;font-variant-numeric:tabular-nums}.money-total output{font-size:20px}.employee-tools .tool-primary{background:var(--user-accent,#397d50)!important;color:#fff!important;font-weight:600}#registerCompletion{width:100%;margin:6px 0 10px}#reloadCompletion{width:100%;margin-bottom:18px}.my-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.profile-identity{display:flex;align-items:center;gap:12px;min-width:0}.profile-identity h2{font-size:20px;margin:0;overflow-wrap:anywhere}.profile-identity p{margin:4px 0;color:var(--sub);font-size:13px}.profile-identity img,#myAvatarPlaceholder,#profilePhotoPreview{width:56px;height:56px;border-radius:50%;object-fit:cover;flex:none}#myAvatarPlaceholder{display:grid;place-items:center;background:var(--user-tint,#e3f4e8);color:var(--user-accent,#397d50)}#myAvatarPlaceholder[hidden]{display:none}.my-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}.my-stats>div{padding:14px 10px;background:var(--paper);border:1px solid var(--line);border-radius:12px}.my-stats strong{display:block;font-size:24px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.my-stats span{display:block;font-size:13px;color:var(--sub);margin-top:5px}.my-stats small{font-size:13px}.my-rate{font-size:17px;font-weight:600;color:var(--user-accent,#397d50);padding:12px;background:var(--user-tint,#e3f4e8);border-radius:10px}.report-table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}.report-table{border-collapse:collapse;min-width:630px;width:100%;font-size:14px;white-space:nowrap;font-variant-numeric:tabular-nums}.report-table td,.report-table th{padding:10px 8px;text-align:right;border-bottom:1px solid var(--line)}.report-table th:first-child{text-align:left;position:sticky;left:0;background:var(--paper)}.report-table th{font-size:12px;color:var(--sub)}.report-table tfoot{font-weight:700}.report-table button{min-height:36px;padding:5px 8px}#profileSettingsDialog{width:min(94vw,520px);max-height:90dvh}.accent-options{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:18px 0!important}.accent-options legend{margin-bottom:12px}.accent-options label{display:flex;align-items:center;gap:8px;border:1px solid var(--line);padding:10px;border-radius:10px;font-size:14px}.accent-options input{width:18px;height:18px;min-height:18px;padding:0;flex:none;accent-color:var(--user-accent)}.accent-swatch{display:block;width:16px;height:16px;border-radius:50%;flex:none}body.employee-mode .bottom{grid-template-columns:repeat(4,minmax(0,1fr))}body.employee-mode .navbtn.active{background:var(--user-tint,#e3f4e8)!important;color:var(--user-accent,#397d50)!important}body.employee-mode button[aria-pressed=true],body.employee-mode .employee-dialog-tabs button[aria-pressed=true]{background:var(--user-tint,#e3f4e8)!important;color:var(--user-accent,#397d50)!important}body.employee-mode input{accent-color:var(--user-accent,#397d50)!important}
body.employee-mode[data-text-size=small]{--tool-body:14px;--tool-small:12px;--calendar-body:12px;--calendar-number:13px;--member-name:15px}body.employee-mode[data-text-size=default]{--tool-body:15px;--tool-small:13px;--calendar-body:13px;--calendar-number:14px;--member-name:16px}body.employee-mode[data-text-size=large]{--tool-body:18px;--tool-small:16px;--calendar-body:16px;--calendar-number:17px;--member-name:19px}body.employee-mode .employee-mini-trip,body.employee-mode .employee-shift-label{font-size:var(--calendar-body)}body.employee-mode #employeeWeek .day-number,body.employee-mode .employee-day .day-number{font-size:var(--calendar-number)}body.employee-mode .employee-day .day-summary,body.employee-mode .employee-note,body.employee-mode .employee-member small,body.employee-mode .employee-day-note{font-size:var(--tool-small)}body.employee-mode .employee-member strong{font-size:var(--member-name)}body.employee-mode .employee-calendar-tools label,body.employee-mode .employee-calendar-tools select,body.employee-mode .employee-dialog-tabs button,body.employee-mode .employee-request-footer,body.employee-mode .request-day{font-size:var(--tool-body)}body.employee-mode .employee-tools .report-table{font-size:var(--tool-body)}
body.employee-mode[data-appearance=dark]{color-scheme:dark;--ink:#e6ece9;--sub:#a5b3ac;--bg:#141916;--paper:#202823;--line:#3b4940;background:#141916!important;color:#e6ece9!important}body.employee-mode[data-appearance=dark] :is(.top,.bottom,.calendar-card,.employee-day,dialog,.modal,.dialog-closebar,.changes-title,.tool-panel,.section,.employee-trip,.employee-rest,.account-details,.my-stats>div,.report-table th:first-child){background:#202823!important;color:#e6ece9!important;border-color:#3b4940!important}body.employee-mode[data-appearance=dark] :is(.weekdays,.employee-day.out,.tag,.badge,.account-badge,.push-settings,.employee-member.is-me){background:#28372e!important;color:#bcd1c4!important}body.employee-mode[data-appearance=dark] :is(button,input,select,textarea){background:#2c3831!important;color:#e6ece9!important;border-color:#526158!important}body.employee-mode[data-appearance=dark] :is(.navbtn.active,button[aria-pressed=true]){background:color-mix(in srgb,var(--user-accent) 32%,#202823)!important;color:#fff!important}body.employee-mode[data-appearance=dark] :is(.employee-calendar-tools h2,.employee-note,.employee-calendar-tools label,.employee-member small,.employee-rest h3,.date strong,.brand h1,.helper,.employee-request-footer small,.tool-help){color:#c3cec7!important}body.employee-mode[data-appearance=dark] .day-cell .day-number{color:#e6ece9}body.employee-mode[data-appearance=dark] .day-cell.today .day-number{background:#355743!important;color:#e8fff0!important}body.employee-mode[data-appearance=dark] .day-cell.sun .day-number{color:#ffaca3!important}body.employee-mode[data-appearance=dark] .day-cell.sat .day-number{color:#a7ceb9!important}body.employee-mode[data-appearance=dark] .my-rate{background:#2d3e32;color:#c0e5cc}body.employee-mode[data-appearance=dark] [data-area=takamatsu]{--area-color:#a2bddd!important;--area-surface:#23354a!important}body.employee-mode[data-appearance=dark] [data-area=kanonji]{--area-color:#a9cbb6!important;--area-surface:#293d31!important}body.employee-mode[data-appearance=dark] [data-area=tonosho]{--area-color:#dfce91!important;--area-surface:#403b28!important}body.employee-mode[data-appearance=dark] :is([data-area=fujita],[data-area=saijo]){--area-color:#e3b891!important;--area-surface:#423326!important}body.employee-mode[data-appearance=dark] .employee-trip h3{background:var(--area-surface)!important;color:var(--area-color)!important}body.employee-mode[data-appearance=dark] .publication-status,body.employee-mode[data-appearance=dark] [role=alert]{color:#ffaaa2!important}body.employee-mode[data-appearance=dark] .employee-tools .tool-primary{background:var(--user-accent)!important;color:#fff!important}
@media(min-width:800px){body.employee-mode .bottom{display:block}.employee-tools{max-width:740px}}@media(max-width:380px){.tool-two{gap:8px}.my-stats strong{font-size:20px}.employee-tools .tool-panel{padding:14px 10px}}

body.employee-mode[data-appearance=dark] #pwaUpdate{background:#202823;color:#e6ece9;border-color:#526158}body.employee-mode[data-appearance=dark] .day-summary{color:#c3cec7!important}

/* Completion calculator must not impose a minimum width on mobile. */
#reportView,#completionForm,#reportFields{width:100%;max-width:100%;min-width:0;box-sizing:border-box}#reportView .tool-two{grid-template-columns:repeat(2,minmax(0,1fr))}#reportView .amount-fields label{grid-template-columns:22px minmax(0,1fr) 24px}#reportView :is(.tool-field,.tool-panel,.amount-fields,input,textarea,button){min-width:0;max-width:100%;box-sizing:border-box}#reportDate{display:block;width:100%;-webkit-appearance:none;appearance:none}#reportView :is(h2,h3,p,label){overflow-wrap:anywhere}#resetCompletion{display:block;width:100%;margin:0 0 10px}#reportCopyText{white-space:pre-wrap;overflow-wrap:anywhere}

/* Keep the my-page viewport sized; only its detailed sales table scrolls. */
#myPageView{width:100%;max-width:100%;min-width:0;box-sizing:border-box}#myPageView :is(.my-heading,.profile-identity,.profile-identity>div,.tool-field,.tool-panel,.my-stats,.my-stats>div,.report-table-scroll){min-width:0;max-width:100%;box-sizing:border-box}#myPageView .my-stats{grid-template-columns:repeat(2,minmax(0,1fr))}#myPageView .tool-panel{width:100%}#myPageView .report-table-scroll{display:block;width:100%;overflow-x:auto;overscroll-behavior-x:contain}#myMonth{display:block;width:100%;max-width:100%;min-width:0;box-sizing:border-box;-webkit-appearance:none;appearance:none}#myPageView :is(h2,h3,p,.my-stats strong){overflow-wrap:anywhere}#mySettingsOpen{flex-shrink:0}
