/* SentriIQ charcoal / blue text editing theme. 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:#263442!important;color:#f1f5f9!important;border:1px solid #526476!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:#f1f5f9!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:#d9e5f1!important;-webkit-text-fill-color:currentColor!important}
 html:root [data-siq-text-editor] :is(input:not([type=checkbox]):not([type=color]),textarea){background:#17232f!important;color:#f1f5f9!important;-webkit-text-fill-color:#f1f5f9!important;border:1px solid #61758a!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:#f1f5f9!important;-webkit-text-fill-color:currentColor!important;background:#17232f!important;border:1px solid #61758a!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:#344b63!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:#17232f!important;border:1px solid #61758a!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:#263c52!important;color:#d9e5f1!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:#1e2935!important;color:#ccdced!important;border-bottom:1px solid #526476!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}
 html:root [data-siq-text-editor] :is(label,p,span,.text-xs,.text-sm){color:#d9e5f1!important;-webkit-text-fill-color:currentColor!important} html:root [data-siq-text-editor] input::placeholder,html:root [data-siq-text-editor] textarea::placeholder{color:#a7b9cc!important;opacity:1!important} html:root [data-siq-text-editor] input[type=checkbox]{color-scheme:dark} html:root [data-siq-text-editor] button.sentriiq-glow :is(span,svg){color:#fff!important} html:root [data-siq-text-editor] button:disabled{color:#a7b9cc!important;background:#263442!important} html:root [data-siq-text-editor] :is(h2,h3){border-left:3px solid #38b782!important;padding-left:10px!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}}
}

@layer sentriiq-precision {
 html:root [role=dialog][data-siq-text-editor] :is(input:not([type=checkbox]):not([type=color]),textarea){background:#17232f!important;color:#f1f5f9!important;-webkit-text-fill-color:#f1f5f9!important;border-color:#61758a!important;caret-color:#fff!important}
 html:root [role=dialog][data-siq-text-editor]>div:last-of-type:not(.sentriiq-dialog-grip){background:#263442!important;border-top:1px solid #526476!important}
}
