/* Only text-edit dialog chrome: no changes to text values, fonts, or PDF output. */
@layer sentriiq-precision {
 html:root [role=dialog][data-siq-text-editor]{width:min(560px,calc(100vw - 24px))!important;max-width:560px!important;min-width:0!important;height:auto!important;min-height:0!important;max-height:calc(100dvh - 24px)!important;overflow:auto!important;padding:20px!important;gap:16px!important;background:#f7f9fc!important;color:#243448!important;border:1px solid #ccd6e2!important;border-radius:12px!important;box-shadow:0 18px 60px #0f172a40!important;font:14px/1.45 Arial,sans-serif!important}
 html:root [role=dialog][data-siq-text-editor][data-siq-text-wide=true]{width:min(720px,calc(100vw - 24px))!important;max-width:720px!important}
 html:root [data-siq-text-editor] :is(h2,h3){color:#243448!important;font-size:20px!important;line-height:1.3!important;font-weight:600!important;margin:0!important}
 html:root [data-siq-text-editor] [class*="text-white"]{color:#34465b!important;-webkit-text-fill-color:currentColor!important}
 html:root [data-siq-text-editor] :is(input:not([type=checkbox]):not([type=color]),textarea){background:#fff!important;color:#172b43!important;-webkit-text-fill-color:#172b43!important;border:1px solid #b7c6d8!important;border-radius:6px!important;box-shadow:none!important;font-size:14px!important;min-height:38px!important;padding:8px 10px!important;width:100%!important}
 html:root [data-siq-text-editor] textarea{min-height:100px!important;max-height:220px!important;resize:vertical!important}
 html:root [data-siq-text-editor] input[type=checkbox]{width:16px!important;height:16px!important;accent-color:#1c69d4!important;flex:none!important}
 html:root [data-siq-text-editor] button:not([aria-label^="#"]){color:#243448!important;-webkit-text-fill-color:currentColor!important;background:#fff!important;border:1px solid #b7c6d8!important;border-radius:6px!important;min-height:34px!important;padding:7px 12px!important;font-size:13px!important;box-shadow:none!important;text-shadow:none!important;opacity:1!important}
 html:root [data-siq-text-editor] button:not([aria-label^="#"]):hover{background:#eaf1fb!important;border-color:#1c69d4!important}
 html:root [data-siq-text-editor] :is(button,input,textarea):focus-visible{outline:2px solid #1c69d4!important;outline-offset:2px!important}
 html:root [data-siq-text-editor] button.sentriiq-glow{background:#1c69d4!important;border-color:#1c69d4!important;color:#fff!important;font-weight:600!important}
 html:root [data-siq-text-editor] button.sentriiq-glow:hover{background:#1657b2!important}
 html:root [data-siq-text-editor] button[aria-label^="#"]{width:28px!important;height:28px!important;min-height:28px!important;padding:0!important;border-radius:50%!important;box-shadow:0 0 0 1px #718096!important}
 html:root [data-siq-text-editor] .relative>.absolute{background:#fff!important;border:1px solid #b7c6d8!important;border-radius:6px!important;max-height:180px!important;overflow:auto!important;box-shadow:0 8px 24px #0f172a26!important}
 html:root [data-siq-text-editor] .relative>.absolute .sticky{background:#eaf0f7!important;color:#41556c!important}
 html:root [data-siq-text-editor] .relative>.absolute button{border:0!important;border-radius:0!important;min-height:32px!important;padding:6px 10px!important}
 html:root [data-siq-text-editor] .sentriiq-dialog-grip{background:#edf2f8!important;color:#53677e!important;border-bottom:1px solid #d4deea!important;padding:4px 8px!important;min-height:28px!important;margin:0!important;font-size:11px!important;border-radius:6px!important}
 html:root [data-siq-text-editor] .sentriiq-dialog-grip button{padding:3px 8px!important;min-height:24px!important;font-size:11px!important}
 html:root [data-siq-text-editor]>.sentriiq-dialog-grip{margin-right:40px!important}
 html:root [data-siq-text-editor]>button.absolute{right:18px!important;top:20px!important;z-index:4!important;width:30px!important;height:30px!important;min-height:30px!important;padding:6px!important;display:grid!important;place-items:center!important}
 html:root [data-siq-text-editor]>.space-y-4> :not([hidden])~:not([hidden]){margin-top:12px!important}
 html:root [data-siq-text-editor]>div:last-of-type:not(.sentriiq-dialog-grip){gap:8px!important}
 @media(max-width:480px){html:root [role=dialog][data-siq-text-editor]{padding:16px!important}html:root [data-siq-text-editor] .grid-cols-3{gap:10px!important}html:root [data-siq-text-editor] label{font-size:13px!important}}
}
