/* R437A: compact white anchored Screen Actions picker, matching Make.TG's newer white dropdowns. */
.r437-picker-layer{position:fixed!important;inset:0!important;display:block!important;padding:0!important;z-index:2100!important;background:transparent!important;backdrop-filter:none!important;overflow:hidden!important}
.r437-screen-picker{visibility:hidden;position:fixed!important;display:flex!important;flex-direction:column!important;gap:0!important;width:min(440px,calc(100vw - 20px))!important;max-width:calc(100vw - 20px)!important;max-height:min(78dvh,680px)!important;padding:0!important;margin:0!important;overflow:hidden!important;background:#fff!important;color:#18364b!important;border:1px solid #cddde8!important;border-radius:15px!important;box-shadow:0 16px 46px rgba(18,49,73,.25),0 2px 8px rgba(18,49,73,.09)!important;box-sizing:border-box}
.r437-screen-picker .r437-picker-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 13px 10px;border-bottom:1px solid #e2eaf1;flex:none}
.r437-screen-picker .r437-picker-head small{display:block;color:#678398;font-size:10px;font-weight:700;letter-spacing:.06em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:350px}
.r437-screen-picker #actionTypePickerTitle{margin:3px 0 0!important;font-size:17px!important;line-height:1.25;color:#173b56!important}
.r437-screen-picker .r437-picker-close{display:grid;place-items:center;position:static!important;align-self:flex-start;min-width:28px;width:28px;height:28px;margin:0!important;padding:0!important;color:#476b80!important;background:#eff5f8!important;border:0!important;border-radius:8px!important}
.r437-screen-picker .r437-picker-inner{display:flex;min-height:0;flex-direction:column;gap:8px;overflow-y:auto;overscroll-behavior:contain;padding:10px 11px 12px}
.r437-screen-picker .r437-picker-section-title{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 2px;min-width:0}
.r437-screen-picker .r437-picker-section-title h3{display:flex;gap:7px;align-items:center;margin:0;color:#294a61;font-size:12px;font-weight:780;line-height:1.25}
.r437-screen-picker .r437-picker-section-title>small{font-size:10px;color:#698294;white-space:nowrap}
.r437-screen-picker .r107-picker-count{display:inline-flex;align-items:center;padding:3px 6px;border-radius:9px;background:#e5f7ed;color:#20704d!important;font-size:10px;font-weight:750}
.r437-screen-picker .screen-action-picker-list{gap:3px!important;padding:2px!important;max-height:unset!important;min-height:0}
.r437-screen-picker .r437-picker-attached{max-height:168px!important;overflow-y:auto}
.r437-screen-picker .r437-picker-available{max-height:176px!important;overflow-y:auto}
.r437-screen-picker .r107-picker-row,.r437-screen-picker .r107-picker-row.r107-picker-selected,.r437-screen-picker .r107-picker-selected.r107-picker-legacy{display:flex!important;align-items:center;gap:5px;min-height:43px;padding:3px 5px!important;background:#fff!important;border:1px solid #dce7ee!important;border-radius:9px!important;color:#1e465f!important;box-shadow:none!important}
.r437-screen-picker .r107-picker-row.r107-picker-selected,.r437-screen-picker .r107-picker-selected.r107-picker-legacy{background:#eff8f3!important;border-color:#9fd3b7!important;border-left:3px solid #31a374!important}
.r437-screen-picker .r107-picker-row.r107-picker-focused{outline:2px solid #5eaad9;outline-offset:1px}
.r437-screen-picker .r107-picker-row-choice{min-height:34px;gap:2px!important;padding:3px 5px!important;color:#214359!important;overflow:hidden}
.r437-screen-picker .r107-picker-row-choice strong{font-size:12px!important;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-weight:720}
.r437-screen-picker .r107-picker-row-choice small{font-size:10px!important;color:#627f90!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.r437-screen-picker .r437-action-order{display:inline-grid;place-items:center;min-width:19px;height:19px;border-radius:50%;background:#d2f0df;color:#1b7751;font-size:10px}
.r437-screen-picker .r437-action-symbol{color:#287fb5}
.r437-screen-picker .r107-picker-row-controls{gap:3px!important}
.r437-screen-picker .r107-picker-icon{display:grid;place-items:center;flex:0 0 27px;width:27px;height:29px;min-width:0;padding:0;border:1px solid #d5e2ea!important;border-radius:7px;background:#f6f9fc!important;color:#24536f!important;font-size:17px!important;box-shadow:none!important}
.r437-screen-picker .r107-picker-icon:disabled{opacity:.3!important;cursor:not-allowed}
.r437-screen-picker .r107-picker-attach:not(:disabled){background:#eaf7ef!important;border-color:#b7dfc7!important;color:#1a7c50!important}
.r437-screen-picker .r107-picker-detach:not(:disabled){background:#fff0ed!important;border-color:#efc9c3!important;color:#a34b42!important}
.r437-screen-picker .r107-picker-row-choice:focus-visible,.r437-screen-picker .r107-picker-icon:focus-visible,.r437-screen-picker button:focus-visible,.r437-screen-picker summary:focus-visible,.r437-screen-picker input:focus-visible{outline:2px solid #2788c7!important;outline-offset:1px}
.r437-screen-picker .r107-picker-icon:hover:not(:disabled){filter:brightness(.95)}
.r437-screen-picker .r107-picker-action-name strong,.r437-screen-picker .r107-picker-action-name small{color:#204a5f!important}
.r437-screen-picker .r107-picker-legacy{justify-content:space-between;padding:6px!important}
.r437-screen-picker .r437-picker-search{display:flex;gap:7px;align-items:center;flex:none;padding:5px 9px;border-radius:8px;border:1px solid #cbdde9;background:#f8fbfd;color:#496a81}
.r437-screen-picker .r437-search-icon{font-size:17px;line-height:1}
.r437-screen-picker [data-r437-action-search]{width:100%;min-width:0;min-height:28px;padding:0;border:0;outline:none!important;background:transparent;color:#173b54;font:inherit;font-size:12px}
.r437-screen-picker .r437-action-create{flex:none;min-height:32px;border:1px solid #cddfed;border-radius:9px;background:#f0f8fe}
.r437-screen-picker .r437-action-create>summary{display:flex;justify-content:space-between;align-items:center;cursor:pointer;list-style:none;padding:8px 10px;color:#236e9e;font-size:12px;font-weight:750}
.r437-screen-picker .r437-action-create>summary::-webkit-details-marker{display:none}
.r437-screen-picker .r437-picker-types{max-height:174px!important;overflow:auto;padding:3px 6px 7px!important}
.r437-screen-picker .r437-picker-types>button{min-height:33px;padding:6px 8px!important;background:#fff!important;color:#234c66!important;border:1px solid #e1edf5!important;border-radius:7px!important;font-size:11px!important;text-align:left}
.r437-screen-picker .r437-picker-types>button:hover{background:#e7f3fc!important;border-color:#9ccee7!important}
.r437-screen-picker .r437-picker-guide>summary{font-size:10px;color:#6a8294;cursor:pointer;list-style:none}
.r437-screen-picker .r437-picker-guide p{margin:5px 0 0;color:#587386;font-size:11px;line-height:1.45}
.r437-screen-picker .r437-picker-empty{padding:7px;margin:0;color:#6c8597;font-size:11px}
.r437-screen-picker [data-r437-filter-item][hidden]{display:none!important}
.r437-screen-picker .r437-search-status{min-height:0;font-size:10px;color:#537a91}
/* R437A: preview toolbar with diagnostics in one disclosure and primary controls visible. */
.r10-editor .tg-preview-note-row{max-width:740px}
.r10-editor .tg-preview-note-row>.tg-preview-actions[data-r437-preview-toolbar]{display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:flex-end!important;gap:6px!important;max-width:100%!important}
.r10-editor .tg-preview-actions[data-r437-preview-toolbar]>*{width:auto!important;max-width:100%!important;min-width:0!important;flex:0 0 auto!important;min-height:32px!important;padding:6px 10px!important;white-space:nowrap!important;font-size:11px!important;text-align:center!important;box-sizing:border-box}
.r10-editor .tg-preview-actions[data-r437-preview-toolbar]>.r280-draft-anchor{padding:0!important}
.r10-editor .tg-preview-actions[data-r437-preview-toolbar]>.r280-draft-anchor>.r280-save-draft{min-height:32px!important;padding:6px 10px!important;font-size:11px!important}
.r10-editor .tg-preview-actions[data-r437-preview-toolbar]>.r437-test-chat{background:#e7f5ff!important;border-color:#9bcfe9!important;color:#1e648e!important;font-weight:750}
.r10-editor .tg-preview-actions[data-r437-preview-toolbar]>.r437-preview-checks{position:relative!important;padding:0!important;overflow:visible!important;z-index:8}
.r10-editor .r437-preview-checks>summary{display:flex;align-items:center;gap:5px;min-height:32px;padding:6px 9px;border:1px solid #c1d6e4;border-radius:8px;background:#fff;color:#2b5b78;font-size:11px;font-weight:700;list-style:none;cursor:pointer}
.r10-editor .r437-preview-checks>summary::-webkit-details-marker{display:none}
.r10-editor .r437-preview-check-list{position:absolute;top:calc(100% + 6px);left:0;z-index:20;width:156px;max-width:calc(100vw - 20px);padding:5px;border:1px solid #cadde9;border-radius:10px;background:#fff;box-shadow:0 10px 30px rgba(16,48,71,.18);display:grid;gap:2px}
.r10-editor .r437-preview-check-list button{padding:8px 9px;text-align:left;cursor:pointer;color:#1d526d;background:transparent;border:0;border-radius:6px;font-size:11px}
.r10-editor .r437-preview-check-list button:hover,.r10-editor .r437-preview-check-list button:focus-visible{background:#eaf5fc;outline:2px solid #75b5da;outline-offset:1px}
@media(max-width:520px){.r437-screen-picker{width:min(420px,calc(100vw - 16px))!important;max-height:min(83dvh,660px)!important}.r10-editor .tg-preview-note-row>.tg-preview-actions[data-r437-preview-toolbar]{justify-content:center!important;gap:5px!important}.r10-editor .tg-preview-actions[data-r437-preview-toolbar]>*{padding:6px 8px!important;font-size:10.5px!important}}
@media(prefers-reduced-motion:reduce){.r437-screen-picker,.r437-preview-check-list{animation:none!important;transition:none!important}}
