/* Final phone workflow refinements. All fields and actions use their original DOM. */
@media screen {
:root{--accent:#3467eb}
.operations-shortcuts{border:1px solid #e1e9f5;background:#fff;border-radius:12px;padding:0 16px;margin:0 0 20px}
.operations-shortcuts>summary{min-height:44px;line-height:1.7;padding:11px 0;color:#516c97;font-size:12px;font-weight:550}
.operations-shortcuts>summary>span{display:inline;font-size:11px;font-weight:400;color:#677b99;margin-left:12px}
.operations-shortcuts>.button-group{padding:0 0 15px;gap:8px}.operations-shortcuts .button{font-size:12px;min-height:40px}
.task-steps{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;background:#f4f7fe;border:1px solid #e7edf9;border-radius:12px;margin:20px 0;padding:14px}
.task-steps li{font-size:12px;color:#5e7398;display:flex;gap:8px;align-items:center;min-width:0}.task-steps b{display:grid;place-items:center;flex:none;width:24px;height:24px;border-radius:8px;background:#e1eaff;color:#4778dc;font-size:11px}.task-steps li:first-child b{background:#4675e5;color:#fff}
.workflow-help{margin:16px 0 22px;font-size:12px;color:#5c7091}.workflow-help>summary{padding:8px 0;color:#5c7296}.workflow-help p{font-size:12px;line-height:1.9}
.section-jumps{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px}.section-jumps a{padding:9px 13px;border:1px solid #dce6f8;border-radius:9px;background:#eef4ff;color:#4f6e9f;min-height:40px;font-size:12px;display:inline-flex;align-items:center;justify-content:center}.section-jumps a:hover{background:#e1ebff;color:#3467eb}
[id^=resident-],[id^=manager-],[id^=employee-section],#employee-save-section{scroll-margin-top:92px}
.page-heading h1{overflow-wrap:anywhere}.page-heading>.button-group{flex-shrink:0;max-width:100%;flex-wrap:wrap}.page-heading>div,.page-title-with-icon>div,.panel-title>div{min-width:0}
.slip-net strong{color:#3467eb}.signature-done{border-left-color:#3467eb}.signature-panel .signature-pad{border-color:#a1b8e2;border-style:solid;background:linear-gradient(#fff,#fdfdff)}
@media (max-width:760px){
  .admin-layout .page-heading>.button{align-self:stretch;width:100%;white-space:normal}
  .admin-layout .panel-title{gap:12px;align-items:flex-start;flex-wrap:wrap}.admin-layout .panel-title>a{min-height:40px;display:inline-flex;align-items:center}
  .admin-layout .tabs{display:flex;flex-wrap:nowrap;gap:8px;overflow-x:auto;max-width:100%;padding:2px 0 12px;margin-bottom:16px;border:0;scrollbar-width:thin;scrollbar-color:#cfdbf0 transparent;-webkit-overflow-scrolling:touch}
  .admin-layout .tabs>a{flex:0 0 auto;min-height:44px;padding:8px 13px;background:#fff;border:1px solid #e0e8f6;border-radius:10px;white-space:nowrap;font-size:12px;color:#607697;gap:6px}.admin-layout .tabs>a.active{background:#e8efff;border-color:#c6d7ff;color:#3467eb}.admin-layout .tabs .badge{padding:2px 6px;background:#edf2fb;color:#607697}
  .record-list-panel .filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:14px;gap:10px}.record-list-panel .filters>label:first-of-type{grid-column:1/-1;min-width:0}.record-list-panel .filters .button{min-width:0;width:100%}
  .admin-layout .mobile-record-table,.admin-layout .manager-pending .mobile-record-table{display:block;min-width:0;width:100%;background:transparent;border:0}
  .admin-layout .mobile-record-table>thead{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
  .admin-layout .mobile-record-table>tbody{display:block}
  .admin-layout .mobile-record-selectable>thead{position:static;width:auto;height:auto;clip:auto;overflow:visible;white-space:normal;display:block}
  .admin-layout .mobile-record-selectable>thead>tr{display:block}.admin-layout .mobile-record-selectable th:not(.inbox-select){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);padding:0;border:0}
  .admin-layout .mobile-record-selectable th.inbox-select{display:block;width:auto;background:transparent;border:0;padding:0}.mobile-record-selectable th.inbox-select label{display:flex;gap:8px;align-items:center;min-height:44px}
  .admin-layout .mobile-record-selectable tr[data-mobile-record]{position:relative}.admin-layout .mobile-record-selectable td.inbox-select{position:absolute;right:8px;top:5px;padding:0;z-index:1}.admin-layout .mobile-record-selectable td.inbox-select:before{display:none}.mobile-record-selectable td.inbox-select input{margin:13px;width:20px;height:20px}
  .admin-layout .mobile-record-selectable .mobile-record-lead{padding-right:58px}

  .admin-layout .mobile-record-table tr[data-mobile-record]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;border:1px solid #e1e9f6;border-radius:14px;background:#fff;margin:12px 0 16px;overflow:hidden;box-shadow:0 4px 12px #26456705}
  .admin-layout .mobile-record-table td{display:block;min-width:0;padding:10px 13px;border:0;color:#435a7b;white-space:normal;font-size:13px;line-height:1.8;overflow-wrap:anywhere}
  .admin-layout .mobile-record-table td:before{content:attr(data-label);display:block;font-size:10px;font-weight:400;color:#627895;line-height:1.7;margin-bottom:3px}
  .admin-layout .mobile-record-table td small{font-size:11px;color:#687e9d;white-space:normal;overflow-wrap:anywhere}
  .admin-layout .mobile-record-table .mobile-record-lead{grid-column:1/-1;grid-row:1;padding:14px 15px;border-bottom:1px solid #e7edf8;background:#f5f8ff;color:#294b83;font-size:15px;font-weight:600}
  .admin-layout .mobile-record-table .mobile-record-lead:before{display:none}.admin-layout .mobile-record-table .mobile-record-lead strong{font-weight:650;color:#294b83}.admin-layout .mobile-record-table .mobile-record-lead small{font-size:12px;font-weight:400}
  .admin-layout .mobile-record-table .mobile-record-wide{grid-column:1/-1}
  .admin-layout .mobile-record-table .mobile-record-action{display:flex;gap:8px;flex-wrap:wrap;align-items:center;padding:12px 13px 14px}
  .admin-layout .mobile-record-table .mobile-record-action:before{display:none}
  .admin-layout .mobile-record-table .mobile-record-action>a{display:flex;align-items:center;justify-content:center;flex:1 1 120px;min-height:44px;padding:8px 12px;background:#edf3ff;color:#3d68c5;border:1px solid #dfe9ff;border-radius:8px;white-space:normal;font-size:12px;font-weight:550;text-align:center;line-height:1.7}
  .admin-layout .mobile-record-table .mobile-record-action>small{margin:0;display:flex}.admin-layout .mobile-record-table .mobile-record-action>small>a{min-height:44px;display:inline-flex;align-items:center;padding:8px 2px}
  .admin-layout .mobile-record-table .mobile-record-action>a:hover{background:#e2ecff}
  .admin-layout .mobile-record-table tbody tr:hover td{background:inherit}.admin-layout .mobile-record-table tbody tr:hover .mobile-record-lead{background:#f5f8ff}
  .admin-layout .mobile-record-table tr.payroll-row-problem{background:#fff3f5;border-color:#edb7c4}.admin-layout .mobile-record-table tr.payroll-row-problem .mobile-record-lead{background:#ffe8ed;color:#9f1239;border-color:#edb7c4}
  .admin-layout .mobile-record-table tr:not([data-mobile-record]){display:block}.admin-layout .mobile-record-table td[colspan]{display:block;padding:22px 8px;text-align:center}.admin-layout .mobile-record-table td[colspan]:before{display:none}
  .admin-layout .mobile-record-table .badge{white-space:normal;max-width:100%;line-height:1.7}
  .operations-shortcuts{margin-bottom:18px;padding:0 13px}.operations-shortcuts>summary{font-size:12px;min-height:44px}.operations-shortcuts>summary>span{font-size:10px;margin-left:8px}.operations-shortcuts>.button-group{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding-bottom:13px}.operations-shortcuts .button{white-space:normal;min-height:44px;font-size:11px;padding:8px;line-height:1.7}
  .task-steps{gap:9px;padding:12px;margin:16px 0;align-items:start}.task-steps li{flex-direction:column;align-items:flex-start;gap:7px;font-size:11px;line-height:1.7}.task-steps b{width:24px;height:24px}.workflow-help{margin:12px 0 19px}.workflow-help>summary{min-height:42px;font-size:11px;line-height:1.8}.workflow-help p{font-size:12px}
  .section-jumps{gap:7px;margin-bottom:16px}.section-jumps a{flex:1 1 90px;font-size:11px;min-height:42px;padding:9px 10px}
  .resident-section{margin-bottom:24px}.resident-section legend{font-size:17px;color:#344e76}.resident-section p{font-size:12px}.resident-actions,.advance-actions{display:flex;gap:9px;flex-wrap:wrap}.resident-actions>.button,.advance-actions>.button{min-height:46px;flex:1 1 130px;white-space:normal;line-height:1.8;font-size:12px;padding:10px 12px}.resident-actions>.button:not(.secondary),.advance-actions>.button:not(.secondary){flex-basis:100%}
  .advance-facts{gap:15px}.advance-facts dt{font-size:11px}.advance-facts dd{font-size:14px}.advance-facts .advance-amount{font-size:30px}.advance-screenshot{max-height:380px}.advance-history small{display:block;margin:5px 0 0;font-size:11px}.resident-history{gap:6px 12px}
  .form-panel>form>.button,.signature-panel form>button[type=submit],.slip-query form>.button{width:100%;min-height:48px;margin-top:8px;font-size:13px;white-space:normal}
  .form-panel>form .button,.panel>form>.button{max-width:100%;white-space:normal}.panel>form>p>label{display:flex;align-items:flex-start;gap:9px;line-height:1.8}.panel>form>p>label>input[type=checkbox]{margin-top:4px;flex:none}
  .slip-card .slip-summary{gap:14px}.slip-card .slip-summary span{font-size:12px}.slip-card .slip-summary strong{font-size:23px}.slip-card .slip-net strong{font-size:32px;color:#3467eb}.slip-details summary{font-size:13px;min-height:44px;padding:10px 0}.slip-details dl>div{gap:14px;padding:12px 0}.slip-details dt,.slip-details dd{font-size:13px}.slip-details dd{min-width:0;max-width:54%;overflow-wrap:anywhere}
  .signature-panel h2{font-size:18px}.signature-panel p{font-size:12px;line-height:1.8}.signature-confirm{font-size:13px}.signature-panel .signature-pad{min-height:165px;aspect-ratio:2/1;max-width:100%}.signature-actions{gap:12px;flex-wrap:wrap}.signature-actions .button{font-size:12px;min-height:44px}.signature-actions .muted{font-size:11px}.signature-done p{font-size:13px}.signature-evidence{max-width:100%}
  .public-layout .slip-query .form-grid{grid-template-columns:1fr}.public-layout .slip-wrap>.page-heading{padding:22px 20px;background:#254db7;border-radius:18px;color:#fff}.public-layout .slip-wrap>.page-heading h1{color:#fff}.public-layout .slip-wrap>.page-heading p{color:#e4ecff;font-size:12px}.public-layout .slip-wrap .retention-note{font-size:11px}
  .form-error-summary{scroll-margin-top:95px}.errorlist{overflow-wrap:anywhere}.signature-panel,.signature-done,.slip-card{scroll-margin-top:22px}
}
@media (max-width:360px){.admin-layout .mobile-record-table td{padding:10px 11px;font-size:12px}.admin-layout .mobile-record-table .mobile-record-lead{padding:13px;font-size:14px}.task-steps li{font-size:10px}.operations-shortcuts>summary>span{display:none}.signature-panel .signature-pad{min-height:150px}}
}
@media print{.operations-shortcuts,.section-jumps,.task-steps,.workflow-help{display:none!important}}
