#mobileToast{display:none}.checkline{display:flex;align-items:center;gap:10px}.checkline input{flex:none;accent-color:#2469d6}.editor>button.full{margin-top:8px}.panel{min-width:0}.mobilebar button:focus-visible{outline:3px solid #83b5ff;outline-offset:2px}
@media screen and (max-width: 750px){
html{scroll-padding-top:72px}body{padding-bottom:calc(76px + env(safe-area-inset-bottom));}main{padding:10px;max-width:100%}.nav{padding:12px max(12px,env(safe-area-inset-right)) 12px max(12px,env(safe-area-inset-left));min-height:54px}.brand{font-size:15px}.home{font-size:11px;white-space:nowrap}.hero{padding:18px 10px;margin-bottom:12px;border-radius:16px}.hero h1{font-size:26px;margin:8px 0}.hero p{font-size:13px;margin:8px 0 12px}.chips{gap:5px}.chips span{font-size:11px;padding:5px 8px}.workspace{display:block}.panel{padding:14px;border-radius:15px}.editor h2{padding-top:16px;border-top:1px solid #e5edf7;margin-top:20px}.editor h2:first-child{padding-top:0;border:0;margin-top:0}.choices,.themes{gap:6px}.choices button,.themes button{min-height:48px;font-size:13px;line-height:1.35;padding:8px 4px;overflow-wrap:anywhere}.swatch{height:40px}input:not([type=checkbox]):not([type=range]),select,textarea{font-size:16px;min-height:48px;max-width:100%}input[type=date],input[type=time]{display:block;min-width:0;appearance:none;-webkit-appearance:none}input[type=file]{font-size:14px!important;padding:9px 6px}input[type=range]{height:38px}.pair{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.pair label{min-width:0}.checkline{min-height:44px;font-size:14px}.checkline input{width:22px!important;height:22px!important}.mobilebar{padding:8px max(8px,env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));gap:5px;box-shadow:0 -4px 20px #17243c18}.mobilebar button{flex:1;min-width:0;font-size:12px;padding:8px 3px;min-height:48px;white-space:nowrap}.mobilebar button[aria-pressed=true]{background:#e8f1ff;border-color:#2469d6;color:#1354b5}.mobilebar #mobileSave{flex:1.25}.preview{scroll-margin-top:65px}.canvaswrap{padding:8px;min-height:0}.canvaswrap canvas{width:auto;max-width:100%;max-height:58vh;max-height:58dvh;height:auto;object-fit:contain}.actions button{min-height:48px;font-size:14px}.help{margin-top:12px;padding:16px}.help p{font-size:13px}footer{padding:20px 12px}.mobile-enhanced[data-mobile-tab=edit] .preview{display:none}.mobile-enhanced[data-mobile-tab=preview] .editor{display:none}.mobile-enhanced[data-mobile-tab=preview] .hero,.mobile-enhanced[data-mobile-tab=preview] .help{display:none}#mobileToast:not(:empty){display:block;position:fixed;bottom:calc(76px + env(safe-area-inset-bottom));left:12px;right:12px;z-index:30;background:#17243c;color:white;padding:12px;border-radius:10px;font-size:13px;pointer-events:none;box-shadow:0 3px 14px #0002}.mobile-enhanced.keyboard-open .mobilebar{visibility:hidden}.mobile-enhanced.keyboard-open #mobileToast{bottom:12px}
}
@media screen and (max-width:350px){.pair{grid-template-columns:1fr}.choices,.themes{grid-template-columns:repeat(2,minmax(0,1fr))}.mobilebar button{font-size:11px}}
@media print{#mobileToast,.mobilebar{display:none!important}.preview{display:block!important}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}
