.report-template-selector,.report-template-library{display:none}
.report-table-settings-group{margin:8px 0 14px;min-width:0}.report-table-settings-body{padding:10px 12px;min-width:0}.report-table-settings-body>label:not(:has(>input[type=checkbox])){display:block;max-width:650px}.report-table-settings-body input,.report-table-settings-body select{min-width:0;max-width:100%}.report-table-settings-body .report-calendar{margin:8px 0;border:0;padding:0}.report-table-settings-body .report-calendar>summary{font-weight:400}.report-chronology-types{border:0;padding:0;margin:12px 0;min-width:0}.report-chronology-types legend{font-weight:600;padding:0}.report-chronology-types label{margin:6px 0!important}
.report-table-settings-group>summary,.report-section-dialog .report-interval-filters>summary{display:block;list-style:none;background:#eceef0;color:#253246;padding:7px 10px;font-weight:600;cursor:pointer}.report-table-settings-group[open]>summary,.report-section-dialog .report-interval-filters[open]>summary{background:#00a0e3;color:white}.report-table-settings-group>summary::-webkit-details-marker,.report-section-dialog .report-interval-filters>summary::-webkit-details-marker{display:none}.report-table-settings-group>summary::after,.report-section-dialog .report-interval-filters>summary::after{content:'⌄';float:right}.report-table-settings-group[open]>summary::after,.report-section-dialog .report-interval-filters[open]>summary::after{content:'⌃'}
#app[data-workspace=reports] .report-template-selector{display:grid;grid-template-columns:70px minmax(0,1fr) 28px;gap:6px;align-items:center;margin-bottom:8px}
.report-template-selector label{margin:0}.report-template-selector select{min-width:0;width:100%}.report-template-selector button{padding:4px}
#app[data-workspace=reports] .report-template-library{display:block;margin:10px -12px 0;border-top:1px solid #d5d9de}
.report-template-library>summary{padding:8px 12px;color:#253246;background:#ebebec;cursor:pointer;font-weight:600}.report-template-library[open]>summary{color:white;background:#00a0e8}
.template-tools{display:flex;align-items:center;gap:8px;padding:8px}.template-tools input{min-width:0;flex:1}.template-tools button{white-space:nowrap;padding:5px 10px}
.template-list{overflow:auto;max-height:42vh}.template-list-row{display:flex;align-items:center;border-bottom:1px solid #dfe2e6;min-height:29px;gap:3px;padding:0 6px}.template-list-row.selected{background:#e8f4fd}
.template-name{text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;flex:1;background:transparent;border:0;color:inherit;padding:5px 3px}.template-list-row .icon-button,.report-section-row .icon-button,.report-column-row .icon-button{flex:none;padding:2px 6px;min-width:26px;height:26px;color:#5d6672;background:transparent;border:0}.template-list-row .danger,.report-section-row .danger{color:#f44}.template-undo{display:flex;align-items:center;gap:8px;padding:4px 8px}
dialog.report-template-dialog{width:800px;height:610px;max-width:96vw;max-height:92dvh;padding:0;overflow:hidden}.report-template-dialog .dialog-head{flex:none;min-height:38px;padding:7px 12px}.report-template-dialog .dialog-head h2{font-size:14px}.report-template-dialog .nested-properties{display:flex;flex-direction:column;flex:1;min-height:0;padding:0;height:calc(100% - 38px)}
.report-editor-body{display:flex;flex-direction:column;min-height:0;flex:1;padding:12px;overflow:auto;gap:10px}.report-editor-identity{display:flex;gap:14px;padding:8px;background:#f6f6f7;flex:none;align-items:center}.report-editor-identity label{display:flex;flex-direction:row;align-items:center;gap:7px;min-width:0;margin:0;font-weight:400}.report-editor-identity input{min-width:70px;max-width:260px}.report-editor-identity select{max-width:280px}.report-editor-content{display:flex;flex-direction:column;flex:1;min-height:0}
.report-editor-tabs{display:flex;justify-content:center;flex:none;border-bottom:1px solid #dfe2e6;gap:3px}.report-editor-tabs button{border:0;border-bottom:3px solid transparent;border-radius:0;background:white;color:#253246;padding:12px}.report-editor-tabs .active{color:#4b88ff;border-bottom-color:#4b88ff}
.report-editor-panel{min-height:0;overflow:auto;flex:1;padding:8px 0}.report-editor-panel[hidden]{display:none}.report-editor-panel label{margin:8px 0}.report-editor-panel>label:not(.checkbox-field){max-width:650px}.report-template-dialog .property-footer{flex:none;padding:10px 12px;min-height:49px}.report-template-dialog .property-footer .error{flex:1;white-space:normal}.report-template-dialog .property-footer button{min-width:82px;padding:6px 12px}
.report-section-row{display:flex;align-items:center;gap:4px;border-bottom:1px solid #dfe2e6;min-height:34px}.report-section-list>.empty{margin-top:110px;text-align:center}
.report-column-row{display:grid;grid-template-columns:28px 28px 22px minmax(80px,1fr) 170px 70px 28px;align-items:center;gap:5px;border-bottom:1px solid #e1e4e8;padding:4px}.report-column-row>input[type=checkbox]{width:14px;height:14px}.report-column-row>select{min-width:0;width:100%;padding:5px}.report-column-row>input{padding:5px;min-width:0}.report-column-row>input[hidden]{visibility:hidden;display:block}.report-column-list{min-height:0}
.template-result-tabs{display:flex;overflow-x:auto;border-bottom:1px solid #dce1e6;flex:none}.template-result-tabs button{white-space:nowrap;border:0;border-bottom:3px solid transparent;border-radius:0;background:white;color:#253246;padding:8px 12px}.template-result-tabs button.active{border-bottom-color:#4b88ff;color:#4b88ff}
.template-result-content{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}.template-result-section{display:flex;flex-direction:column;min-height:0;flex:1;overflow:hidden}.template-result-section h3{margin:8px 12px;font-size:14px}.template-result-section .table-scroll{flex:1;overflow:auto;min-height:0!important;max-height:none!important}.template-result-section table{white-space:nowrap}.template-result-section th{position:sticky;top:0;background:#f6f6f7;z-index:1}.template-result-section th button{border:0;background:none;color:inherit;font-weight:600;padding:0}.template-result-section .table-tools{flex:none;flex-wrap:wrap;gap:5px;padding:7px 10px}.template-result-section .table-tools input{width:65px}.template-result-section .table-tools select{width:auto}.template-result-section .table-tools button{padding:4px 8px}
.report-result-link{display:block;width:100%;text-align:left;background:white;border:0;padding:6px 12px;color:#253246}.report-result-link:hover{background:#e8f4fd}.report-chart-section canvas{width:100%;height:auto;max-height:calc(100% - 100px);min-height:110px;object-fit:fill;flex:1;cursor:crosshair}.report-chart-info{padding:6px 12px;min-height:28px;font-size:13px}.report-chart-section .table-tools small{margin-left:auto}
@media(max-width:650px){.report-editor-identity{flex-wrap:wrap}.report-editor-identity label{flex:1}.report-editor-identity input{width:100%}.report-column-row{grid-template-columns:24px 24px 20px minmax(80px,1fr) 45px 24px;gap:2px}.template-tools{flex-wrap:wrap}.report-template-dialog .property-footer .error{max-height:65px;overflow:auto}}
.report-template-dialog .property-footer{justify-content:flex-end}.template-result-section .table-tools{justify-content:flex-start}.template-result-section .table-tools button{margin-left:0}.template-result-section .table-tools input{min-width:50px;flex:none}.template-result-section .table-tools select{flex:none}.report-chart-section .table-tools button:last-of-type{margin-left:auto}
.report-template-dialog .property-footer>button:nth-child(2){margin-right:0}

.report-editor-panel label:has(>input[type=checkbox]){display:flex;flex-direction:row-reverse;justify-content:flex-end;align-items:center;gap:8px}.report-editor-panel label>input[type=checkbox]{width:auto;margin:0}

.template-result-section tfoot th,.template-result-section tfoot td{position:sticky;top:auto;bottom:0;z-index:2;background:#e8e9eb;font-weight:600;border-top:1px solid #c9cdd2}.template-result-section tfoot th{text-align:left}
@media(max-width:650px){.report-column-row>select{grid-column:4/7;grid-row:2}.report-column-row>input[type=number]{grid-column:5;grid-row:1}.report-column-row>button:last-child{grid-column:6;grid-row:1}}

.template-result-section .report-total-gap td{padding:0;border:0;background:white;line-height:0}

.report-interval-filters{margin-top:14px;border-top:1px solid #d5d9de}.report-interval-filters>summary{padding:10px 0;font-weight:600;cursor:pointer}.report-interval-filters fieldset{margin:8px 0;border:1px solid #d5d9de;border-radius:3px;padding:0 12px 8px;min-width:0}.report-interval-filters legend{padding:0 5px}.report-interval-filters legend label{margin:0}.report-filter-bounds{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.report-filter-bounds input{width:100%;min-width:0}.report-filter-bounds input:disabled{background:#f4f4f5;color:#888}@media(max-width:500px){.report-filter-bounds{grid-template-columns:1fr;gap:0}}

.report-marker-settings{margin-top:14px;padding:12px;border:1px solid var(--line);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.report-marker-settings>label{display:flex;align-items:center;gap:8px;margin:0!important}.report-marker-settings>label input{margin-left:auto}.report-marker-settings legend{font-weight:600}@media(max-width:650px){.report-marker-settings{grid-template-columns:1fr}}

.report-grouping-editor{padding:10px 0}.report-grouping-row{display:grid;grid-template-columns:28px 28px minmax(100px,1fr) 28px minmax(140px,2fr) 28px;gap:6px;align-items:center;padding:8px 0;border-bottom:1px solid var(--line);cursor:grab}.report-grouping-row select{min-width:0;width:100%}.report-group-levels{display:flex;align-items:center;gap:8px;padding:8px 12px;border-bottom:1px solid var(--line);flex:none}.report-group-levels button{min-width:28px}.grouped-report-section .report-group-row td{background:#e8e9eb;font-weight:600}.grouped-report-section .report-group-expander{width:30px;min-width:30px;padding:0 3px;text-align:center}.report-group-expander button{border:1px solid #8e98a3;border-radius:2px;line-height:16px;min-width:18px;padding:0;font-size:15px}.grouped-report-section .report-group-label{min-width:110px;white-space:nowrap}.grouped-report-section tfoot th{white-space:nowrap}@media(max-width:650px){.report-grouping-row{grid-template-columns:24px 24px minmax(80px,1fr) 24px minmax(90px,1fr) 24px;gap:3px}}

.report-group-intervals fieldset{margin:12px 0;padding:10px;border:1px solid var(--line);min-width:0}.report-group-intervals legend{font-weight:600}.report-group-interval-row{display:grid;grid-template-columns:minmax(90px,2fr) minmax(70px,1fr) minmax(80px,1fr) 70px;gap:8px;margin:6px 0;align-items:center}.report-group-interval-row input,.report-group-interval-row select{min-width:0;width:100%}.report-group-intervals .error:empty{display:none}

.report-calendar{border-top:1px solid var(--line);margin-top:12px;padding:8px 0}.report-calendar>summary{font-weight:600;cursor:pointer}.report-calendar fieldset{margin:8px 0;border:1px solid var(--line);padding:10px;min-width:0}.report-calendar-options{display:flex;flex-wrap:wrap;gap:8px 14px}.report-calendar-options label{display:flex!important;align-items:center;gap:5px;margin:0!important;min-width:50px}.report-calendar-options input{width:auto;margin:0}.report-calendar .template-tools{margin-bottom:8px}

.report-shifts{border-top:1px solid var(--line);margin-top:12px;padding:8px 0}.report-shifts>summary{font-weight:600;cursor:pointer}.report-shift-row{display:grid;grid-template-columns:minmax(100px,1fr) 120px auto 120px 32px;align-items:center;gap:8px;margin:8px 0}.report-shift-row input{min-width:0;width:100%}@media(max-width:600px){.report-shift-row{grid-template-columns:1fr auto 1fr 32px}.report-shift-row>input:first-child{grid-column:1/-1}}
.report-settings-group{border-bottom:1px solid var(--line);container-type:inline-size}.report-settings-heading{display:flex;align-items:center;gap:6px;min-height:36px}.report-settings-heading>label{display:flex!important;flex-direction:row!important;align-items:center;gap:7px;margin:0!important;cursor:pointer;font-weight:400}.report-settings-heading input{margin:0;width:13px;height:13px}.report-settings-expand{border:0;background:#64707c;color:white;width:13px;height:13px;padding:0;min-width:13px;border-radius:1px;font-size:13px;line-height:12px;font-weight:bold}.report-settings-body{padding:0 12px 10px 24px}.report-settings-body[hidden]{display:none}.report-settings-body>label:not(:has(>input[type=checkbox])){display:grid;grid-template-columns:minmax(150px,38%) minmax(0,1fr);align-items:center;gap:12px}.report-settings-body input,.report-settings-body select,.report-settings-body textarea{min-width:0;width:100%}.report-settings-body label>input[type=checkbox]{width:auto}.report-date-formats{display:grid;grid-template-columns:1fr 1fr;gap:12px}.report-date-formats label{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px}.report-settings-body .report-marker-settings{margin:0;padding:0;border:0}.report-settings-body .report-shifts{margin:0;padding:0;border:0}.report-settings-group[data-settings-group=description] .report-settings-body>label{display:block}.report-settings-group[data-settings-group=description] textarea{min-height:90px;max-height:240px;resize:vertical}
@container(max-width:500px){.report-settings-body>label:not(:has(>input[type=checkbox])),.report-date-formats{grid-template-columns:1fr;gap:4px}.report-settings-body{padding-left:20px}.report-settings-body .report-marker-settings{grid-template-columns:1fr}}

.report-geofence-selection{border:0;padding:0;margin:8px 0;min-width:0}.report-geofence-list{max-height:230px;overflow:auto;border:1px solid var(--line);padding:8px;margin:6px 0}


.report-export-toolbar{display:flex;justify-content:flex-end;flex:none;padding:4px 10px;border-bottom:1px solid #dfe3e9}
.report-export-menu{position:relative}.report-export-menu>summary{cursor:pointer;list-style:none;border:1px solid #c8cdd5;border-radius:3px;padding:4px 14px;color:#006bb6}
.report-export-choices{position:absolute;right:0;top:100%;z-index:20;display:flex;flex-direction:column;min-width:130px;padding:5px;background:white;border:1px solid #c8cdd5;box-shadow:0 3px 8px #0002}
.report-export-menu:not([open]) .report-export-choices{display:none}.report-export-choices button{text-align:left;border:0}
.report-export-dialog{width:min(650px,calc(100vw - 24px));height:min(540px,calc(100dvh - 24px));max-width:calc(100vw - 24px)}
.report-export-dialog .property-panel{display:flex;flex-direction:column;gap:14px;min-height:0;overflow:auto;padding:16px}
.report-export-dialog fieldset{margin:0;border:0;padding:0;min-width:0}.report-export-dialog legend{font-weight:bold;margin-bottom:8px}.report-export-dialog label{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:6px 0}
.report-export-dialog input:not([type=checkbox]),.report-export-dialog select{min-width:0;width:65%}.report-export-dialog label:has(input[type=checkbox]){flex-direction:row-reverse;justify-content:flex-end}.report-export-options{margin:8px 0 16px 24px;padding-left:12px;border-left:2px solid #e8ecf1}.report-export-options[hidden]{display:none}

.report-export-dialog .property-panel>label,.report-export-dialog .report-export-options>label{flex-direction:row;text-align:left;justify-content:space-between}
.report-export-dialog .property-footer{justify-content:flex-end}.report-export-dialog .property-footer .error{flex:1}.report-export-dialog .property-footer>button:nth-child(2){margin-right:0}.report-export-dialog .property-footer button:last-child{margin-left:0}
.template-tools select.template-resource{width:110px;flex:0 0 110px}
