:root{--app-bg:#f3f5f8;--surface:#fff;--surface-subtle:#f7f8fa;--text:#172033;--text-secondary:#687386;--border:#dfe4ea;--border-subtle:#edf0f4;--shadow:0 10px 28px #17203312;--brand:#2563eb}:root[data-theme=dark]{--app-bg:#0f1117;--surface:#151922;--surface-subtle:#1a1f2a;--text:#edf1f7;--text-secondary:#9ba7b9;--border:#2b3240;--border-subtle:#222936;--shadow:0 12px 32px #0000003d}html,body{background:var(--app-bg);color:var(--text);height:100%;margin:0;overflow:hidden}#root,.ant-app,.ant-layout{min-width:0;height:100%}.ant-layout-content{min-width:0}.admin-shell{height:100vh;min-height:0;overflow:hidden}.admin-shell__sider{border-right:1px solid var(--border);height:100vh;overflow:hidden;background:var(--surface)!important}.admin-shell__sider .ant-layout-sider-children{box-sizing:border-box;flex-direction:column;min-height:0;padding-bottom:48px;display:flex}.admin-shell__sider .ant-menu{flex:1;min-height:0;overflow:hidden auto}.admin-shell__main{background:var(--app-bg);min-width:0;min-height:0;overflow:hidden}.admin-shell__content{background:var(--app-bg);min-height:0;overflow:auto}.route-loading{place-items:center;min-height:45vh;display:grid}:where(button,a,input,textarea,[tabindex]):focus-visible{outline:2px solid var(--brand);outline-offset:2px}.admin-brand{border-bottom:1px solid var(--border-subtle);white-space:nowrap;align-items:center;gap:10px;height:64px;padding:0 16px;display:flex}.admin-brand__mark{background:var(--brand);color:#fff;border-radius:6px;flex:0 0 32px;place-items:center;width:32px;height:32px;font-size:17px;display:grid}.admin-brand__name{letter-spacing:0;font-size:17px;font-weight:650}.admin-shell__header{border-bottom:1px solid var(--border);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);justify-content:space-between;align-items:center;height:56px;padding:0 20px;line-height:56px;display:flex;background:color-mix(in srgb, var(--surface) 94%, transparent)!important}.admin-shell__location{color:var(--text-secondary);font-size:13px}.page-container{max-width:100%;overflow-x:hidden}.page-container__header{background:var(--surface);border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:20px;min-height:68px;padding:0 24px;display:flex}.page-container__header h1{letter-spacing:0;margin:0;font-size:22px;font-weight:650;line-height:30px}.page-container__header p{color:var(--text-secondary);margin:3px 0 0;font-size:13px}.page-container__actions{align-items:center;gap:8px;display:flex}.page-container__body{padding:20px 24px 28px}.toolbar{flex-wrap:wrap;gap:8px;margin-bottom:16px;display:flex}.section-alert{margin-bottom:16px}.query-panel{background:var(--surface);border:1px solid var(--border);border-radius:8px;margin-bottom:12px;padding:16px}.query-panel .ant-form-item{margin-bottom:0}.query-panel .ant-form{row-gap:12px;width:100%}.query-panel__buttons{margin-left:auto;margin-inline-end:0!important}.list-toolbar{justify-content:space-between;align-items:center;gap:12px;min-height:44px;margin-bottom:12px;display:flex}.list-toolbar__heading{align-items:baseline;gap:10px;min-width:0;display:flex}.list-toolbar__summary{color:var(--text-secondary);font-size:13px;line-height:32px}.form-drawer__footer{justify-content:flex-end;display:flex}.form-drawer__description,.form-drawer__error{margin-bottom:16px!important}.table-cell--nowrap{white-space:nowrap}.page-container .ant-table-wrapper{max-width:100%;overflow-x:auto}.page-container__body>.ant-table-wrapper,.dashboard-table-section .ant-table-wrapper{border:1px solid var(--border);background:var(--surface);border-radius:8px;overflow:hidden}.dashboard-section+.dashboard-section{margin-top:24px}.dashboard-section>.ant-typography,.dashboard-table-section>.ant-typography{margin-top:0;margin-bottom:12px}.dashboard-metric-strip{background:var(--surface);border:1px solid var(--border);border-radius:8px;grid-template-columns:repeat(6,minmax(0,1fr));display:grid;overflow:hidden}.dashboard-metric-strip--tasks{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-metric-strip__item{border-left:1px solid var(--border-subtle);min-width:0;padding:18px 20px;position:relative}.dashboard-metric-strip__item:first-child{border-left:0}.dashboard-metric-strip__item:before{content:"";background:var(--brand);width:3px;position:absolute;inset:0 auto 0 0}.dashboard-metric-strip__item:nth-child(3n+2):before{background:#0f8b76}.dashboard-metric-strip__item:nth-child(3n):before{background:#c07a16}.dashboard-table-grid{margin-top:24px}.dashboard-table-section{min-width:0}.dashboard-table-section--recent{margin-top:24px}.login-shell{background:var(--app-bg);place-items:center;min-height:100vh;padding:24px;display:grid;position:relative}.login-shell__theme{position:absolute;top:20px;right:20px}.login-panel{border-color:var(--border);width:min(400px,100%);box-shadow:var(--shadow)}.login-panel__brand{background:var(--brand);color:#fff;border-radius:7px;place-items:center;width:42px;height:42px;margin-bottom:18px;font-size:21px;display:grid}.login-panel .ant-typography{margin-top:0}.page-container .ant-form-inline .ant-form-item{margin-bottom:8px}.ant-modal-content .ant-modal-body{max-height:calc(100vh - 220px);overflow-y:auto}.llm-config-form{flex-direction:column;gap:16px;display:flex}.llm-form-section{border-top:1px solid var(--border-subtle);padding-top:14px}.llm-form-section:first-child{border-top:0;padding-top:0}.llm-form-section__header{justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:12px;display:flex}.llm-form-section__header .ant-typography-secondary{font-size:12px}.llm-form-grid{gap:12px;display:grid}.llm-form-grid--two{grid-template-columns:repeat(2,minmax(0,1fr))}.llm-form-grid--three{grid-template-columns:repeat(3,minmax(0,1fr))}.llm-model-input-row{align-items:flex-start;gap:12px;display:flex}.llm-model-input-row__models{flex:1}.llm-model-input-row__button{margin-top:30px}@media (width<=575px){.admin-brand{padding:0 12px}.admin-shell__header{height:52px;padding:0 12px;line-height:52px}.page-container__header{flex-direction:column;justify-content:center;align-items:flex-start;gap:8px;min-height:58px;padding:0 12px}.page-container__actions{width:100%}.page-container__header h1{font-size:20px}.page-container__body{padding:12px}.query-panel .ant-form-inline .ant-form-item,.query-panel .ant-form-inline .ant-form-item-control{width:100%}.query-panel .ant-form-inline .ant-form-item,.query-panel .ant-form-inline .ant-form-item-row{display:block}.query-panel .ant-form-inline .ant-form-item-label{text-align:left;padding-bottom:4px}.query-panel .ant-form-inline .ant-form-item-label>label{white-space:nowrap;height:auto}.query-panel .ant-form-inline .ant-select,.query-panel .ant-form-inline .ant-input,.query-panel .ant-form-inline .ant-input-number{width:100%!important}.query-panel__buttons{width:100%;margin-left:0}.query-panel__buttons .ant-space,.query-panel__buttons .ant-space-item,.query-panel__buttons .ant-btn{width:100%}.list-toolbar{flex-direction:column;align-items:flex-start}.list-toolbar>.ant-space{width:100%;display:flex}.list-toolbar>.ant-space .ant-space-item{flex:1}.list-toolbar>.ant-space .ant-btn{width:100%}.form-drawer .ant-drawer-content-wrapper{max-width:100vw;width:100%!important}.page-container .ant-table-wrapper,.page-container__body>.ant-table-wrapper,.dashboard-table-section .ant-table-wrapper{overflow-x:auto}.page-container .ant-table{min-width:720px}.page-container .ant-table-thead>tr>th{white-space:nowrap}.ant-drawer-body .ant-table-wrapper{overflow-x:auto}.ant-drawer-body .ant-table{min-width:720px}.dashboard-metric-strip,.dashboard-metric-strip--tasks{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-metric-strip__item{border-top:1px solid var(--border-subtle);padding:14px 12px}.dashboard-metric-strip__item:nth-child(-n+2){border-top:0}.dashboard-metric-strip__item:nth-child(odd){border-left:0}.dashboard-table-grid,.dashboard-table-section--recent,.dashboard-section+.dashboard-section{margin-top:20px}.login-shell{padding:16px}.ant-modal-content .ant-modal-body{max-height:calc(100vh - 180px)}.llm-form-section__header{flex-direction:column;align-items:flex-start}.llm-form-grid--two,.llm-form-grid--three{grid-template-columns:1fr}.llm-model-input-row{flex-direction:column}.llm-model-input-row__button{width:100%;margin-top:0}}
