/* U-tool workspace: one type scale, one spacing scale, one component vocabulary. */
:root{--bg:#0c0b10;--surface:#131117;--panel:#19161f;--line:#302a39;--muted:#9991a5;--text:#eeeaf4;--purple:#b196f7;--green:#75d5ad;--red:#f8879b;--ui-control:32px;--ui-border:var(--line);--ui-panel:var(--panel);--ui-muted:var(--muted);--ui-radius:8px;--surface-2:#211b2b;--border:var(--line);--shadow:0 12px 36px #0005}
body{font-family:Manrope,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:13px;line-height:1.5;background:radial-gradient(ellipse at 85% 0,#8f63d009,transparent 42%),var(--bg);-webkit-font-smoothing:antialiased}
*{scrollbar-width:thin;scrollbar-color:#4d405f transparent}::selection{background:#a98ae345}
a{color:#c1a9f1;text-underline-offset:3px}h1,h2,h3,p{overflow-wrap:break-word}h1{font-weight:750!important;letter-spacing:-.65px!important}h2{font-size:15px!important;line-height:1.4}h3{font-size:13px;line-height:1.45}p{line-height:1.6}small,.hint,.cell-sub{color:var(--muted)}
.shell{grid-template-columns:216px minmax(0,1fr)}
.sidebar{width:216px;padding:22px 12px 14px;background:#100e15;border-right:1px solid #28232f;overflow-y:auto}
.sidebar .brand{padding:0 10px 24px;gap:10px;font-size:23px;letter-spacing:-.7px}.brand .brand-mark,.brand-mark img{width:34px;height:34px}.brand .brand-mark{flex-basis:34px}
.sidebar .nav{gap:3px!important}.sidebar .nav a{padding:8px 10px!important;min-height:36px!important;border:1px solid transparent;border-radius:8px;gap:10px;color:#aaa2b4;font-size:12px;line-height:18px!important}
.sidebar .nav a:hover{background:#ffffff05;border-color:#ffffff06;color:#eeeaf4}.sidebar .nav a.active{color:#e0d1ff;border-color:#9f7cde28;background:linear-gradient(90deg,#9b74d922,#8d65c409);box-shadow:inset 2px 0 #b493ef}
.sidebar .nav .ico{display:grid;place-items:center;flex:0 0 18px;width:18px;height:18px}.ui-nav-icon{width:18px;height:18px;stroke-width:1.65;display:block;flex-shrink:0}.nav-divider{margin:13px 10px;height:1px;background:#33283f;box-shadow:none}.sidebar-bottom{padding-top:18px}.profile{padding:12px 8px 2px;border-top:1px solid #2b2433;gap:9px}.profile-name{font-size:12px}.profile-role{font-size:10px}.profile .avatar{width:31px;height:31px;border:1px solid #9a75cb30;background:#271e35}.profile button{margin-left:auto}
.main{padding:0 28px 24px!important;min-width:0;display:flex;flex-direction:column}.main>main,.main>#content{min-width:0}.footer{font-size:10px;padding:16px 0 0;border-top:1px solid #292330;margin-top:28px;gap:12px;flex-wrap:wrap;color:#746c80}.topbar{height:54px}
:is(.page-head,.report-heading,.dash-heading){margin:24px 0 16px!important;padding:0 0 15px!important;border-bottom:1px solid #2b2532;gap:10px!important;min-height:0!important;align-items:center!important}
:is(.page-head,.report-heading,.dash-heading) h1{font-size:23px!important;line-height:1.35!important;margin:0!important;display:flex;align-items:center;gap:10px}
.page-heading-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;border:1px solid #aa83e12e;background:linear-gradient(135deg,#9069cb2b,#8f65c410);color:#c6a9f3;flex-shrink:0}.page-heading-icon svg{width:17px;height:17px}
:is(.page-head,.report-heading,.dash-heading) .subtitle{font-size:12px;line-height:1.5;margin-top:5px}.head-actions{gap:6px!important;align-items:center}.section-profile-picker{min-width:180px;max-width:260px}.section-profile-picker select{font-size:12px!important}
/* Buttons, inputs and compact segmented navigation. */
button,.bot-connect-link{font-weight:600;letter-spacing:0;transition:background .15s,border-color .15s,box-shadow .15s,transform .15s}
button:not(.rule-switch){min-height:32px!important;padding:6px 11px!important;font-size:12px!important;line-height:18px!important;border:1px solid #39313f;border-radius:8px!important;background:linear-gradient(180deg,#25202b,#1d1923);box-shadow:0 1px 2px #0002!important}
button:hover:not(:disabled):not(.rule-switch){background:#302738;border-color:#6f5887;color:#fff}button:active:not(:disabled){transform:translateY(1px)}button:disabled{opacity:.45}
button.primary,.bot-connect-link.primary{background:linear-gradient(135deg,#a47bdf,#7953b1)!important;border-color:#b18be5!important;color:#fff!important;box-shadow:inset 0 1px #ffffff14,0 3px 12px #8050b81c!important}
button.primary:hover:not(:disabled){background:linear-gradient(135deg,#b28bea,#865fbe)!important}.ghost,.ui-icon-button{background:transparent!important;box-shadow:none!important}.danger{color:#f28ca0}.ui-icon-button{width:30px!important;min-width:30px!important;height:30px!important;min-height:30px!important;flex-basis:30px!important;padding:6px!important;border-color:transparent!important;border-radius:7px!important}.ui-icon-button:hover{border-color:#53405f!important;background:#ad85e414!important}.ui-icon-button svg{width:16px;height:16px}.small{font-size:11px!important}
:is(input,select,textarea):not([type=checkbox]):not([type=radio]):not([type=file]){background:#100d16!important;color:var(--text);border:1px solid #393040!important;border-radius:8px!important;min-height:32px!important;padding:6px 10px!important;font-size:12px!important;line-height:18px!important;box-shadow:inset 0 1px 2px #0002}
:is(input,select,textarea):focus-visible{outline:2px solid #a782db55!important;outline-offset:1px;border-color:#a782db!important}.search{border-radius:8px!important}input::placeholder,textarea::placeholder{color:#766c84}select{appearance:none;padding-right:28px!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%239b91a8' stroke-width='1.5'%3E%3Cpath d='m3 4 3 3 3-3'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 10px center!important}select option{background:#1c1625;color:#eeeaf4}
textarea{field-sizing:content;min-height:64px!important;max-height:360px;resize:vertical;line-height:1.55!important}label{font-size:11px!important;font-weight:500;color:#bcb2c9;gap:5px!important;line-height:1.5!important}.check{font-size:12px!important;line-height:1.5!important}.check input{margin:0;flex-shrink:0}input:is([type=checkbox],[type=radio]){accent-color:#ae88e6;width:14px!important;height:14px!important;min-height:14px!important;margin:0 3px 0 0}
:is(.tabs,.rule-tabs,.company-tabs,.asset-tabs){display:flex;align-items:center;gap:3px!important;padding:4px!important;border:1px solid #332a3c!important;border-radius:10px!important;background:#110e18!important;box-shadow:inset 0 1px 3px #0002;flex-wrap:wrap;width:fit-content;max-width:100%;margin-bottom:16px!important}
:is(.tabs,.rule-tabs,.company-tabs,.asset-tabs) button{background:transparent!important;border:1px solid transparent!important;box-shadow:none!important;min-height:28px!important;padding:4px 10px!important;font-size:11px!important;border-radius:7px!important;color:#a79bae}
:is(.tabs,.rule-tabs,.company-tabs,.asset-tabs) button.active{background:linear-gradient(135deg,#7e5ba544,#65478d35)!important;border-color:#ae83de38!important;color:#e2d1fa!important;box-shadow:0 1px 4px #0002!important}
/* Panels have hierarchy without stacked heavy frames. */
:is(.panel,.record,.stat,.rule-card,.company-template,.company-job,.comment-card){border:1px solid var(--line)!important;border-radius:12px!important;background:linear-gradient(120deg,#1b1621b3,#131017d9)!important;box-shadow:inset 0 1px #ffffff02!important}
.panel{margin-bottom:16px!important}.panel-head{padding:12px 16px!important;gap:12px!important;border-bottom:1px solid #2e2636;background:#ffffff02;align-items:center}.panel-head h2,.panel-head h3{font-size:14px!important;font-weight:700;margin:0!important}.panel-head p{font-size:11px;margin:4px 0 0;line-height:1.5}.panel-pad{padding:16px!important}.panel .panel{box-shadow:none!important;background:#100d1570!important}.panel .panel .panel-head{background:transparent}
:is(.record,.stat,.rule-card,.company-template,.company-job){padding:14px 16px!important}.record{gap:10px!important}.record h3{font-size:14px!important}.record .meta{font-size:11px;line-height:1.6}.record-actions{margin-top:6px;gap:5px!important;padding-top:9px;border-top:1px solid #2e2536}.cards{grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));align-items:start;gap:12px!important}.stats{gap:12px!important;margin-bottom:16px}.stat-value{font-size:26px!important;line-height:1.2;margin:10px 0 6px;letter-spacing:-.6px}.stat-label{font-size:11px}.stat-caption{font-size:10px}.stat:first-child{border-color:#a981dd38!important}
:is(.toolbar,.dash-toolbar,.report-controls,.comment-toolbar,.rule-toolbar){padding:10px 12px!important;gap:8px!important;border:1px solid var(--line)!important;background:#19131f!important;border-radius:11px!important;margin:0 0 14px!important;box-shadow:none!important;align-items:center;flex-wrap:wrap}
.toolbar:empty{display:none}.toolbar input,.toolbar select{width:auto}.toolbar .search{flex:1;min-width:150px;max-width:300px}.form-grid{gap:12px!important}.split{gap:16px!important}.inline{gap:7px!important}.inline>*{max-width:100%}.form-section{padding:14px 0;margin-top:8px}.form-section h3{font-size:11px;letter-spacing:.06em}
.pill{font-size:10px!important;line-height:16px!important;padding:1px 7px!important;border-radius:6px!important;background:#a47bdd0c;border-color:#9571b72e;color:#c6b1e1}.pill.gray{background:#ffffff04;color:#aaa0b6;border-color:#ffffff0c}.pill.green{background:#57b98d0b;border-color:#57b98d30;color:#86cdb0}.pill.red{background:#f080960c;border-color:#f0809630;color:#f492a5}.badge-count{font-size:10px;color:#b6a0d0}.cell-sub{font-size:11px!important;line-height:1.5;margin-top:3px!important}.notice{padding:10px 12px!important;background:#9c75cf0b!important;border:1px solid #9c75cf22!important;color:#b8a9c8!important;border-radius:9px!important;font-size:12px!important;line-height:1.6!important;margin-bottom:12px!important}.notice strong{color:#d3c3e3;font-weight:650}.notice p{margin:5px 0}.notice ol{margin:7px 0 0;padding-left:19px}.notice li+li{margin-top:3px}.notice.warn{background:#c59c5c0a!important;border-color:#b58d4e30!important;color:#cbb58f!important}
.empty,.rule-empty{min-height:96px!important;padding:24px 16px!important;border-radius:10px}.empty-icon{width:32px;height:32px;font-size:16px;border-radius:9px;margin-bottom:9px;box-shadow:none}.empty h3,.rule-empty h2{font-size:14px!important;margin:0 0 5px!important}.empty p{font-size:12px!important;line-height:1.6;margin:0 0 10px;max-width:400px}.rule-empty>span{font-size:25px;margin-bottom:10px}.table-wrap,.report-results .table-wrap{min-height:0!important}table{font-size:12px; font-variant-numeric:tabular-nums}th{font-size:10px!important;font-weight:650;letter-spacing:.035em;color:#a49aae;background:#211a29!important;padding:10px 12px!important}td{padding:10px 12px!important;font-size:12px!important;line-height:1.5;border-color:#29222f;color:#cfc6da}tr:hover td{background:#b18ce506}td .ui-icon-button{vertical-align:middle}
/* Dialogs, dropdowns and selection lists use the same surfaces. */
.overlay{background:#050308bc;backdrop-filter:blur(5px);padding:24px}.modal{border:1px solid #584365!important;border-radius:15px!important;background:#17121d!important;box-shadow:0 30px 100px #0009!important;max-height:90vh;display:flex;flex-direction:column;overflow:hidden}.modal-header{padding:14px 18px!important;background:#1b1521!important;border-bottom:1px solid #342a3d;position:relative;flex:0 0 auto}.modal-header h2{font-size:16px!important;line-height:1.4;letter-spacing:-.25px}.modal-header button{flex-shrink:0}.modal-body{padding:18px!important;overflow:auto;min-height:0;flex:1}.modal-footer{padding:12px 18px!important;border-top:1px solid #342a3d;background:#130f19;flex:0 0 auto;gap:8px!important}.modal-footer button{min-width:84px}.modal .hint{font-size:11px;line-height:1.55}.modal .code{margin:8px 0}.modal .form-grid{gap:12px!important}
:is(.dash-pop>div,.report-pop>div,.comment-selection-panel,.rule-picker-menu,.target-picker-popover){background:#1c1524!important;border:1px solid #5c426d!important;border-radius:10px!important;box-shadow:var(--shadow)!important;padding:9px!important;color:var(--text);z-index:45}
:is(.dash-pop,.report-pop,.comment-selection,.target-picker) summary{padding:6px 10px!important;min-height:32px!important;border:1px solid #3d3149!important;border-radius:8px!important;background:#1d1625!important;font-size:12px!important;line-height:18px;font-weight:550;list-style:none;display:flex;align-items:center;gap:8px;cursor:pointer}
:is(.dash-pop,.report-pop,.comment-selection,.target-picker) summary::-webkit-details-marker{display:none}:is(.dash-pop,.report-pop,.comment-selection,.target-picker)[open]>summary{border-color:#a781cf!important;background:#271c33!important}
:is(.asset-row,.dash-option,.comment-selection-panel label,.target-picker-option,.rule-picker-menu label,.report-account-list label){padding:6px 8px!important;border-radius:6px;min-height:30px;gap:7px!important;font-size:12px!important}:is(.asset-row,.dash-option,.comment-selection-panel label,.target-picker-option,.rule-picker-menu label,.report-account-list label):hover{background:#a885d516}.asset-table-scroll{border-color:#3a2c46;border-radius:9px}.asset-tabs{margin-bottom:10px!important}.asset-selection-summary{margin:10px 0;font-size:11px}.asset-toolbar{padding:8px 0!important;margin:8px 0!important}.asset-table th,.asset-table td{padding:9px 11px!important}
/* Specialized editors retain their structure and inherit the shared scale. */
.rule-editor.modal{width:min(1080px,96vw);height:min(800px,91vh)}.rule-editor .modal-body{padding:0!important}.rule-editor-name{padding:12px 18px}.rule-editor-name input{font-weight:650}.rule-editor-layout{grid-template-columns:164px minmax(0,1fr)}.rule-editor-nav{padding:12px 9px;gap:4px;background:#110d18}.rule-editor-nav button{background:transparent!important;border:1px solid transparent!important;box-shadow:none!important;padding:8px 10px!important;font-size:11px!important;text-transform:none;gap:8px}.rule-editor-nav button.active{background:#aa7bdb12!important;border-color:#a67cd441!important;box-shadow:inset 2px 0 #b491e5!important;color:#e4d4f6}.rule-editor-nav button span{font-size:15px;width:17px}.rule-editor-scroll{padding:14px 16px}.rule-section{padding:14px 16px;margin-bottom:12px;border-color:#352a3e;border-radius:11px;background:#ffffff02}.rule-section:before{top:16px;width:2px;height:18px;box-shadow:none}.rule-section h3{font-size:11px;letter-spacing:.06em;margin-bottom:12px}.rule-section .form-grid{gap:12px!important}.rule-expression{margin:10px 0 10px 24px!important;padding:8px 10px;border:1px solid #ffffff06;border-radius:7px;background:#0c09116b;font-size:12px}.rule-card h2{font-size:14px!important;margin-bottom:7px!important}.rule-card-top{gap:10px}.rule-card-scope{margin:0 0 9px 24px!important;gap:10px;font-size:11px}.rule-card-bottom{padding-top:10px;gap:10px;align-items:center}.rule-last{font-size:11px;line-height:1.5}.rule-and{font-size:9px;padding:1px 5px}.rule-list{gap:10px!important}.rule-switch{width:34px!important;height:20px!important;min-height:20px!important;border-radius:20px!important;padding:0!important;background:#352b40!important;border-color:#50415d!important}.rule-switch:after{width:14px;height:14px;top:2px;left:2px}.rule-switch.on:after,.rule-toggle input:checked+.rule-switch:after{left:16px}.rule-switch.on,.rule-toggle input:checked+.rule-switch{background:#986bd2!important;border-color:#b18bdc!important;box-shadow:none!important}
.bundle-column{border-color:#382d42;background:#ffffff02;border-radius:10px}.bundle-column>h3{font-size:12px;padding:10px 12px;background:#ffffff02;border-color:#382d42}.bundle-column-body{padding:12px;gap:10px}.bundle-name{max-width:460px}.bundle-divider{font-size:10px;letter-spacing:.04em}.placement-group{border-color:#392c44}.placement-group legend{font-size:11px}.placement-group label{margin:5px 0}.creative-drop{padding:16px;background:#a77cda07;border-color:#8c65af5c}.creative-drop:hover{background:#a77cda10}
.autopost-compact{max-width:none;margin:0}.autopost-compact .tabs{justify-content:flex-start}.autopost-compact .thread-target,.autopost-compact .thread-publish{padding:14px 16px!important;margin-bottom:12px!important}.autopost-compact .thread-section-title h2{font-size:13px!important}.autopost-compact .thread-step{border-color:#8464a23d;background:#9f75ca13;color:#c4a6de;width:24px;height:24px}.autopost-compact .thread-node{background:#18121f;border:1px solid #483152;border-left:2px solid #9b73c4;padding:12px!important;gap:8px;margin-bottom:9px;border-radius:9px}.autopost-compact .thread-node textarea,.autopost-compact textarea{min-height:34px!important;height:auto;field-sizing:content;max-height:360px;resize:vertical;overflow:auto}.thread-node-heading strong{font-size:12px}.thread-translation{border:1px solid #3b2b48;border-radius:8px}.thread-translation summary{padding:3px 0}.company-templates{align-items:start;gap:12px!important}.company-template h3{font-size:13px!important}.template-message-row{padding:4px 0}.company-job{gap:10px!important}.company-preview{background:#100c17;border-color:#3e2d49;border-radius:9px;padding:12px!important;font-size:12px;line-height:1.55}.company-editor textarea{min-height:100px!important;max-height:45vh}
.meta-list-head{gap:10px;margin:14px 0 10px}.meta-list-head h3{font-size:13px}.meta-profile-row{padding:12px 14px;gap:12px;border:1px solid #382c42;background:#17111e;border-radius:10px}.meta-fb-icon{width:32px;height:32px;border-radius:8px;font-size:22px;box-shadow:none}.meta-profile-name strong{font-size:12px}.meta-profile-stats{flex-basis:190px;min-width:170px}.meta-counter-grid{gap:10px}.meta-counter strong{font-size:14px}.meta-profile-actions{gap:5px}.meta-app-settings{margin-top:14px;border-color:#35293f;border-radius:9px;background:#100c1766}.meta-app-settings summary{padding:10px 12px;font-size:12px}.meta-app-settings form{padding:14px!important}.connection-card{margin-bottom:12px;padding:12px 14px;border-color:#3a2c45;background:#17111e;border-radius:9px;flex-wrap:wrap}.connection-card strong{font-size:13px}
.security-section{margin-bottom:22px}.security-section h3{font-size:10px;letter-spacing:.08em;color:#aa99ba;margin-bottom:10px}.security-row{padding:12px 14px;gap:12px;border-color:#35293f;background:#17111e;border-radius:10px;margin-bottom:8px}.security-row strong{font-size:13px}.security-icon{width:32px;height:32px;border-radius:8px;font-size:18px;background:#a77add09;border-color:#83649c2b}.security-avatar{width:36px;height:36px;font-size:16px;box-shadow:none}.security-detail{font-size:11px;line-height:1.5;margin-top:3px}.security-actions{gap:6px}.security-section-head{margin-bottom:10px}
.comment-card{padding:14px!important;gap:12px;border-radius:10px!important}.comment-avatar{width:32px;height:32px;border-radius:9px;font-size:12px}.comment-message{font-size:13px;line-height:1.6;margin:7px 0}.comment-meta time,.comment-origin,.comment-post{font-size:11px}.comment-reply{margin-left:22px}.comment-actions{gap:5px}.comment-status{font-size:11px;gap:10px;margin:10px 0 14px}.comment-errors{padding:10px 12px;border-radius:9px;font-size:12px}.list-row{padding:10px 12px;gap:10px}.code{font-size:11px;padding:10px 12px;border-color:#3b2a48;background:#0d0912}.step{padding:12px;border-color:#3d2c48}.calendar .day{min-height:38px;padding:7px}.auth{padding:28px;border-color:#503962;background:#17121de8;box-shadow:0 20px 80px #0006}.auth .brand{padding-bottom:22px}.auth form{gap:13px}.auth h1{font-size:22px!important}.auth .subtitle{margin-bottom:20px;font-size:12px}.auth .status-line{font-size:10px}.status-line{font-size:11px}#toast{font-size:12px;padding:12px 16px;border-color:#795497;background:#21162c;box-shadow:var(--shadow);border-radius:10px}
#tester-request-panel>.panel-pad>p{font-size:11px;margin:0 0 7px}#tester-request-panel>.panel-pad>p:last-child{margin-bottom:0}#tester-request-panel .list-row{padding:10px 0}#tester-request-panel .list-row .inline{margin-top:8px}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}}
@media(min-width:1600px){.main{padding-left:36px!important;padding-right:36px!important}.stat{padding:16px!important}}
@media(max-width:1100px){.rule-toolbar{align-items:flex-start}.rule-tools{flex-wrap:wrap}.rule-card-bottom{flex-wrap:wrap}.rule-card-actions{margin-left:auto}.bundle-columns{grid-template-columns:1fr}.cards{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr))}}
@media(max-width:760px){.shell{grid-template-columns:1fr}.sidebar{width:216px}.main{grid-column:1;padding:0 14px 20px!important}.sidebar .nav a{min-height:38px!important}.page-head,.report-heading,.dash-heading{margin:16px 0 12px!important;padding-bottom:12px!important}.page-head h1,.report-heading h1,.dash-heading h1{font-size:21px!important}.head-actions{width:100%;justify-content:flex-end!important}.section-profile-picker{max-width:none;flex:1}.overlay{padding:10px}.modal{max-height:95dvh!important;width:100%;border-radius:12px!important}.modal-header,.modal-footer{padding:12px 14px!important}.modal-body{padding:14px!important}.form-grid,.split{grid-template-columns:1fr}.rule-editor-layout{grid-template-columns:1fr}.rule-editor-nav{display:flex;flex-direction:row;overflow-x:auto;border-right:0;border-bottom:1px solid #34273f;padding:8px;gap:4px;flex-shrink:0}.rule-editor-nav button{white-space:nowrap;flex-shrink:0}.rule-editor-scroll{padding:12px}.rule-section{padding:12px}.security-actions{margin-left:0}.security-row>.grow{flex-basis:calc(100% - 48px)}.security-row>button{margin-left:auto}.company-template-toolbar{flex-wrap:wrap}.footer{font-size:9px}.autopost-compact .thread-node{margin-left:calc(min(var(--depth),2)*10px)}.comment-actions{margin-left:0}.tabs{width:100%}.table-wrap{max-width:100%}}
@media(pointer:coarse){button:not(.rule-switch),.ui-icon-button{min-height:38px!important}.ui-icon-button{height:38px!important;width:38px!important;flex-basis:38px!important}:is(input,select,textarea):not([type=checkbox]):not([type=radio]){min-height:38px!important;font-size:16px!important}.tabs button{min-height:34px!important}}
/* Fixed control geometry also overrides native select sizing and legacy icon padding. */
button.ui-icon-button{padding:6px!important;min-width:30px!important;min-height:30px!important;width:30px!important;height:30px!important;flex:0 0 30px!important}button.ui-icon-button svg{width:16px!important;height:16px!important;flex:0 0 16px!important}
:is(input,select):not([type=checkbox]):not([type=radio]):not([type=file]){height:32px!important}
select:not([type=checkbox]):not([type=radio]):not([type=file]){background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%239b91a8' stroke-width='1.5'%3E%3Cpath d='m3 4 3 3 3-3'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 10px center!important;padding-right:28px!important}
.rule-picker summary{min-height:32px!important;padding:6px 10px!important;font-size:12px!important;line-height:18px;border-color:#3d3149;background:#1b1423;border-radius:8px}.rule-toggle{padding:10px 0;gap:9px}.rule-toggle strong{font-size:12px}.rule-toggle small{font-size:11px;margin-top:2px}.rule-condition .rule-icon,.rule-name-filter .rule-icon,.rule-name-filter .rule-case{height:32px!important}.dash-stats .stat{min-height:112px!important}.dash-stat-value{font-size:26px!important;margin:10px 0 6px!important}.dash-table-empty{min-height:80px!important;height:auto!important;padding:24px!important}
@media(pointer:coarse){button.ui-icon-button{width:38px!important;height:38px!important;min-height:38px!important;flex-basis:38px!important}:is(input,select):not([type=checkbox]):not([type=radio]):not([type=file]){height:38px!important}}
.translation-base{margin-top:24px;padding-top:18px;border-top:1px solid var(--line,#302a39)}.translation-base .section-title{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:8px}.translation-base .table-wrap{margin:12px 0}.translation-base .translation-text{white-space:pre-wrap;overflow-wrap:anywhere;min-width:170px;max-width:360px}.comment-translation{margin-top:10px;padding:10px 12px;border-left:2px solid #a58bdf;background:#a58bdf0b;border-radius:0 8px 8px 0}.comment-translation .inline{margin-bottom:5px}.comment-translation-text{white-space:pre-wrap;overflow-wrap:anywhere}
.translation-help{font-size:11px;line-height:1.6;color:var(--muted);margin:9px 0}.comment-card.comment-hidden{opacity:1}.comment-hidden .comment-message{color:var(--text)}
.comment-hidden .comment-content,.comment-hidden .comment-avatar{opacity:1}
.posting-job{align-items:start!important}.posting-progress{display:flex;align-items:center;gap:10px;margin:9px 0;font-size:11px;color:var(--muted);flex-wrap:wrap}.posting-progress progress{height:6px;max-width:190px;width:100%;accent-color:#aa8de6;border:0;border-radius:6px;overflow:hidden}.posting-progress progress::-webkit-progress-bar{background:#332a3f}.posting-progress progress::-webkit-progress-value{background:#aa8de6}.posting-node{padding:12px 0;border-bottom:1px solid var(--line);display:grid;gap:6px}.posting-text{white-space:pre-wrap;overflow-wrap:anywhere}.posting-help{font-size:11px;line-height:1.6;color:var(--muted);margin:5px 0}.posting-like{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:6px 0}.posting-event{display:grid;grid-template-columns:135px 1fr;gap:4px 12px;padding:9px 0;border-bottom:1px solid var(--line);font-size:11px}.posting-event>span:last-child{grid-column:1/-1;color:var(--muted)}.posting-pager{margin:12px 0}.posting-node details summary{font-size:11px;color:var(--muted);cursor:pointer}
.template-library{display:flex;flex-direction:column;gap:12px}.template-library-toolbar{display:flex;gap:8px;align-items:center}.template-library-toolbar>input{flex:1;max-width:none!important;min-width:120px}.template-library-toolbar>button{flex-shrink:0}.template-library-filter{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.template-library-filter .tabs{margin:0!important}.template-library-filter .check{margin:0;font-size:11px;color:var(--muted);display:flex;align-items:center;gap:7px}.template-library-list{display:grid;gap:9px;max-height:calc(100dvh - 380px);min-height:100px;overflow-y:auto;padding-right:4px;scrollbar-gutter:stable}.template-block{display:grid;grid-template-columns:20px minmax(0,1fr) 190px;gap:12px;border:1px solid #342b3e;border-radius:11px;background:#141117;padding:14px!important;align-items:start}.template-block:hover{border-color:#574469}.template-block-select{margin:3px 0!important}.template-block-select input{margin:0!important;width:15px!important;height:15px!important}.template-block-content{min-width:0}.template-block-content .template-thread{margin:0!important;padding:0!important}.template-block-content .template-message{margin:0!important;padding:0!important;border:0!important;background:none!important}.template-block-content .template-message-row{align-items:start;gap:8px!important}.template-block-content>.template-thread>.template-message>.template-message-row .template-message-text{font-weight:650;color:#eeeaf4;font-size:13px;line-height:1.55}.template-block-content .template-replies{border:0!important;margin:7px 0 0 22px!important;padding:0!important;display:grid;gap:5px}.template-block-content .is-reply .template-message-text{font-weight:400;color:#aaa1b3;font-size:12px;line-height:1.5}.template-block-content .template-message-icon{width:15px;height:18px;flex:0 0 15px;margin-top:2px;color:#b49adf}.template-block-content>.template-thread>.template-message>.template-message-row>.template-message-icon{color:#d9d1e4}.template-message-text{white-space:pre-wrap;overflow-wrap:anywhere}.template-block-side{display:flex;flex-direction:column;align-items:flex-end;gap:7px;min-width:0}.template-block-count{font-size:11px;color:var(--muted)}button.template-access{min-height:24px!important;height:auto!important;border:0!important;background:none!important;box-shadow:none!important;padding:0!important;font-size:11px!important;display:flex;align-items:center;gap:5px;color:var(--muted);text-align:right}.template-access svg{width:15px;height:15px;flex:0 0 15px}.template-access.shared{color:#79cfa7}.template-access.received{font-size:11px;color:#b79ce0;display:flex;align-items:center;gap:5px;max-width:100%;overflow-wrap:anywhere;text-align:right}.template-block-actions{display:flex;align-items:center;gap:4px;flex-wrap:wrap;justify-content:flex-end;margin-top:4px}.template-block-actions>button:not(.ui-icon-button){padding:4px 7px!important;min-height:28px!important;font-size:11px!important}.template-library-footer{display:flex;align-items:center;gap:12px;border-top:1px solid var(--line);padding-top:12px;color:var(--muted);font-size:11px}.template-library-footer>span{flex:1}.template-library-help{font-size:11px;color:var(--muted);line-height:1.6;margin:10px 0}.template-tag{display:inline-block;font-size:10px;color:#b49adf;margin-bottom:6px}.template-grant{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}.template-grant>div{flex:1;min-width:0}.template-grant strong{font-size:12px}.template-block.is-shared{border-color:#483656}@media(max-width:760px){.template-block{grid-template-columns:18px minmax(0,1fr);gap:9px;padding:12px!important}.template-block-side{grid-column:2;flex-direction:row;align-items:center;justify-content:space-between;flex-wrap:wrap}.template-block-actions{margin-top:0}.template-library-toolbar{flex-wrap:wrap}.template-library-toolbar>input{flex-basis:100%}.template-library-list{max-height:none;overflow:visible}.template-library-filter .tabs{width:auto!important}.template-library-footer{position:sticky;bottom:0;padding:12px 0;background:#0c0b10}.template-block-content .template-replies{margin-left:12px!important}}

.report-results .table-wrap{max-height:calc(100dvh - 285px);overflow:auto;isolation:isolate}.report-results thead th{position:sticky;top:0;z-index:2;background:#18141f}.report-results tfoot td{position:sticky;bottom:0;z-index:3;background:#211a2d;border-top:2px solid #796096;white-space:nowrap;font-size:12px;padding:12px 14px;box-shadow:0 -4px 12px #0003}.report-results tfoot strong{font-size:11px;color:#c7b7df}

.report-table{table-layout:fixed}.report-table th{position:relative;padding-right:24px}.report-table td,.report-table th{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.report-resize{position:absolute;right:0;top:0;height:100%;width:10px;cursor:col-resize;touch-action:none;user-select:none;border-right:2px solid transparent}.report-resize:hover,.report-resize:focus{border-color:#a78bfa;background:#a78bfa33;outline:none}.report-column-option{display:flex;align-items:center;gap:8px;padding:7px 0}.report-column-option label{flex:1;min-width:160px}.report-column-option input[type=number]{width:76px}.report-column-option button{padding:5px 10px}
