:root{color:#202842;background:#f4f6fb;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{min-width:320px;margin:0}button,select,input{font:inherit}button{min-height:40px;border:0;border-radius:8px;background:#615fff;color:#fff;font-weight:800;padding:0 14px;cursor:pointer}button:disabled{background:#eef1f7;color:#8791a8;cursor:not-allowed}.app-shell{display:grid;grid-template-columns:248px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;display:flex;flex-direction:column;height:100vh;border-right:1px solid #e8ebf3;background:#fff;padding:24px 20px}.brand-lockup{display:flex;align-items:center;gap:12px;min-height:44px;margin-bottom:34px}.brand-mark,.metric-icon{display:inline-flex;align-items:center;justify-content:center;border-radius:50%;color:#fff;font-weight:900}.brand-mark{width:38px;height:38px;background:#615fff;font-size:.82rem}.brand-lockup strong{display:block;font-size:1.05rem}.brand-lockup small,.nav-group>span,.topbar p,.section-heading span,.panel-heading span,.muted,small,dt{color:#72809a}.nav-group{display:grid;gap:8px}.nav-group>span{margin:0 0 6px 4px;font-size:.72rem;font-weight:900;text-transform:uppercase}.nav-button{display:flex;align-items:center;justify-content:flex-start;gap:10px;width:100%;background:transparent;color:#3b4560;font-weight:800}.nav-button span{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:8px;background:#f1f3fb;color:#69748e;font-size:.74rem}.nav-button.active{background:#f0edff;color:#615fff}.nav-button.active span{background:#615fff;color:#fff}.content-shell{min-width:0}.topbar{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:76px;border-bottom:1px solid #e8ebf3;background:#fff;padding:16px 32px}.topbar p,.topbar h1,h2,h3{margin:0}.topbar p{margin-bottom:4px;font-weight:800}h1{font-size:1.35rem;letter-spacing:0}h2{font-size:1rem;letter-spacing:0}h3{font-size:.95rem}.workspace{padding:28px 32px 44px}.toolbar,.action-row,.inline-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.secondary-button{background:#fff;color:#3b4560;box-shadow:inset 0 0 0 1px #e1e5ef}.mini-button{min-height:32px;margin-top:8px;background:#f2f4fa;color:#615fff;padding:0 10px;font-size:.78rem}.metrics-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:22px}.metric,.panel{border:1px solid #e8ebf3;border-radius:8px;background:#fff;box-shadow:0 14px 30px #232a460a}.metric{display:flex;align-items:center;gap:16px;min-height:122px;padding:22px}.metric-icon{flex:0 0 auto;width:50px;height:50px}.metric-icon.green{background:#38d181}.metric-icon.blue{background:#20b7e8}.metric-icon.violet{background:#7c4dff}.metric-icon.amber{background:#ff9f51}.metric strong{display:block;color:#202842;font-size:1.55rem;line-height:1.1}.metric span:not(.metric-icon){display:block;margin-top:5px;color:#72809a;font-weight:800}.notice,.error,.empty{border-radius:8px;padding:14px 16px}.notice{background:#e9f9f0;color:#187044}.error{background:#fff0ed;color:#9a2f24}.empty{color:#72809a}.management-layout{display:grid;grid-template-columns:minmax(0,1fr) 430px;gap:20px;align-items:start}.manual-create-panel{margin-bottom:20px}.panel{min-width:0;overflow:hidden}.section-heading,.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:70px;padding:16px 20px;border-bottom:1px solid #eef1f7}.compact-heading{min-height:0;border-bottom:0;padding:0 0 12px}.table-scroll{max-height:calc(100vh - 310px);overflow:auto}.table-toolbar{display:grid;grid-template-columns:minmax(220px,1fr) minmax(150px,.45fr) minmax(150px,.45fr);gap:12px;border-bottom:1px solid #eef1f7;padding:14px 20px}.table-toolbar label{display:grid;gap:6px}.table-toolbar span{color:#72809a;font-size:.72rem;font-weight:900;text-transform:uppercase}table{width:100%;min-width:900px;border-collapse:collapse}th,td{padding:13px 16px;border-top:1px solid #eef1f7;text-align:left;vertical-align:top}th{position:sticky;top:0;z-index:1;background:#fff;color:#72809a;font-size:.72rem;text-transform:uppercase}tbody tr{cursor:pointer}tbody tr:hover,.selected-row{background:#f7f8fc}td a{color:#202842;font-weight:900;line-height:1.3;text-decoration:none}td small{display:block;margin-top:5px}.status{display:inline-flex;align-items:center;min-height:24px;border-radius:999px;padding:0 9px;background:#eef1f7;color:#3b4560;font-size:.78rem;font-weight:900;text-transform:capitalize}.status-active,.status-succeeded{background:#ddf7e8;color:#187044}.status-profiling,.status-discovered{background:#fff1d9;color:#7b5514}.status-queued,.status-running{background:#e9f1ff;color:#27519c}.status-failed,.status-deprecated{background:#ffe1dd;color:#9a2f24}.lock-pill,.lock-text{display:inline-flex;align-items:center;width:fit-content;border-radius:999px;background:#fff1d9;color:#7b5514;font-size:.72rem;font-weight:900}.lock-pill{gap:8px;min-height:24px;margin-top:8px;padding:0 9px}.lock-pill button{min-height:18px;border-radius:999px;padding:0 7px;background:#fff;color:#7b5514;font-size:.68rem;box-shadow:none}.lock-text{min-height:20px;margin:0 0 4px;padding:0 7px}.detail-panel{position:sticky;top:18px;max-height:calc(100vh - 36px);overflow:auto;padding-bottom:18px}.detail-panel>.action-row,.detail-panel>.fact-grid,.detail-panel>.profile-box,.detail-panel>.lot-preview,.detail-panel>.edit-box{margin:16px 20px 0}.fact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.fact-grid div{border-top:1px solid #eef1f7;padding-top:10px}dt{font-size:.72rem;font-weight:900;text-transform:uppercase}dd{margin:5px 0 0;line-height:1.35;font-weight:800}.edit-box,.profile-box{border:1px solid #eef1f7;border-radius:8px;background:#f8f9fd;padding:14px}.profile-box p{margin:8px 0}.profile-box ul{margin:10px 0 0;padding-left:18px}.profile-box li{margin-bottom:6px}.admin-form{display:grid;gap:12px}.create-form{grid-template-columns:repeat(4,minmax(0,1fr));padding:16px 20px 20px}.admin-form label{display:grid;gap:7px;color:#3b4560;font-size:.86rem;font-weight:900}select,input{min-height:40px;width:100%;border:1px solid #dfe4ee;border-radius:8px;background:#fff;color:#202842;padding:0 12px}.compact-select{width:auto;min-width:150px}.toggle-row{display:flex!important;grid-template-columns:none!important;align-items:center;gap:10px!important}.toggle-row input{width:18px;min-height:18px}.lot-preview{display:flex;flex-direction:column;min-height:180px}.mini-toolbar{display:grid;grid-template-columns:minmax(0,1fr) minmax(120px,.45fr) minmax(120px,.45fr);gap:8px;margin-bottom:10px}.lot-preview-list{max-height:320px;overflow-y:auto;padding-right:4px}.lot-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;width:100%;min-height:0;border-top:1px solid #eef1f7;border-radius:0;background:transparent;color:#202842;padding:12px 0;text-align:left}.lot-row:hover,.lot-row.active{background:#f0edff}.lot-row span:first-child{min-width:0}.lot-row strong,.lot-row small{display:block}.lot-row strong{margin-bottom:4px}.lot-row span:last-child{text-align:right;font-weight:800}.lot-edit-box{margin-bottom:8px}.audit-list{display:grid;gap:10px}.audit-list article{border-top:1px solid #eef1f7;padding-top:10px}.audit-list article:first-child{border-top:0;padding-top:0}.audit-list strong,.audit-list small{display:block}.audit-list small{margin-top:4px}.jobs-section{margin-top:20px}.job-list{padding:0 20px 10px}.job-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,auto);gap:16px;border-top:1px solid #eef1f7;padding:14px 0}.job-row strong,.job-row small,.job-row p{display:block}.job-row strong{margin-top:8px}.job-row p,.job-row small{margin:4px 0 0;color:#72809a}.job-row div:last-child{text-align:right}@media(max-width:1100px){.metrics-grid,.management-layout,.create-form{grid-template-columns:1fr}.detail-panel{position:static;max-height:none}}@media(max-width:820px){.app-shell{grid-template-columns:1fr}.sidebar{position:static;height:auto;padding:16px}.nav-group{grid-template-columns:repeat(2,minmax(0,1fr))}.topbar,.toolbar,.table-toolbar,.mini-toolbar,.section-heading,.panel-heading,.job-row{align-items:stretch;grid-template-columns:1fr;flex-direction:column}.workspace{padding:20px 16px 34px}.job-row div:last-child{text-align:left}}@media(max-width:560px){.metrics-grid,.nav-group,.fact-grid,.table-toolbar,.mini-toolbar{grid-template-columns:1fr}}
