.theo-chat-list{display:flex;flex-direction:column;gap:.75rem;max-height:min(60vh,32rem);overflow-y:auto;padding:.25rem;overscroll-behavior:contain}.theo-chat-empty{color:var(--color-gray-600);padding:.5rem 0}.theo-chat-item{display:flex;flex-direction:column;align-items:flex-start;max-width:min(42rem,85%)}.theo-chat-item--own{align-self:flex-end;align-items:flex-end}.theo-chat-item--pending{opacity:.55}.theo-chat-meta{display:flex;gap:.5rem;align-items:baseline;font-size:var(--text-xs);margin-bottom:.25rem}.theo-chat-sender{font-weight:600}.theo-chat-time{color:var(--color-gray-600)}.theo-chat-bubble{background:var(--color-gray-300);border-radius:var(--rounded, .5rem);padding:.5rem .75rem;white-space:pre-line;overflow-wrap:anywhere;line-height:1.4}.theo-chat-item--own .theo-chat-bubble{background:var(--color-blue-300)}.theo-chat-error{margin-top:.75rem}.theo-chat-compose{display:flex;gap:.5rem;align-items:stretch;margin-top:1rem}.theo-chat-input{flex:1;font:inherit;line-height:1.4;padding:.5rem .75rem;border:1px solid var(--color-gray-400);border-radius:var(--rounded, .5rem);background:var(--color-white);resize:vertical;font-size:1rem;min-height:3rem}.theo-chat-input:focus{outline:2px solid var(--color-focus);outline-offset:1px}.theo-chat-send{flex-shrink:0;padding:0 1.25rem;border-radius:var(--rounded, .5rem);background:var(--color-blue-600, #0a85ff);color:var(--color-white);font-weight:600;cursor:pointer}.theo-chat-send[disabled]{background:var(--color-gray-400);cursor:not-allowed}.theo-chat-note{margin-top:.75rem;color:var(--color-gray-600);font-size:var(--text-xs)}@media screen and (max-width:40rem){.theo-chat-item{max-width:100%}.theo-chat-compose{flex-direction:column}.theo-chat-send{padding:.75rem 1.25rem}}


.k-theo-media-section .theo-media-grid{display:grid;grid-template-columns:1fr;gap:.75rem}@media screen and (min-width:40rem){.k-theo-media-section .theo-media-grid{grid-template-columns:repeat(2,1fr)}}@media screen and (min-width:70rem){.k-theo-media-section .theo-media-grid{grid-template-columns:repeat(3,1fr)}}.k-theo-media-section .theo-media-item{background:var(--color-black);border-radius:var(--rounded, 3px);overflow:hidden}.k-theo-media-section .theo-media-preview{display:block;width:100%;aspect-ratio:4 / 3;background:var(--color-black);border:0;padding:0;cursor:pointer}.k-theo-media-section .theo-media-preview img{width:100%;height:100%;object-fit:contain}.k-theo-media-section .theo-media-video{cursor:default}.k-theo-media-section .theo-media-meta{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.375rem .5rem;background:var(--color-gray-900);color:var(--color-white);font-size:var(--text-xs)}.k-theo-media-section .theo-media-filename{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.k-theo-media-section .theo-media-documents{margin-top:.75rem;display:grid;gap:.25rem}.k-theo-media-section .theo-media-documents a{display:flex;align-items:center;gap:.5rem;padding:.5rem;background:var(--color-white);border-radius:var(--rounded, 3px)}.k-theo-media-section .theo-media-size{color:var(--color-gray-600);font-size:var(--text-xs)}.theo-lightbox{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;display:flex;flex-direction:column;background:#000000f2}.theo-lightbox-bar{display:flex;align-items:center;gap:.5rem;padding:.5rem;color:var(--color-white);font-size:var(--text-sm)}.theo-lightbox-title{flex-grow:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.theo-lightbox-stage{position:relative;flex-grow:1;display:flex;align-items:center;justify-content:center;min-height:0;padding:.5rem}.theo-lightbox-media{max-width:100%;max-height:100%;object-fit:contain}.theo-lightbox-nav{position:absolute;top:50%;transform:translateY(-50%)}.theo-lightbox-prev{left:.5rem}.theo-lightbox-next{right:.5rem}.k-theo-work-order-create-dialog .theo-create-error{margin-bottom:1.5rem}.k-theo-work-order-create-dialog .theo-create-media{margin-top:1.5rem}.k-theo-work-order-create-dialog .theo-create-pick{margin-top:.5rem;width:100%;justify-content:center}.k-theo-work-order-create-dialog .theo-create-input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.k-theo-work-order-create-dialog .theo-create-help{margin-top:.5rem;color:var(--color-gray-600);font-size:var(--text-xs)}.k-theo-work-order-create-dialog .theo-create-previews{display:grid;grid-template-columns:repeat(3,1fr);gap:.5rem;margin-top:.75rem}@media screen and (min-width:30rem){.k-theo-work-order-create-dialog .theo-create-previews{grid-template-columns:repeat(4,1fr)}}.k-theo-work-order-create-dialog .theo-create-previews li{position:relative;aspect-ratio:1 / 1;background:var(--color-black);border-radius:var(--rounded, 3px);overflow:hidden}.k-theo-work-order-create-dialog .theo-create-previews img,.k-theo-work-order-create-dialog .theo-create-previews video{width:100%;height:100%;object-fit:cover}.k-theo-work-order-create-dialog .theo-create-remove{position:absolute;top:.25rem;right:.25rem}


.k-kpi-chart{min-width:0;max-width:100%;margin:0;background:var(--color-white);border-radius:var(--rounded);padding:var(--spacing-3)}.k-kpi-chart-legend{display:flex;flex-wrap:wrap;gap:var(--spacing-4);align-items:center;font-size:var(--font-size-small);color:var(--color-text-dimmed);margin-bottom:var(--spacing-3)}.k-kpi-chart-legend i{display:inline-block;width:.65rem;height:.65rem;border-radius:var(--rounded-sm);margin-right:var(--spacing-1)}.k-kpi-chart-interval{margin-inline-start:auto}.k-kpi-chart-scroll{max-width:100%;overflow-x:auto}.k-kpi-chart-bars{display:flex;align-items:flex-end;gap:var(--spacing-1);min-width:100%}.k-kpi-chart-bucket{flex:1 1 0;min-width:0;display:flex;flex-direction:column;gap:var(--spacing-1)}.k-kpi-chart-pair{display:flex;align-items:flex-end;justify-content:center;gap:2px;height:8rem}.k-kpi-chart-pair b{position:relative;width:45%;max-width:1.5rem;min-height:2px;border-radius:var(--rounded-sm) var(--rounded-sm) 0 0}.k-kpi-chart-pair b em{position:absolute;inset-block-start:-1.1em;inset-inline:0;text-align:center;font-size:var(--font-size-tiny);font-style:normal;color:var(--color-text-dimmed)}.k-kpi-chart-bars[data-dense=true] em{display:none}.k-kpi-chart [data-type=created]{background:var(--color-blue-500)}.k-kpi-chart [data-type=closed]{background:var(--color-green-500)}.k-kpi-chart-label{font-size:var(--font-size-tiny);color:var(--color-text-dimmed);text-align:center;white-space:nowrap;min-height:1em;overflow:visible;width:0;margin-inline:auto;display:flex;justify-content:center}.k-kpi-view,.k-kpi-view .k-kpi-body,.k-kpi-view .k-kpi-body>*,.k-kpi-view .k-kpi-filters,.k-kpi-view .k-kpi-groups>*{min-width:0;max-width:100%}.k-kpi-view .k-kpi-filters{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--spacing-3);margin-bottom:var(--spacing-6)}.k-kpi-presets{display:flex;flex-wrap:wrap;gap:var(--spacing-1)}.k-kpi-presets button{padding:var(--spacing-1) var(--spacing-3);border-radius:var(--rounded);background:var(--color-white);font-size:var(--font-size-small);line-height:1.75;cursor:pointer}.k-kpi-presets button[data-active=true]{background:var(--color-black);color:var(--color-white)}.k-kpi-fields{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(10rem,100%),1fr));gap:var(--spacing-2)}.k-kpi-field{display:grid;gap:var(--spacing-1);font-size:var(--font-size-small)}.k-kpi-field>span{color:var(--color-text-dimmed)}.k-kpi-field{min-width:0}.k-kpi-field input,.k-kpi-field select{width:100%;min-width:0;max-width:100%;min-height:2.25rem;padding:var(--spacing-1) var(--spacing-2);background:var(--color-white);border-radius:var(--rounded);font:inherit;font-size:var(--font-size-small)}.k-kpi-note{display:flex;flex-wrap:wrap;gap:var(--spacing-3);align-items:center;font-size:var(--font-size-small);color:var(--color-text-dimmed)}.k-kpi-note button{color:var(--color-blue-700);text-decoration:underline;cursor:pointer}.k-kpi-error{margin-bottom:var(--spacing-6)}.k-kpi-body{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--spacing-6)}.k-kpi-body[data-loading=true]{opacity:.5}.k-kpi-headline{display:flex;flex-wrap:wrap;gap:var(--spacing-2);align-items:baseline;font-size:var(--font-size-small);font-weight:var(--font-bold);margin-bottom:var(--spacing-2)}.k-kpi-headline small{font-weight:var(--font-normal);color:var(--color-text-dimmed)}.k-kpi-statusbar{display:flex;height:1.5rem;border-radius:var(--rounded);overflow:hidden;background:var(--color-gray-200)}.k-kpi-statusbar button{min-width:0;cursor:pointer}.k-kpi-legend{display:flex;flex-wrap:wrap;gap:var(--spacing-4);margin-top:var(--spacing-2);font-size:var(--font-size-small)}.k-kpi-legend i{display:inline-block;width:.65rem;height:.65rem;border-radius:var(--rounded-sm);margin-right:var(--spacing-1)}.k-kpi-view [data-status=New]{background:var(--color-blue-400)}.k-kpi-view [data-status=In-Progress]{background:var(--color-orange-400)}.k-kpi-view [data-status="Waiting for Parts"]{background:var(--color-yellow-400)}.k-kpi-view [data-status=Closed]{background:var(--color-green-400)}.k-kpi-groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(19rem,100%),1fr));gap:var(--spacing-4);align-items:start}.k-kpi-group .k-kpi-table th,.k-kpi-group .k-kpi-table td{padding-inline:var(--spacing-2)}.k-kpi-group .k-kpi-table td:first-child{max-width:11rem;overflow:hidden;text-overflow:ellipsis}.k-kpi-group-title{font-size:var(--font-size-small);font-weight:var(--font-bold);margin-bottom:var(--spacing-2)}.k-kpi-scroll{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;background:var(--color-white);border-radius:var(--rounded)}.k-kpi-table{width:100%;border-collapse:collapse;font-size:var(--font-size-small);white-space:nowrap}.k-kpi-table th,.k-kpi-table td{padding:var(--spacing-2) var(--spacing-3);text-align:start;border-bottom:1px solid var(--color-border)}.k-kpi-table th{color:var(--color-text-dimmed);font-weight:var(--font-normal)}.k-kpi-table th button{font:inherit;color:inherit;cursor:pointer}.k-kpi-table [data-align=end]{text-align:end}.k-kpi-table tbody tr[data-active=true]{background:var(--color-blue-200)}.k-kpi-table tbody tr[title]{cursor:pointer}.k-kpi-table tbody tr:hover{background:var(--color-gray-200)}.k-kpi-table .k-kpi-empty{color:var(--color-text-dimmed)}.k-kpi-badge{display:inline-block;padding:0 var(--spacing-2);border-radius:var(--rounded);font-size:var(--font-size-tiny);line-height:1.5rem}.k-kpi-table abbr{color:var(--color-text-dimmed);font-size:var(--font-size-tiny);text-decoration:none;border-bottom:1px dotted currentColor}.k-kpi-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(12rem,100%),1fr));gap:var(--spacing-2)}.k-kpi-card{min-width:0;padding:var(--spacing-3);background:var(--color-white);border-radius:var(--rounded);box-shadow:var(--shadow)}.k-kpi-card-label{font-size:var(--font-size-small);color:var(--color-text-dimmed)}.k-kpi-card-value{font-size:var(--text-2xl, 1.5rem);font-weight:var(--font-bold);line-height:1.3;overflow-wrap:anywhere}.k-kpi-card-info{font-size:var(--font-size-tiny);color:var(--color-text-dimmed);overflow-wrap:anywhere}@media screen and (max-width:40rem){.k-kpi-presets button{flex:1 1 auto}.k-kpi-tickets,.k-kpi-tickets tbody,.k-kpi-tickets tr,.k-kpi-tickets td{display:block;white-space:normal}.k-kpi-tickets thead{display:none}.k-kpi-tickets tr{padding:var(--spacing-2) var(--spacing-3);border-bottom:1px solid var(--color-border)}.k-kpi-tickets td{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:var(--spacing-1);padding:2px 0;border:0;overflow-wrap:anywhere}.k-kpi-tickets td:before{content:attr(data-label);flex:0 0 6.5rem;margin-inline-end:var(--spacing-1);color:var(--color-text-dimmed)}.k-kpi-tickets td.k-kpi-ticket-title{display:block;font-weight:var(--font-bold);padding-bottom:var(--spacing-1)}.k-kpi-tickets td.k-kpi-ticket-title:before,.k-kpi-tickets td.k-kpi-empty:before{content:none}.k-kpi-tickets td.k-kpi-empty{display:block}}.k-kpi-loader{display:flex;justify-content:center;padding:var(--spacing-10)}
