/* Bigger, easier to read text for the live editor on phones (owner, 7 Nov 2026).
   Screen only and phones only. Print, PDF, PNG and the export preview are laid out in their own wide frames and never match
   these rules, so a printed or downloaded document keeps its normal Letter and A4 sizes.
   The sheet is a fixed-width page scaled to fit the phone, so its type came out at 12px or less on screen. Children of the sheet
   are zoomed 35% (12px reads as 16px), which keeps the sheet width, the scale and every printed size. Tables with fixed column
   widths and the small delete controls stay at their own size so nothing runs past the edge. */
@media screen and (max-width:600px){
:is(#invoicePreview,#live-preview-capture,#ceDoc,#paper)>*:not(.p-tbl):not(table):not(.cee-ui){zoom:1.35}
.cee-ui{zoom:.74}
[class*="canvas-label"],[class*="canvas-label"] span,[class*="canvas-label"] b{font-size:13.5px!important;line-height:1.35}
[class*="modewrap"] button,[class*="stogwrap"] button{font-size:14px!important}
[class$="-rail"] [class$="-rail-btn"] span{font-size:12px!important;letter-spacing:-.01em}
}

/* tap area for the small remove-line buttons (24 Nov 2026): the button keeps its size, only the area that reacts grows */
@media screen and (max-width:600px){
button[aria-label^="Remove"]:not(.it-uni-rowdel)::after{content:"";position:absolute;inset:-10px}
}

/* a sheet whose design runs past its edge at this zoom keeps its own size (it-phone-fit-v1.js, 24 Nov 2026) */
@media screen and (max-width:600px){
:is(#invoicePreview,#live-preview-capture,#ceDoc,#paper)[data-it-nozoom]>*{zoom:1!important}
}
