/* Desktop-only, isolated Custom Report Branding panel. No TI/PRD selectors. */
.sm-branding{--sm-brand-pink:#F50061;box-sizing:border-box;margin-top:18px;padding:24px 26px;color:#f6f7fa;background:#1d2229;border:1px solid rgba(245,0,97,.7);border-radius:12px;font-family:inherit;text-transform:none;letter-spacing:normal;min-width:0}
.sm-branding .sm-branding__topline{display:flex;gap:16px;justify-content:space-between;align-items:center}
.sm-branding .sm-branding__eyebrow{display:flex;align-items:center;gap:8px;color:#F50061;font-size:11px;font-weight:800;letter-spacing:.13em}
.sm-branding .sm-branding__icon,.sm-branding-modal__eyebrow .sm-branding__icon{width:25px;height:25px;flex:none;display:block}
.sm-branding .sm-branding__status{color:#d1d5dc;background:#303640;border:1px solid #494f59;padding:7px 10px;border-radius:999px;font-size:10px;font-weight:800;letter-spacing:.06em;white-space:nowrap}
.sm-branding .sm-branding__title{margin:18px 0 8px;color:#f6f7fa;font-size:26px;line-height:1.2;font-weight:800;letter-spacing:normal;text-transform:none}
.sm-branding .sm-branding__description{max-width:900px;margin:0;color:#d5d8df;font-size:14px;line-height:1.6}
.sm-branding .sm-branding__fineprint{margin:10px 0 0;color:#b8bec8;font-size:12px;line-height:1.5}
.sm-branding .sm-branding__unavailable{margin:14px 0 0;padding:10px 12px;border-left:3px solid #F50061;background:#272d36;color:#e3e6eb;font-size:12px;line-height:1.6}
.sm-branding .sm-branding__actions{display:flex;gap:10px;margin-top:18px}
.sm-branding .sm-branding__button,.sm-branding .sm-branding__button:disabled{box-sizing:border-box;border:1px solid #F50061;background:#F50061;color:#fff;min-height:43px;border-radius:9px;padding:0 19px;font:800 12px/1.3 inherit;font-family:inherit;font-size:12px;font-weight:800;letter-spacing:.045em;cursor:pointer;opacity:1;box-shadow:none;text-transform:none}
.sm-branding .sm-branding__button:disabled{cursor:not-allowed;color:#fff;background:#F50061;border-color:#F50061}
.sm-branding .sm-branding__button:focus-visible{outline:2px solid #fff;outline-offset:3px}
.sm-branding .sm-branding__button:hover:not(:disabled){filter:brightness(1.1)}
.sm-branding .sm-branding__actions{flex-wrap:wrap;align-items:center}
.sm-branding .sm-branding__cancel-link,.sm-branding .sm-branding__cancel-link:disabled{appearance:none;border:0;background:transparent;color:#d5d8df;font-family:inherit;font-size:12px;font-weight:400;line-height:1.4;letter-spacing:normal;text-transform:none;text-decoration:underline;text-underline-offset:3px;padding:4px 0;min-height:0;box-shadow:none;cursor:pointer}
.sm-branding .sm-branding__cancel-link:hover:not(:disabled){color:#fff;background:transparent}
.sm-branding .sm-branding__cancel-link:disabled{cursor:not-allowed;opacity:.6}
.sm-branding .sm-branding__cancel-link:focus-visible{outline:2px solid #fff;outline-offset:4px}
.sm-branding .sm-branding__notice{font-size:13px;line-height:1.6;color:#fff}
.sm-branding__preview{margin-top:14px;padding:14px;background:#262d36;border:1px solid #4a515e;border-radius:8px;color:#cbd1db;font-size:12px}
.sm-branding__preview img{display:block;max-width:240px;max-height:95px;object-fit:contain;background:#fff;padding:8px;border-radius:4px;box-sizing:border-box}
.sm-branding-modal__gate{position:fixed;inset:0;z-index:2100;display:flex;align-items:center;justify-content:center;padding:32px;background:rgba(5,8,13,.82);backdrop-filter:blur(5px);box-sizing:border-box;color:#f6f7fa;font-family:inherit;text-align:left;letter-spacing:normal;text-transform:none}
.sm-branding-modal__shell{position:relative;box-sizing:border-box;width:660px;max-width:100%;max-height:calc(100vh - 64px);overflow:auto;padding:34px;background:#1d2229;border:1px solid #F50061;border-radius:14px;box-shadow:0 24px 90px #0009;outline:none}
.sm-branding-modal__shell h2{font-size:27px;line-height:1.2;font-weight:800;margin:18px 28px 14px 0;letter-spacing:normal;text-transform:none;color:#fff}
.sm-branding-modal__shell h3{font-size:13px;margin:20px 0 8px;color:#fff}
.sm-branding-modal__shell p{font-size:13px;line-height:1.65;margin:12px 0;color:#d5d8df}
.sm-branding-modal__eyebrow{display:flex;align-items:center;gap:9px;color:#F50061;font-weight:800;font-size:11px;letter-spacing:.12em}
.sm-branding-modal__shell .sm-branding-modal__note{color:#b8bec8;font-size:12px}
.sm-branding-modal__shell label{display:block;font-size:13px;font-weight:800;margin:24px 0 10px;color:#fff}
.sm-branding-modal__shell input[type=file]{display:block;box-sizing:border-box;max-width:100%;width:100%;padding:12px;border:1px dashed #626a76;border-radius:8px;background:#272d36;color:#fff;font:inherit;font-size:13px;letter-spacing:normal}
.sm-branding-modal__shell input[type=file]::file-selector-button{background:#F50061;border:0;color:#fff;border-radius:5px;padding:9px 12px;margin-right:12px;cursor:pointer}
.sm-branding-modal__selection{margin-top:16px;padding:14px;border:1px solid #4a515e;border-radius:8px}
.sm-branding-modal__selection img{display:block;max-width:260px;max-height:110px;object-fit:contain;background:white;padding:8px;border-radius:4px;box-sizing:border-box}
.sm-branding-modal__selection p{overflow-wrap:anywhere}
.sm-branding-modal__footer-preview{margin-top:20px;border-top:1px solid #4a515e;border-bottom:1px solid #4a515e;padding:14px 0}
.sm-branding-modal__footer-preview span{display:block;color:#b8bec8;font-size:10px;font-weight:700;letter-spacing:.1em;margin-bottom:10px}
.sm-branding-modal__footer-preview strong{display:block;white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;color:#fff;font-weight:700;text-transform:none;letter-spacing:normal}
.sm-branding-modal__footer-preview p{font-size:12px;margin-bottom:0}
.sm-branding-modal__actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px}
.sm-branding-modal__upload,.sm-branding-modal__cancel{box-sizing:border-box;min-height:44px;border-radius:8px;padding:0 18px;font:800 12px/1.3 inherit;font-family:inherit;font-size:12px;font-weight:800;cursor:pointer;letter-spacing:.04em;box-shadow:none;text-transform:none}
.sm-branding-modal__upload,.sm-branding-modal__upload:disabled{background:#F50061;color:#fff;border:1px solid #F50061;opacity:1}
.sm-branding-modal__upload:disabled{cursor:not-allowed}
.sm-branding-modal__cancel{background:#F50061;color:#fff;border:1px solid #F50061}
.sm-branding-modal__close{position:absolute;top:15px;right:16px;display:grid;place-items:center;width:34px;height:34px;background:transparent;color:#fff;border:0;border-radius:5px;font:26px/1 inherit;font-size:26px;cursor:pointer;padding:0}
.sm-branding-modal__shell button:focus-visible,.sm-branding-modal__shell input:focus-visible{outline:2px solid #fff;outline-offset:3px}
.sm-branding-modal__shell .sm-branding-modal__error{color:#F50061;background:#3a2330;border-left:3px solid #F50061;padding:10px 12px;white-space:pre-wrap;overflow-wrap:anywhere}

/* Inline server-rendered sample: branding modal only; original cards untouched. */
.sm-branding-modal__shell--sample{width:900px}
.sm-branding-modal__shell [hidden]{display:none!important}
.sm-branding-modal__shell .sm-branding-modal__preview-only{color:#fff;font-size:12px;font-weight:700;border-left:3px solid #F50061;padding:9px 12px;background:#272d36}
.sm-branding-modal__sample-button{box-sizing:border-box;min-height:44px;border-radius:8px;padding:10px 16px;font-family:inherit;font-size:12px;font-weight:800;cursor:pointer;letter-spacing:normal;background:#F50061;color:#13161b;border:1px solid #F50061;opacity:1;text-transform:none;box-shadow:none}
.sm-branding-modal__sample-button:disabled{cursor:not-allowed}
.sm-branding-modal__actions{flex-wrap:wrap}
.sm-branding-modal__sample{outline:none}
.sm-branding-modal__sample:focus-visible{outline:2px solid #fff;outline-offset:5px}
.sm-branding-modal__sample h2{margin-top:0}
.sm-branding-modal__sample-image{display:block;box-sizing:border-box;max-width:100%;width:auto;height:auto;max-height:calc(100vh - 330px);object-fit:contain;margin:16px auto;background:#fff;border:1px solid #626a76}
.sm-branding-modal__sample-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:16px}

/* Desktop header editor; no CSS transformations of server report images. */
.sm-branding-modal__shell{width:1000px;padding:24px}
.sm-branding-modal__shell h2{font-size:24px;margin:12px 32px 10px 0}
.sm-branding-modal__intro p{margin:8px 0;font-size:12px;line-height:1.5}
.sm-branding-modal__layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:24px;align-items:start}
.sm-branding-modal__setup{min-width:0}
.sm-branding-modal__shell .sm-branding-modal__setup label{margin:16px 0 8px}
.sm-branding-modal__setup .sm-branding__preview{margin:8px 0;padding:8px}
.sm-branding-modal__setup .sm-branding__preview img{max-height:52px}
.sm-branding-modal__setup .sm-branding__preview p{margin:5px 0;font-size:11px}
.sm-branding-modal__setup h3{margin:10px 0 6px}
.sm-branding-modal__selection{display:flex;align-items:center;gap:14px;margin-top:10px;padding:8px}
.sm-branding-modal__selection img{max-height:56px;max-width:150px;padding:4px}
.sm-branding-modal__selection p{margin:0;font-size:12px}
.sm-branding-modal__footer-preview{margin-top:12px;padding:10px 0}
.sm-branding-modal__footer-preview p{margin:6px 0 0;font-size:11px;line-height:1.4}
.sm-branding-modal__footer-preview span{margin-bottom:6px}
.sm-branding-modal__editor{padding:16px;border:1px solid #4a515e;border-radius:8px;background:#262d36;min-width:0}
.sm-branding-modal__editor h3{margin:0;font-size:15px}
.sm-branding-modal__editor p{margin:8px 0 16px;line-height:1.45}
.sm-branding-modal__shell .sm-branding-modal__range label{display:flex;justify-content:space-between;gap:8px;margin:15px 0 7px;font-size:12px}
.sm-branding-modal__range output{font-variant-numeric:tabular-nums;color:#fff;min-width:4ch;text-align:right}
.sm-branding-modal__range input[type=range]{display:block;width:100%;margin:0;accent-color:#F50061;cursor:pointer;height:22px;padding:0}
.sm-branding-modal__range span{display:block;font-size:11px;line-height:1.4;color:#cbd1db;margin-top:3px}
.sm-branding-modal__reset{margin-top:18px;min-height:38px;padding:8px 14px}
.sm-branding-modal__actions{margin-top:16px;gap:10px;flex-wrap:nowrap}
.sm-branding-modal__actions button{padding-left:14px;padding-right:14px}
.sm-branding-modal__shell--sample{width:1000px}
.sm-branding-modal__shell--sample .sm-branding-modal__layout{grid-template-columns:275px minmax(0,1fr);align-items:center;gap:24px}
.sm-branding-modal__sample h2{font-size:20px;margin:0 25px 6px 0}
.sm-branding-modal__sample p{margin:6px 0;font-size:11px;line-height:1.4}
.sm-branding-modal__sample .sm-branding-modal__preview-only{padding:7px 10px;font-size:11px}
.sm-branding-modal__sample .sm-branding-modal__sample-status{font-size:12px;font-weight:700;color:#fff}
.sm-branding-modal__sample[data-preview-current=false] .sm-branding-modal__sample-status{color:#F50061}
.sm-branding-modal__sample-image{max-height:calc(100vh - 290px);margin:10px auto 0}

/* Short desktop setup and all visible sample actions. */
.sm-branding-modal__shell{padding:20px}
.sm-branding-modal__shell .sm-branding-modal__intro h2{font-size:22px;margin:8px 32px 7px 0}
.sm-branding-modal__intro p{font-size:11px;line-height:1.4;margin:6px 0}
.sm-branding-modal__shell .sm-branding-modal__preview-only{margin:8px 0;padding:7px 10px;font-size:11px;line-height:1.4}
.sm-branding-modal__shell #smBrandingPreviewHelp{margin:8px 0;font-size:11px;line-height:1.4}
.sm-branding-modal__editor{padding:14px}
.sm-branding-modal__shell .sm-branding-modal__editor h3{margin:0}
.sm-branding-modal__editor p{margin:7px 0 10px}
.sm-branding-modal__shell .sm-branding-modal__range label{margin:10px 0 4px}
.sm-branding-modal__shell .sm-branding-modal__range input[type=range]{height:20px}
.sm-branding-modal__reset{margin-top:14px}
.sm-branding-modal__shell--sample .sm-branding-modal__cancel,.sm-branding-modal__shell--sample .sm-branding-modal__upload{color:#13161b}

/* Single persistent desktop editor; upload and placement never disappear. */
.sm-branding-modal__shell--unified .sm-branding-modal__layout{grid-template-columns:275px minmax(0,1fr);align-items:start;gap:24px}
.sm-branding-modal__shell--unified .sm-branding-modal__editor{padding:14px}
.sm-branding-modal__shell--unified .sm-branding-modal__editor>label{margin:0 0 8px;font-size:12px}
.sm-branding-modal__shell--unified input[type=file]{padding:7px;font-size:11px;overflow:hidden}
.sm-branding-modal__shell--unified input[type=file]::file-selector-button{padding:7px 8px;margin-right:7px;font-size:11px;color:#13161b}
.sm-branding-modal__shell--unified #smBrandingFileHelp{font-size:10px;line-height:1.4;margin:7px 0}
.sm-branding-modal__shell--unified .sm-branding-modal__filename{font-size:11px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:6px 0 12px}
.sm-branding-modal__shell--unified .sm-branding-modal__editor h3{border-top:1px solid #4a515e;padding-top:10px}
.sm-branding-modal__shell--unified .sm-branding-modal__sample{min-width:0}
.sm-branding-modal__shell--unified .sm-branding-modal__sample h2{margin-right:30px}
.sm-branding-modal__shell--unified .sm-branding-modal__sample-status{min-height:17px}
.sm-branding-modal__shell--unified .sm-branding-modal__page-frame{height:calc(100vh - 310px);max-height:500px;min-height:290px;display:flex;justify-content:center;margin-top:8px}
.sm-branding-modal__shell--unified .sm-branding-modal__sample-image{max-height:100%;max-width:100%;width:auto;height:100%;margin:0;object-fit:contain;align-self:start}

.sm-branding-modal__shell--unified .sm-branding-modal__error{font-size:11px;line-height:1.4;margin:10px 0;padding:7px 10px}

.sm-branding-modal__shell--unified .sm-branding-modal__page-frame{height:calc(100vh - 350px)}


/* Restored desktop window: original styles above, one scoped override block. */
.sm-branding-modal__gate{padding:24px}
.sm-branding-modal__shell--unified{width:calc(100vw - 48px);max-width:none;height:calc(100vh - 48px);max-height:none;min-height:0;overflow:hidden;display:flex;flex-direction:column}
.sm-branding-modal__shell--unified form{display:flex;flex-direction:column;flex:1;min-height:0}
.sm-branding-modal__shell--unified .sm-branding-modal__layout{flex:1;min-height:0;grid-template-columns:275px minmax(0,1fr);align-items:stretch}
.sm-branding-modal__shell--unified .sm-branding-modal__editor{align-self:start}
.sm-branding-modal__shell--unified .sm-branding-modal__sample{display:flex;flex-direction:column;min-height:0}
.sm-branding-modal__shell--unified .sm-branding-modal__sample>h2,.sm-branding-modal__shell--unified .sm-branding-modal__sample>p{flex:none}
.sm-branding-modal__shell--unified .sm-branding-modal__page-frame{flex:1;min-height:0;height:auto;max-height:none;align-items:center;overflow:hidden}
.sm-branding-modal__shell--unified .sm-branding-modal__sample-image{height:100%;width:auto;max-width:100%;max-height:100%;align-self:center;object-fit:contain}

.sm-branding-modal__shell--unified .sm-branding-modal__actions{flex:none;justify-content:flex-start}
.sm-branding-modal__shell--unified .sm-branding-modal__error{flex:none}
.sm-branding-modal__shell--unified button[class],.sm-branding-modal__shell--unified button[class]:disabled{background:#414852;border:1px solid #626a76;color:#fff;opacity:1;filter:none}
.sm-branding-modal__shell--unified button[class]:hover:not(:disabled){background:#505965;border-color:#626a76;color:#fff;filter:none}
.sm-branding-modal__shell--unified .sm-branding-modal__upload[data-primary-upload=true],.sm-branding-modal__shell--unified .sm-branding-modal__upload[data-primary-upload=true]:disabled,.sm-branding-modal__shell--unified .sm-branding-modal__upload[data-primary-upload=true]:hover:not(:disabled){background:#F50061;border-color:#F50061;color:#fff;filter:none}
.sm-branding-modal__shell--unified input[type=file]::file-selector-button,.sm-branding-modal__shell--unified input[type=file]::file-selector-button:hover{background:#F50061;color:#fff}

/* Page-first preview: remove redundant visual copy and give the full region to the report. */
.sm-branding-modal__shell--unified .sm-branding-modal__sr-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;border:0;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;min-height:0}
.sm-branding-modal__shell--unified .sm-branding-modal__page-frame{margin-top:0}
.sm-branding-modal__shell--unified .sm-branding-modal__loading{color:#b8bec8;font-size:12px;line-height:1.4}


/* Canonical firm name editor: desktop branding dialog only. */
.sm-branding-modal__shell--unified .sm-branding-modal__firm{margin:0 0 12px}
.sm-branding-modal__shell--unified .sm-branding-modal__firm label{margin:0 0 6px;font-size:12px}
.sm-branding-modal__shell--unified .sm-branding-modal__firm-input{box-sizing:border-box;display:block;width:100%;min-width:0;height:32px;padding:5px 8px;border:1px solid #626a76;border-radius:5px;background:#1d2229;color:#fff;font:inherit;font-size:12px;letter-spacing:normal;text-transform:none}
.sm-branding-modal__shell--unified .sm-branding-modal__firm-input[readonly]{color:#d5d8df}
.sm-branding-modal__shell--unified .sm-branding-modal__firm .sm-branding-modal__firm-help{font-size:10px;line-height:1.4;margin:5px 0 7px}
.sm-branding-modal__shell--unified .sm-branding-modal__firm-save{min-height:30px;padding:5px 10px;font-size:11px}
.sm-branding-modal__shell--unified .sm-branding-modal__firm .sm-branding-modal__firm-error,.sm-branding-modal__shell--unified .sm-branding-modal__firm .sm-branding-modal__firm-notice{font-size:10px;line-height:1.4;margin:6px 0 0;overflow-wrap:anywhere;color:#F50061}

.sm-branding-modal__shell--unified .sm-branding-modal__firm{margin-bottom:8px}
.sm-branding-modal__shell--unified .sm-branding-modal__firm label{line-height:14px;margin-bottom:4px}
.sm-branding-modal__shell--unified .sm-branding-modal__firm-input{height:28px}
.sm-branding-modal__shell--unified .sm-branding-modal__firm .sm-branding-modal__firm-help{font-size:9px;line-height:12px;margin:4px 0}
.sm-branding-modal__shell--unified .sm-branding-modal__firm-save{min-height:26px;padding:3px 8px;line-height:16px}

.sm-branding-modal__shell--unified .sm-branding-modal__firm{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:7px;row-gap:4px}
.sm-branding-modal__shell--unified .sm-branding-modal__firm>label,.sm-branding-modal__shell--unified .sm-branding-modal__firm>input,.sm-branding-modal__shell--unified .sm-branding-modal__firm>.sm-branding-modal__firm-error,.sm-branding-modal__shell--unified .sm-branding-modal__firm>.sm-branding-modal__firm-notice{grid-column:1/-1}
.sm-branding-modal__shell--unified .sm-branding-modal__firm label{margin:0}
.sm-branding-modal__shell--unified .sm-branding-modal__firm .sm-branding-modal__firm-help{margin:0;align-self:center}
.sm-branding-modal__shell--unified .sm-branding-modal__firm-save{align-self:center}

/* Name field accommodation: tighten vertical gaps, not controls or preview. */
.sm-branding-modal__shell--unified .sm-branding-modal__editor:has(.sm-branding-modal__firm){padding-top:12px;padding-bottom:12px}
.sm-branding-modal__shell--unified .sm-branding-modal__editor:has(.sm-branding-modal__firm) .sm-branding-modal__range label{margin-top:5px;margin-bottom:3px;line-height:14px}
.sm-branding-modal__shell--unified .sm-branding-modal__editor:has(.sm-branding-modal__firm) h3{padding-top:7px;line-height:18px}
.sm-branding-modal__shell--unified .sm-branding-modal__editor:has(.sm-branding-modal__firm) .sm-branding-modal__filename{margin-bottom:8px}
.sm-branding-modal__shell--unified .sm-branding-modal__editor:has(.sm-branding-modal__firm) #smBrandingFileHelp{margin-top:5px;margin-bottom:5px}
.sm-branding-modal__shell--unified .sm-branding-modal__editor:has(.sm-branding-modal__firm) .sm-branding-modal__reset{margin-top:8px}


/* Branding editor actions: outside the card, directly below left controls. */
.sm-branding-modal__shell--unified .sm-branding-modal__controls{min-width:0;align-self:start;display:flex;flex-direction:column;gap:12px}
.sm-branding-modal__shell--unified .sm-branding-modal__controls>.sm-branding-modal__editor{box-sizing:border-box;width:100%;align-self:stretch}
.sm-branding-modal__shell--unified .sm-branding-modal__controls .sm-branding-modal__actions{margin-top:0;width:100%;justify-content:flex-start;gap:10px;flex:none}
.sm-branding-modal__shell--unified .sm-branding-modal__controls .sm-branding-modal__actions button{min-width:0;padding-left:12px;padding-right:12px}
.sm-branding-modal__shell--unified .sm-branding-modal__cancel{text-transform:uppercase}
.sm-branding-modal__shell--unified .sm-branding-modal__firm-save{grid-column:1/-1;justify-self:start}
.sm-branding-modal__shell--unified .sm-branding-modal__controls>.sm-branding-modal__error{margin:0}

.sm-branding-modal__shell--unified .sm-branding-modal__editor .sm-branding-modal__quality{font-size:10px;line-height:1.4;margin:6px 0}

/* File choice only: no image transforms, crop, compression or global drop hooks. */
.sm-branding-modal__shell--unified .sm-branding-modal__dropzone{position:relative;display:flex;flex-direction:column;align-items:center;gap:5px;padding:8px 6px;border:1px dashed #626a76;border-radius:8px;background:#272d36;color:#fff;font-size:11px;line-height:15px;text-align:center}
.sm-branding-modal__shell--unified .sm-branding-modal__dropzone[data-drag-active=true]{border-color:#F50061;background:#3a2330;outline:2px solid #F50061;outline-offset:2px}
.sm-branding-modal__shell--unified .sm-branding-modal__dropzone[aria-disabled=true]{cursor:not-allowed}
.sm-branding-modal__shell--unified .sm-branding-modal__browse-row{display:flex;align-items:center;gap:7px}
.sm-branding-modal__shell--unified button.sm-branding-modal__browse,.sm-branding-modal__shell--unified button.sm-branding-modal__browse:disabled,.sm-branding-modal__shell--unified button.sm-branding-modal__browse:hover:not(:disabled){box-sizing:border-box;min-height:28px;padding:4px 12px;border:1px solid #F50061;border-radius:5px;background:#F50061;color:#fff;font-family:inherit;font-size:11px;font-weight:800;line-height:18px;cursor:pointer;filter:none}
.sm-branding-modal__shell--unified button.sm-branding-modal__browse:disabled{cursor:not-allowed}
.sm-branding-modal__shell--unified input.sm-branding-modal__native-input{position:absolute;top:1px;left:1px;width:1px;height:1px;min-height:0;padding:0;margin:0;border:0;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap}

/* Durable future-Run preference: scoped to the branding card, not its editor. */
.sm-branding__preference{margin:16px 0;padding:14px 16px;border:1px solid var(--border,#414852);border-radius:8px}
.sm-branding__preference label{display:flex;align-items:center;gap:10px;font-weight:600;cursor:pointer}
.sm-branding__preference input[type="checkbox"]{width:18px;height:18px;flex:none;margin:0;accent-color:#F50061;cursor:pointer}
.sm-branding__preference input:disabled{cursor:not-allowed;opacity:.6}
.sm-branding__preference .sm-branding__fineprint{margin:8px 0 0}

/* One used-trial notice beside logo; the accent belongs to its paragraph. */
.sm-branding .sm-branding__preview--used{display:grid;grid-template-columns:240px minmax(0,1fr);gap:24px;align-items:center;margin-top:18px}
.sm-branding .sm-branding__preview--used .sm-branding__preview-media{min-width:0}
.sm-branding .sm-branding__preview--used .sm-branding__used-description{margin:0;max-width:none;overflow-wrap:anywhere;border-left:3px solid #F50061;padding:10px 12px}

/* Same first-use price typography as Targeted Instructions, beside saved logo. */
.sm-branding .sm-branding__preview--first-free{display:grid;grid-template-columns:240px minmax(0,1fr);gap:24px;align-items:center}
.sm-branding .sm-branding__preview--first-free .sm-branding__preview-media{min-width:0}
.sm-branding .sm-branding__first-free{display:flex;align-items:baseline;gap:10px;flex-wrap:nowrap;margin:0}
.sm-branding .sm-branding__first-free .addon-price{color:#F50061;font-size:34px;font-weight:900;line-height:1.2;letter-spacing:-.02em;text-transform:uppercase;white-space:nowrap}
.sm-branding .sm-branding__first-free .addon-price-sub{display:inline;margin:0;color:var(--dim);font-size:11.5px;font-weight:400;line-height:1.55;letter-spacing:normal;text-transform:none;white-space:nowrap}
