/* DOTS typography extension — headings, labels, button styles */
:root{--dots-heading-font:var(--ui-font,Arial,sans-serif);--dots-heading-size:17px;--dots-heading-weight:700;--dots-label-font:var(--ui-font,Arial,sans-serif);--dots-label-size:14px;--dots-label-weight:600;--dots-button-font:var(--ui-font,Arial,sans-serif);--dots-button-size:14px;--dots-button-weight:600}
#root .panel h2,#root .panel h3,#root .settingscard h2,#root .section-title h3,#root .job-instructions-card h3,#root .job-page-editor h3,#root .job-page-editor .section-title,#root .billingeditor h3,#root .page-title{font-family:var(--dots-heading-font)!important;font-size:var(--dots-heading-size)!important;font-weight:var(--dots-heading-weight)!important;line-height:1.3!important}
#root .field>span,#root .assignment-label,#root .job-page-editor label>span,#root .job-page-editor .field>label,#root .billing-sheet-heading strong{font-family:var(--dots-label-font)!important;font-size:var(--dots-label-size)!important;font-weight:var(--dots-label-weight)!important;line-height:1.35!important}
#root button,#root .button,#root [role=button]{font-family:var(--dots-button-font)!important;font-size:var(--dots-button-size)!important;font-weight:var(--dots-button-weight)!important}
#root .assignment-instructions h3{margin-bottom:12px!important}
#root .assignment-instructions .assignment-label,#root .assignment-instructions .field>span{font-weight:var(--dots-label-weight)!important}
.dots-typography-controls{border:1px solid var(--border,#ddd);border-radius:9px;padding:16px;margin:16px 0;display:block}
.dots-typography-controls legend{font-size:16px;font-weight:700;padding:0 6px}
.dots-typography-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.dots-typography-grid label{display:flex;flex-direction:column;gap:5px;font-weight:600;font-size:13px}
.dots-typography-grid select{width:100%;min-height:38px;padding:6px;border:1px solid var(--border,#bbb);border-radius:5px;background:var(--card,#fff);color:var(--foreground,#222)}
@media(max-width:780px){.dots-typography-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:510px){.dots-typography-grid{grid-template-columns:minmax(0,1fr)}}
@media print{.dots-typography-controls{display:none!important}}
