.os-format{--format-accent:var(--accent,#74180f);border:1px solid #d9d9df;border-radius:18px;background:rgba(255,255,255,.92);overflow:hidden;min-width:0;width:100%;margin:7px 0 4px;box-sizing:border-box;color:#222226;}
.os-format:focus-within{border-color:var(--format-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--format-accent) 12%,transparent)}
.os-format-toolbar{display:flex;align-items:center;gap:6px;min-height:44px;padding:7px 10px;border-bottom:1px solid rgba(100,100,115,.14);background:rgba(120,120,135,.045)}
.os-format .os-format-control{appearance:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;position:relative!important;flex:0 0 36px!important;width:36px!important;min-width:36px!important;max-width:36px!important;height:34px!important;min-height:34px!important;padding:0!important;margin:0!important;border:0!important;border-radius:10px!important;background:transparent!important;color:inherit!important;font-family:inherit!important;font-size:18px!important;font-weight:700!important;line-height:1!important;box-shadow:none!important;transform:none!important;}
.os-format .os-format-control::before,.os-format .os-format-control::after{display:none!important}
.os-format .os-format-control[aria-pressed=true]{background:color-mix(in srgb,var(--format-accent) 13%,transparent)!important;color:var(--format-accent)!important}
.os-format .os-format-control:hover{background:rgba(120,120,135,.14)!important}
.os-format-hint{font-size:12px;font-weight:400;line-height:1.3;color:#73737b;margin-left:6px;pointer-events:none}
.os-format-editor{padding:14px 16px;min-height:110px;max-height:480px;overflow-y:auto;overflow-wrap:anywhere;white-space:pre-wrap;outline:none;font-family:inherit!important;font-size:16px!important;font-weight:400!important;line-height:1.6!important;letter-spacing:normal!important;text-transform:none!important;cursor:text;box-sizing:border-box;-webkit-user-select:text;user-select:text}
.os-format-editor ul{margin:5px 0;padding-left:24px}.os-format-editor strong,.os-format-editor b,.os-formatted strong{font-weight:750!important;color:inherit}
.os-format-editor.is-empty:before{content:attr(data-placeholder);position:absolute;color:#88888f;pointer-events:none;font-weight:400}
.os-format .os-format-source{display:none!important}.os-format-error{color:#b42318;font-size:13px;padding:0 16px}.os-format-error:empty{display:none}

[data-theme=dark] .os-format,body.dark .os-format{background:rgba(35,35,39,.96);border-color:#4b4b52;color:#f5f5f7}.paper-workspace .os-format,.paper-modal .os-format{--format-accent:#773747}
@media(max-width:600px){.os-format-editor{font-size:16px;min-height:128px;max-height:45vh;padding:12px}.os-format-toolbar{min-height:48px}.os-format .os-format-control{height:38px!important;min-height:38px!important;flex-basis:40px!important;width:40px!important;max-width:40px!important}.os-format-hint{font-size:11px}}
@media(prefers-reduced-motion:reduce){.os-format-control{transition:none!important}}
