/* ПАО СУС: monochrome BI workspace, based on the user's screen references. */
:root{font-family:Arial,"Segoe UI",sans-serif;--ink:#dedede;--muted:#929292;--accent:#dedede;--line:#3c3c3c;--sidebar:#1e1e1e;color-scheme:dark;background:#1c1c1c}
body,.application,.application>main{background:#1c1c1c;color:var(--ink)}.application{display:grid;grid-template-columns:64px minmax(0,1fr);min-height:100vh}.application>main{padding-top:48px;min-width:0}.sidebar{position:fixed;left:0;top:0;width:64px;height:100vh;padding:0 8px 14px;background:#1e1e1e;border-right:1px solid #3a3a3a;z-index:25;display:flex;flex-direction:column;align-items:center}.sidebar>.brand{display:flex;width:48px;height:62px;padding:0;justify-content:center;font-size:0;margin-bottom:12px;border-bottom:1px solid #3a3a3a}.sidebar>.brand:before{content:'⠿';font-size:35px;color:#bfbfbf;line-height:1}.sidebar>.brand>span{display:none}.sidebar nav{width:100%;display:flex;flex-direction:column;gap:12px}.nav-button{padding:0!important;width:46px;height:46px;min-height:46px;background:transparent;border:0!important;border-radius:6px;color:#b9b9b9;justify-content:center}.nav-button svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.nav-button:hover,.nav-button.active{background:#333;color:#fff}.rail-label{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.sidebar-bottom{display:flex;flex-direction:column;margin-top:auto;padding:12px 0 0;gap:12px;font-size:0;border:0}.sidebar-bottom>span{display:none}.sidebar .icon-button{margin:0;color:#aaa;width:42px;height:42px}.legacy-nav{position:relative;margin-top:12px;border-top:1px solid #444;width:46px;padding-top:16px}.legacy-nav summary{font-size:0;padding:8px;list-style:none;text-align:center}.legacy-nav summary:after{content:'⋯';font-size:24px;color:#bdbdbd}.legacy-nav[open]{background:#292929}.legacy-nav[open] .nav-button{position:relative;width:180px;font-size:12px;color:#ddd;justify-content:flex-start;padding:10px!important;background:#292929}.legacy-nav .nav-button span{display:inline;font-size:15px}
.topbar{position:fixed;top:0;left:64px;right:0;z-index:20;height:48px;padding:0 20px;border-bottom:1px solid #3c3c3c;background:#202020;gap:20px}.sus-header-title{flex-direction:row;gap:12px;align-items:center;min-width:0}.sus-header-title strong{font-size:12px;color:#a7a7a7;font-weight:400;white-space:nowrap}.sus-header-title #breadcrumb{font-size:13px;color:#ddd;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:65vw}.sus-wordmark{font-size:10px;color:#aaa}.sus-wordmark b{color:#ddd;font-size:18px;margin-left:3px;letter-spacing:0}.view{max-width:none;margin:0;padding:24px 30px}.page-heading h1{color:#eee;font-size:23px}.page-heading p,.muted{color:#929292}.eyebrow{color:#8b8b8b}.sus-workflow{display:none}button{background:#282828;color:#ddd;border-color:#464646;border-radius:5px;min-height:32px;padding:7px 11px;font-size:13px}button:hover{background:#363636;border-color:#686868}.primary,.primary:hover{color:#171717;background:#eee;border-color:#eee}.primary:hover{background:#fff}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #aaa;outline-offset:1px}input,select,textarea{background:#202020;color:#ddd;border:1px solid #444;border-radius:4px;font-size:13px;min-height:32px;padding:7px 10px}.ws-card,.ws-empty,.configuration,.dashboard-card,.dashboard-chart,.source-card{background:#232323;border:1px solid #3d3d3d;box-shadow:none;border-radius:6px}.ws-card h2,.ws-card h3{color:#ddd}.ws-upload{max-width:1100px;padding:24px;margin-top:20px}.ws-upload label{color:#ddd;font-size:13px}.ws-upload input,.ws-upload select{min-height:34px;border-color:#484848;margin-top:6px}.ws-dialog,dialog{background:#282828;color:#ddd;border:1px solid #4b4b4b;border-radius:8px;box-shadow:0 16px 60px #0008}.dialog-heading h2{color:#eee}.ws-dialog::backdrop,dialog::backdrop{background:#0009}.ws-dialog fieldset{border-color:#505050}.ws-dialog select,.ws-dialog input{background:#242424}.error{color:#f3a3a3}.ws-metric{background:#303030}.login-screen{background:#1c1c1c}.login-card{background:#252525;color:#eee;border:1px solid #444}.login-card h1{color:#fff}.toast{background:#eee;color:#111}.ws-library{gap:14px}.ws-library .ws-card{padding:20px}.ws-grid-wrap{background:#1e1e1e;border-color:#3a3a3a;border-radius:0}.ws-grid th{background:#242424;color:#d8d8d8;border-color:#3b3b3b;font-size:13px}.ws-grid th small{color:#969696}.ws-grid th button{color:#ddd}.ws-grid td{color:#d3d3d3;border-color:#383838}.ws-grid tr:nth-child(even){background:#202020}.ws-grid td input:not([type=checkbox]){color:#d7d7d7}.ws-grid td input:focus{background:#333;outline-color:#bbb}.ws-grid .ws-index{background:#222}.ws-grid tfoot th{background:#3a3a3a;color:#fff}.ws-grid thead tr:nth-child(2) th{background:#282828}.ws-check input{accent-color:#bfbfbf}.ws-filter{gap:8px}.ws-filter label{font-size:11px}.ws-filter select{font-size:12px}.ws-note{color:#ddd}.ws-kpis strong{color:#f1f1f1}.ws-report-library{background:#242424}.ws-report-grid{background:repeating-linear-gradient(to bottom,#222 0,#222 calc(var(--ws-page,720px) - 3px),#666 calc(var(--ws-page,720px) - 2px),#666 var(--ws-page,720px));border-color:#555}.ws-report-widget{background:#242424;border-color:#4c4c4c}.ws-resize,.ws-break{background:#333;color:#ccc}.ws-widget-body .ws-grid th{background:#343434}.ws-report-widget .ws-drag{color:#ddd}.ws-visual-layout .ws-card{padding:20px}.ws-image{background:#fafafa}
.ws-data-screen,.ws-studio-screen{padding:0}.ws-data-screen>.page-heading,.ws-studio-screen>.page-heading{display:none}.ws-data-screen>#ws-error,.ws-studio-screen>#ws-error{padding:8px 20px;margin:0;background:#2c2323}.ws-data-workbench{display:grid;grid-template-columns:270px minmax(0,1fr);height:calc(100vh - 48px)}.ws-file-panel{background:#222;border-right:1px solid #3d3d3d;overflow:auto;padding-top:20px}.ws-file-panel h2{font-size:18px;color:#e4e4e4;margin:0 20px 18px}.ws-file-panel>button{margin:0 20px 16px}.ws-file-list{display:grid}.ws-file-item{display:flex;align-items:center;padding:8px 12px;gap:3px;min-height:48px}.ws-file-item.selected{background:#333}.ws-file-item>button{border:0;background:transparent;padding:5px}.ws-file-item>button:first-child{flex:1;min-width:0;justify-content:flex-start;gap:10px}.ws-file-item>button:first-child span:last-child{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:13px}.ws-file-item>button:last-child{padding:4px;min-width:26px}.ws-data-main{display:flex;flex-direction:column;min-width:0;min-height:0;padding:0 18px 10px}.ws-data-main>.ws-toolbar{gap:7px;margin:8px 0;flex-shrink:0}.ws-data-main>.ws-toolbar button{font-size:11px;padding:5px 8px;min-height:27px}.ws-data-main>.ws-toolbar input{max-width:220px;font-size:12px}.ws-data-main>.ws-grid-wrap{flex:1;min-height:180px;max-height:none;margin:0;border-width:1px 0}.ws-data-main .ws-grid{font-size:13px}.ws-data-main .ws-grid th{padding:10px 8px;min-width:120px;border-width:0 0 1px}.ws-data-main .ws-grid td{border-width:0 0 1px;height:42px}.ws-data-main .ws-grid td input:not([type=checkbox]){height:41px;padding:8px 10px;min-width:120px}.ws-data-main .ws-grid th small{display:inline;margin-left:5px;font-size:10px}.ws-data-main .ws-grid th button{display:inline;font-size:13px}.ws-data-main .ws-index{min-width:58px!important}.ws-data-main>p{margin:0}.ws-data-main>#ws-history{font-size:10px;max-height:20px;overflow:hidden}.ws-data-main .ws-grid th:has(button[data-column]){resize:horizontal;overflow:auto}.ws-data-main .ws-grid th:has(button[data-column]):nth-child(3){min-width:300px}
.studio{display:grid;grid-template-columns:270px 280px minmax(0,1fr);height:calc(100vh - 48px);background:#1e1e1e}.studio-fields,.studio-bindings{border-right:1px solid #414141;min-width:0;overflow:auto}.studio-panel-head{border-bottom:1px solid #414141;min-height:59px;padding:10px 16px;display:flex;align-items:center}.studio-panel-head label{width:100%;font-size:11px;color:#a8a8a8}.studio-panel-head select{margin-top:3px;border:0;background:transparent;font-size:13px;padding:3px 0;min-height:25px;color:#ddd}.studio-field-tools{display:flex;gap:8px;padding:16px 12px 10px}.studio-field-tools input{font-size:12px;min-width:0}.studio-field-tools button{width:32px;padding:0;font-size:22px}.studio-fields h3{font-size:12px;margin:10px 17px;color:#d8d8d8}.studio-fields h3 span{float:right;font-weight:400;color:#858585}.studio-field-row{display:flex;align-items:center;margin:1px 5px;height:41px;border-radius:3px;cursor:grab}.studio-field-row:hover{background:#333}.studio-field{border:0;background:transparent;justify-content:flex-start;flex:1;min-width:0;padding:8px 12px;font-size:13px;text-align:left;gap:12px}.studio-field>span:nth-child(2){white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.studio-type{font-size:18px;color:#aaa;flex-shrink:0;font-weight:500}.studio-field small{margin-left:auto;font-style:italic;color:#aaa}.studio-field-more{background:transparent;border:0;color:#999;min-width:28px;padding:3px;opacity:0}.studio-field-row:hover .studio-field-more,.studio-field-more:focus-visible{opacity:1}.studio-slot{border-bottom:1px solid #404040;padding:12px 16px;min-height:61px}.studio-slot>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:7px}.studio-slot>header button{border:0;background:transparent;padding:4px;color:#d7d7d7;font-size:13px}.studio-slot>header div{display:flex;gap:2px}.studio-slot>header div button{color:#9d9d9d;padding:3px 6px}.studio-slot.drag-over{background:#363636;outline:1px dashed #aaa;outline-offset:-3px}.studio-chip{display:flex;align-items:center;background:#333;border-left:3px solid #aaa;border-radius:2px;margin:6px 0;min-height:35px}.studio-chip button{border:0;background:transparent;min-width:0;font-size:13px;padding:7px 9px;min-height:30px}.studio-chip button:first-child{flex:1;justify-content:flex-start;overflow:hidden;text-align:left;white-space:nowrap;text-overflow:ellipsis;gap:10px}.studio-chip button:last-child{color:#aaa}.studio-chip span{font-size:17px;color:#aaa}.studio-chip.measure{background:#2b2b2b;border-color:#eee}.studio-drop-hint,.studio-setting-link{color:#8a8a8a!important;font-size:11px!important;background:transparent;border:0;text-align:left;justify-content:flex-start;padding:5px}.studio-canvas{min-width:0;min-height:0;display:flex;flex-direction:column;padding:0 18px}.studio-chart-toolbar{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid #383838;flex-wrap:wrap;min-height:59px}.studio-chart-toolbar>input{flex:1;min-width:150px;border:0;background:transparent;font-size:14px;padding-left:0}.studio-chart-toolbar>#ws-save{font-size:11px;max-width:250px}.studio-chart-toolbar button{font-size:12px}.studio-canvas>#studio-error{padding:10px 0}.studio-canvas>#studio-result{flex:1;min-height:0;overflow:auto;display:flex;flex-direction:column}.studio-canvas .ws-chart{flex:1;min-height:400px;height:100%;width:100%}.studio-export-toolbar{display:flex;gap:7px;flex-wrap:wrap;padding:10px 0;border-top:1px solid #383838}.studio-export-toolbar button{font-size:11px;min-height:27px;padding:5px 8px}.studio-export-toolbar #ws-save{display:none}.studio-empty{display:flex;align-items:center;justify-content:center;gap:40px;flex:1;padding:30px;color:#d4d4d4;min-height:430px}.studio-empty strong{font-size:14px}.studio-empty p{font-size:12px;color:#959595;line-height:1.8;margin-top:12px}.studio-empty-bars{display:flex;align-items:flex-end;height:100px;gap:9px}.studio-empty-bars i{display:block;width:27px;background:linear-gradient(#ccc,#555);border-radius:3px;height:40px}.studio-empty-bars i:nth-child(2){height:75px}.studio-empty-bars i:nth-child(3){height:100px}.studio-settings-dialog{max-width:780px;width:min(780px,94vw)}.studio-axis-form{display:grid;gap:17px;padding:12px 0}.studio-axis-form>label:not(.ws-check){display:grid;grid-template-columns:220px 1fr;align-items:center;gap:12px}.studio-axis-form>label input,.studio-axis-form>label select{margin-top:0}.studio-axis-form .ws-check{margin:0}.studio-axis-form .ws-form-grid{margin:0;padding-left:232px}
@media(max-width:1200px){.studio{grid-template-columns:210px 235px minmax(0,1fr)}.ws-data-workbench{grid-template-columns:230px minmax(0,1fr)}.sus-header-title strong{display:none}.studio-canvas{padding:0 12px}.studio-empty{gap:15px;flex-direction:column;text-align:center}.studio-field-more{opacity:1}}
@media(max-width:800px){.application{grid-template-columns:48px minmax(0,1fr)}.sidebar{width:48px;padding:0 3px 10px;top:0;margin-top:0;height:100vh}.sidebar nav{flex-direction:column;gap:9px;margin:0}.sidebar .nav-button{width:40px;height:40px;min-height:40px}.sidebar .nav-button svg{width:21px;height:21px}.sidebar>.brand{width:40px;height:48px;display:flex}.sidebar-bottom{display:flex}.topbar{left:48px;height:48px;padding:0 12px}.application>main{padding-top:48px}.studio{grid-template-columns:190px 210px minmax(400px,1fr);height:calc(100vh - 48px);min-width:800px}.ws-studio-screen{overflow:auto}.ws-data-workbench{grid-template-columns:190px minmax(400px,1fr);min-width:600px}.ws-data-screen{overflow:auto}.view{padding:20px 15px}.ws-data-screen,.ws-studio-screen{padding:0}.studio-axis-form>label:not(.ws-check){grid-template-columns:1fr;gap:6px}.studio-axis-form .ws-form-grid{padding:0}.sus-header-title #breadcrumb{font-size:12px;max-width:70vw}.sus-wordmark{display:none}.ws-report-widget .ws-chart{min-height:120px}.studio-canvas .ws-chart{min-height:400px}}

.application>main{grid-column:2}.ws-data-screen>#ws-error:empty,.ws-studio-screen>#ws-error:empty,.studio-canvas>#studio-error:empty{display:none}.ws-data-main>.ws-toolbar:first-child #ws-search{margin-left:auto;min-width:150px}.ws-data-main>.ws-toolbar:first-child #ws-save{max-width:170px}.ws-data-main>.ws-toolbar{align-items:center}.studio-slot button{white-space:nowrap}

.sidebar>.brand{border:0;border-bottom:1px solid #3a3a3a;border-radius:0;background:transparent;flex-shrink:0}.nav-expanded.application{grid-template-columns:232px minmax(0,1fr)}.nav-expanded .sidebar{width:232px;padding:0 10px 14px;align-items:stretch;overflow-y:auto;overflow-x:hidden}.nav-expanded .sidebar>.brand{width:210px;justify-content:flex-start;gap:18px;font-size:14px;color:#eee}.nav-expanded .sidebar>.brand>span:last-child{display:block;text-align:left;line-height:1.4}.nav-expanded .sidebar>.brand small{display:block;font-size:10px;color:#999}.nav-expanded .nav-button{width:210px;justify-content:flex-start;padding:0 13px!important;gap:16px}.nav-expanded .rail-label{position:static!important;width:auto;height:auto;overflow:visible;clip-path:none;font-size:13px}.nav-expanded .legacy-nav{width:210px}.nav-expanded .legacy-nav summary{font-size:11px;color:#999;text-align:left;padding:8px 13px}.nav-expanded .legacy-nav summary:after{display:none}.nav-expanded .legacy-nav .nav-button{width:210px;font-size:12px}.nav-expanded .topbar{left:232px}.nav-expanded .sidebar-bottom{align-items:flex-start}.nav-expanded .sidebar-bottom .icon-button:after{content:"Выйти";font-size:12px;margin-left:16px}.nav-expanded .sidebar-bottom .icon-button{width:210px;justify-content:flex-start;gap:12px;padding-left:13px}.sidebar nav{flex-shrink:0}

.nav-expanded .rail-label{color:inherit}.nav-expanded .nav-button.active .rail-label{color:#fff}

.sidebar{overflow-x:hidden}

.nav-expanded .legacy-nav .nav-button span{color:#aaa}
.ws-table-builder-screen .page-heading,.ws-table-builder-screen .sus-workflow{display:none}
.table-builder{display:grid;grid-template-columns:360px minmax(0,1fr);grid-template-rows:minmax(0,1fr);gap:0;height:100%;min-height:0;border:1px solid var(--line)}
.table-builder>form{padding:20px;border-right:1px solid var(--line);height:100%;min-height:0;max-height:none;overflow:auto;overscroll-behavior:contain}
.table-builder>form>label{display:block;margin:14px 0}
.table-builder-head strong{font-size:18px}.table-builder h3{font-size:14px;margin-top:24px}
.table-builder-head p{font-size:12px;line-height:1.6}.table-builder-canvas{min-width:0;padding:20px}
.table-builder-canvas .ws-grid-wrap{max-height:none}
.table-field-choice{display:flex;align-items:center;gap:4px;border-bottom:1px solid var(--line)}
.table-field-choice label{flex:1;min-width:0;overflow-wrap:anywhere}.table-field-choice button{padding:3px 7px}
.table-builder .ws-metric{display:block}.table-builder .ws-metric>label{display:block;margin-bottom:10px}
.table-builder .ws-filter{grid-template-columns:1fr 1fr}.table-builder .ws-filter>label{min-width:0}
.ws-file-panel>button{display:block;margin:8px 0;width:100%;text-align:left}
@media(max-width:1000px){.table-builder{grid-template-columns:300px minmax(380px,1fr);overflow:auto}}
select{color-scheme:dark}select option,select optgroup{background:#252525;color:#e4e4e4}select option:checked{background:#444;color:#fff}
.ws-import-note{font-size:13px;line-height:1.65;border-left:3px solid #8a8a8a;padding:10px 14px;background:#292929;margin:15px 0}
.ws-import-source{border:1px solid #444;padding:12px;margin:15px 0;border-radius:4px}.ws-import-source summary{cursor:pointer;font-size:13px;font-weight:600}
.ws-import-source .ws-grid td{padding:6px 10px;white-space:nowrap}.ws-import-source .ws-grid .ws-source-row{min-width:90px;position:sticky;left:0;background:#2a2a2a;z-index:1}
.ws-source-header td{background:#393939}.ws-import-source button{font-size:12px;white-space:nowrap}
.ws-import-types{margin:15px 0;border:1px solid #444;padding:12px;border-radius:4px}.ws-import-types summary{cursor:pointer;font-size:13px;font-weight:600}.ws-import-type-list{display:grid;gap:0;margin-top:15px}
.ws-import-type-row{display:grid;grid-template-columns:36px minmax(160px,1fr) 180px;align-items:center;gap:12px;padding:10px 0;border-top:1px solid #393939}
.ws-import-type-row label{font-weight:400!important;min-width:0}.ws-import-type-row small{font-size:11px;color:#aaa}.ws-import-type-row select{margin:0!important}
@media(max-width:700px){.ws-import-type-row{grid-template-columns:30px minmax(100px,1fr) 130px}}
.ws-table-builder-screen>#ws-error:empty{display:none}
.table-builder-canvas .ws-grid th,.table-builder-canvas .ws-grid td{min-width:80px;padding:10px}
.table-builder-canvas .ws-grid th:first-child,.table-builder-canvas .ws-grid td:first-child{min-width:260px}
@media(max-width:1000px){.table-builder{grid-template-columns:280px minmax(260px,1fr)}.table-builder-canvas{padding:14px}}
.table-builder-canvas .ws-grid thead tr:not(:first-child) th:first-child{min-width:80px}
/* Dark tools surround a white report page, as in the supplied printed reports. */
.ws-report-layout.ws-report-library-hidden{grid-template-columns:minmax(0,1fr)}
.ws-report-library-hidden>.ws-report-library{display:none}
.ws-report-grid{background:repeating-linear-gradient(to bottom,#fff 0,#fff calc(var(--ws-page,720px) - 2px),#c4c4c4 calc(var(--ws-page,720px) - 1px),#c4c4c4 var(--ws-page,720px));border:1px solid #b5b5b5;box-shadow:0 2px 8px #0003}
.ws-report-widget{background:transparent;border:1px dashed transparent;border-radius:0;box-shadow:none;padding:8px}
.ws-report-widget:hover{border-color:#b5b5b5}
.ws-report-widget .ws-drag{color:#111;background:transparent;font-size:12px;min-height:28px;padding:0 0 5px;gap:5px}
.ws-report-widget .ws-drag strong{font-weight:700}
.ws-report-widget .ws-drag button{background:#fff;color:#555;border-color:#ddd;min-height:23px;padding:2px 6px}
.ws-report-widget .ws-resize{background:#eee;color:#555}
.ws-widget-body{color:#111}
.ws-widget-body .ws-note,.ws-widget-body p{color:#222;font-size:11px;line-height:1.4}
.ws-widget-body .ws-grid-wrap{background:#fff;border:0;border-radius:0}
.ws-widget-body .ws-grid{font-size:10px;table-layout:fixed;width:100%;min-width:0}
.ws-widget-body .ws-grid th,.ws-widget-body .ws-grid td{min-width:0;padding:3px 4px;border:1px solid #fff;color:#111;overflow-wrap:anywhere;white-space:normal;line-height:1.2;height:auto}
.ws-widget-body .ws-grid th:first-child,.ws-widget-body .ws-grid td:first-child{width:auto}
.ws-widget-body .ws-grid thead th,.ws-widget-body .ws-grid thead tr:nth-child(2) th,.ws-widget-body .ws-grid tfoot th{background:#4b73c5;color:#fff;font-weight:600}
.ws-widget-body .ws-grid tbody tr{background:#e9edf7}
.ws-widget-body .ws-grid tbody tr:nth-child(even){background:#f3f5fa}
.ws-widget-body .ws-grid thead tr:nth-child(2) th:first-child{width:auto}
.ws-widget-body .ws-chart{background:#fff}
.ws-widget-body .ws-kpis{background:#fff;color:#111;gap:12px}
.ws-widget-body .ws-kpis>div{border:1px solid #333;background:#fff;border-radius:0}
.ws-widget-body .ws-kpis strong{color:#111}
.ws-kpis{display:grid;grid-template-columns:repeat(var(--kpi-columns,3),minmax(0,1fr));align-items:stretch;gap:12px;padding:10px;width:100%;box-sizing:border-box}
.ws-kpis>div{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:14px 8px;border:1px solid #777;min-width:0;overflow-wrap:anywhere}
.ws-kpis strong,.ws-widget-body .ws-kpis strong{font-size:var(--kpi-font-size,30px);line-height:1.2;margin:0 0 8px;font-weight:700}
.ws-kpis span{font-size:13px;line-height:1.35;color:#888;white-space:pre-wrap}
.publication-widget-body .ws-kpis>div{background:#fff;border-color:#333;border-radius:0}
.publication-widget-body .ws-kpis strong{color:#111}
.ws-color-legend{display:flex;flex-wrap:wrap;gap:8px 14px;padding:4px 0 8px;font-size:11px;line-height:1.4}
.ws-color-legend>span{display:flex;gap:5px;align-items:center}
.ws-color-legend i{display:inline-block;width:20px;height:12px;border:1px solid #777}
.ws-color-legend small{flex-basis:100%;color:#888}
.ws-grid thead tr:nth-child(3) th{background:#4b73c5;color:white}
.ws-widget-body .ws-grid thead th,.publication-widget-body .ws-grid thead th{background:#4b73c5;color:white;text-align:center}
#table-color-settings input[type=number]{width:100%}
.ws-grid.ws-summary-grid{table-layout:fixed;width:100%}
.ws-grid.ws-summary-grid th,.ws-grid.ws-summary-grid td{min-width:0;overflow-wrap:anywhere;text-align:center}
.ws-summary-grid td span{padding:5px}
.ws-widget-body .ws-summary-grid,.publication-widget-body .ws-summary-grid{font-size:11px}
.ws-widget-body .ws-summary-grid th,.publication-widget-body .ws-summary-grid th{font-size:11px;padding:4px 3px;position:static}

.ws-widget-body .ws-grid thead th{overflow-wrap:normal}
.ws-table-measure{font-size:10px;color:#444;margin-bottom:4px}

.ws-report-page-title{position:absolute;top:18px;left:20px;right:20px;text-align:center;font-size:20px;font-weight:700;color:#111;pointer-events:none}
.ws-report-footer-logo{position:absolute;left:4%;bottom:22px;width:40%;max-height:48px;object-fit:contain;object-position:left bottom;pointer-events:none}
.ws-report-reference .ws-drag{font-size:15px;color:#777;justify-content:center}
.ws-report-reference .ws-drag strong{font-weight:500;text-align:center;flex:1}
.ws-report-grid.ws-report-empty{min-height:220px;height:auto;background-image:none}
.ws-report-empty .ws-empty{padding:36px;text-align:center;color:#666}

.ws-report-library #ws-report-search{width:100%;margin:8px 0 14px}
.ws-report-folder{border:1px solid #444;border-radius:5px;margin:0 0 10px;padding:0 10px;background:#242424}
.ws-report-folder summary{cursor:pointer;padding:12px 0;line-height:1.4;overflow-wrap:anywhere;color:#ddd}
.ws-report-folder summary small{color:#999;margin-left:6px}
.ws-folder-kind h4{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:#999;margin:12px 0 6px}
.ws-folder-object{display:flex;gap:4px;align-items:stretch;margin:0 0 6px}
.ws-folder-object button:first-child{flex:1;min-width:0;margin:0;overflow-wrap:anywhere;text-align:left}
.ws-folder-object button:last-child{width:28px;padding:4px;flex-shrink:0;margin:0}
.ws-folder-object[hidden],.ws-folder-kind[hidden],.ws-report-folder[hidden]{display:none}
.ws-folder-label{font-size:12px;color:#aaa;margin:8px 0;overflow-wrap:anywhere}
.ws-file-folder{display:block;margin:14px 12px 10px;font-size:12px;color:#aaa}
.ws-file-folder select{display:block;margin-top:5px;width:100%;max-width:100%}
.page-heading .eyebrow{line-height:1.5;letter-spacing:.06em}
.login-card h1{font-size:23px;line-height:1.35}
.sidebar-expanded .brand>span{white-space:normal;font-size:12px;line-height:1.4}

.ws-report-layout{grid-template-columns:220px minmax(0,1fr)}
.ws-report-library.ws-card{padding:14px;min-width:0}
.ws-report-library h3{font-size:16px;margin:0 0 12px}
.ws-report-library .ws-folder-object button{font-size:12px}
@media(max-width:800px){.ws-report-layout{grid-template-columns:1fr}.ws-report-library.ws-card{display:block;max-height:280px}}

.ws-report-picker.ws-dialog{width:min(1120px,calc(100vw - 32px));max-width:1120px;height:min(780px,calc(100dvh - 48px));max-height:calc(100dvh - 32px);padding:22px;overflow:hidden}
.ws-report-picker>form{display:flex;flex-direction:column;gap:16px;height:100%;min-height:0}
.ws-report-picker .dialog-heading{margin:0;flex-shrink:0}.ws-report-picker .dialog-heading h2{margin:0;font-size:22px}
.ws-report-picker .dialog-heading button{flex-shrink:0}.ws-report-picker .error{margin:0;flex-shrink:0}.ws-report-picker .error:empty{display:none}
.ws-picker-tools{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:16px;flex-shrink:0}
.ws-picker-tools label{display:block;font-size:13px;color:#aaa;margin:0;min-width:0}.ws-picker-tools input,.ws-picker-tools select{width:100%;margin:6px 0 0;min-height:38px}
.ws-picker-browser{display:grid;grid-template-columns:230px minmax(0,1fr);flex:1;min-height:0;border-top:1px solid #444;border-bottom:1px solid #444}
.ws-picker-folders{display:flex;flex-direction:column;gap:6px;overflow:auto;padding:14px 14px 14px 0;border-right:1px solid #444;min-width:0}
.ws-picker-folders button{display:flex;justify-content:space-between;gap:12px;align-items:center;min-height:44px;padding:10px;text-align:left;flex-shrink:0;background:transparent;border-color:transparent}
.ws-picker-folders button span{min-width:0;overflow-wrap:anywhere;line-height:1.45}.ws-picker-folders small{color:#aaa;flex-shrink:0}.ws-picker-folders [aria-current=page]{background:#3a3a3a;border-color:#606060;color:#fff}
.ws-picker-files{display:flex;flex-direction:column;min-width:0;min-height:0;padding:14px 0 14px 18px}
.ws-picker-result-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:34px;margin-bottom:12px;flex-shrink:0}
.ws-picker-result-heading strong{font-size:13px;font-weight:500;color:#aaa;overflow-wrap:anywhere}.ws-picker-result-heading button{font-size:12px;flex-shrink:0}
.ws-picker-results{display:flex;flex-direction:column;gap:10px;overflow:auto;min-height:0;padding:2px 10px 2px 2px;flex:1}
.ws-picker-item{display:flex;align-items:flex-start;gap:14px;margin:0;padding:16px;border:1px solid #484848;border-radius:7px;background:#242424;cursor:pointer;flex-shrink:0}
.ws-picker-item:hover{background:#303030;border-color:#777}.ws-picker-item.is-selected{background:#303d50;border-color:#8cb5ed}
.ws-picker-item input[type=checkbox]{width:19px;height:19px;min-height:19px;flex:0 0 19px;margin:2px 0 0;accent-color:#8cb5ed}
.ws-picker-item-content{display:flex;flex-direction:column;gap:7px;min-width:0}.ws-picker-item-content strong{font-size:16px;line-height:1.45;overflow-wrap:anywhere;font-weight:500;color:#eee}
.ws-picker-type{font-size:10px;letter-spacing:.05em;color:#aaa;line-height:1.4}.ws-picker-meta{color:#aaa;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.ws-picker-empty{margin:auto;text-align:center;padding:30px 16px;line-height:1.6}.ws-picker-empty p{font-size:13px;color:#aaa}
.ws-picker-selection{display:flex;align-items:center;gap:16px;justify-content:space-between;flex-shrink:0;font-size:14px}.ws-report-picker form>.actions{margin:0;justify-content:flex-end;flex-shrink:0}
@media(max-width:700px){.ws-report-picker.ws-dialog{padding:16px;height:calc(100dvh - 24px);max-height:calc(100dvh - 24px);width:calc(100vw - 20px)}.ws-report-picker>form{gap:12px}.ws-picker-tools{grid-template-columns:minmax(0,1fr) 170px;gap:10px}.ws-picker-browser{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}.ws-picker-folders{flex-direction:row;max-height:110px;padding:10px 0;border-right:0;border-bottom:1px solid #444}.ws-picker-folders button{width:170px}.ws-picker-files{padding:10px 0}.ws-picker-item{padding:12px}.ws-picker-item-content strong{font-size:14px}}
@media(max-width:420px){.ws-picker-tools{grid-template-columns:minmax(0,1fr)}.ws-picker-tools label:last-child{display:flex;align-items:center;gap:12px}.ws-picker-tools select{margin:0;flex:1}.ws-picker-result-heading{flex-wrap:wrap}}

.ws-report-grid{min-height:0}

.ws-import-preview-heading{display:flex;gap:16px;align-items:center;justify-content:space-between;margin:16px 0}
.ws-import-preview-heading h3{margin:0}
.ws-import-changes{border-top:1px solid #444;padding-top:12px;margin:14px 0;font-size:12px;line-height:1.5}
.ws-import-changes summary{cursor:pointer;color:#bbb}
.ws-grid th input[data-column-check]{display:inline-block;width:14px;min-height:14px;height:14px;margin:0 7px 0 0;accent-color:#bbb}
.ws-sheet-fullscreen{position:fixed!important;inset:0;z-index:40;background:#1c1c1c;padding:12px!important;height:100vh;overflow:hidden;display:flex;flex-direction:column}
.ws-sheet-fullscreen>.page-heading{display:none}
.ws-sheet-fullscreen #ws-content{flex:1;min-height:0;display:flex;flex-direction:column}
.ws-sheet-fullscreen .ws-data-workbench{flex:1;min-height:0;display:block;margin:0;height:100%}
.ws-sheet-fullscreen .ws-file-panel{display:none}
.ws-sheet-fullscreen .ws-data-main{height:100%;display:flex;flex-direction:column;min-height:0;padding:0}
.ws-sheet-fullscreen .ws-data-main>.ws-grid-wrap{flex:1;min-height:0;max-height:none;margin:4px 0;overflow:auto}
.ws-sheet-fullscreen .ws-toolbar{flex-shrink:0;margin:0 0 6px;gap:6px}
.ws-sheet-fullscreen .ws-data-main>p,.ws-sheet-fullscreen #ws-history{margin:2px 0;font-size:11px}
.ws-grid tbody tr:hover{background:#303030}
.ws-widget-body .ws-grid tbody tr:hover{background:#eef0f6}
.ws-data-main .ws-grid th:has(button[data-column]){overflow:hidden;white-space:nowrap}
.ws-report-canvas{min-width:0;max-width:100%}
.ws-report-grid{min-width:0;max-width:100%}
.ws-report-page-title{font-size:clamp(12px,1.7vw,20px);line-height:1.25;overflow-wrap:anywhere;z-index:3}
.ws-report-footer-logo{z-index:3}
.ws-report-footer-text,.ws-report-page-number{position:absolute;bottom:12px;font-size:10px;line-height:1.2;color:#666;pointer-events:none;z-index:3}
.ws-report-grid .ws-report-footer-text,.ws-report-grid .ws-report-page-number{bottom:auto}
.ws-report-footer-text{left:4%;right:8%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.ws-report-page-number{right:4%}
.ws-report-cover{position:relative;aspect-ratio:297/210;margin-bottom:18px;background:#fff;border:1px solid #b5b5b5;color:#111;padding:10% 4% 12%;text-align:center;overflow:hidden}
.ws-report-cover h2{font-size:clamp(16px,2.3vw,28px);line-height:1.3;color:#111;overflow-wrap:anywhere}
.ws-report-cover p{color:#666;font-size:14px;white-space:pre-wrap}
.ws-report-cover>img{display:block;object-fit:contain;max-width:65%;width:auto;height:auto;max-height:35%;margin:25px auto 0}
.ws-library-selection{display:flex;align-items:center;gap:18px;margin:14px 0;font-size:13px;flex-wrap:wrap}
.ws-library-selection .ws-check{display:flex;align-items:center;gap:8px;margin:0;cursor:pointer}
.ws-library-selection input[type=checkbox],.ws-library-pick input[type=checkbox]{width:18px;height:18px;min-height:18px;padding:0;margin:0;accent-color:#ddd;cursor:pointer}
.ws-library-move{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin:0 0 16px;padding:14px 16px;border:1px solid #777;border-radius:6px;background:#292929;position:sticky;top:54px;z-index:10}
.ws-library-move[hidden]{display:none}
.ws-library-move strong{align-self:center;white-space:nowrap;font-size:13px}
.ws-library-move>label{font-size:12px;min-width:200px;max-width:420px;flex:1}
.ws-library-move select{display:block;width:100%;margin-top:5px}
.ws-library .ws-card{position:relative}
.ws-library .ws-card-selected{border-color:#ddd;background:#2c2c2c;box-shadow:inset 0 0 0 1px #ddd}
.ws-library-pick{display:flex;align-items:center;gap:6px;float:right;cursor:pointer;font-size:12px;color:#aaa;margin-left:10px}
.sus-header-title{flex:1;overflow:hidden}
.sus-header-logo{display:flex;align-items:center;justify-content:center;flex:0 0 auto;width:168px;height:36px;overflow:hidden;line-height:0;letter-spacing:0}
.sus-header-logo img{display:block;width:100%;height:auto;max-height:36px;object-fit:contain;clip-path:inset(3% 0 6% 0);filter:grayscale(1) invert(1) contrast(1.8) brightness(1.35);mix-blend-mode:screen;opacity:.8}
.sus-header-title #breadcrumb{max-width:100%}
@media(max-width:800px){.sus-header-logo{display:flex;width:126px;height:28px}.sus-header-logo img{max-height:28px}.sus-header-title #breadcrumb{max-width:100%}}
@media(max-width:480px){.topbar{gap:10px}.sus-header-logo{width:104px;height:24px}.sus-header-logo img{max-height:24px}}
.login-screen{min-height:100dvh;padding:32px 20px;background:#1c1c1c}
.login-card{width:min(100%,440px);padding:36px;border:1px solid #414141;border-radius:8px;background:#232323;box-shadow:0 12px 40px #0002;gap:24px}
.login-identity{display:flex;flex-direction:column;align-items:center;text-align:center;gap:16px;padding-bottom:24px;border-bottom:1px solid #3d3d3d}
.login-identity .login-logo{width:224px;max-width:100%;height:48px;margin-bottom:4px}
.login-logo img{max-height:48px}
.login-card .login-platform{font-size:11px;line-height:1.5;letter-spacing:1.4px;text-transform:uppercase;color:#929292}
.login-card h1{font-size:21px;line-height:1.4;font-weight:600;color:#ddd;letter-spacing:0;margin:0}
.login-card>label{font-size:13px;color:#bdbdbd;line-height:1.5}
.login-card input{height:42px;margin-top:8px;background:#1e1e1e;border-color:#484848;font-size:14px}
.login-card input::placeholder{color:#777}
.login-card>.primary{height:42px;font-size:14px;font-weight:600;border-radius:5px}
.login-card #login-error{font-size:13px;line-height:1.5;color:#f3a3a3}
.login-card #login-error:empty{display:none}
@media(max-width:480px){.login-screen{padding:24px 16px}.login-card{padding:28px 24px;gap:22px}.login-card h1{font-size:19px}.login-identity .login-logo{width:200px;height:44px}.login-logo img{max-height:44px}}
.sidebar .nav-button svg,.sidebar #logout svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.sidebar .nav-button,.sidebar #logout{border-radius:12px}
.nav-expanded .sidebar-bottom .icon-button:after{margin-left:0}
@media(max-width:800px){.sidebar .nav-button svg,.sidebar #logout svg{width:21px;height:21px}}
.sidebar nav{overflow-y:auto;overflow-x:hidden;flex-wrap:nowrap;min-height:0;flex-shrink:1;gap:clamp(4px,1vh,10px);scrollbar-width:none}.sidebar-bottom{flex-shrink:0}
.sidebar nav::-webkit-scrollbar,.nav-expanded .sidebar::-webkit-scrollbar{display:none;width:0;height:0}
.sidebar .nav-button{height:clamp(36px,5.3vh,46px);min-height:36px;flex:0 0 auto}
.nav-expanded .sidebar{scrollbar-width:none}
.nav-expanded .rail-label{display:block;min-width:0;white-space:normal;text-align:left}
.sidebar-bottom #account-role{display:none}.nav-expanded .sidebar-bottom #account-role{display:block;font-size:11px;margin:0 13px;color:#999}.nav-expanded .sidebar-bottom #account-name{display:block;font-size:12px;margin:0 13px;color:#ccc;max-width:185px;overflow:hidden;text-overflow:ellipsis}
.login-card #login-credentials{display:grid;gap:18px}.login-card #login-code-step{display:grid;gap:16px}
.ws-owner-bar{padding:10px 30px;border-bottom:1px solid #393939;display:flex;gap:18px;align-items:center;background:#242424}
.ws-owner-bar label{display:flex;gap:12px;align-items:center;white-space:nowrap;font-size:12px;color:#aaa}.ws-owner-bar select{width:240px;margin:0}
.publication-dialog{width:min(920px,calc(100vw - 40px));max-height:90vh}.publication-dialog form{gap:18px}
.publication-source,.publication-output{padding:14px 0;border-bottom:1px solid #454545}.publication-source summary,.publication-output summary{cursor:pointer;font-weight:600;margin-bottom:12px}
.publication-clause{padding:12px;margin:10px 0;border:1px solid #464646;border-radius:6px;background:#222}.publication-predicate{display:grid;grid-template-columns:1fr 1.2fr auto;gap:8px;margin-bottom:8px}
.publication-output-fields{display:flex;flex-wrap:wrap;gap:12px;margin-top:12px}.publication-output-fields label{max-width:300px}
.publication-profile{max-width:600px;padding:28px}.publication-history{padding:14px 0;border-bottom:1px solid #444}
.publication-chart{width:100%;height:clamp(340px,62vh,680px)}.publication-export{margin-left:auto;display:flex;gap:8px}
.publication-pages{width:min(100%,1200px);margin:0 auto;display:grid;gap:24px}.publication-page{position:relative;aspect-ratio:297 / 210;background:#fff;color:#222;overflow:hidden;border:1px solid #aaa}
.publication-page-title{position:absolute;top:2%;left:5%;right:5%;text-align:center;font-size:clamp(12px,1.6vw,23px);color:#111;font-weight:700;margin:0}
.publication-widget{position:absolute;padding:12px 18px;overflow:hidden}.publication-widget h3{text-align:center;color:#666;font-size:clamp(11px,1.15vw,17px);margin:0 0 10px}.publication-widget-body{height:calc(100% - 30px);overflow:auto;min-width:0}.publication-widget-body .publication-chart{height:100%;min-height:140px}
.publication-page .table-wrap{background:#fff;color:#222}.publication-page th{background:#4c6ec0;color:#fff}.publication-page td{background:#fff;color:#333}.publication-page .ws-note{color:#333}
.publication-footer-logo{position:absolute;left:4%;bottom:3%;width:38%;max-height:6%;object-fit:contain;object-position:left center}.publication-footer{position:absolute;left:5%;bottom:1.2%;font-size:10px;color:#666}.publication-page-number{position:absolute;right:4%;bottom:1.2%;font-size:10px;color:#666}
.publication-cover{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:24px;padding:6%;text-align:center}.publication-cover h1{font-size:28px;color:#111}.publication-cover img{max-width:65%;max-height:50%;object-fit:contain}
@media(max-width:700px){.ws-owner-bar{padding:10px 15px;flex-wrap:wrap}.ws-owner-bar label{white-space:normal;width:100%}.ws-owner-bar select{flex:1;max-width:65%}.publication-predicate{grid-template-columns:1fr}.publication-dialog{padding:18px}.publication-widget{padding:5px}.publication-widget h3{margin-bottom:3px}.publication-widget-body{height:calc(100% - 18px)}}
#publication-result,.publication-widget-body{position:relative}
.publication-detail-button{position:absolute;right:8px;top:4px;z-index:2;font-size:12px;padding:5px 8px}
.publication-page .ws-grid-wrap{background:#fff;margin:0;border:0;max-height:none}
.publication-page .ws-grid{background:#fff;width:100%}
.publication-page .ws-grid th,.publication-page .ws-grid thead tr:nth-child(2) th,.publication-page .ws-grid tfoot th{background:#4c6ec0;color:#fff;font-size:clamp(7px,.8vw,12px);padding:4px}
.publication-page .ws-grid td{background:#e9edf6;color:#333;border-color:#fff;min-width:0;font-size:clamp(7px,.8vw,12px);padding:4px;white-space:normal}
.publication-page .ws-grid tr:nth-child(even) td{background:#f2f4fa}
#publications-view a.button,#publications-view a.button:visited{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:7px 11px;border:1px solid #eee;border-radius:5px;background:#eee;color:#111;text-decoration:none;font-size:13px;line-height:1.2}
#publications-view a.button:hover{background:#fff;border-color:#fff}
#publications-view a.button:focus-visible{outline:2px solid #aaa;outline-offset:3px}
.ws-widget-body .ws-report-text,.publication-page .ws-report-text{line-height:1.35;color:#222;white-space:normal;overflow-wrap:anywhere}
.ws-widget-body .ws-report-text[data-role="caption"],.publication-page .ws-report-text[data-role="caption"]{color:#666}
.publication-text-widget>h3{display:none}
.publication-text-widget>.publication-widget-body{height:100%;overflow:auto}
.ws-report-cover,.publication-cover{position:relative;aspect-ratio:297 / 210;min-height:0!important;padding:0!important;background:#fff;overflow:hidden;color:#222}
.ws-report-cover .report-cover-heading,.publication-cover .report-cover-heading{position:absolute;top:6%;left:6%;right:6%;text-align:center}
.ws-report-cover .report-cover-heading h2,.publication-cover .report-cover-heading h1{color:#111;font-size:clamp(18px,2vw,30px);font-weight:700;margin:0 0 12px;line-height:1.25}
.ws-report-cover .report-cover-heading p,.publication-cover .report-cover-heading p{color:#555;font-size:clamp(11px,1.1vw,16px);line-height:1.35;margin:0}
.ws-report-cover img.report-cover-photo,.publication-cover img.report-cover-photo{position:absolute;top:28%;left:7%;width:86%;height:52%;max-width:none;max-height:none;object-fit:contain;margin:0}
.ws-report-cover .report-cover-caption,.publication-cover .report-cover-caption{position:absolute;top:83%;left:7%;right:7%;text-align:center;color:#555;font-size:clamp(10px,1vw,14px);line-height:1.35;margin:0}
.report-cover-editor-preview{display:block;width:100%;max-height:220px;object-fit:contain;background:#fff;border:1px solid #555}
.report-slide-dialog{width:calc(100vw - 24px)!important;max-width:none!important;height:calc(100vh - 24px);max-height:none;padding:0;overflow:hidden}
.report-slide-dialog[open]{display:flex;flex-direction:column}
.slide-editor-heading,.slide-editor-toolbar,.slide-editor-footer{display:flex;align-items:center;gap:12px;padding:12px 18px;border-bottom:1px solid #444;flex-wrap:wrap}
.slide-editor-heading h2{font-size:18px;margin:0;flex:1}.slide-editor-heading label{margin:0}.slide-editor-toolbar span{color:#aaa;font-size:12px}
.slide-upload{border:1px solid #555;border-radius:5px;padding:7px 11px;cursor:pointer;font-size:13px}.slide-upload input{display:none}
.slide-editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;flex:1;min-height:0}
.slide-editor-stage{overflow:auto;display:flex;align-items:center;justify-content:center;padding:28px;background:#161616}
.report-slide-surface{container-type:inline-size;position:relative;aspect-ratio:297/210;overflow:hidden;padding:0!important;text-align:left}
.slide-editor-canvas{width:100%;flex-shrink:0;box-shadow:0 4px 30px #0007;touch-action:none}
.slide-background,.slide-background-overlay{position:absolute;inset:0;width:100%;height:100%;margin:0!important;max-width:none!important;max-height:none!important;pointer-events:none}
.slide-element{position:absolute;box-sizing:border-box;overflow:hidden;line-height:1.25}.slide-element>img{width:100%;height:100%;object-fit:contain;margin:0!important;max-width:none!important;max-height:none!important}
.slide-text-content{font:calc(var(--slide-font) * 1cqw)/1.25 Arial,sans-serif;white-space:normal;overflow-wrap:anywhere;width:100%;height:100%}
.slide-editor-canvas .slide-element{cursor:move;outline:1px dashed #a0a0a070}.slide-editor-canvas .slide-selected{outline:2px solid #3b82f6;overflow:visible}.slide-selected .slide-text-content{overflow:hidden}
.slide-handle{position:absolute;width:12px;height:12px;background:#fff;border:2px solid #3b82f6;z-index:2;transform:translate(-50%,-50%)}
.slide-handle-nw{top:0;left:0;cursor:nwse-resize}.slide-handle-n{top:0;left:50%;cursor:ns-resize}.slide-handle-ne{top:0;left:100%;cursor:nesw-resize}.slide-handle-e{top:50%;left:100%;cursor:ew-resize}.slide-handle-se{top:100%;left:100%;cursor:nwse-resize}.slide-handle-s{top:100%;left:50%;cursor:ns-resize}.slide-handle-sw{top:100%;left:0;cursor:nesw-resize}.slide-handle-w{top:50%;left:0;cursor:ew-resize}
.slide-editor-properties{padding:16px;overflow:auto;border-left:1px solid #444}.slide-editor-properties label{display:block;font-size:12px;margin:10px 0}.slide-editor-properties input,.slide-editor-properties select,.slide-editor-properties textarea{width:100%;margin-top:5px}.slide-editor-properties input[type=checkbox]{width:auto}.slide-editor-properties h3{font-size:15px}.slide-editor-properties .actions{display:flex;flex-wrap:wrap;gap:6px}.slide-editor-properties summary{cursor:pointer;margin-top:18px}.slide-editor-footer{border-top:1px solid #444;border-bottom:0;justify-content:flex-end}.slide-editor-footer .error{margin:0;flex:1}
.ws-report-widget .ws-resize{position:absolute;right:0;bottom:0;width:28px;height:28px;min-height:28px;padding:0;background:#2563eb;color:#fff;border:0;border-radius:5px 0 0;z-index:5;cursor:nwse-resize;touch-action:none}
.ws-report-widget .ws-drag{cursor:move;touch-action:none;flex-shrink:0}.ws-report-widget{min-width:0;min-height:0}.ws-report-widget .ws-widget-body{min-height:0;min-width:0;flex:1;overflow:auto}.ws-report-widget .ws-chart{min-height:0!important;width:100%;height:100%}.ws-report-widget:hover{border-color:#2563eb}
@media(max-width:800px){.slide-editor-layout{grid-template-columns:minmax(0,1fr) 220px}.slide-editor-stage{padding:16px}.slide-editor-toolbar span{display:none}}
.slide-editor-canvas{max-width:calc((100vh - 230px) * 1.414)}
.ws-report-widget{display:flex;flex-direction:column}.ws-report-widget .ws-widget-body{height:auto}.slide-handle{width:18px;height:18px}@media(max-width:600px){.slide-editor-layout{grid-template-columns:1fr;overflow:auto;display:block}.slide-editor-stage{min-height:250px}.slide-editor-canvas{max-width:100%}.slide-editor-properties{max-height:300px;border-left:0;border-top:1px solid #444}.slide-editor-footer{padding:8px}.slide-editor-heading{padding:10px}.slide-editor-heading h2{font-size:15px}}
.ws-authored-text .ws-drag{height:24px;min-height:24px}.ws-authored-text .ws-note{padding:2px}
.slide-background-overlay{background:#000}
.slide-photo-overlay{position:absolute;inset:0;background:#000;pointer-events:none}
.report-object-handle{display:none;z-index:10;touch-action:none}
.ws-report-widget{overflow:visible}
.ws-report-widget.report-object-selected{border-color:#3b82f6;outline:1px solid #3b82f6;z-index:6}
.report-object-selected .report-object-handle{display:block}
.ws-report-widget .ws-widget-body{cursor:move;touch-action:none}
.ws-report-widget .ws-widget-body>.ws-image,.publication-widget-body>.ws-image{width:100%;height:100%;max-width:none;max-height:none;margin:0}
.ws-report-widget .ws-drag strong{pointer-events:none}
.ws-report-widget:focus-visible{outline:2px solid #3b82f6;outline-offset:0}
.slide-editor-canvas{overflow:visible}
.ws-cell-palette{display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding:10px 0;flex-shrink:0}.ws-palette-swatches{display:flex;gap:4px;flex-wrap:wrap}.ws-palette-swatches button{width:24px;height:24px;min-height:24px;padding:0;border:1px solid #888;border-radius:4px}.ws-cell-palette label{display:flex;align-items:center;gap:6px;font-size:12px}.ws-cell-palette input[type=color]{width:34px;height:28px;min-height:28px;padding:2px}.ws-cell-palette [aria-pressed=true]{background:#eee;color:#171717}.ws-painting [data-paint-row]{cursor:crosshair;user-select:none;touch-action:none}.ws-painting [data-paint-row] input,.ws-painting [data-paint-row] button{pointer-events:none}.ws-grid .ws-cell-selected{outline:2px solid #5c94ef;outline-offset:-2px}.ws-grid [data-paint-row] input:not([type=checkbox]),.ws-grid [data-paint-row] button{color:inherit;background:transparent}.ws-grid [data-paint-row] small{color:inherit;opacity:.7}.ws-painting .ws-grid td{border:1px solid #555}
.ws-upload-folder{display:flex;gap:12px;align-items:flex-end;min-width:0}.ws-upload-folder>label{flex:1;min-width:0}.ws-upload-folder>button{min-height:34px;white-space:nowrap}.ws-upload>.actions{margin-top:24px}@media(max-width:650px){.ws-upload-folder{flex-wrap:wrap}.ws-upload-folder>label{flex-basis:100%}}

.ws-folder-toolbar{align-items:flex-end}.ws-folder-toolbar>label{margin:0;min-width:0;max-width:100%}.ws-folder-toolbar>label>select,.ws-folder-toolbar>button{height:34px;min-height:34px}

.ws-folder-toolbar{align-items:flex-end}.ws-folder-toolbar>label{margin:0;min-width:0;max-width:100%}.ws-folder-toolbar>label>select,.ws-folder-toolbar>button{height:34px;min-height:34px}

/* Keep both constructor panels inside the space below the header. */
.application>main:has(.ws-table-builder-screen:not([hidden])){height:100dvh;min-height:0;display:flex;flex-direction:column;overflow:hidden}
.application>main:has(.ws-table-builder-screen:not([hidden]))>.ws-owner-bar{flex-shrink:0}
.ws-table-builder-screen{display:flex;flex-direction:column;flex:1;min-height:0;padding:0;overflow:hidden}
.ws-table-builder-screen[hidden]{display:none}
.ws-table-builder-screen>#ws-content{flex:1;min-height:0}
.ws-table-builder-screen #table-builder-root{height:100%;min-height:0}
.ws-table-builder-screen .table-builder{overflow:hidden}
.ws-table-builder-screen .table-builder-canvas{display:flex;flex-direction:column;height:100%;min-height:0;overflow:hidden}
.table-builder-canvas>.ws-toolbar,.table-builder-canvas>#table-result-count,.table-builder-canvas>#table-builder-error{flex-shrink:0}
.table-builder-canvas>#table-result{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}
.table-builder-canvas #table-result>.ws-grid-wrap{flex:1;min-height:0;max-height:none;margin-bottom:0;overscroll-behavior:contain}
.table-builder-canvas #table-result>.ws-toolbar,.table-builder-canvas #table-result>.ws-color-legend,.table-builder-canvas #table-result>.ws-table-measure{flex-shrink:0}
@media(max-width:1000px){.ws-table-builder-screen .table-builder{grid-template-columns:280px minmax(0,1fr)}}
@media(max-width:650px){.ws-table-builder-screen .table-builder{grid-template-columns:220px minmax(0,1fr)}.table-builder>form{padding:14px}}
.ws-library-tools{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:12px}
.ws-library-tools .ws-toolbar{margin:0}
.ws-library-path{display:flex;align-items:center;gap:12px;min-width:0;overflow-wrap:anywhere;font-size:14px}
.ws-library-path button{background:transparent;border:0;padding:6px 0;white-space:nowrap;color:#bdbdbd}
.ws-library-path [aria-current=page]{color:#eee;font-weight:600}
.ws-library-search{max-width:640px;margin:18px 0 24px}
.ws-library-search>label{display:block;color:#aaa;font-size:12px;margin-bottom:8px}
.ws-library-search>div{display:flex;gap:10px;align-items:center}
.ws-library-search input{flex:1;min-width:0;width:100%;height:38px}
.ws-library-search button[hidden]{display:none}
.ws-library-section-title{font-size:15px;color:#ccc;margin:20px 0 12px;font-weight:600}
.ws-folder-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:12px;margin-bottom:26px}
.ws-folder-card{display:flex;align-items:center;gap:8px;background:#242424;border:1px solid #444;border-radius:7px;padding:6px 10px 6px 6px;min-width:0}
.ws-folder-open{display:flex;align-items:center;gap:14px;min-width:0;flex:1;text-align:left;border:0;background:transparent;padding:14px 12px}
.ws-folder-open>span:first-of-type{flex:1;min-width:0}
.ws-folder-open strong{display:block;font-size:16px;overflow-wrap:anywhere}
.ws-folder-open small{display:block;color:#aaa;font-size:12px;margin-top:6px}
.ws-folder-open svg,.ws-library-location svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.ws-folder-card>button:last-child{border:0;background:transparent;padding:5px 9px;font-size:20px}
.ws-library-location{display:flex;gap:8px;align-items:center;padding:5px 0;margin:6px 0 12px;border:0;background:transparent;color:#bbb;text-align:left;max-width:100%;overflow-wrap:anywhere}
.ws-library-location svg{width:18px;height:18px}
.ws-library .ws-card h2{overflow-wrap:anywhere}
@media(max-width:650px){.ws-folder-grid{grid-template-columns:1fr}.ws-library-search>div{flex-wrap:wrap}.ws-library-search input{flex-basis:100%}}
.ws-extract-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:12px 0;margin:4px 0 8px;border-top:1px solid #444}
.ws-extract-toolbar>label{display:flex;align-items:center;gap:8px;font-size:13px;margin:0}
.ws-extract-toolbar input{width:140px}
.ws-extract-toolbar [aria-pressed=true]{background:#3a536e;border-color:#83b4ed;color:#fff}
.ws-extract-toolbar [data-range-help]{flex-basis:100%}
.ws-range-selecting{cursor:crosshair;user-select:none;touch-action:none}
.ws-range-selecting input,.ws-range-selecting span{pointer-events:none}
.ws-grid .ws-range-selected{box-shadow:inset 0 0 0 2px #79b8ff;position:relative}
.ws-range-selecting tbody .ws-index{cursor:e-resize}
.ws-grid tbody .ws-index.ws-range-selected{background:#3a536e;color:#fff}
.ws-column-letter{display:block!important;font-size:10px;color:#9eaab6;padding:2px 0!important;font-weight:400}
#ws-extract-preview .ws-grid-wrap{max-height:32vh}
.ws-upload-sheets{max-height:45vh;overflow:auto;padding:6px 0}
.ws-upload-sheets .ws-check{padding:8px 12px;border:1px solid #444;border-radius:5px;overflow-wrap:anywhere}
.ws-manual-legend{position:absolute;z-index:5;box-sizing:border-box;padding:calc(6 * var(--legend-unit));color:inherit;line-height:1.3;pointer-events:none}.ws-manual-legend-list{width:100%;height:100%;display:flex;flex-direction:column;gap:calc(8 * var(--legend-unit));overflow:hidden}.ws-manual-legend-list.is-horizontal{flex-direction:row;flex-wrap:wrap;align-content:flex-start}.ws-manual-legend-item{display:flex;gap:calc(8 * var(--legend-unit));align-items:flex-start;flex-shrink:0;max-width:100%}.ws-manual-legend-item>i{display:block;width:calc(12 * var(--legend-unit));height:calc(12 * var(--legend-unit));margin-top:calc((1.3em - 12 * var(--legend-unit))/2);flex-shrink:0;border-radius:2px}.ws-manual-legend-item>span{min-width:0;white-space:pre-wrap;overflow-wrap:normal;word-break:normal}.ws-manual-legend-item>span.has-manual-breaks{white-space:pre}.ws-manual-legend.is-editing{pointer-events:auto;outline:2px solid #6798f8;cursor:move;touch-action:none;background:#6798f80a}.ws-manual-legend.is-editing .ws-manual-legend-list{user-select:none}.ws-manual-legend-bar{position:absolute;left:0;bottom:100%;min-width:100%;height:28px;background:#245db8;color:white;display:flex;gap:10px;align-items:center;padding:2px 7px;font-size:11px;white-space:nowrap;box-sizing:border-box}.ws-manual-legend-bar button{font-size:11px!important;padding:2px 5px!important;min-height:20px!important;background:white;color:#163f7d;border:0;cursor:pointer}.ws-manual-legend-handle{position:absolute;width:10px;height:10px;background:white;border:2px solid #6798f8;box-sizing:border-box}.ws-manual-legend-handle.nw{left:-5px;top:-5px;cursor:nwse-resize}.ws-manual-legend-handle.n{left:calc(50% - 5px);top:-5px;cursor:ns-resize}.ws-manual-legend-handle.ne{right:-5px;top:-5px;cursor:nesw-resize}.ws-manual-legend-handle.e{right:-5px;top:calc(50% - 5px);cursor:ew-resize}.ws-manual-legend-handle.se{right:-5px;bottom:-5px;cursor:nwse-resize}.ws-manual-legend-handle.s{left:calc(50% - 5px);bottom:-5px;cursor:ns-resize}.ws-manual-legend-handle.sw{left:-5px;bottom:-5px;cursor:nesw-resize}.ws-manual-legend-handle.w{left:-5px;top:calc(50% - 5px);cursor:ew-resize}.ws-report-grid .ws-manual-legend{color:#405c6d}.ws-legend-label{display:block;margin:18px 0}.ws-legend-label textarea{display:block;width:100%;margin-top:7px;white-space:pre;resize:vertical}.ws-legend-text-dialog{width:min(850px,94vw)}
.ws-manual-legend-layer{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.publication-widget-body:only-child{height:100%}
.ws-report-widget .ws-widget-body:has(>.ws-chart){display:flex;overflow:hidden}.ws-report-widget .ws-widget-body>.ws-chart{flex:1 1 0;height:auto!important}.publication-widget-body>.publication-chart{min-height:0}
.ws-row-resize{display:block;position:absolute;left:0;right:12px;bottom:0;height:8px;padding:0!important;box-sizing:border-box;border-bottom:2px solid #8199bc;cursor:row-resize;touch-action:none;z-index:6}.ws-row-resize:hover,.ws-row-resize:focus{background:#4878c7;outline:2px solid #fff}.ws-report-widget .ws-summary-grid{cursor:auto;touch-action:pan-x pan-y}.ws-report-widget>.ws-drag{min-height:26px;cursor:move}.ws-summary-grid .ws-cell-content{display:block;white-space:pre-wrap}.ws-summary-grid .ws-cell-content.ws-date-value{white-space:nowrap}
.ws-placement-dialog{width:min(1450px,96vw);max-width:96vw;padding:20px}.ws-placement-layout{display:grid;grid-template-columns:minmax(260px,340px) minmax(0,1fr);gap:20px;height:70vh;min-height:420px}.ws-placement-settings{overflow:auto;padding-right:10px}.ws-placement-settings label{margin-bottom:10px}.ws-placement-numbers{display:grid;grid-template-columns:1fr 1fr;gap:8px}.ws-placement-numbers label{min-width:0}.ws-placement-numbers input{width:100%;box-sizing:border-box}.ws-placement-columns-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:14px}.ws-placement-column{padding:8px 0;border-bottom:1px solid #555}.ws-placement-column>div{display:flex;gap:8px;align-items:center}.ws-placement-column>div label{display:flex;align-items:center;gap:4px;margin:0;font-size:12px}.ws-placement-column button{padding:3px 8px;min-height:26px}.ws-placement-column .ws-check{align-items:flex-start;overflow-wrap:anywhere}.ws-placement-preview{min-width:0;overflow:auto}.ws-placement-paper{aspect-ratio:297/210;background:white;position:relative;width:100%;box-shadow:0 3px 12px #0005}.ws-placement-table{position:absolute;left:1%;right:1%;top:11.1%;bottom:11.1%;overflow:hidden}.ws-placement-preview [data-placement-warning]{color:#ffcf80;min-height:18px}.ws-placement-preview>.ws-toolbar{justify-content:center}.ws-placed-table{position:relative;min-width:0;min-height:0;overflow:hidden!important}.ws-placed-table>.ws-placed-frame{position:absolute;inset:0;max-height:none!important;width:100%;height:100%;margin:0;overflow:hidden!important}.ws-placed-grid{position:absolute;top:0;left:0;transform-origin:top left;border-collapse:collapse}.ws-placed-grid.ws-summary-grid th,.ws-placed-grid.ws-summary-grid td{font-size:var(--placed-font)!important;padding:var(--placed-padding)!important;line-height:1.2;position:relative;overflow-wrap:anywhere;white-space:normal}.ws-placed-grid .ws-cell-content{padding:0!important;height:auto!important;overflow:visible!important}.ws-placed-grid.ws-placed-nowrap .ws-cell-content{white-space:pre!important}.ws-placed-grid thead th{position:relative;top:0!important}.ws-placed-grid .ws-cell-content.ws-date-value{white-space:nowrap}.ws-placed-table>.ws-table-measure,.ws-placed-table>.ws-color-legend{display:none}
@media(max-width:800px){.ws-placement-layout{grid-template-columns:1fr;height:auto;max-height:75vh;overflow:auto;min-height:0}.ws-placement-settings{max-height:35vh}.ws-placement-preview{overflow:visible}.ws-placement-dialog{padding:12px}}
.ws-placement-paper>.ws-placement-table{position:absolute}
.ws-placed-table>.ws-table-measure,.ws-placed-table>.ws-color-legend{display:flex;position:relative;z-index:1;color:#222;background:#fff}
.ws-placement-settings>[data-placement-auto]{width:100%;background:#eee;color:#111;margin-bottom:4px}.ws-placement-settings>details{border-top:1px solid #555;margin-top:14px;padding-top:12px}.ws-placement-settings>details>summary{cursor:pointer;font-weight:600;margin-bottom:12px}.ws-placed-grid .ws-cell-content{overflow-wrap:break-word;word-break:normal}.ws-placed-grid tbody .ws-cell-content{text-align:left}.ws-placed-grid tbody td{vertical-align:top}

/* Wide table previews keep readable columns inside their own scroll area. */
.ws-widget-body .ws-grid-wrap,.publication-widget-body .ws-grid-wrap{max-width:100%;overflow:auto;touch-action:pan-x pan-y;cursor:auto}
.ws-widget-body .ws-summary-grid th,.publication-widget-body .ws-summary-grid th{overflow-wrap:anywhere}
.ws-column-resize{position:absolute;right:0;top:0;bottom:0;width:12px;padding:0!important;box-sizing:border-box;border-right:2px solid #8199bc;cursor:col-resize;touch-action:none;z-index:5}.ws-column-resize:hover,.ws-column-resize:focus{background:#4878c7;outline:2px solid #fff}.ws-date-value{white-space:nowrap}.ws-report-widget>.ws-cell-palette{flex:none;margin:0;padding:6px;gap:5px;font-size:12px;background:#f3f5fa;color:#222}.ws-cell-palette[hidden]{display:none}.ws-report-widget>.ws-cell-palette .ws-palette-swatches button{width:23px;height:23px}.ws-report-widget>.ws-cell-palette button,.ws-report-widget>.ws-cell-palette label{font-size:12px}.ws-report-widget>.ws-cell-palette [data-paint-help]{color:#555}
