/* Soft Bento records. Employee phone presentation only; existing actions stay intact. */
@media (max-width:720px), (max-width:1000px) and (max-height:500px) and (pointer:coarse) {
  .employee-workspace { --bento-paper:#faf7f2; --bento-ink:#063e37; --bento-line:#d5dbd2; --bento-sage:#e6eddd; --bento-lilac:#eee6f7; --bento-yellow:#ffebbb; }

  /* Entries: two main totals and two quieter draft/late counters. */
  .employee-workspace[data-route="history"] .history-stats { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; margin:0 0 13px; }
  .employee-workspace[data-route="history"] .history-stat { display:flex; flex-direction:column; justify-content:center; min-width:0; min-height:80px; padding:12px 14px; border:1px solid #d9d5df; border-radius:13px; background:var(--bento-lilac); color:var(--bento-ink); font-size:10px; font-weight:600; letter-spacing:.02em; }
  .employee-workspace[data-route="history"] .history-stat:nth-child(2) { background:var(--bento-sage); border-color:#d7dfcf; }
  .employee-workspace[data-route="history"] .history-stat strong { order:-1; margin:0 0 4px; font-size:26px; line-height:1.05; color:var(--bento-ink); font-weight:750; }
  .employee-workspace[data-route="history"] .history-stat:nth-child(n+3) { min-height:37px; flex-direction:row; align-items:center; justify-content:flex-start; gap:6px; padding:8px 11px; font-size:9px; background:#eeefe7; border-color:#daddd2; }
  .employee-workspace[data-route="history"] .history-stat:nth-child(n+3) strong { margin:0; font-size:16px; }
  .employee-workspace .entries-calendar { border-radius:15px; border:1px solid #c9d7d2; background:#fffefa; box-shadow:none; overflow:hidden; }
  .employee-workspace .entries-calendar .calendar-heading { display:grid; grid-template-columns:minmax(0,1fr); justify-content:stretch; align-items:stretch; gap:10px; padding:9px 11px 11px; background:transparent; border:0; }
  .employee-workspace .entries-calendar .calendar-heading-left { display:flex; width:100%; min-width:0; gap:5px; padding:0 5px; background:var(--bento-sage); border:1px solid #dce3d4; border-radius:10px; }
  .employee-workspace .entries-calendar .calendar-month-label { order:1; flex:1; min-width:0; justify-content:center; gap:8px; }
  .employee-workspace .entries-calendar .calendar-arrow[aria-label="Previous calendar period"] { order:0; }
  .employee-workspace .entries-calendar .calendar-arrow[aria-label="Next calendar period"] { order:2; }
  .employee-workspace .entries-calendar .calendar-month-label>.icon { width:19px; height:19px; }
  .employee-workspace .entries-calendar .calendar-title-copy h2 { font-size:15px; color:var(--bento-ink); text-align:center; }
  .employee-workspace .entries-calendar .calendar-arrow.btn { width:44px; min-width:44px; min-height:44px; padding:10px; background:transparent; border:0; color:var(--bento-ink); }
  .employee-workspace .entries-calendar .calendar-toolbar { width:100%; display:flex; gap:8px; }
  .employee-workspace .entries-calendar .calendar-today.btn { min-height:44px; flex:0 0 64px; padding:8px; background:#fafbf7; border:1px solid #c9d7d2; border-radius:9px; color:var(--bento-ink); font-size:12px; }
  .employee-workspace .entries-calendar .calendar-views { display:flex; flex:1; padding:3px; border:1px solid #bdcdca; border-radius:10px; background:#fff; }
  .employee-workspace .entries-calendar .calendar-view.btn { flex:1; min-height:44px; padding:8px 12px; border:0; background:transparent; border-radius:7px; color:var(--bento-ink); font-size:13px; }
  .employee-workspace .entries-calendar .calendar-view.btn[aria-pressed="true"] { background:#004f46; color:white; }
  .employee-workspace .entries-calendar .calendar-grid { padding:3px 9px 10px; gap:4px; background:transparent; }
  .employee-workspace .entries-calendar .calendar-weekday { color:#49625c; font-size:10px; font-weight:500; padding:4px 0 8px; }
  .employee-workspace .entries-calendar .calendar-day { min-width:0; min-height:54px; padding:6px 2px; align-items:center; justify-content:center; border:1px solid #e3e7dd; border-radius:9px; background:#fbfcf8; box-shadow:none; }
  .employee-workspace .entries-calendar .calendar-day.submitted,.employee-workspace .entries-calendar .calendar-day.leave { background:#dbeec8; border-color:#c8dfb6; color:#174d30; }
  .employee-workspace .entries-calendar .calendar-day.overdue,.employee-workspace .entries-calendar .calendar-day.missing { background:#f8dfda; border-color:#eed0c8; color:#8f473a; }
  .employee-workspace .entries-calendar .calendar-day.draft { background:#fff0cc; border-color:#eddcaa; color:#7a5727; }
  .employee-workspace .entries-calendar .calendar-day.off,.employee-workspace .entries-calendar .calendar-day.inactive { background:#eceeea; border-color:#e0e3dc; color:#78817a; }
  .employee-workspace .entries-calendar .calendar-day.upcoming { background:#f3f0f9; border-color:#e4dfec; color:#6a6576; }
  .employee-workspace .entries-calendar .calendar-day.is-today { outline:2px solid #177a60; outline-offset:-2px; }
  .employee-workspace .entries-calendar .calendar-date { color:inherit; font-size:14px; line-height:1.2; font-weight:700; }
  .employee-workspace .entries-calendar .calendar-status { font-size:8px; color:inherit; gap:2px; white-space:normal; text-align:center; }
  .employee-workspace .entries-calendar .calendar-status .icon { width:11px; height:11px; }
  .employee-workspace .entries-calendar .calendar-hours { font-size:9px; line-height:1.2; color:inherit; }
  .employee-workspace .entries-calendar .calendar-list { display:grid; gap:8px; padding:0 10px 11px; }
  .employee-workspace .entries-calendar .calendar-list-day { display:grid; grid-template-columns:minmax(0,1fr) auto; grid-template-rows:auto auto; align-items:center; justify-content:initial; gap:4px 10px; min-height:70px; width:100%; padding:12px 14px; border-radius:12px; text-align:left; background:#fff; color:var(--bento-ink); }
  .employee-workspace .entries-calendar .calendar-list-day .calendar-day-heading { grid-column:1; justify-content:flex-start; }
  .employee-workspace .entries-calendar .calendar-list-day .calendar-date { font-size:14px; }
  .employee-workspace .entries-calendar .calendar-list-day .calendar-status { grid-row:2; grid-column:1; justify-self:start; padding:3px 8px; border-radius:20px; background:#ffffff90; font-size:10px; }
  .employee-workspace .entries-calendar .calendar-list-day .calendar-hours { grid-column:2; grid-row:1/3; font-size:20px; font-weight:750; }
  .employee-workspace .entries-calendar .calendar-list .calendar-list-day { background:#fffefa; border-color:#bfd0c7; color:var(--bento-ink); }
  .employee-workspace .entries-calendar .calendar-list-day.submitted .calendar-status,.employee-workspace .entries-calendar .calendar-list-day.leave .calendar-status { background:#dceecf; color:#245535; }
  .employee-workspace .entries-calendar .calendar-list-day.overdue .calendar-status,.employee-workspace .entries-calendar .calendar-list-day.missing .calendar-status { background:#f5dcd4; color:#874c3b; }
  .employee-workspace .entries-calendar .calendar-list-day.draft .calendar-status { background:#ffebbb; color:#805c23; }
  .employee-workspace .entries-calendar .calendar-footer { display:grid; gap:10px; padding:10px; background:transparent; border-top:1px solid #e4e8de; }
  .employee-workspace .entries-calendar .calendar-download.btn { width:100%; min-height:44px; justify-content:center; border:1px solid #b8cdca; border-radius:9px; background:#fff; color:var(--bento-ink); }
  .employee-workspace .entries-calendar .calendar-legend { flex-wrap:wrap; justify-content:center; gap:6px 10px; font-size:9px; }

  /* Attendance history; dashboard punches belong to the Home layout. */
  .employee-workspace .attendance-page { gap:12px; }
  .employee-workspace .attendance-page .page-heading { margin-bottom:11px; }
  .employee-workspace .attendance-page .heading-actions { width:100%; }
  .employee-workspace .attendance-page input[aria-label="Attendance month"] { width:100%; min-height:44px; padding:9px 14px; border-color:#d6dfcd; border-radius:10px; background:var(--bento-sage); color:var(--bento-ink); font-weight:650; }
  .employee-workspace .attendance-page .attendance-stats { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin:0 0 13px; }
  .employee-workspace .attendance-page .attendance-stat { display:flex; align-items:center; gap:9px; min-width:0; min-height:70px; padding:11px 12px; border:1px solid #d8dfd1; border-radius:12px; background:var(--bento-sage); box-shadow:none; color:var(--bento-ink); }
  .employee-workspace .attendance-page .attendance-stat:nth-child(2),.employee-workspace .attendance-page .attendance-stat:nth-child(3) { background:var(--bento-lilac); border-color:#e2d7ee; }
  .employee-workspace .attendance-page .attendance-stat:nth-child(4) { background:var(--bento-yellow); border-color:#f1dfb0; }
  .employee-workspace .attendance-page .attendance-stat-icon { width:29px; height:29px; min-width:29px; border-radius:0; background:transparent; color:inherit; }
  .employee-workspace .attendance-page .attendance-stat-icon .icon { width:23px; height:23px; }
  .employee-workspace .attendance-page .attendance-stat>div { display:flex; flex-direction:column; min-width:0; }
  .employee-workspace .attendance-page .attendance-stat>div>strong { order:-1; color:var(--bento-ink); font-size:25px; line-height:1; }
  .employee-workspace .attendance-page .attendance-stat>div>span { margin-top:4px; font-size:11px; line-height:1.3; color:#193d35; }
  .employee-workspace .attendance-page>.card { box-shadow:none; background:#fffefa; border:1px solid #cbd7d1; border-radius:14px; }
  .employee-workspace .attendance-page>.card>.card-head { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; padding:10px 12px; gap:9px; }
  .employee-workspace .attendance-page>.card>.card-head h2 { font-size:15px; color:var(--bento-ink); }
  .employee-workspace .attendance-page>.card>.card-head .subtext { font-size:11px; max-width:230px; }
  .employee-workspace .attendance-mode { display:flex; flex:1 0 100%; gap:0; padding:3px; border:1px solid #bacdc7; border-radius:9px; background:#fff; }
  .employee-workspace .attendance-mode .btn { min-height:44px; flex:1; padding:8px 12px; border:0; border-radius:6px; background:transparent; color:var(--bento-ink); }
  .employee-workspace .attendance-mode .btn.selected { background:#004f46; color:#fff; }
  .employee-workspace .attendance-calendar-wrap { padding:2px 8px 11px; background:transparent; }
  .employee-workspace .attendance-calendar { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:3px; padding:0; }
  .employee-workspace .attendance-weekday { padding:8px 0; font-size:10px; color:#49625c; background:transparent; }
  .employee-workspace .attendance-day.btn { display:flex; align-items:center; justify-content:center; min-height:45px; padding:4px 1px; border:0; border-radius:10px; background:transparent; color:var(--bento-ink); box-shadow:none; }
  .employee-workspace .attendance-day-copy { display:grid; justify-items:center; gap:3px; min-width:0; }
  .employee-workspace .attendance-day-copy>strong { font-size:14px; line-height:1; font-weight:600; }
  .employee-workspace .attendance-day-copy>span { max-width:100%; font-size:7px; line-height:1.1; text-align:center; overflow-wrap:anywhere; }
  .employee-workspace .attendance-day-copy>span>.icon { display:none; }
  .employee-workspace .attendance-day-present.btn,.employee-workspace .attendance-day-checked_in.btn,.employee-workspace .attendance-day-leave.btn { background:#dcefcf; color:#245332; }
  .employee-workspace .attendance-day-late.btn,.employee-workspace .attendance-day-missing_checkout.btn { background:#ffe5ad; color:#76551f; }
  .employee-workspace .attendance-day-absent.btn { background:#f3ddd7; color:#894c3e; }
  .employee-workspace .attendance-day-day_off.btn { background:#e5e7e2; color:#59655e; }
  .employee-workspace .attendance-day.today.btn { outline:2px solid #176b56; outline-offset:-2px; }
  .employee-workspace .attendance-history .table-wrap { overflow:visible; border-radius:0 0 12px 12px; padding:0 10px 10px; }
  .employee-workspace .attendance-history table { display:block; min-width:0; width:100%; background:transparent; }
  .employee-workspace .attendance-history thead { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
  .employee-workspace .attendance-history tbody { display:grid; gap:9px; }
  .employee-workspace .attendance-history tbody>tr { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:center; gap:10px; padding:13px; border:1px solid #cbd6cd; border-radius:12px; background:#fffefa; }
  .employee-workspace .attendance-history td { min-width:0; display:block; padding:0; border:0; font-size:12px; white-space:normal; color:#244f3b; }
  .employee-workspace .attendance-history td:first-child { grid-column:1; grid-row:1; font-size:14px; }
  .employee-workspace .attendance-history td:nth-child(2) { grid-column:2; grid-row:1; justify-self:end; }
  .employee-workspace .attendance-history td:nth-child(3) { grid-column:1; grid-row:2; }
  .employee-workspace .attendance-history td:nth-child(4) { grid-column:2; grid-row:2; }
  .employee-workspace .attendance-history td:nth-child(5) { grid-column:1; grid-row:3; }
  .employee-workspace .attendance-history td:nth-child(6) { grid-column:2; grid-row:3; justify-self:end; }
  .employee-workspace .attendance-history td>.mobile-cell-label { margin-bottom:4px; color:#687a66; font-size:10px; font-weight:500; }
  .employee-workspace .attendance-history td:nth-child(2)>.mobile-cell-label { display:none; }
  .employee-workspace .attendance-history td .btn { min-height:44px; padding:8px 12px; }

  /* Project catalogue: compact information rows, with no fake click affordance. */
  .employee-workspace .my-projects-page .project-stats { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; margin:0 0 12px; }
  .employee-workspace .my-projects-page .history-stat { min-width:0; min-height:76px; padding:11px 13px; border:1px solid #dce2d3; border-radius:12px; background:var(--bento-sage); color:#254d40; font-size:9px; }
  .employee-workspace .my-projects-page .history-stat:nth-child(2) { background:var(--bento-lilac); border-color:#e1d8ea; }
  .employee-workspace .my-projects-page .history-stat:nth-child(3) { grid-column:1/-1; display:flex; align-items:center; justify-content:space-between; min-height:37px; padding-block:8px; background:#f0f0e8; }
  .employee-workspace .my-projects-page .history-stat strong { color:var(--bento-ink); font-size:25px; line-height:1.1; margin-top:6px; }
  .employee-workspace .my-projects-page .history-stat:nth-child(3) strong { margin:0; font-size:17px; }
  .employee-workspace .my-projects-page>.card { border:0; box-shadow:none; border-radius:0; background:transparent; overflow:visible; }
  .employee-workspace .my-projects-page>.card>.card-head { display:flex; flex-direction:column; align-items:stretch; padding:0 0 13px; gap:10px; border:0; background:transparent; }
  .employee-workspace .my-projects-page>.card>.card-head h2 { font-size:16px; color:var(--bento-ink); }
  .employee-workspace .my-projects-page .search-input { width:100%; min-height:44px; color:#52675d; }
  .employee-workspace .my-projects-page .search-input input { width:100%; min-height:44px; padding-left:36px; background:#ffffffa6; border:1px solid #bacbc4; border-radius:10px; font-size:16px; }
  .employee-workspace .my-projects-page .project-grid { display:grid; grid-template-columns:minmax(0,1fr); gap:8px; padding:0; }
  .employee-workspace .my-projects-page .project-card { display:grid; grid-template-columns:34px minmax(0,1fr) auto; column-gap:10px; row-gap:4px; min-height:88px; padding:13px 12px; border:1px solid #bccdc6; border-radius:12px; background:#fffefd; box-shadow:none; }
  .employee-workspace .my-projects-page .project-card-top { display:contents; }
  .employee-workspace .my-projects-page .project-card-symbol { grid-column:1; grid-row:1/4; width:31px; height:35px; background:transparent; color:#0d5949; border-radius:0; align-self:center; }
  .employee-workspace .my-projects-page .project-card-symbol .icon { width:28px; height:28px; }
  .employee-workspace .my-projects-page .project-card-top>.badge { grid-column:3; grid-row:1; align-self:start; padding:3px 8px; font-size:9px; border-radius:12px; background:#dfedda; color:#26533e; }
  .employee-workspace .my-projects-page .project-card>h3 { grid-column:2; grid-row:1; font-size:14px; line-height:1.25; color:var(--bento-ink); margin:0; overflow-wrap:anywhere; }
  .employee-workspace .my-projects-page .project-card>.project-code { grid-column:2/4; grid-row:2; font-size:11px; line-height:1.3; margin:0; color:#4d5c55; }
  .employee-workspace .my-projects-page .project-card>.help { grid-column:2/4; grid-row:3; font-size:10px; line-height:1.35; margin:0; color:#6b746a; }
  .employee-workspace .my-projects-page .project-tags { padding:10px 0 0; display:flex; flex-wrap:wrap; gap:7px; }
  .employee-workspace .my-projects-page .project-tags .badge { max-width:100%; white-space:normal; padding:6px 9px; border-radius:9px; background:#eceee3; color:#31543f; }

  /* Requests: actual count cards, status tabs and clear review cards. */
  .employee-workspace[data-route="requests"] #page-content>div { display:flex; flex-direction:column; gap:12px; }
  .employee-workspace[data-route="requests"] #page-content>div>.page-heading { display:contents; }
  .employee-workspace[data-route="requests"] #page-content>div>.page-heading>.heading-actions { order:2; width:100%; margin:0; }
  .employee-workspace[data-route="requests"] #page-content>div>.mobile-request-summary { order:1; margin:0; }
  .employee-workspace[data-route="requests"] #page-content>div>.request-filter { order:3; margin:0; }
  .employee-workspace[data-route="requests"] #page-content>div>div:last-child { order:4; }
  .employee-workspace[data-route="requests"] #page-content>div>.request-guide { order:5; margin:0; }
  .employee-workspace[data-route="requests"] .mobile-request-summary { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin:0 0 12px; }
  .employee-workspace[data-route="requests"] .mobile-request-summary>* { display:flex; flex-direction:column; align-items:flex-start; justify-content:center; gap:5px; min-height:92px; padding:12px; border:1px solid #d8dfcf; border-radius:14px; background:var(--bento-sage); color:var(--bento-ink); }
  .employee-workspace[data-route="requests"] .mobile-request-summary>*:nth-child(2) { background:var(--bento-lilac); border-color:#dfd5e9; }
  .employee-workspace[data-route="requests"] .mobile-request-summary>button>span { display:flex; flex-direction:column; align-items:flex-start; gap:5px; }
  .employee-workspace[data-route="requests"] .mobile-request-summary strong { font-size:24px; line-height:1; }
  .employee-workspace[data-route="requests"] .mobile-request-summary .icon { width:21px; height:21px; }
  .employee-workspace[data-route="requests"] .mobile-request-summary :is(span,small) { font-size:11px; }
  .employee-workspace[data-route="requests"] .request-guide { display:grid; grid-template-columns:1fr; gap:7px; margin:13px 0; padding:12px 14px; border:1px solid #dce2d3; border-radius:12px; background:var(--bento-sage); }
  .employee-workspace[data-route="requests"] .request-guide>div { display:flex; align-items:center; gap:9px; color:#294d3f; font-size:12px; }
  .employee-workspace[data-route="requests"] .request-guide strong { font-size:12px; font-weight:500; }
  .employee-workspace[data-route="requests"] .request-guide .icon { width:18px; height:18px; color:#2a6554; }
  .employee-workspace[data-route="requests"] .request-filter { display:flex; flex-wrap:wrap; gap:4px; margin-top:12px; padding:3px; border:1px solid #d8dfd4; border-radius:11px; background:#fffefa; }
  .employee-workspace[data-route="requests"] .request-filter .btn { flex:1 1 auto; min-height:44px; border:0; border-radius:8px; padding:8px 9px; font-size:11px; background:transparent; color:#24463b; }
  .employee-workspace[data-route="requests"] .request-filter .btn.selected { background:#dfeace; color:#173d2e; }
  .employee-workspace[data-route="requests"] .request-filter .btn:last-child { flex-basis:100%; justify-content:flex-end; min-height:44px; text-decoration:underline; text-underline-offset:3px; }
  .employee-workspace[data-route="requests"] .request-list { display:grid; gap:10px; margin-top:12px; }
  .employee-workspace[data-route="requests"] :is(.request-card,.attendance-request-card,.salary-pin-request-card) { border:1px solid #c8d5cd; border-radius:14px; box-shadow:none; padding:14px; background:#fffefa; }
  .employee-workspace[data-route="requests"] .request-top { align-items:flex-start; gap:8px; }
  .employee-workspace[data-route="requests"] .request-name { gap:8px; min-width:0; }
  .employee-workspace[data-route="requests"] .request-name .avatar { width:30px; height:30px; min-width:30px; background:#e3ebd7; font-size:11px; color:#164e3a; }
  .employee-workspace[data-route="requests"] .request-name h3 { font-size:13px; color:var(--bento-ink); overflow-wrap:anywhere; }
  .employee-workspace[data-route="requests"] .request-meta { font-size:10px; line-height:1.6; margin-top:5px; }
  .employee-workspace[data-route="requests"] .request-reason { font-size:13px; color:#405c4f; line-height:1.55; }
  .employee-workspace[data-route="requests"] .application-facts { padding:10px; border-radius:10px; background:#f0f2e8; gap:10px; }
  .employee-workspace[data-route="requests"] .request-details summary { min-height:44px; display:flex; align-items:center; font-size:12px; color:#0a6350; }
  .employee-workspace[data-route="requests"] .empty { padding:28px 18px; color:var(--bento-ink); }
  .employee-workspace[data-route="requests"] .empty .empty-icon { width:48px; height:48px; margin:0 auto 13px; border-radius:0; background:transparent; color:#00604f; }
  .employee-workspace[data-route="requests"] .empty .empty-icon>.icon { width:39px; height:39px; }

  /* Travel: full-width pending amount and two supporting money tiles. */
  .employee-workspace[data-route="expenses"] .expense-summary { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin:0 0 12px; }
  .employee-workspace[data-route="expenses"] .expense-summary>.metric { min-width:0; min-height:93px; padding:12px; border:1px solid #ddd5e6; border-radius:13px; background:var(--bento-lilac); box-shadow:none; }
  .employee-workspace[data-route="expenses"] .expense-summary>.metric:first-child { grid-column:1/-1; display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; min-height:84px; background:var(--bento-sage); border-color:#d9dfcf; column-gap:10px; }
  .employee-workspace[data-route="expenses"] .expense-summary>.metric:first-child .metric-top { grid-column:1; grid-row:1/3; font-size:14px; font-weight:700; }
  .employee-workspace[data-route="expenses"] .expense-summary>.metric:first-child .metric-value { grid-column:2; grid-row:1; margin:0; padding-left:12px; border-left:1px solid #becbb7; text-align:right; }
  .employee-workspace[data-route="expenses"] .expense-summary>.metric:first-child .metric-note { grid-column:2; margin-top:2px; text-align:right; }
  .employee-workspace[data-route="expenses"] .expense-summary>.metric:last-child { background:#fffefa; border-color:#cdd8cf; }
  .employee-workspace[data-route="expenses"] .expense-summary .metric-symbol { width:23px; height:23px; background:transparent; color:#125b49; border-radius:0; }
  .employee-workspace[data-route="expenses"] .expense-summary .metric-top { font-size:11px; line-height:1.4; color:#2c4c40; gap:7px; }
  .employee-workspace[data-route="expenses"] .expense-summary .metric-value { font-size:clamp(19px,5.5vw,26px); color:var(--bento-ink); line-height:1.1; margin-top:8px; overflow-wrap:anywhere; }
  .employee-workspace[data-route="expenses"] .expense-summary .metric-note { font-size:10px; margin-top:5px; color:#4f6357; }
  .employee-workspace[data-route="expenses"] .expense-controls { display:flex; flex-wrap:wrap; gap:8px; align-items:end; margin:12px 0; }
  .employee-workspace[data-route="expenses"] .expense-controls>.form-control { flex:1 1 150px; min-width:0; }
  .employee-workspace[data-route="expenses"] .expense-controls>.btn { min-height:44px; background:#fffefa; border-color:#bdcbc3; color:#275444; }
  .employee-workspace[data-route="expenses"] .expense-controls input { min-height:44px; width:100%; border-radius:9px; background:#fffefa; }
  .employee-workspace[data-route="expenses"] .expense-filters { display:flex; flex-wrap:nowrap; gap:6px; margin:0 0 13px; padding-bottom:3px; overflow-x:auto; scrollbar-width:thin; }
  .employee-workspace[data-route="expenses"] .expense-filters .btn { flex:0 0 auto; min-height:44px; padding:8px 11px; font-size:11px; border:1px solid #bfcdc4; border-radius:10px; background:#fffefa; color:#315444; white-space:nowrap; }
  .employee-workspace[data-route="expenses"] .expense-filters .btn.selected { background:#dde9cd; border-color:#d3dfc5; color:#163e2f; }
  .employee-workspace[data-route="expenses"] .expense-list { gap:10px; }
  .employee-workspace[data-route="expenses"] .expense-card { padding:14px; background:#fffefa; border:1px solid #c5d3ca; border-radius:14px; box-shadow:none; }
  .employee-workspace[data-route="expenses"] .expense-heading { gap:8px; margin-bottom:13px; }
  .employee-workspace[data-route="expenses"] .expense-heading h2 { margin:5px 0 0; font-size:15px; color:var(--bento-ink); overflow-wrap:anywhere; }
  .employee-workspace[data-route="expenses"] .expense-heading .eyebrow { font-size:9px; }
  .employee-workspace[data-route="expenses"] .expense-facts { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  .employee-workspace[data-route="expenses"] .expense-facts span { font-size:9px; color:#708071; }
  .employee-workspace[data-route="expenses"] .expense-facts strong { font-size:12px; color:#315a47; }
  .employee-workspace[data-route="expenses"] .expense-facts .expense-amount { font-size:23px; color:#005a46; }
  .employee-workspace[data-route="expenses"] .expense-purpose { margin:13px 0; font-size:12px; color:#466052; }
  .employee-workspace[data-route="expenses"] .expense-list>.empty { padding:28px 17px; border:1px solid #c4d3cb; border-radius:14px; background:#fffefa; }
  .employee-workspace[data-route="expenses"] .expense-list>.empty .empty-icon { width:48px; height:48px; margin:0 auto 13px; background:transparent; color:#075f4d; }
  .employee-workspace[data-route="expenses"] .expense-list>.empty .empty-icon>.icon { width:40px; height:40px; }
  .employee-workspace[data-route="expenses"] .expense-list>.empty .btn { width:100%; justify-content:center; margin-top:9px; }

  /* Keep one real password field for masking, paste and assistive technology. */
  .employee-workspace .salary-private-page { min-width:0; }
  .employee-workspace .page .salary-pin-card { width:100%; max-width:none; padding:24px 17px 19px; margin:8px 0 13px; background:var(--bento-lilac); border:1px solid #dbd1e8; border-radius:17px; box-shadow:none; text-align:center; }
  .employee-workspace .salary-pin-symbol { width:64px; height:64px; margin:0 auto 15px; background:#dfd0ee; color:var(--bento-ink); border-radius:50%; }
  .employee-workspace .salary-pin-symbol .icon { width:32px; height:32px; }
  .employee-workspace .salary-pin-card h2 { color:var(--bento-ink); font-size:23px; line-height:1.15; letter-spacing:-.4px; }
  .employee-workspace .salary-pin-description { max-width:290px; margin:11px auto 20px; color:#444b48; font-size:13px; line-height:1.5; }
  .employee-workspace .salary-pin-form { text-align:left; gap:15px; }
  .employee-workspace .salary-pin-form .form-control>label { color:#193f32; font-size:13px; }
  .employee-workspace .salary-pin-form .salary-pin-input { width:100%; min-height:60px; padding:10px 13px; border:1px solid #9cb5a1; border-radius:11px; background:#fffefd; text-align:center; color:#0d4e3b; font-size:27px; letter-spacing:.6em; caret-color:#004f46; }
  .employee-workspace .salary-pin-form>.btn[type="submit"] { min-height:46px; font-size:15px; justify-content:center; background:#004f46; border-color:#004f46; border-radius:10px; }
  .employee-workspace .salary-pin-form>.btn.ghost { min-height:44px; justify-content:center; color:#124c3e; text-decoration:underline; text-underline-offset:3px; border:0; background:transparent; }
  .employee-workspace .salary-pin-footnote { margin:3px 0 0; padding:11px; border-radius:10px; background:#e5ebda; color:#254a3b; font-size:11px; line-height:1.5; text-align:left; }
  .employee-workspace .salary-private-toolbar { padding:11px 12px; background:var(--bento-sage); border-color:#d6dfcd; color:#31533f; border-radius:12px; gap:8px; }
  .employee-workspace .salary-private-toolbar>.btn { min-height:44px; font-size:11px; padding:8px; }
  .employee-workspace .employee-salary-panel { background:#fffefa; border-color:#d2d9cd; border-radius:15px; box-shadow:none; }
  .employee-workspace .salary-overview-heading { padding:14px; border-bottom:1px solid #e0e5d9; }
  .employee-workspace .salary-overview-heading h2 { font-size:17px; color:var(--bento-ink); }
  .employee-workspace .salary-overview-grid { padding:13px; gap:10px; }
  .employee-workspace .salary-current-card { border-radius:13px; background:var(--bento-lilac); border-color:#e0d7ea; }
  .employee-workspace .salary-latest-card { border-radius:13px; background:var(--bento-sage); border-color:#d5dfc8; }
  .employee-workspace .salary-highlight-amount { font-size:29px; color:#005442; }
  .employee-workspace .salary-history-panel { border-radius:14px; background:#fffefa; border-color:#ccd8cd; }
  .employee-workspace .salary-history-row { padding:14px; gap:9px; }
  .employee-workspace .salary-history-row h3 { font-size:14px; color:#174b3a; }
  .employee-workspace .salary-history-row>.btn { min-height:44px; }
  .employee-workspace .salary-history-amount>strong { font-size:22px; color:#005442; }
  .employee-workspace .personal-profile-hero { padding:20px 16px; gap:13px; background:var(--bento-sage); color:var(--bento-ink); border:1px solid #d6deca; border-radius:17px; }
  .employee-workspace .personal-profile-hero h1 { margin:4px 0 10px; font-size:24px; color:var(--bento-ink); }
  .employee-workspace .personal-profile-avatar { width:61px; height:61px; border-radius:16px; background:#fffefa; color:#12573f; }
  .employee-workspace .personal-profile-tags { gap:5px; }
  .employee-workspace .personal-profile-tags>.badge { padding:4px 7px; border-radius:8px; background:#fff0bf; color:#36553b; font-size:10px; }
  .employee-workspace .personal-profile-details { padding:16px; background:#fffefa; border-color:#d4ddcf; border-radius:15px; }
  .employee-workspace .personal-profile-details dl { grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
  .employee-workspace .personal-profile-details dd { font-size:12px; color:#2a5541; }

  /* Date-wise employee to-dos share the paper cards and status colours. */
  .employee-workspace .ewt { gap:12px; }
  .employee-workspace .ewt-top { padding:0; border:0; background:transparent; gap:10px; }
  .employee-workspace .ewt-heading h2 { font-size:20px; color:var(--bento-ink); }
  .employee-workspace .ewt-eyebrow { color:#69826b; font-size:10px; }
  .employee-workspace .ewt-count { font-size:12px; color:#677a68; }
  .employee-workspace .ewt-date-controls { flex-wrap:wrap; gap:7px; }
  .employee-workspace .ewt-date-input { min-height:44px; border-radius:10px; border-color:#d0dac9; background:var(--bento-sage); }
  .employee-workspace .ewt-tabs { border:1px solid #cad7cd; border-radius:10px; padding:3px; background:#fffefa; gap:0; }
  .employee-workspace .ewt-tab.btn { flex:1; min-height:44px; border:0; border-radius:7px; background:transparent; color:#31583f; }
  .employee-workspace .ewt-tab.btn[aria-selected="true"] { background:#004f46; color:#fff; }
  .employee-workspace .ewt-week { border-radius:13px; border:1px solid #d6decd; background:var(--bento-sage); padding:7px 3px; gap:3px; }
  .employee-workspace .ewt-days { gap:3px; }
  .employee-workspace .ewt-day.btn { min-height:54px; padding:6px 1px; border-radius:9px; border-color:transparent; background:transparent; color:#446047; }
  .employee-workspace .ewt-day.btn.selected { background:#fffefa; border-color:#c6d5bf; color:#164d36; box-shadow:none; }
  .employee-workspace .ewt-day.all-complete { background:#d3e8bd; }
  .employee-workspace .ewt-day-copy>strong { font-size:15px; }
  .employee-workspace .ewt-day-copy>small { font-size:9px; }
  .employee-workspace .ewt-week-arrow.btn { width:25px; min-width:25px; min-height:44px; padding:3px; background:transparent; border:0; color:#38664a; }
  .employee-workspace .ewt-task { padding:13px; border:1px solid #d4dccc; border-radius:14px; box-shadow:none; background:#fffefa; }
  .employee-workspace .ewt-task.ewt-priority-high { background:#fff1ce; border-color:#ead9ac; }
  .employee-workspace .ewt-task.ewt-priority-urgent { background:#f4ded8; border-color:#e9c9be; }
  .employee-workspace .ewt-task.is-complete { background:#e4eed9; border-color:#d0dfbe; }
  .employee-workspace .ewt-task-top { gap:8px; }
  .employee-workspace .ewt-task-mark { width:27px; height:27px; min-width:27px; background:#e4ebd7; color:#2b6848; border-radius:8px; }
  .employee-workspace .ewt-task-title.btn { font-size:14px; line-height:1.35; color:var(--bento-ink); padding:0; min-height:44px; }
  .employee-workspace .ewt-project { font-size:11px; line-height:1.4; color:#697767; }
  .employee-workspace .ewt-task-tags { gap:4px; }
  .employee-workspace :is(.ewt-priority,.ewt-status) { padding:3px 7px; border-radius:8px; font-size:9px; }
  .employee-workspace .ewt-priority.normal { background:#ece6f5; color:#675881; }
  .employee-workspace .ewt-priority.high { background:#ffe4a3; color:#876026; }
  .employee-workspace .ewt-priority.urgent { background:#f1c9be; color:#924c3a; }
  .employee-workspace .ewt-instructions { margin-top:8px; border-color:#dfe3d6; }
  .employee-workspace .ewt-instructions>summary { min-height:44px; display:flex; align-items:center; font-size:12px; color:#21684d; }
  .employee-workspace .ewt-instructions>p { font-size:12px; color:#52644f; line-height:1.6; }
  .employee-workspace .ewt-task-bottom { padding-top:10px; margin-top:8px; border-color:#e0e5d8; }
  .employee-workspace .ewt-status-action.btn { min-height:44px; border-radius:9px; font-size:12px; padding:8px 11px; background:#004f46; border-color:#004f46; color:#fff; }
  .employee-workspace .ewt-status-action.btn.reopen { background:#fffefa; color:#365c43; border-color:#c5d2bf; }
  .employee-workspace .ewt-task-dates { font-size:10px; color:#6d7e69; }
  .employee-workspace .ewt-empty { padding:27px 18px; border:1px solid #cbd8c9; border-radius:14px; background:#fffefa; }
  .employee-workspace .ewt-empty>strong { font-size:17px; color:var(--bento-ink); }
  .employee-workspace .ewt-empty>p { color:#61705c; font-size:12px; }
  .employee-workspace .ewt-empty>.btn { min-height:44px; }

  /* The existing central record modals keep the same visual language. */
  body.employee-mobile-ui .entry-preview-summary { padding:15px; border-color:#d6dfc9; border-radius:13px; background:#e6eddd; color:#204b3a; }
  body.employee-mobile-ui .entry-preview-total { font-size:27px; color:#084a38; }
  body.employee-mobile-ui .entry-preview-project { border:1px solid #ced9ca; border-radius:12px; overflow:hidden; background:#fffefa; }
  body.employee-mobile-ui .entry-preview-project-head { padding:12px; background:#eee6f7; color:#234a38; }
  body.employee-mobile-ui .entry-preview-task { padding:12px; border-color:#e1e5d9; }
  body.employee-mobile-ui .attendance-day-detail .attendance-detail-title { padding:11px; border-radius:10px; background:#e6eddd; color:#184c36; }
  body.employee-mobile-ui .attendance-day-detail .attendance-facts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  body.employee-mobile-ui .attendance-day-detail .attendance-facts>div { padding:12px; border:1px solid #ddd6e7; border-radius:11px; background:#eee6f7; }
  body.employee-mobile-ui .attendance-day-detail .attendance-facts>div:last-child { grid-column:1/-1; background:#e6eddd; border-color:#d5dfc9; }
  body.employee-mobile-ui .attendance-day-detail .attendance-facts strong { font-size:22px; color:#084f39; }
}

@media (max-width:360px) {
  .employee-workspace .entries-calendar .calendar-heading { padding-inline:7px; }
  .employee-workspace .entries-calendar .calendar-title-copy h2 { font-size:13px; }
  .employee-workspace .entries-calendar .calendar-day { min-height:52px; }
  .employee-workspace .entries-calendar .calendar-status .icon { display:none; }
  .employee-workspace .attendance-page .attendance-stat { padding:10px; gap:6px; }
  .employee-workspace .attendance-page .attendance-stat>div>span { font-size:10px; }
  .employee-workspace .attendance-page .attendance-stat-icon { width:23px; min-width:23px; }
  .employee-workspace .my-projects-page .project-card { grid-template-columns:28px minmax(0,1fr); gap:6px 8px; }
  .employee-workspace .my-projects-page .project-card-top>.badge { grid-column:2; grid-row:4; justify-self:start; }
  .employee-workspace .my-projects-page .project-card>.project-code,.employee-workspace .my-projects-page .project-card>.help { grid-column:2; }
  .employee-workspace .page .salary-pin-card { padding-inline:14px; }
  .employee-workspace .salary-pin-card h2 { font-size:21px; }
  .employee-workspace[data-route="expenses"] .expense-summary>.metric:first-child .metric-top { font-size:12px; }
}
