/* Studio: presentation-only styling. Original actions/forms/data remain intact. */
:root{--bg:#0c0b10;--surface:#17131d;--panel:#19161f;--line:#302a39;--muted:#aaa0b6;--text:#eeeaf4;--purple:#b196f7;--green:#bfa9d5;--red:#eea8a8;--ui-panel:var(--panel);--ui-border:var(--line);--ui-muted:var(--muted);--ui-radius:6px;--surface-2:#2b2631;--border:var(--line);--shadow:0 14px 40px #0005;--studio-sidebar:206px}
body{background:var(--bg);color:var(--text);font:13px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI",Inter,sans-serif;-webkit-font-smoothing:antialiased}::selection{background:#c1a5dd30}a{color:#b196f7}small,.hint,.cell-sub{color:var(--muted)}
.orbit-workspace{display:flex;flex-direction:column;padding:0 36px 26px calc(var(--studio-sidebar) + 36px);gap:0;min-height:100dvh;max-width:none;margin:0;background:var(--bg)}
.orbit-workspace>.sidebar{position:fixed;inset:0 auto 0 0;transform:none;width:var(--studio-sidebar);max-width:none;background:#100e15;border:0;border-right:1px solid #2b2631;border-radius:0;padding:22px 13px;display:flex;flex-direction:column;align-items:stretch;overflow:auto;box-shadow:none;z-index:30}
.orbit-app-header{min-height:68px;display:flex;align-items:center;gap:20px;padding:15px 0;border-bottom:1px solid var(--line);margin:0;color:var(--muted)}
.orbit-app-header .brand{position:fixed;top:24px;left:23px;width:160px;z-index:31;display:flex;gap:9px;align-items:center;padding:0;color:var(--text);font-size:22px;font-weight:650;letter-spacing:-1px}
.orbit-app-header .brand-mark{width:29px;height:29px;flex-basis:29px;border:0;background:#ded0f6;border-radius:7px;transform:none;box-shadow:none}.orbit-app-header .brand-mark img{width:29px;height:29px;filter:grayscale(1);opacity:.9}.orbit-breadcrumb{display:flex;align-items:center;gap:13px;font-size:11px}.orbit-current-page{color:var(--text)}
.orbit-app-header .profile{margin-left:auto;padding:0;border:0;gap:9px}.orbit-app-header .profile .avatar{background:#332c3b;color:#dfd9e5;width:30px;height:30px;border-radius:50%;border:0}.orbit-app-header .profile-name{font-size:12px}.orbit-app-header .profile-role{font-size:10px;color:var(--muted)}
.orbit-workspace>.main{grid-column:auto;margin:0;padding:0!important;background:transparent;border:0;border-radius:0;min-height:calc(100dvh - 95px);box-shadow:none;min-width:0}
.orbit-workspace .sidebar .nav{display:flex;flex-direction:column;align-items:stretch;width:100%;gap:4px!important;margin-top:13px}
.orbit-workspace .sidebar .nav a{display:flex;flex-direction:row;justify-content:flex-start;gap:11px;min-height:42px!important;min-width:0;padding:10px 11px!important;border:0;border-radius:6px;color:#aca6b2;white-space:normal;font-size:12px;line-height:18px!important;box-shadow:none}
.orbit-workspace .sidebar .nav a:hover{background:#25202b;color:#ede8f2}.orbit-workspace .sidebar .nav a.active{background:#ded0f6;color:#281f36;font-weight:550;box-shadow:none;border:0}
.orbit-workspace .sidebar .orbit-nav-label{display:block;font-size:12px;line-height:18px;white-space:normal;text-align:left;max-width:none!important}.orbit-workspace .sidebar .nav .ico{width:17px;height:17px;flex:0 0 17px}.orbit-workspace .sidebar .ui-nav-icon{width:17px;height:17px;stroke-width:1.6}
.orbit-workspace .sidebar .nav-divider{display:block;align-self:stretch;background:#302b35;box-shadow:none;height:1px;min-height:1px;width:auto;margin:19px 10px 14px}.orbit-workspace .sidebar-bottom{display:none}
button.studio-collapse{display:flex;align-items:center;gap:12px;margin-top:57px;padding:8px 11px!important;min-height:36px!important;border:0!important;background:transparent!important;box-shadow:none!important;color:#aaa0b6;font-size:12px!important;border-radius:6px!important;text-align:left}.studio-collapse>span:first-child{width:17px;text-align:center;font-size:15px}.studio-collapse:hover{color:var(--text);background:#25202b!important}
.orbit-mobile-nav-head{display:none}.orbit-workspace.studio-collapsed{--studio-sidebar:64px}.studio-collapsed .sidebar{padding:22px 8px}.studio-collapsed .sidebar .nav a{justify-content:center;padding:11px!important;min-height:43px!important}.studio-collapsed .sidebar .orbit-nav-label,.studio-collapsed .studio-collapse-label,.studio-collapsed .brand-name{display:none}.studio-collapsed .orbit-app-header .brand{left:18px;width:29px}.studio-collapsed button.studio-collapse{justify-content:center;padding:8px!important}.studio-collapsed .sidebar .nav-divider{margin-left:8px;margin-right:8px}
:is(.page-head,.report-heading,.dash-heading){margin:31px 0 24px!important;padding:0!important;border:0;min-height:0!important;align-items:center!important;gap:15px!important;justify-content:space-between!important}
:is(.page-head,.report-heading,.dash-heading)>h1,:is(.page-head,.report-heading,.dash-heading)>div:has(h1){flex:1 1 220px!important;width:auto!important}
:is(.page-head,.report-heading,.dash-heading) h1{font-size:36px!important;font-weight:500!important;letter-spacing:-1.6px!important;line-height:1.15!important;margin:0!important}.page-heading-icon{display:none}.head-actions{width:auto;gap:8px!important}.section-profile-picker{max-width:250px}.footer{border:0;margin-top:28px;padding-top:16px;font-size:10px;color:#958c9e}
button:not(.rule-switch){min-height:34px!important;padding:7px 11px!important;background:#28232d;border:1px solid #3e3745;border-radius:6px!important;box-shadow:none!important;color:#e0dbe5;font-size:12px!important;line-height:18px!important;font-weight:500;transition:background .15s,border-color .15s}
button:hover:not(:disabled):not(.rule-switch){background:#37303e;border-color:#6b6076;color:var(--text)}button:disabled{opacity:.45}button:active:not(:disabled){transform:none}
button.primary,.bot-connect-link.primary{background:#b196f7!important;border-color:transparent!important;color:#251d33!important;box-shadow:none!important;font-weight:600}button.primary:hover:not(:disabled){background:#c9afff!important}.ghost,.ui-icon-button{background:transparent!important}.danger{color:#eea8a8}
button.ui-icon-button{width:32px!important;height:32px!important;min-height:32px!important;min-width:32px!important;flex-basis:32px!important;padding:6px!important;border-radius:5px!important}.ui-icon-button:hover{background:#c1a5dd12!important;border-color:#645672!important}
:is(input,select,textarea):not([type=checkbox]):not([type=radio]):not([type=file]){background:#151219!important;color:var(--text);border:1px solid #423b4a!important;border-radius:5px!important;min-height:34px!important;padding:7px 10px!important;font-size:12px!important;line-height:18px!important;box-shadow:none}
:is(input,select):not([type=checkbox]):not([type=radio]):not([type=file]){height:34px!important}select:not([type=checkbox]):not([type=radio]):not([type=file]){padding-right:28px!important;background-position:right 10px center!important}select option{background:#19161f;color:var(--text)}input::placeholder,textarea::placeholder{color:#968d9e}:is(input,select,textarea):focus-visible{outline:2px solid #c1a5dd44!important;outline-offset:2px;border-color:#a078c8!important}label{color:#c6bfce;font-size:12px!important}input:is([type=checkbox],[type=radio]){accent-color:#b196f7}
:is(.tabs,.rule-tabs,.company-tabs,.asset-tabs){background:transparent!important;border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;padding:0!important;gap:20px!important;box-shadow:none;margin-bottom:22px!important}
:is(.tabs,.rule-tabs,.company-tabs,.asset-tabs) button{background:transparent!important;border:0!important;border-bottom:2px solid transparent!important;border-radius:0!important;color:#aaa0b6;padding:9px 0!important;min-height:34px!important;box-shadow:none!important}
:is(.tabs,.rule-tabs,.company-tabs,.asset-tabs) button.active{background:transparent!important;color:#eee8f3!important;border-bottom-color:#eee8f3!important;box-shadow:none!important}
:is(.panel,.record,.stat,.rule-card,.company-template,.company-job,.comment-card){background:#1f1b23!important;border:1px solid #37303e!important;border-radius:8px!important;box-shadow:none!important}.panel-head{background:transparent;border-bottom-color:#37303e;padding:14px 16px!important}.panel-head h2,.panel-head h3{font-weight:550;font-size:14px!important}.panel-pad{padding:17px!important}.panel .panel{background:#19161d!important;border-color:#3d3545!important}.record-actions{border-color:#3b3343;gap:7px!important}.record .meta{color:#b0a7b9;font-size:12px;line-height:1.6}
:is(.toolbar,.dash-toolbar,.report-controls,.comment-toolbar,.rule-toolbar){background:transparent!important;border:0!important;border-bottom:1px solid #302a39!important;border-radius:0!important;padding:0 0 18px!important;margin-bottom:20px!important;gap:9px!important;box-shadow:none!important}.toolbar .search{max-width:360px}
.stats{gap:18px!important;margin-bottom:24px}.stat{background:transparent!important;border:0!important;border-right:1px solid #3c3543!important;border-radius:0!important;padding:12px 18px 12px 0!important}.stat:last-child{border:0!important}.stat:first-child{border-color:#3c3543!important}.stat-label{font-size:12px;color:#b0a7b9}.stat-value,.dash-stat-value{font-size:30px!important;font-weight:500;letter-spacing:-1px}.stat-caption{font-size:11px;color:#a69eaf}.stat-icon{display:none}
.table-wrap{border:0;border-radius:0}table{font-size:12px;font-variant-numeric:tabular-nums}th{background:#27222d!important;font-size:11px!important;font-weight:500;letter-spacing:0;color:#beb7c6;border-color:#37303e;padding:12px 13px!important}td{border-color:#302a39;color:#dfd9e5;padding:15px 13px!important;font-size:12px!important;line-height:1.6}tbody tr:hover td{background:#c1a5dd08}.cell-sub{color:#9c92a5;font-size:11px!important}.report-table th{padding-right:24px!important}.report-results thead th{background:#27222d!important}.report-results tfoot td{background:#1f1b24!important;border-top:1px solid #675778;color:#e2dbea;box-shadow:none;font-size:12px!important}.report-results tfoot strong{color:#c1b3cf}.report-resize{border-right-color:#84729533}.report-resize:hover,.report-resize:focus-visible{background:#c1a5dd30;border-color:#b196f7;outline:2px solid #b196f7;outline-offset:-2px}
.report-results{background:transparent!important;border:0!important;border-radius:0!important;overflow:visible}.report-results>.toolbar{padding:0 0 13px!important;border:0!important;margin-bottom:0!important}.report-results .table-wrap{max-height:calc(100dvh - 410px);min-height:100px!important;overflow:auto;isolation:isolate}.report-results .toolbar .search{background:transparent!important;border:0!important;box-shadow:none;padding-left:0!important}
.studio-result-actions{display:flex;align-items:center;gap:6px;margin-left:auto}.studio-result-actions button{background:transparent!important;border-color:transparent!important;color:#bcb4c5}.studio-original-levels{display:none!important}.studio-report-levels{display:flex;gap:24px;align-items:center;flex-wrap:wrap;border-bottom:1px solid #302a39;margin-bottom:20px}
.studio-report-levels button{background:transparent!important;border:0!important;border-bottom:2px solid transparent!important;border-radius:0!important;padding:10px 0!important;color:#a89fb0;box-shadow:none!important}.studio-report-levels button[aria-pressed=true]{color:#eee9f2;border-bottom-color:#eee9f2!important;font-weight:600}
.studio-report-summary{display:flex;gap:0;padding:20px 0 23px;margin:0 0 22px;border-top:1px solid #302a39;border-bottom:1px solid #302a39}.studio-report-summary>div{flex:1;min-width:0;padding:0 25px;border-left:1px solid #3a3441}.studio-report-summary>div:first-child{padding-left:0;border:0}.studio-report-summary span{display:block;color:#a69eaf;font-size:11px;margin-bottom:8px}.studio-report-summary strong{display:block;font-size:29px;line-height:1.2;font-weight:500;letter-spacing:-1px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
:is(.dash-pop,.report-pop,.comment-selection,.target-picker,.rule-picker) summary{background:#27222d!important;border-color:#3e3547!important;border-radius:5px!important;padding:7px 10px!important;min-height:34px!important;color:#cdc6d4;font-size:12px!important}.report-pop summary strong{color:#ded7e6}.report-count{background:#3e324a;color:#d4c4e4}.report-chevron{color:#ae9ebd}.report-controls-spacer{display:none}.report-controls{align-items:center}.report-heading>button.primary{margin-left:auto;min-height:38px!important;padding:9px 16px!important}.report-heading>details{margin-left:auto}
:is(.dash-pop>div,.report-pop>div,.comment-selection-panel,.rule-picker-menu,.target-picker-popover){background:#26202c!important;border-color:#5a4c68!important;border-radius:8px!important;box-shadow:0 15px 40px #0006!important;color:#e8e1ee}:is(.dash-pop,.report-pop,.comment-selection,.target-picker,.rule-picker)[open]>summary{background:#382e42!important;border-color:#9b79bd!important}.dash-option:hover,.asset-row:hover,.target-picker-option:hover{background:#c1a5dd14}
.pill{background:#b18ed409;border-color:#8d70ab33;color:#c6b4d9;border-radius:4px!important;font-size:10px!important}.pill.gray{background:#ffffff05;border-color:#ffffff14;color:#b0a8b7}.pill.green{background:#9477b10b;border-color:#9477b130;color:#c3b0d7}.pill.red{background:#dd99990c;border-color:#dd999933;color:#edb2b2}.notice{background:#a47ecb08!important;border-color:#82689d30!important;color:#b8a9c8!important;border-radius:6px!important}.notice strong{color:#d9cae8}.notice.warn{background:#aa9b600c!important;border-color:#aa9b6033!important;color:#d7c792!important}.empty-icon{background:#30253c;border-color:#544663;color:#b196f7;box-shadow:none}.empty h3{font-weight:500}
.overlay{background:#08060bb0;backdrop-filter:blur(4px)}.modal{background:#211c26!important;border:1px solid #584c64!important;border-radius:12px!important;box-shadow:0 30px 100px #0007!important}.modal-header{background:#28222e!important;border-color:#44394f;padding:18px 20px!important}.modal-header h2{font-size:18px!important;font-weight:500!important}.modal-body{padding:20px!important}.modal-footer{background:#1c1821;border-color:#44394f;padding:15px 20px!important;gap:8px!important}.modal .hint{color:#a08fb0}
.overlay.orbit-inspector-overlay{place-items:stretch end;padding:9px;backdrop-filter:none;background:#08060b30}.orbit-inspector.modal{width:min(450px,100%);height:calc(100dvh - 18px);max-height:calc(100dvh - 18px)!important;border-radius:11px!important}.orbit-inspector .modal-header h2{font-size:21px!important}.orbit-inspector .modal-body>p{color:#b2a2c1;font-size:12px;line-height:1.7}.orbit-inspector .report-column-option{display:grid;grid-template-columns:minmax(0,1fr) 78px 20px 33px 33px;gap:7px;padding:12px 0;border-bottom:1px solid #40354b}.orbit-inspector .report-column-option label{grid-column:1/-1;min-width:0;padding-bottom:4px}.orbit-inspector .report-column-option input[type=number]{grid-column:2;width:78px!important}.orbit-inspector .report-column-option button{padding:5px!important}.orbit-inspector .report-column-option>span{color:#a497b1;font-size:11px}.orbit-inspector .dash-custom{grid-template-columns:1fr;gap:22px}.orbit-inspector .modal-footer button{min-width:100px}
.rule-editor-nav{background:#16121b;border-color:#40354b}.rule-editor-nav button.active{background:#342940!important;color:#e3daed;border-color:transparent!important;box-shadow:none!important}.rule-editor-scroll{background:#211c26}.rule-section{background:#ffffff02;border-color:#493e55;border-radius:7px}.rule-section:before{background:#b594d6}.rule-expression{background:#18131d;border-color:#40354b}.rule-switch.on,.rule-toggle input:checked+.rule-switch{background:#a079c8!important;border-color:#ba9cd9!important}.bundle-column{background:#ffffff02;border-color:#493e55;border-radius:7px}.bundle-column>h3{background:transparent;border-color:#493e55}.company-preview,.thread-translation,.placement-group{background:#19141e;border-color:#493e55}.meta-profile-row,.connection-card,.template-block{background:#211b27;border-color:#463b52;border-radius:7px}.meta-app-settings{background:#19141e;border-color:#463b52}.template-library-footer{background:#0c0b10}.autopost-compact .thread-node{background:#231d2a;border-color:#493e55;border-left-color:#b492d6}.template-block-content>.template-thread>.template-message>.template-message-row .template-message-text{color:#e7dfef}.template-block-content .is-reply .template-message-text{color:#af9ec0}.auth-wrap{background:#0c0b10}.auth{background:#211c26;border-color:#544663;box-shadow:none;border-radius:12px}#toast{background:#2d2238;border-color:#765e8e;color:#e4daef;border-radius:7px}
@media(min-width:1600px){.orbit-workspace{padding-right:46px;padding-left:calc(var(--studio-sidebar) + 46px)}}
@media(max-width:1150px){:root{--studio-sidebar:188px}.orbit-workspace{padding-left:calc(var(--studio-sidebar) + 24px);padding-right:24px}.orbit-app-header .brand{left:22px;font-size:20px}.orbit-workspace :is(.page-head,.report-heading,.dash-heading) h1{font-size:32px!important}.studio-report-summary strong{font-size:26px}.report-heading{flex-wrap:wrap!important}}
@media(max-width:760px){.orbit-workspace,.orbit-workspace.studio-collapsed{padding:0 14px 20px;--studio-sidebar:206px}.orbit-app-header{min-height:68px}.orbit-app-header .brand,.studio-collapsed .orbit-app-header .brand{position:static;width:auto;left:auto;font-size:20px}.studio-collapsed .brand-name{display:block}.orbit-breadcrumb{display:none}.orbit-app-header .profile .grow{display:none}.orbit-workspace>.sidebar{display:none;inset:68px auto 0 0;width:min(270px,calc(100vw - 45px));padding:15px 12px;box-shadow:20px 0 60px #0008}.orbit-workspace>.sidebar.open{display:flex}.orbit-workspace .sidebar .nav{margin-top:6px}.orbit-mobile-nav-head{display:flex;align-items:center;justify-content:space-between;color:#c1b4ce;padding:0 8px 12px}.studio-collapse{display:none!important}.studio-collapsed .sidebar .orbit-nav-label{display:block}.studio-collapsed .sidebar .nav a{justify-content:flex-start;padding:10px 11px!important}.orbit-workspace>.main{min-height:calc(100dvh - 90px)}.mobile-page-menu{padding-top:12px}.orbit-workspace :is(.page-head,.report-heading,.dash-heading){margin:22px 0!important}.orbit-workspace :is(.page-head,.report-heading,.dash-heading) h1{font-size:30px!important}.head-actions{width:100%;flex-wrap:wrap}.section-profile-picker{max-width:none}.studio-report-levels{gap:16px}.studio-report-summary>div{padding:0 12px}.studio-report-summary strong{font-size:22px}.studio-report-summary span{font-size:10px}.report-results .table-wrap{max-height:none}.studio-result-actions{gap:3px}.report-heading>details{margin-left:0}.report-heading>button.primary{margin-left:auto}.overlay{padding:8px}.modal{max-height:95dvh!important}.modal-header,.modal-footer{padding:14px 16px!important}.modal-body{padding:16px!important}.report-column-option{flex-wrap:wrap}.report-column-option label{min-width:0}.orbit-inspector.modal{height:calc(100dvh - 18px);max-height:calc(100dvh - 18px)!important}.footer{font-size:9px}}
@media(pointer:coarse){button:not(.rule-switch),button.ui-icon-button{min-height:44px!important}button.ui-icon-button{width:44px!important;height:44px!important;flex-basis:44px!important}:is(input,select):not([type=checkbox]):not([type=radio]):not([type=file]){height:44px!important;min-height:44px!important;font-size:16px!important}:is(.dash-pop,.report-pop,.comment-selection,.target-picker,.rule-picker) summary{min-height:44px!important}.orbit-workspace .sidebar .nav a{min-height:44px!important}}
@media(prefers-reduced-motion:reduce){button{transition:none!important}}
.report-results input#search{background:transparent!important;border-color:transparent!important;padding-left:0!important;box-shadow:none!important}.report-resize{border-right-color:transparent}.report-resize:hover,.report-resize:focus-visible{border-right-color:#b196f7}

/* Keep hierarchy navigation next to the report table. */
.report-results>.toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:12px!important}
.report-results .toolbar .studio-report-levels{margin:0 auto 0 0;border-bottom:0;gap:20px;flex-shrink:0}
.report-results .toolbar .search{flex:1 1 180px;max-width:260px;min-width:160px}
.report-results .toolbar .studio-result-actions{margin-left:0}
@media(max-width:1000px){.report-results .toolbar .studio-report-levels{flex-basis:100%;gap:16px}.report-results .toolbar .search{max-width:none}.report-results .toolbar .studio-result-actions{margin-left:auto}}

/* Compact workspace: identity lives at the foot of the sidebar. */
.orbit-workspace>.sidebar{overflow:hidden}
.orbit-workspace>.sidebar>.brand{display:flex;align-items:center;gap:9px;padding:0 10px;min-height:31px;color:var(--text);font-size:22px;font-weight:650;letter-spacing:-1px;flex-shrink:0}
.orbit-workspace>.sidebar>.brand .brand-mark{width:29px;height:29px;flex:0 0 29px;border:0;background:#ded0f6;border-radius:7px;transform:none;box-shadow:none}
.orbit-workspace>.sidebar>.brand img{width:29px;height:29px;filter:grayscale(1);opacity:.9}
.orbit-workspace button.studio-collapse{margin-top:18px;flex-shrink:0}
.orbit-workspace .sidebar .nav{flex:1 1 auto;min-height:0;overflow-y:auto;justify-content:flex-start}
.orbit-workspace .sidebar .nav a{flex-shrink:0}
.orbit-workspace .sidebar-bottom{display:block;margin-top:16px;flex-shrink:0;border-top:1px solid var(--line);padding-top:14px}
.orbit-workspace .sidebar-bottom .profile{display:flex;align-items:center;gap:8px;padding:0;border:0;margin:0;min-width:0}
.orbit-workspace .sidebar-bottom .avatar{background:#332c3b;color:#dfd9e5;width:30px;height:30px;flex:0 0 30px;border-radius:50%;border:0}
.orbit-workspace .sidebar-bottom .grow{min-width:0}.orbit-workspace .sidebar-bottom .profile-name{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.orbit-workspace .sidebar-bottom .profile-role{font-size:10px;color:var(--muted)}
.orbit-workspace>.main{min-height:calc(100dvh - 26px)}
.studio-collapsed.orbit-workspace>.sidebar>.brand{padding:0;justify-content:center}
.studio-collapsed .sidebar-bottom .profile{flex-direction:column}.studio-collapsed .sidebar-bottom .profile .grow{display:none}
@media(max-width:760px){.orbit-workspace>.sidebar{inset:0 auto 0 0;max-height:100dvh}.studio-collapsed.orbit-workspace>.sidebar>.brand{justify-content:flex-start;padding:0 10px}.studio-collapsed .sidebar-bottom .profile{flex-direction:row}.studio-collapsed .sidebar-bottom .profile .grow{display:block}.orbit-mobile-nav-head{margin-top:15px}}

/* Denser report workspace; preserve column resizing and sticky totals. */
.orbit-workspace .report-heading{margin:20px 0 16px!important;min-height:38px}
.orbit-workspace #report-form.report-controls{padding-bottom:10px!important;margin-bottom:8px!important;gap:8px!important}
.report-manager-context{padding:0 0 5px;min-height:20px}
.report-manager-actions{padding:4px 0 6px;margin-bottom:0;gap:6px}
.report-manager-actions button{min-height:28px!important;padding:4px 9px!important}
.report-results>.toolbar{min-height:42px;padding-bottom:6px!important;gap:12px!important}
.report-results .toolbar .studio-report-levels{gap:18px}
.report-results .toolbar .studio-report-levels button{min-height:32px!important;padding:6px 0!important}
.report-results .toolbar .search{flex:0 1 160px;min-width:100px;max-width:180px}
.report-results .toolbar .studio-result-actions{margin-left:auto}
.report-results .report-manager-table thead th{padding-top:8px!important;padding-bottom:8px!important;line-height:1.3}
.report-results .report-manager-table tbody td{padding:6px 12px!important;line-height:1.3}
.report-results .report-manager-table .rm-select{padding:6px 7px!important}
.report-results .report-manager-table .rm-toggle-cell{padding:6px 4px!important}
.report-results .report-manager-table .rm-object{padding:6px 12px!important}
.report-manager-table .cell-sub{margin-top:2px;font-size:10px!important;line-height:1.25}
.report-manager-table .rm-object-meta{margin-top:2px;gap:3px 7px;line-height:1.25}
.report-results .report-manager-table tfoot td{padding:7px 12px!important;line-height:1.25}
.report-results .report-manager-table tfoot .cell-sub{margin-top:2px}
.report-results .table-wrap{max-height:calc(100dvh - 300px)}
@media(max-width:760px){.report-results .table-wrap{max-height:none}.report-results .toolbar .search{flex:1 1 120px;max-width:none}}

/* Small inline budget editor and compact draggable column picker. */
.rm-object-meta .rm-budget-slot{display:inline-flex;min-width:0}
button.rm-budget-value{background:transparent!important;border:0!important;padding:0!important;min-height:0!important;font-size:10px!important;line-height:1.25!important;color:var(--muted);border-radius:0!important;box-shadow:none!important;text-decoration:underline;text-decoration-style:dotted;text-underline-offset:3px}
.rm-budget-editor{display:inline-flex;align-items:center;gap:4px;flex-wrap:wrap}
.rm-budget-editor input[type=text]{width:12ch!important;min-width:0!important;height:25px!important;min-height:25px!important;padding:2px 4px!important;font-size:11px!important}
.rm-budget-editor button{min-height:25px!important;padding:2px 6px!important;font-size:10px!important;line-height:18px!important}
.rm-budget-error{flex-basis:100%;color:var(--red);font-size:10px}
.report-columns-compact.modal,.report-columns-compact.orbit-inspector.modal{width:min(340px,calc(100vw - 20px))!important;height:auto!important;max-height:calc(100dvh - 24px)!important;align-self:center}
.report-columns-compact .modal-header{padding:10px 12px!important;min-height:0!important}
.report-columns-compact .modal-header h2{font-size:16px!important}
.report-columns-compact .modal-body{padding:6px!important}
.report-columns-compact .report-columns-hint{margin:0 4px 6px!important;font-size:10px!important;line-height:1.3!important}
.report-columns-compact .report-column-option{display:block!important;padding:3px 4px!important;margin:0!important;border:0!important;border-radius:3px;cursor:grab;min-height:0!important}
.report-columns-compact .report-column-option:hover,.report-columns-compact .report-column-option:focus-visible{background:#b196f718}
.report-columns-compact .report-column-option.dragging{opacity:.45;background:#b196f730}
.report-columns-compact .report-column-option label{display:flex;gap:6px!important;padding:0!important;margin:0!important;min-height:0!important;font-size:11px!important;line-height:16px!important;cursor:grab}
.report-columns-compact .report-column-option input[type=checkbox]{width:13px!important;height:13px!important;min-height:13px!important;margin:1px 0!important;flex:0 0 13px}
.report-columns-compact .modal-footer{padding:8px!important;gap:6px!important}
.report-columns-compact .modal-footer button{min-width:0!important;min-height:28px!important;padding:4px 9px!important;font-size:11px!important}
.rm-budget-slot:has(.rm-budget-editor){flex-basis:100%}
.rm-budget-editor{flex-wrap:nowrap;position:relative;max-width:100%}
.rm-budget-editor input[type=text]{width:calc(10ch + 8px)!important;flex:0 0 auto}
.rm-budget-editor button[data-budget-cancel]{min-width:16px!important;width:16px!important;padding:0!important}
.rm-budget-error:empty{display:none}
.rm-budget-error:not(:empty){position:absolute;left:0;top:100%;width:220px;background:var(--surface);padding:4px;z-index:8}

.report-results .report-table{min-width:100%;table-layout:fixed}

.report-results .report-manager-table .rm-table-fill{padding:0!important;border-left:0;min-width:0}
.rm-snapshot-time{font-size:10px;color:var(--muted)}

#campaign-post-options{padding:10px;border:1px solid var(--line);border-radius:6px}#campaign-post-create p{font-size:11px;color:var(--muted)}#campaign-post-status{display:block;font-size:11px;color:var(--muted);margin-top:6px}

/* Budget editor lives in the browser top layer, outside clipped table cells. */
.rm-budget-editor[popover]{position:fixed;inset:auto;margin:0;max-width:calc(100vw - 16px);width:max-content;padding:8px;border:1px solid var(--border,#51465f);border-radius:10px;background:var(--surface,#211b29);color:var(--text);box-shadow:0 8px 30px #0007;z-index:10000;overflow:visible;gap:6px}
.rm-budget-editor[popover]:popover-open{display:flex}
.rm-budget-editor[popover] button[data-budget-cancel]{width:26px!important;min-width:26px!important;font-size:18px!important}

.brand .brand-mark img,.orbit-workspace>.sidebar>.brand img,.orbit-app-header .brand-mark img{filter:none!important;opacity:1!important;object-fit:contain}.brand .brand-mark,.orbit-workspace>.sidebar>.brand .brand-mark{background:transparent!important;border:0!important}

/* Account and profile options must grow with wrapped names and metadata. */
.orbit-workspace .report-account-list,.orbit-workspace .report-social-list{display:flex!important;flex-direction:column;gap:4px!important;max-height: min(55vh,420px);overflow-y:auto}
.orbit-workspace .report-account-list label.check,.orbit-workspace .report-social-list label.check{display:flex!important;align-items:flex-start!important;height:auto!important;min-height:0!important;flex-shrink:0!important;padding:8px!important;line-height:1.45!important;white-space:normal!important}
.orbit-workspace .report-account-list label.check>input,.orbit-workspace .report-social-list label.check>input{flex:0 0 16px;margin-top:2px!important}
.orbit-workspace .report-account-list label.check>span,.orbit-workspace .report-social-list label.check>span{display:block!important;min-width:0;overflow-wrap:anywhere;line-height:1.45!important}
.orbit-workspace .report-account-list .cell-sub,.orbit-workspace .report-social-list .cell-sub{display:block!important;position:static!important;line-height:1.45!important;margin-top:3px!important}

.section-profile-picker .report-pop>div{right:0!important;left:auto!important;min-width:280px;max-width:calc(100vw - 24px)}

#campaign-schedule{grid-column:1/-1;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}#campaign-schedule[hidden]{display:none!important}#campaign-schedule>p{grid-column:1/-1;margin:0;color:var(--muted);font-size:11px;line-height:1.5}@media(max-width:600px){#campaign-schedule{grid-template-columns:repeat(2,minmax(0,1fr))}}

.campaign-progress{min-width:260px;max-width:420px;white-space:normal}.campaign-progress-top{display:flex;justify-content:space-between;gap:12px;font-size:11px}.campaign-progress-top strong{color:var(--purple)}.campaign-progress-track{height:6px;margin:7px 0 9px;border-radius:6px;background:#b196f71c;overflow:hidden}.campaign-progress-track>span{display:block;height:100%;background:var(--purple);border-radius:inherit;transition:width .3s}.campaign-progress-counts{display:flex;flex-wrap:wrap;gap:4px 12px;font-size:10px;color:var(--muted)}.campaign-progress-counts b{color:var(--text);font-weight:500}.campaign-progress-message{margin-top:7px;font-size:10px;color:var(--muted);line-height:1.45;overflow-wrap:anywhere}.campaign-progress.has-error .campaign-progress-track>span{background:var(--red)}
