/* Phone typography only. Tablet, desktop and printed documents retain their styles. */
@media screen and (max-width:600px){
 body{font-size:14px;line-height:1.55}
 .hero h1,.heading h1,.head h1,.section-head h1,.welcome h1,main.wrap>h1{font-size:22px;line-height:1.4;letter-spacing:0}
 .hero p,.heading p,.head p,.section-head p,.welcome p{font-size:14px;line-height:1.65;margin-top:8px}
 .hero,.section-head{margin-bottom:18px}
 .toolbar{align-items:center;gap:10px}
 .toolbar>div{min-width:0}
 .toolbar>div>b,.toolbar>b{font-size:15px;line-height:1.5}
 .toolbar>div>div,.toolbar p{font-size:13px;line-height:1.55}
 .toolbar .primary{flex-shrink:0;white-space:nowrap}
 .primary,.secondary,.danger,.button,.download,.ghost,.back,.toolbar button{font-size:14px;line-height:1.45}
 .toolbar>.primary,.hero>.primary,.dialog-actions button,.modal-actions button{min-height:44px;padding:10px 13px}
 .top{gap:9px;padding-left:12px;padding-right:12px}
 .top b,.topbar-title b{font-size:14px;line-height:1.5}
 .top .back{font-size:12px;padding:8px 10px;flex-shrink:0}
 .topbar-title span{font-size:12px}
 .process h3,.folder h3,.slot h3,.task-card h3,.panel-head h2{font-size:15px;line-height:1.55}
 .process p,.folder p,.task-card p{font-size:13px;line-height:1.65}
 .process .pill,.process .ghost,.process .button{font-size:12px}
 .process-num{font-size:17px}
 .table-wrap table,table.data-table{font-size:13px;line-height:1.5}
 .table-wrap th,.table-wrap td{padding:10px 11px;line-height:1.5}
 .table-wrap th{font-size:12px}
 .table-wrap td small{font-size:11px;line-height:1.5}
 .table-wrap .actions button,.table-wrap .actions a,.row-actions button,.row-actions a{font-size:12px;line-height:1.45;min-height:34px;display:inline-flex;align-items:center;justify-content:center}
 #receiptPanel table{min-width:900px}
 #receiptPanel th:first-child,#receiptPanel td:first-child,#receiptPanel th:nth-child(3),#receiptPanel td:nth-child(3){white-space:nowrap}
 #receiptPanel td:nth-child(2){min-width:150px;max-width:180px}
 #receiptPanel td:first-child small{display:block;white-space:normal}
 .dialog-head h2,.form-head h2,.modal h2{font-size:18px;line-height:1.5}
 .dialog-head,.form-head{gap:12px}
 .dialog-head h2,.form-head h2{min-width:0}
 .dialog-head .x,.form-head .x{flex-shrink:0}
 dialog label,.modal label{font-size:13px;line-height:1.55}
 dialog h3,.modal h3,.attachment-grid h3,.withholding-box h3{font-size:15px;line-height:1.5}
 dialog small,.modal small,.withholding-preview,.withholding-guide{font-size:12px;line-height:1.6}
 /* Keep native text entry readable and avoid automatic input zoom on iOS. */
 dialog input,dialog select,dialog textarea,.modal input,.modal select,.modal textarea{font-size:16px}
 .total{font-size:17px}
}
