#ti-tool,.ti-controls,#ti-editor {min-width:0}
.ti-actions {display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.ti-day {border:1px solid #cbd5e1;border-radius:8px;padding:12px;margin:14px 0;min-width:0}
.ti-item {border-top:1px solid #cbd5e1;padding:12px 0;min-width:0}
.ti-day .calc-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
.ti-day input,.ti-day textarea,.ti-day select {width:100%;min-width:0;max-width:100%;box-sizing:border-box}
.ti-actions .qr-field {max-width:100%;min-width:0}
.ti-day h3 {overflow-wrap:anywhere}
.ti-frame {position:relative;margin:0 auto 22px}
.ti-sheet {position:absolute;top:0;left:0;max-width:none;transform-origin:top left;background:white;box-shadow:0 2px 8px #0002}
.ti-png {position:absolute;bottom:0;left:0}
@media(max-width:500px){.ti-day .calc-grid{grid-template-columns:minmax(0,1fr)}}
@media print {
 .site-header,.site-footer,.breadcrumb,.other-tools,.ad-card,main > *:not(#ti-tool),.ti-controls,#ti-tool > :not(#ti-preview),body > :not(main) {display:none!important}
 html,body {margin:0!important;padding:0!important;background:white!important}
 main.wrap {width:auto!important;max-width:none!important;margin:0!important;padding:0!important}
 #ti-tool {margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;background:white!important}
 .ti-frame {width:auto!important;height:auto!important;margin:0!important;break-after:page;break-inside:avoid}
 .ti-frame:last-child {break-after:auto}
 .ti-sheet {display:block;position:relative;transform:none!important;box-shadow:none;print-color-adjust:exact;-webkit-print-color-adjust:exact}
 .ti-png {display:none!important}
}
