*{box-sizing:border-box}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Microsoft YaHei,sans-serif;background:#f7f9fd;color:#0f172a}button,input,select,textarea{font:inherit}button{cursor:pointer}.auth-loading-screen,.login-page{min-height:100vh;background:radial-gradient(circle at 12% 24%,rgba(212,228,255,.42),transparent 18%),radial-gradient(circle at 88% 16%,rgba(173,203,255,.36),transparent 20%),radial-gradient(circle at 82% 78%,rgba(192,216,255,.32),transparent 18%),linear-gradient(180deg,#f5f9ff,#eef5ff)}.auth-loading-screen{display:grid;place-items:center;padding:24px}.auth-loading-card{min-width:280px;padding:28px 32px;border:1px solid rgba(213,225,244,.9);border-radius:24px;background:#ffffffeb;box-shadow:0 24px 64px #2748821f;text-align:center}.login-page{display:grid;place-items:center;padding:40px 24px}.login-shell{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);width:min(88vw,1080px);min-height:min(620px,calc(100vh - 120px));border:1px solid rgba(216,226,242,.9);border-radius:32px;overflow:hidden;background:#ffffffe6;box-shadow:0 20px 58px #27488214}.login-showcase,.login-panel{min-width:0}.login-showcase{display:grid;align-content:start;gap:24px;padding:34px 34px 30px;background:radial-gradient(circle at 24% 16%,rgba(255,255,255,.95),transparent 22%),radial-gradient(circle at 82% 14%,rgba(158,194,255,.2),transparent 18%),linear-gradient(180deg,#f1f7fffa,#e9f2ffe6)}.login-hero-illustration{position:relative;height:178px}.login-robot-head{position:absolute;left:50%;top:44px;display:flex;width:104px;height:68px;align-items:center;justify-content:center;gap:14px;border-radius:28px;background:linear-gradient(135deg,#11284d,#163d7a);transform:translate(-50%);box-shadow:0 18px 34px #1f5ab42e}.login-robot-head span{width:12px;height:20px;border-radius:999px;background:#2de5ef}.login-float-card{position:absolute;border:8px solid rgba(255,255,255,.86);border-radius:22px;background:linear-gradient(135deg,#3678ffeb,#b3d2ff80);box-shadow:0 18px 38px #2563eb29}.login-float-card-a{top:10px;right:118px;width:114px;height:82px;transform:rotate(7deg)}.login-float-card-b{top:92px;right:172px;width:88px;height:62px;transform:rotate(-3deg)}.login-spark{position:absolute;color:#f8b845;font-size:28px}.login-spark-a{left:122px;top:40px}.login-spark-b{left:104px;top:110px}.login-orbit{position:absolute;top:34px;right:78px;bottom:10px;left:78px;border:1px solid rgba(157,189,244,.44);border-radius:50%}.login-copy h1{margin:0 0 10px;color:#10254a;font-size:32px;line-height:1.18;font-weight:800}.login-copy p{margin:0;color:#5f6f89;font-size:15px;line-height:1.65}.login-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.login-feature-card{display:grid;justify-items:center;align-content:center;gap:10px;min-height:132px;padding:18px 16px;border-radius:20px;background:#fffffff5;box-shadow:0 14px 34px #2748820f;text-align:center}.login-feature-icon{display:grid;width:46px;height:46px;place-items:center;border-radius:14px;color:#fff;box-shadow:0 10px 22px #0d64ff24}.login-feature-icon svg{width:22px;height:22px}.login-feature-icon.blue{background:linear-gradient(135deg,#2c7dff,#5aa6ff);box-shadow:0 10px 22px #2c7dff38}.login-feature-icon.green{background:linear-gradient(135deg,#37d87b,#14c763);box-shadow:0 10px 22px #20c76538}.login-feature-icon.purple{background:linear-gradient(135deg,#b25cff,#7d46ff);box-shadow:0 10px 22px #7d46ff38}.login-feature-card strong{color:#10254a;font-size:19px;font-weight:800}.login-feature-card span{max-width:9em;color:#607089;font-size:14px;line-height:1.5;text-wrap:balance;word-break:keep-all;overflow-wrap:normal}.login-flow-card{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;padding:18px 20px;border-radius:20px;background:#fffffff5;box-shadow:0 14px 34px #2748820f}.login-flow-step{position:relative;display:grid;justify-items:center;gap:8px;grid-template-rows:28px auto;color:#7a869a;text-align:center}.login-flow-step:not(:last-child):after{position:absolute;top:14px;left:calc(50% + 14px);width:calc(100% - 20px);height:2px;background:#dbe4f1;content:""}.login-flow-step.done:not(:last-child):after{background:#36c77b}.login-flow-step.current:not(:last-child):after{background:linear-gradient(90deg,#1d6bff 30%,#dbe4f1 30%)}.login-flow-step i{z-index:1;display:grid;width:28px;height:28px;place-items:center;border-radius:50%;flex-shrink:0;margin:0;background:#dbe4f1;color:#607089;font-style:normal;font-size:12px;font-weight:800}.login-flow-step.done i{background:#36c77b;color:#fff}.login-flow-step.current i{background:#1d6bff;color:#fff;box-shadow:0 12px 26px #1d6bff38}.login-flow-step span{color:#52627a;font-size:12px;font-weight:800}.login-panel{display:grid;align-items:center;padding:36px 32px;background:linear-gradient(180deg,#fffffffa,#fcfdfff5)}.login-form{display:grid;gap:18px;width:min(390px,100%);margin:0 auto}.login-form-head h2{margin:0;color:#102b63;font-size:34px;font-weight:800}.login-field{display:grid;gap:10px}.login-field span{color:#102b63;font-size:16px;font-weight:800}.login-field input{width:100%;min-height:54px;border:1px solid #d7e2f3;border-radius:14px;padding:0 16px 0 46px;background:#fff;color:#10254a;font-size:16px;box-shadow:0 1px 2px #0f172a05;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}.login-field input::placeholder{color:#9fb0cb}.login-field input:focus{outline:none;border-color:#2a6cff;box-shadow:0 0 0 3px #2a6cff1f}.login-input-wrap,.login-password-wrap{position:relative}.login-input-icon{position:absolute;left:14px;top:50%;display:grid;width:18px;height:18px;place-items:center;color:#345fa8;transform:translateY(-50%);pointer-events:none}.login-input-icon svg{width:18px;height:18px}.login-password-wrap input{padding-right:46px}.login-password-toggle{position:absolute;right:12px;top:50%;display:grid;width:28px;height:28px;place-items:center;border:0;border-radius:999px;background:transparent;color:#7d8daa;transform:translateY(-50%)}.login-password-toggle:hover{background:#2a6cff14;color:#2a6cff}.login-password-toggle svg{width:18px;height:18px}.login-remember{display:inline-flex;align-items:center;gap:10px;color:#52627a;font-size:14px;font-weight:700}.login-remember input{width:16px;height:16px;margin:0;accent-color:#2a6cff}.login-error{padding:12px 14px;border:1px solid #fecaca;border-radius:12px;background:#fff1f2;color:#dc2626;font-size:14px;font-weight:700}.login-submit{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:54px;border:0;border-radius:14px;background:linear-gradient(135deg,#0b62ff,#1d6bff);color:#fff;font-size:17px;font-weight:800;box-shadow:0 12px 24px #0d64ff29}.login-submit-icon{display:grid;width:18px;height:18px;place-items:center}.login-submit-icon svg{width:18px;height:18px}.login-submit:disabled{opacity:.72}.app-shell{display:flex;min-height:100vh;background:radial-gradient(circle at 80% 0%,rgba(76,129,255,.08),transparent 30%),linear-gradient(180deg,#fbfdff,#f6f8fc)}.app-sidebar{position:sticky;top:0;display:flex;flex:0 0 250px;flex-direction:column;height:100vh;padding:24px 18px;border-right:1px solid #e9eef7;background:#ffffffd1;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.app-brand{display:flex;align-items:center;gap:12px;min-height:44px;color:#111827;font-size:20px;font-weight:900}.brand-mark{display:grid;width:42px;height:42px;place-items:center;border-radius:12px;background:linear-gradient(135deg,#0f6bff,#4c7dff);color:#fff;box-shadow:0 14px 28px #2563eb3d}.app-nav{display:grid;gap:12px;margin-top:42px}.app-nav a{display:flex;align-items:center;gap:14px;min-height:54px;padding:0 18px;border-radius:22px;color:#4a5568;font-weight:850;transition:color .16s ease,background .16s ease,box-shadow .16s ease,transform .16s ease}.app-nav a:hover,.app-nav a.active{color:#0b62ff;background:linear-gradient(135deg,#eef5ff,#f5f8ff);box-shadow:inset 0 0 0 1px #3370ff14;transform:translate(2px)}.nav-icon{display:grid;width:28px;height:28px;place-items:center;border:1px solid #d9e3f4;border-radius:9px;color:#42526e;font-size:15px}.app-nav a.active .nav-icon,.app-nav a:hover .nav-icon{border-color:#bcd3ff;color:#0b62ff;background:#fff}.app-sidebar-footer{margin-top:auto;padding:14px 16px;border-radius:18px;background:#f4f7fc;color:#7a869a;font-size:12px;font-weight:800}.app-main{flex:1;min-width:0}.app-topbar{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:78px;padding:22px 42px 12px}.app-topbar h1{margin:0 0 5px;font-size:24px;line-height:1.15}.app-topbar p{margin:0;color:#7a869a;font-size:14px}.topbar-actions{display:flex;align-items:center;gap:22px;color:#52627a;font-size:14px}.help-link{font-weight:800}.user-chip{display:inline-flex;align-items:center;gap:10px;padding:7px 10px 7px 7px;border:0;border-radius:999px;background:#ffffffbf;box-shadow:0 8px 24px #0f172a0f;color:#10254a}.user-chip small{color:#64748b;font-size:12px;font-weight:700}.avatar{display:grid;width:34px;height:34px;place-items:center;border-radius:50%;background:linear-gradient(135deg,#c7d2fe,#60a5fa);color:#fff;font-weight:900}.app-content{padding:0 42px 48px}.dashboard-page{position:relative;display:grid;gap:22px;max-width:1600px}.dashboard-hero,.dashboard-card,.metric-card{border:1px solid rgba(209,220,235,.86);border-radius:22px;background:#ffffffeb;box-shadow:0 20px 50px #27488214}.dashboard-hero{position:relative;display:flex;min-height:160px;align-items:center;justify-content:space-between;gap:24px;overflow:hidden;padding:34px 54px;background:radial-gradient(circle at 77% 42%,rgba(96,165,250,.2),transparent 24%),linear-gradient(100deg,#f8fbff,#eef6ff)}.dashboard-hero h2{margin:0 0 14px;color:#08142f;font-size:34px;letter-spacing:0}.dashboard-hero p{margin:0;color:#43516b;font-size:17px}.hero-actions{display:flex;gap:12px;margin-top:22px}.primary-link-button,.soft-link-button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 18px;border-radius:13px;font-weight:900}.primary-link-button{background:linear-gradient(135deg,#0b62ff,#1d78ff);color:#fff;box-shadow:0 14px 28px #0d64ff38}.primary-link-button:hover{color:#fff}.soft-link-button{border:1px solid #d9e4f4;background:#fff;color:#2f4b73}.hero-illustration{position:relative;width:360px;height:130px;flex:0 0 360px}.robot-head{position:absolute;right:118px;top:22px;display:flex;width:84px;height:54px;align-items:center;justify-content:center;gap:14px;border-radius:24px;background:linear-gradient(135deg,#11284d,#1d4d8f);box-shadow:0 20px 36px #1f5ab43d}.robot-head span{width:10px;height:16px;border-radius:999px;background:#67e8f9}.floating-card{position:absolute;width:90px;height:62px;border:7px solid rgba(255,255,255,.9);border-radius:14px;background:linear-gradient(135deg,#2e77ffd9,#94c6ff61),linear-gradient(160deg,transparent 45%,rgba(255,255,255,.72) 46% 50%,transparent 51%);box-shadow:0 18px 34px #2563eb24}.card-a{right:12px;top:12px;transform:rotate(7deg)}.card-b{right:64px;bottom:10px;width:74px;height:50px;transform:rotate(-2deg)}.sparkle{position:absolute;color:#ffb33b;font-size:24px}.sparkle-a{right:226px;top:12px}.sparkle-b{right:246px;bottom:32px}.dashboard-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.metric-card{display:flex;align-items:center;gap:22px;min-height:132px;padding:24px 28px}.metric-card strong{display:block;color:#07142f;font-size:34px;line-height:1}.metric-card span{display:block;margin-top:8px;color:#172033;font-weight:900}.metric-card small{display:block;margin-top:12px;color:#64748b;font-weight:800}.metric-icon{display:grid;width:62px;height:62px;flex:0 0 62px;place-items:center;border-radius:20px;color:#fff;font-size:28px;box-shadow:0 18px 32px #0f172a1f}.metric-card.blue .metric-icon{background:linear-gradient(135deg,#4c86ff,#1d6bff)}.metric-card.green .metric-icon{background:linear-gradient(135deg,#5be38b,#10b95b)}.metric-card.purple .metric-icon{background:linear-gradient(135deg,#c084fc,#7c3aed)}.metric-card.orange .metric-icon{background:linear-gradient(135deg,#ffbe65,#f97316)}.dashboard-main-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:20px}.dashboard-flow-section,.endpoint-overview-section{width:100%;min-width:0}.dashboard-card{padding:24px}.dashboard-card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:24px}.dashboard-card-header h3{margin:0 0 8px;color:#111827;font-size:20px}.dashboard-card-header p{margin:0;color:#7a869a}.flow-steps{display:grid;grid-template-columns:repeat(5,1fr);gap:0;margin:8px 0 30px}.flow-step{position:relative;display:grid;justify-items:center;gap:10px;color:#7a869a;text-align:center}.flow-step:not(:last-child):after{position:absolute;top:17px;left:calc(50% + 24px);width:calc(100% - 48px);height:2px;background:#d7deea;content:""}.flow-step.done:not(:last-child):after{background:#35c87a}.flow-step.current:not(:last-child):after{background:linear-gradient(90deg,#2563eb 30%,#d7deea 30%)}.flow-step span{z-index:1;display:grid;width:36px;height:36px;place-items:center;border-radius:50%;background:#d8deea;color:#64748b;font-weight:900}.flow-step.done span{background:#35c87a;color:#fff}.flow-step.current span{background:#0b62ff;color:#fff;box-shadow:0 12px 24px #0b62ff3d}.flow-step strong{font-size:14px}.flow-step.current strong{color:#0b62ff}.flow-helper{display:flex;align-items:center;gap:14px;min-height:56px;padding:0 20px;border:1px solid #e2e9f5;border-radius:12px;background:#fbfdff;color:#52627a}.flow-helper span{color:#8b5cf6;font-size:22px}.flow-helper p{margin:0}.server-status-list{display:grid;gap:16px}.server-status-list.compact{gap:8px}.server-row{display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:0;color:#52627a}.server-row span{flex:0 0 auto;font-weight:800}.server-value{min-width:0;overflow:hidden;color:#111827;text-align:right;text-overflow:ellipsis;white-space:nowrap}.server-value.good{padding:5px 12px;border-radius:999px;background:#e9fbf0;color:#16a34a}.server-value.warn{padding:5px 12px;border-radius:999px;background:#fff7df;color:#c27a09}.server-value.bad{padding:5px 12px;border-radius:999px;background:#fff0f0;color:#dc2626}.server-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px;flex-wrap:wrap}.dashboard-confirm-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:30;display:grid;place-items:center;padding:18px;background:#0f172a3d}.dashboard-confirm-dialog{width:min(420px,100%);padding:22px;border:1px solid #dfe7f3;border-radius:18px;background:#fff;box-shadow:0 28px 80px #192d502e}.dashboard-confirm-dialog h3{margin:0 0 10px;color:#111827;font-size:18px}.dashboard-confirm-dialog p{margin:0;color:#52627a;line-height:1.6}.dashboard-confirm-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:20px;flex-wrap:wrap}.dashboard-toast{position:fixed;left:50%;z-index:9999;top:12.5vh;width:min(420px,calc(100vw - 32px));transform:translate(-50%);display:flex;align-items:center;gap:12px;padding:14px 16px;border:1px solid #dfe7f3;border-left-width:4px;border-radius:14px;background:#fff;box-shadow:0 18px 46px #27488229}.dataset-upload-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:9000;display:flex;align-items:center;justify-content:center;padding:24px;background:#0f172a59}.dataset-upload-modal{width:min(360px,calc(100vw - 48px));padding:26px;border:1px solid rgba(219,226,239,.9);border-radius:22px;background:#fff;box-shadow:0 24px 70px #0f172a38;text-align:center}.dataset-upload-modal strong{display:block;color:#0f172a;font-size:18px;font-weight:900}.dataset-upload-modal p{margin:12px 0 6px;color:#475569}.dataset-upload-modal b{display:block;margin:8px 0 4px;color:#0f172a;font-size:16px}.dataset-upload-modal small{color:#64748b}.dataset-upload-progress{position:relative;height:10px;margin-top:16px;overflow:hidden;border-radius:999px;background:#e7eefb}.dataset-upload-progress i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#1d4ed8,#2563eb);transition:width .16s ease}.caption-status-panel{display:grid;gap:6px}.caption-status-panel strong{color:#0f172a}.caption-status-panel span{overflow-wrap:anywhere}.caption-status-panel small{color:#64748b}.caption-log-updating{color:#64748b;font-size:12px;font-weight:700}.caption-log-box{max-height:320px;min-height:160px;margin:0;overflow-y:auto;border:1px solid #e2e8f0;border-radius:10px;background:#0f172a;color:#e2e8f0;padding:14px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;line-height:1.55;white-space:pre-wrap;word-break:break-word}.dashboard-toast span{display:grid;width:24px;height:24px;flex:0 0 24px;place-items:center;border-radius:50%;color:#fff;font-weight:900}.dashboard-toast p{margin:0;color:#1f2937;font-weight:850}.dashboard-toast.success{border-left-color:#16a34a}.dashboard-toast.success span{background:#16a34a}.dashboard-toast.error{border-left-color:#dc2626}.dashboard-toast.error span{background:#dc2626}.endpoint-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px;max-height:220px;overflow-y:auto;padding-right:4px}.endpoint-mini-card{display:grid;gap:12px;min-width:0;padding:14px;border:1px solid #e3eaf5;border-radius:14px;background:#fff}.endpoint-mini-header{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}.endpoint-mini-header>strong{min-width:0;overflow:hidden;color:#111827;text-overflow:ellipsis;white-space:nowrap}.endpoint-mini-card .server-actions{margin-top:0}.soft-empty{display:grid;gap:10px;justify-items:start;padding:24px;border:1px dashed #d7deea;border-radius:18px;background:#fbfdff}.soft-empty p{margin:0;color:#7a869a}.recent-jobs-card{overflow:hidden}.dashboard-table-wrap{overflow-x:auto}.dashboard-table{min-width:920px;border-collapse:collapse}.dashboard-table th{padding:13px 18px;border-bottom:1px solid #e8edf5;background:transparent;color:#64748b;font-size:13px}.dashboard-table td{padding:14px 18px;border-bottom:1px solid #edf1f7;color:#334155}.dashboard-table tr:hover td{background:#f8fbff}.dashboard-status{display:inline-flex;align-items:center;min-height:26px;padding:0 10px;border-radius:999px;background:#eef2f7;color:#64748b;font-size:12px;font-weight:900}.dashboard-status.running,.dashboard-status.stopping{background:#e8f0ff;color:#0b62ff}.dashboard-status.completed,.dashboard-status.succeeded,.dashboard-status.success,.dashboard-status.partial{background:#e9fbf0;color:#16a34a}.dashboard-status.failed,.dashboard-status.error,.dashboard-status.danger{background:#fff0f0;color:#dc2626}.dashboard-status.queued,.dashboard-status.created,.dashboard-status.stopped,.dashboard-status.warning,.dashboard-status.pending{background:#fff7df;color:#b7791f}.dashboard-status.waiting{background:#eef2f7;color:#52627a}.dashboard-status.muted{background:#f1f5f9;color:#64748b}.compact-progress{display:flex;align-items:center;gap:12px}.compact-progress span{min-width:36px;font-weight:900}.compact-progress div{width:118px;height:7px;overflow:hidden;border-radius:999px;background:#e9eef6}.compact-progress i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#0b62ff,#39a4ff)}.row-action{display:inline-flex;align-items:center;min-height:34px;padding:0 12px;border:1px solid #dbe5f3;border-radius:10px;background:#fff;color:#334155;font-size:13px}.dashboard-side-panel{position:fixed;z-index:20;right:42px;top:150px;width:min(420px,calc(100vw - 48px));max-height:calc(100vh - 180px);overflow-y:auto;padding:18px;border:1px solid #dfe7f3;border-radius:22px;background:#fffffffa;box-shadow:0 28px 80px #192d502e}.dashboard-side-panel.dragging{box-shadow:0 34px 90px #192d503d}.server-editor{display:grid;gap:14px}.editor-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:4px}.editor-header.draggable{cursor:move;-webkit-user-select:none;user-select:none}.editor-header h3{margin:0;font-size:18px}.editor-header button{width:32px;height:32px;border:0;border-radius:50%;background:#f3f6fb;color:#52627a;cursor:pointer;font-size:20px}.server-editor label,.advanced-server-info label{display:grid;gap:7px;color:#4b5563;font-size:13px;font-weight:850}.server-editor input{width:100%;min-height:42px;border:1px solid #d9e2f0;border-radius:11px;padding:0 12px;color:#172033;font:inherit}.server-editor input:focus{outline:none;border-color:#0b62ff;box-shadow:0 0 0 3px #0b62ff1f}.server-editor .field-error{color:#dc2626;font-size:12px;font-weight:800}.advanced-server-info{display:grid;gap:12px;padding:12px;border:1px solid #e6edf7;border-radius:14px;background:#fbfdff}.advanced-server-info summary{cursor:pointer;color:#1f2937;font-weight:900}.advanced-server-info[open] summary{margin-bottom:12px}.editor-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:8px}.editor-actions.split{align-items:center;justify-content:space-between}.editor-actions .button.danger{border:1px solid #f4b4b4;background:#fff;color:#dc2626;box-shadow:none}.editor-save-actions{display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap}.dataset-page{display:grid;gap:22px;width:100%;max-width:none;min-width:0}.dataset-header{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;min-width:0}.dataset-header-actions-only{justify-content:flex-end}.dataset-header h2{margin:0 0 10px;color:#08142f;font-size:36px}.dataset-header p{margin:0;color:#52627a;font-size:16px}.dataset-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;min-width:0;width:100%;justify-content:flex-end}.dataset-toolbar .button{white-space:nowrap}.dataset-search{display:flex;align-items:center;gap:8px;flex:1 1 260px;min-width:240px;max-width:360px;min-height:46px;padding:0 14px;border:1px solid #dbe4f1;border-radius:13px;background:#fff;color:#718096;box-shadow:0 10px 28px #1f375f0a}.dataset-search input{width:100%;border:0;outline:0;color:#172033;font:inherit}.dataset-create-card{padding:18px;border:1px solid #dfe8f6;border-radius:22px;background:#fffffff0;box-shadow:0 18px 46px #27488214;min-width:0}.dataset-create-card form{display:grid;grid-template-columns:1.1fr 1fr 1fr auto;gap:14px;align-items:end}.dataset-create-card label{display:grid;gap:7px;color:#4b5563;font-size:13px;font-weight:850}.dataset-create-card input,.dataset-create-card select{min-height:44px;border:1px solid #d9e2f0;border-radius:12px;padding:0 12px;color:#172033;background:#fff;font:inherit}.dataset-layout-grid{display:grid;grid-template-columns:minmax(0,1fr) clamp(260px,24vw,360px);gap:24px;align-items:start;width:100%;min-width:0}.dataset-layout-grid>*{min-width:0}.dataset-list-column{min-width:0}.dataset-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));align-items:stretch;gap:20px;min-width:0;width:100%}.dataset-card,.dataset-tip-card,.dataset-empty-upload{border:1px solid rgba(209,220,235,.9);border-radius:18px;background:#fffffff0;box-shadow:0 18px 46px #27488214}.dataset-card{display:flex;flex-direction:column;width:100%;min-height:412px;height:100%;overflow:hidden;min-width:0;align-self:stretch}.dataset-card:has(.dataset-advanced[open]){min-height:0;height:auto}.dataset-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:16px 20px 8px;min-width:0;overflow:hidden}.dataset-card-head>div{min-width:0}.dataset-card-head h3{margin:0 0 8px;color:#111827;font-size:19px;line-height:1.2;overflow-wrap:anywhere;display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1}.dataset-card-head p{margin:0;color:#52627a;font-weight:750;line-height:1.2}.dataset-flow-badge{display:inline-flex;align-items:center;min-height:30px;padding:0 12px;border-radius:999px;background:#eef2f7;color:#64748b;font-size:12px;font-weight:900;white-space:nowrap;flex:0 0 auto}.dataset-flow-badge.captioning,.dataset-flow-badge.queued,.dataset-flow-badge.running,.dataset-flow-badge.training{background:#e8f0ff;color:#0b62ff}.dataset-flow-badge.completed,.dataset-flow-badge.story_ready,.dataset-flow-badge.success,.dataset-flow-badge.partial{background:#e9fbf0;color:#16a34a}.dataset-flow-badge.failed,.dataset-flow-badge.danger{background:#fff0f0;color:#dc2626}.dataset-flow-badge.waiting,.dataset-flow-badge.pending,.dataset-flow-badge.warning,.dataset-flow-badge.character_source_upload,.dataset-flow-badge.character_generate_ready,.dataset-flow-badge.character_selecting{background:#fff7df;color:#b7791f}.dataset-flow-badge.character_generating{background:#e8f0ff;color:#0b62ff}.dataset-flow-badge.character_generation_failed{background:#fff0f0;color:#dc2626}.dataset-flow-badge.muted{background:#eef2f7;color:#64748b}.pagination-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:20px;color:#52627a;font-size:14px}.pagination-total{font-weight:800;white-space:nowrap}.pagination-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.pagination-button{width:34px;height:34px;border:1px solid #d9e2f0;border-radius:8px;background:#fff;color:#344054;font:inherit;font-weight:850;cursor:pointer}.pagination-button.active{border-color:#0b62ff;background:#0b62ff;color:#fff}.pagination-button:disabled{cursor:not-allowed;opacity:.45}.pagination-ellipsis{min-width:24px;text-align:center;color:#8a98ad;font-weight:850}.pagination-page-size{min-height:34px;border:1px solid #d9e2f0;border-radius:8px;background:#fff;color:#344054;padding:0 10px;font:inherit;font-weight:800}.training-table-card>.pagination-bar,.model-table-card>.pagination-bar,.server-lora-table-card>.pagination-bar{padding:0 22px 22px}@media (max-width: 640px){.pagination-bar{display:grid;justify-items:start}.pagination-controls{justify-content:flex-start}}.dataset-upload-drop{display:grid;width:100%;min-height:72px;margin:0;padding:10px;place-items:center;border:1px dashed #bdd0ee;border-radius:15px;background:linear-gradient(180deg,#fbfdff,#f7faff);color:#65758e;cursor:pointer;text-align:center}.dataset-upload-drop input{display:none}.character-upload-box{display:grid;width:100%;min-height:86px;place-items:center;padding:14px;border:1px dashed #b9d2f8;border-radius:15px;background:linear-gradient(180deg,#fbfdff,#f6faff);color:#617089;text-align:center}.character-upload-box input{display:none}.character-upload-box span{color:#5874a8;font-size:22px}.character-upload-box strong{color:#52627a;font-size:13px}.character-upload-box small{color:#8390a4;font-size:11px}.character-source-preview{position:relative;width:84px;height:84px;overflow:hidden;border:1px solid #dbe7fb;border-radius:14px;background:#f8fafc;box-shadow:0 12px 24px #0d64ff14}.character-source-preview img{width:100%;height:100%;display:block;object-fit:cover}.character-source-preview span{position:absolute;right:6px;bottom:6px;padding:3px 6px;border-radius:999px;background:#0f172aad;color:#fff;font-size:10px;font-weight:900}.dataset-upload-drop span{color:#5874a8;font-size:20px}.dataset-upload-drop strong{color:#52627a;font-size:13px}.dataset-upload-drop small,.dataset-upload-drop em{color:#8390a4;font-style:normal;font-size:11px}.dataset-card-thumbnails{display:flex;align-items:center;min-width:0;min-height:96px;padding:12px 20px;overflow:visible}.dataset-thumb-grid{display:flex;align-items:center;flex-wrap:wrap;gap:9px;width:100%;min-height:72px;padding:0;min-width:0;overflow:visible}.dataset-thumb{display:grid;position:relative;width:72px;height:72px;flex:0 0 72px;min-width:0;overflow:hidden;place-items:center;border-radius:10px;background:linear-gradient(135deg,#dbeafe,#f5f8ff);color:#4f6b9e;font-weight:900}.dataset-thumb img{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover}.dataset-thumb.has-more img{filter:brightness(.62)}.dataset-thumb-placeholder{display:grid;width:100%;height:100%;place-items:center;color:#6b83aa;font-size:12px;font-weight:900}.dataset-thumb-more{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;padding:0;background:#0f172a8c;color:#fff;font-size:18px;font-style:normal;font-weight:900;-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px)}.dataset-thumb.is-error img{display:none}@media (max-width: 1439px){.dataset-thumb-grid{max-width:234px}}.dataset-progress-row{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;padding:0 0 6px;color:#52627a;font-size:13px;font-weight:850;min-width:0}.dataset-progress{min-width:0;height:7px;overflow:hidden;border-radius:999px;background:#e9eef6}.dataset-progress i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#0b62ff,#39a4ff)}.dataset-flow-line{display:grid;grid-template-columns:repeat(4,24px minmax(12px,1fr)) 24px;column-gap:4px;row-gap:0;align-items:start;padding:0 0 18px;min-width:0}.character-flow-line{column-gap:2px}.dataset-card-flow{min-width:0;overflow:visible;padding:8px 20px 6px}.dataset-flow-step{display:flex;position:relative;flex-direction:column;align-items:center;justify-content:flex-start;width:24px;min-width:0;color:#9aa5b5;text-align:center}.dataset-flow-step span{display:grid;width:24px;height:24px;flex:0 0 24px;flex-shrink:0;place-items:center;border-radius:999px;background:#e8f0ff;color:#334155;font-size:11px;font-weight:900;line-height:1}.dataset-flow-step small{position:absolute;top:29px;left:50%;transform:translate(-50%);color:inherit;display:block;width:62px;min-width:0;max-width:none;font-size:11px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;word-break:keep-all}.character-flow-line .dataset-flow-step small{width:54px;font-size:10px}.dataset-flow-connector{align-self:start;height:2px;min-width:0;margin-top:11px;border-radius:999px;background:#e6edf7}.dataset-flow-connector.done{background:#35c87a}.dataset-flow-connector.failed{background:#ef4444}.dataset-flow-step.done span{background:#35c87a;color:#fff}.dataset-flow-step.current span{background:#0b62ff;color:#fff}.dataset-flow-step.failed span{background:#ef4444;color:#fff}.dataset-flow-step.current small{color:#0b62ff}.dataset-flow-step.done small{color:#16a34a}.dataset-flow-step.failed small{color:#dc2626}.dataset-card-message{min-width:0;min-height:38px;overflow:hidden;padding:0 20px}.dataset-card-message p{margin:0;color:#617089;font-size:13px;line-height:1.45;overflow-wrap:anywhere;display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}.dataset-card-message p.danger{color:#dc2626}.dataset-card-footer{display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:10px;margin-top:auto;padding:10px 20px 12px;border-top:1px solid #e5e7eb;min-width:0;overflow:visible}.dataset-card-footer>span{color:#8390a4;font-size:12px;font-weight:800;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dataset-card-action-buttons{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;min-width:0}.dataset-action-group{display:inline-flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;min-width:0;max-width:100%}.dataset-primary-link,.dataset-primary-upload,.dataset-action-button{display:inline-flex;align-items:center;justify-content:center;min-height:36px;min-width:106px;padding:0 16px;border:0;border-radius:10px;background:linear-gradient(135deg,#0b62ff,#1d78ff);color:#fff;cursor:pointer;font-weight:900;box-shadow:0 12px 24px #0d64ff2e;white-space:nowrap;flex:0 1 auto;max-width:100%;font-size:14px;line-height:1;text-decoration:none}.dataset-primary-link:hover,.dataset-action-button:hover{color:#fff}.dataset-action-button.secondary{border:1px solid #1d78ff;background:#fff;color:#0b62ff;box-shadow:none}.dataset-action-button.secondary:hover{color:#0b62ff}.dataset-action-button:disabled{opacity:.6;cursor:not-allowed;box-shadow:none}.dataset-primary-link.danger{background:#fff0f0;color:#dc2626;box-shadow:none}.dataset-primary-upload input,.dataset-action-button input{display:none}.character-picker-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:900;display:flex;align-items:center;justify-content:center;padding:24px;background:#0f172a14;pointer-events:auto}.character-picker-modal{width:min(720px,calc(100vw - 32px));max-height:calc(100vh - 64px);overflow:auto;border:1px solid rgba(209,220,235,.95);border-radius:18px;background:#fffffffa;box-shadow:0 24px 70px #27488238}.character-picker-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:22px 24px 14px;cursor:move;-webkit-user-select:none;user-select:none}.character-picker-header h3{margin:0 0 8px;color:#172033;font-size:18px}.character-picker-header p{margin:0;color:#64748b;font-size:13px;line-height:1.5}.character-picker-header button{display:grid;width:34px;height:34px;flex:0 0 34px;place-items:center;border:0;border-radius:999px;background:#fff;color:#64748b;cursor:pointer;font-size:24px;line-height:1}.character-candidate-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:14px;padding:0 24px 18px}.character-candidate-card{position:relative;display:grid;gap:8px;padding:8px;border:2px solid #d7e2f3;border-radius:12px;background:#fff;color:#334155;cursor:pointer;font:inherit;font-weight:900;text-align:center;box-shadow:0 10px 22px #0f172a0a}.character-candidate-card.selected{border-color:#0b62ff;box-shadow:0 14px 30px #0d64ff29}.character-candidate-card img,.character-candidate-empty{display:grid;width:100%;aspect-ratio:1 / 1.28;place-items:center;border-radius:9px;background:#f1f5f9;color:#94a3b8;object-fit:cover;font-size:12px}.character-candidate-card strong{font-size:12px}.character-candidate-check{position:absolute;top:8px;left:8px;z-index:1;display:grid;width:20px;height:20px;place-items:center;border:2px solid #cbd5e1;border-radius:999px;background:#ffffffe6;color:#fff;font-size:12px;font-weight:900}.character-candidate-card.selected .character-candidate-check{border-color:#0b62ff;background:#0b62ff}.character-picker-empty{display:grid;min-height:180px;margin:0 24px 18px;place-items:center;border:1px dashed #d7e2f3;border-radius:14px;background:#f8fafc;color:#8390a4;font-weight:800}.character-picker-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 24px 22px;border-top:1px solid #edf1f7;color:#64748b;font-size:13px;font-weight:850}.character-picker-footer button{min-height:42px;min-width:148px;border:0;border-radius:10px;background:linear-gradient(135deg,#0b62ff,#1d78ff);color:#fff;cursor:pointer;font-weight:900;box-shadow:0 12px 24px #0d64ff2e}.character-picker-footer button:disabled{cursor:not-allowed;opacity:.6;box-shadow:none}.dataset-advanced{border-top:1px solid #edf1f7;min-height:44px;overflow:hidden;min-width:0}.dataset-advanced summary{display:flex;min-height:44px;align-items:center;justify-content:space-between;padding:0 20px;color:#52627a;cursor:pointer;font-weight:900}.dataset-advanced:not([open]){height:44px}.dataset-advanced-body{padding:0 20px 16px;min-width:0}.dataset-advanced dl{display:grid;gap:8px;margin:0;padding:0}.dataset-advanced div{display:grid;gap:4px;min-width:0}.dataset-advanced dt{color:#8390a4;font-size:12px;font-weight:850}.dataset-advanced dd{max-width:100%;margin:0;overflow-wrap:anywhere;color:#334155;font-size:12px}.dataset-tips{position:sticky;top:20px;display:grid;gap:18px;min-width:0;width:100%;align-self:start}.dataset-tip-card{padding:24px;min-width:0;overflow-wrap:anywhere}.dataset-tip-card h3{margin:0 0 18px;color:#111827;font-size:20px}.tip-robot{display:flex;align-items:center;justify-content:center;gap:16px;min-height:80px;height:80px;margin-bottom:18px;overflow:hidden}.mini-robot{position:static;display:flex;width:clamp(56px,28%,68px);height:clamp(38px,28%,44px);flex:0 0 auto;align-items:center;justify-content:center;gap:10px;border-radius:20px;background:linear-gradient(135deg,#11284d,#1d4d8f)}.mini-robot span{width:8px;height:13px;border-radius:999px;background:#67e8f9}.tip-image-card{position:static;width:clamp(62px,32%,72px);height:clamp(44px,32%,52px);flex:0 0 auto;border:6px solid #fff;border-radius:14px;background:linear-gradient(135deg,#4c86ff,#cfe3ff);box-shadow:0 16px 28px #2563eb29;transform:none;max-width:100%}.dataset-tip-card ul{display:grid;gap:18px;margin:0;padding:0;list-style:none}.dataset-tip-card li{position:relative;padding-left:28px;color:#4b5b73;line-height:1.5;overflow-wrap:anywhere}.dataset-tip-card ul li:before{position:absolute;left:0;top:2px;display:grid;width:18px;height:18px;place-items:center;border-radius:50%;background:#0b62ff;color:#fff;content:"✓";font-size:11px;font-weight:900}.dataset-tip-card.compact ol{display:grid;gap:18px;margin:0;padding:0;list-style:none}.dataset-tip-card.compact li{display:flex;align-items:center;gap:14px;padding:0;color:#52627a;font-weight:850}.dataset-tip-card.compact li span{display:grid;width:34px;height:34px;place-items:center;border-radius:50%;background:#e8f0ff;color:#0b62ff}.dataset-empty-upload{display:grid;min-height:300px;grid-column:1 / -1;width:min(100%,760px);justify-self:center;place-items:center;padding:40px;text-align:center;min-width:0}.dataset-empty-upload strong{color:#111827;font-size:24px}.dataset-empty-upload p{margin:0;color:#64748b}@media (max-width: 1200px){.dataset-layout-grid{grid-template-columns:1fr;gap:20px}.dataset-tips{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}.dataset-tip-card{padding:20px}}@media (max-width: 1024px){.dataset-create-card form{grid-template-columns:repeat(2,minmax(0,1fr))}.dataset-empty-upload{width:100%}}@media (max-width: 768px){.dataset-tips{grid-template-columns:1fr}.tip-robot{min-height:72px;height:72px;gap:12px}}@media (max-width: 768px){.dataset-toolbar{justify-content:stretch}.dataset-toolbar .button,.dataset-search{flex:1 1 100%;min-width:0;max-width:none}.dataset-card-grid,.dataset-create-card form,.dataset-tips{grid-template-columns:1fr}.dataset-card{min-width:0}.dataset-card-head{align-items:flex-start}.dataset-flow-line{column-gap:3px;row-gap:0}.dataset-flow-step small{font-size:10.5px;width:58px}.dataset-card-thumbnails{padding-top:8px;padding-bottom:8px}.dataset-thumb{width:64px;height:64px;flex-basis:64px}}@media (max-width: 480px){.dataset-card-head,.dataset-card-footer,.dataset-progress-row{align-items:stretch}.dataset-card-head,.dataset-progress-row{grid-template-columns:1fr}.dataset-card-head{flex-direction:column}.dataset-flow-badge,.dataset-primary-link,.dataset-primary-upload,.dataset-action-button{width:100%}.dataset-card-action-buttons,.dataset-action-group{justify-content:stretch;width:100%}.dataset-flow-line{column-gap:2px;row-gap:0}.dataset-flow-step small{font-size:10px;width:54px}}a{color:#1d4ed8;text-decoration:none;font-weight:700}a:hover{color:#1e40af}code{display:inline-block;max-width:560px;overflow-x:auto;padding:3px 7px;border:1px solid #e2e8f0;border-radius:6px;background:#f8fafc;color:#334155;font-size:12px;vertical-align:middle;white-space:nowrap}.layout{display:flex;min-height:100vh}.sidebar{position:sticky;top:0;display:flex;flex-direction:column;width:260px;height:100vh;flex:0 0 260px;padding:22px 16px;background:#0f172a;color:#fff}.brand{display:grid;gap:6px;padding:0 8px 22px;border-bottom:1px solid rgba(255,255,255,.08)}.brand strong{font-size:19px;letter-spacing:0}.brand span,small{color:#64748b;font-size:12px}.sidebar nav{display:grid;gap:18px;margin-top:22px}.nav-group{display:grid;gap:6px}.nav-title{padding:0 10px;color:#94a3b8;font-size:12px;font-weight:800}.sidebar a{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:8px;color:#cbd5e1;text-decoration:none;transition:background .14s ease,color .14s ease}.nav-dot{width:7px;height:7px;border-radius:999px;background:#475569}.sidebar a.active,.sidebar a:hover{background:#1e293b;color:#fff}.sidebar a.active .nav-dot,.sidebar a:hover .nav-dot{background:#60a5fa}.sidebar-footer{margin-top:auto;padding:12px 10px;border-radius:8px;background:#ffffff0f;color:#cbd5e1;font-size:12px;font-weight:700}.main{flex:1;min-width:0}.topbar{min-height:92px;display:flex;align-items:center;justify-content:space-between;padding:22px 34px;background:#fffffff0;border-bottom:1px solid #e2e8f0;box-shadow:0 1px 2px #0f172a0a}.topbar h1{margin:0 0 7px;font-size:24px;line-height:1.2}.topbar p,.card p{margin:0;color:#64748b}.content{padding:28px 34px 48px}.page-stack{display:grid;gap:18px}.training-job-detail-page{max-width:100%;min-width:0;overflow-x:hidden}.training-job-detail-page>*{min-width:0}.training-job-detail-page .card,.training-job-detail-page .card-header,.training-job-detail-page .detail-grid,.training-job-detail-page .detail-grid>div,.training-job-detail-page .button-row,.training-job-detail-page .alert,.training-job-detail-page .table-wrap,.training-job-detail-page .training-job-detail-code{min-width:0}.training-job-detail-page code,.training-job-detail-page .detail-grid code,.training-job-detail-page .detail-grid strong{max-width:100%;min-width:0;white-space:pre-wrap;word-break:break-all;overflow-wrap:anywhere}.card{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:18px;box-shadow:0 12px 30px #0f172a0f}.card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.card h2{margin:0 0 5px;font-size:18px}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px}.stats-grid strong{display:block;margin-bottom:6px;font-size:30px;line-height:1}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px}.form-grid.dense{grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}.form-section{grid-column:1 / -1;display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px;padding:14px;border:1px solid #e8eef5;border-radius:8px;background:#fbfdff}.form-section-title{grid-column:1 / -1;margin:0;color:#0f172a;font-size:14px}.form-stack{display:grid;gap:14px}.field{display:grid;gap:7px}.field>span{color:#334155;font-weight:800;font-size:13px}.field b{color:#dc2626}.input,.textarea{width:100%;border:1px solid #cbd5e1;border-radius:7px;padding:10px 11px;color:#17202a;background:#fff;font:inherit;transition:border-color .14s ease,box-shadow .14s ease}.textarea{min-height:96px;resize:vertical}.input:focus,.textarea:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #dbeafe}.form-actions,.button-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.button{border:1px solid transparent;border-radius:7px;padding:10px 14px;cursor:pointer;font-weight:800;transition:transform .12s ease,background .12s ease,border-color .12s ease}.button:hover:not(:disabled){transform:translateY(-1px)}.button:disabled{opacity:.55;cursor:not-allowed}.button.primary{background:#2563eb;color:#fff}.button.secondary{border-color:#cbd5e1;background:#fff;color:#334155}.button.danger{border-color:#fecaca;background:#fee2e2;color:#991b1b}.button.ghost{background:transparent;color:#475569}.badge{display:inline-flex;align-items:center;min-height:24px;padding:3px 9px;border-radius:999px;background:#e5e7eb;color:#374151;font-size:12px;font-weight:900;white-space:nowrap}.badge.active,.badge.succeeded,.badge.completed,.badge.deployed,.badge.ready-for-training,.badge.reviewed,.badge.generated,.badge.registered-to-storystudio{background:#dcfce7;color:#166534}.badge.failed,.badge.error,.badge.external-unreachable,.badge.caption-txt-missing,.badge.partial-failed,.badge.rejected{background:#fee2e2;color:#991b1b}.badge.running,.badge.stopping,.badge.uploading,.badge.captioning,.badge.checking,.badge.submitting,.badge.submitted,.badge.artifact-selecting,.badge.deploying-to-comfyui,.badge.checking-lora{background:#dbeafe;color:#1d4ed8}.badge.pending,.badge.created,.badge.queued,.badge.stopped,.badge.queue-paused,.badge.draft,.badge.pending-deployment,.badge.style-review,.badge.caption-review,.badge.artifact-ready{background:#fef3c7;color:#92400e}.badge.skipped,.badge.not-configured,.badge.disabled,.badge.unknown{background:#f3f4f6;color:#4b5563}.alert{white-space:pre-wrap;border-radius:8px;padding:12px 14px;border:1px solid #d9e2ec;background:#f8fafc;color:#334155}.alert.success{border-color:#bbf7d0;background:#f0fdf4;color:#166534}.alert.warning{border-color:#fde68a;background:#fffbeb;color:#92400e}.alert.error{border-color:#fecaca;background:#fef2f2;color:#7f1d1d}.table-wrap{width:100%;overflow-x:auto;border:1px solid #e5eaf0;border-radius:8px}table{width:100%;border-collapse:collapse;min-width:860px;background:#fff}th,td{padding:12px 11px;border-bottom:1px solid #e5eaf0;text-align:left;vertical-align:top;font-size:13px}th{color:#475569;background:#f8fafc;font-size:12px;font-weight:900}tr:hover td{background:#fbfdff}.table-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.table-actions button{border:0;background:transparent;color:#1d4ed8;font-weight:800;cursor:pointer}.detail-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin-bottom:14px}.detail-grid div{display:grid;gap:5px;min-width:0;padding:12px;border:1px solid #edf1f5;border-radius:8px;background:#fbfcfd}.detail-grid span{color:#64748b;font-size:12px;font-weight:800}.queue-bar{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between}.queue-stats{display:flex;flex-wrap:wrap;gap:10px}.queue-stat,.progress-wrap{border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc;padding:8px 10px}.queue-stat span{color:#64748b;font-size:12px;margin-right:6px}.progress-track{width:120px;height:8px;overflow:hidden;border-radius:999px;background:#e2e8f0}.progress-fill{height:100%;border-radius:inherit;background:linear-gradient(90deg,#2563eb,#38bdf8)}.log-block{max-height:420px;overflow:auto}.checks-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px;margin-top:12px}.check-item{padding:12px;border:1px solid #e5eaf0;border-radius:8px;background:#fbfcfd}.check-item strong{display:block;margin-top:8px}.upload-box{display:grid;gap:8px;padding:18px;border:1px dashed #94a3b8;border-radius:8px;background:#f8fafc}.file-list{display:grid;gap:6px;margin:14px 0;padding:0;list-style:none}.file-list li{display:flex;justify-content:space-between;padding:9px 11px;border-radius:7px;background:#f3f6fa}.caption-table .textarea{min-width:280px}.muted-warning{color:#b45309;font-weight:700}.code-block{max-height:460px;overflow:auto;margin:0;padding:14px;border-radius:8px;background:#0f172a;color:#dbeafe;font-size:12px}.training-job-detail-page .code-block,.training-job-detail-page .training-job-detail-code{max-width:100%;min-width:0;overflow-x:auto}.training-job-detail-page .code-block{white-space:pre-wrap;word-break:break-word;overflow-wrap:anywhere}.training-job-detail-page .training-job-detail-log{max-height:120px;overflow-y:auto;overflow-x:auto;white-space:pre-wrap;word-break:break-word;overflow-wrap:anywhere;line-height:1.5}.empty{display:grid;gap:8px;justify-items:start;padding:28px;border:1px dashed #cbd5e1;border-radius:8px;background:#f8fafc}.empty strong{font-size:16px}.empty p{margin:0;color:#64748b}.spinner{display:inline-block;width:28px;height:28px;border:3px solid #c7d2fe;border-top-color:#2563eb;border-radius:50%;animation:spin .9s linear infinite}.status-list{display:grid;gap:10px}.checkbox{display:inline-flex;align-items:center;gap:8px;font-weight:800}.training-page{display:grid;gap:22px;max-width:1600px;min-width:0}.training-stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.training-stat-card,.training-filter-card,.training-table-card,.training-queue-panel,.training-advanced-card{border:1px solid rgba(209,220,235,.9);border-radius:22px;background:#fffffff0;box-shadow:0 18px 46px #27488214}.training-stat-card{display:flex;min-width:0;min-height:118px;align-items:center;gap:18px;padding:22px 26px}.training-stat-icon{display:grid;width:58px;height:58px;flex:0 0 58px;place-items:center;border-radius:20px;color:#fff;font-size:28px;font-weight:900;box-shadow:0 18px 32px #0f172a1f}.training-stat-card.blue .training-stat-icon{background:linear-gradient(135deg,#4c86ff,#0b62ff)}.training-stat-card.amber .training-stat-icon{background:linear-gradient(135deg,#ffca75,#f59e0b)}.training-stat-card.green .training-stat-icon{background:linear-gradient(135deg,#5be38b,#10b981)}.training-stat-card.red .training-stat-icon{background:linear-gradient(135deg,#ff9a9a,#ef4444)}.training-stat-card strong{display:block;color:#07142f;font-size:34px;line-height:1}.training-stat-card h3{margin:6px 0 4px;color:#172033;font-size:17px}.training-stat-card p{margin:0;color:#64748b;font-size:13px;font-weight:750}.training-queue-panel{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 22px;min-width:0}.training-queue-panel>div:first-child{display:flex;align-items:center;gap:14px;flex-wrap:wrap;min-width:0}.training-queue-panel strong,.training-queue-panel small{color:#52627a;font-weight:850}.queue-pill{display:inline-flex;align-items:center;min-height:30px;padding:0 12px;border-radius:999px;font-size:13px;font-weight:900;white-space:nowrap}.queue-pill.running{background:#e9fbf0;color:#16a34a}.queue-pill.stopped{background:#fff7df;color:#b7791f}.training-queue-list{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;min-width:0}.training-queue-item{display:inline-flex;align-items:center;gap:10px;padding:6px;border:1px solid #e6edf7;border-radius:14px;background:#fbfdff}.training-queue-item span,.queue-muted{color:#52627a;font-size:13px;font-weight:850;white-space:nowrap}.training-filter-card{padding:14px}.training-filter-row{display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:0}.training-tabs{display:inline-flex;gap:8px;padding:4px;border-radius:999px;background:#f1f5fb}.training-tabs button{min-width:74px;min-height:34px;border:0;border-radius:999px;background:transparent;color:#52627a;cursor:pointer;font-weight:900;white-space:nowrap}.training-tabs button.active{background:linear-gradient(135deg,#0b62ff,#1d78ff);color:#fff;box-shadow:0 12px 24px #0d64ff2e}.training-search{display:flex;align-items:center;gap:10px;flex:1 1 260px;max-width:380px;min-height:42px;padding:0 14px;border:1px solid #dbe4f1;border-radius:13px;background:#fff;color:#718096}.training-search input{width:100%;border:0;outline:0;color:#172033;font:inherit}.training-table-card{overflow:hidden}.training-table-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:22px 26px 16px;border-bottom:1px solid #edf1f7}.training-table-heading h2{margin:0 0 8px;color:#111827;font-size:22px}.training-table-heading p{margin:0;color:#64748b}.training-table-wrap{width:100%;overflow-x:auto}.training-task-table{min-width:1060px;border-collapse:collapse}.training-task-table th{padding:13px 24px;border-bottom:1px solid #e8edf5;background:#fbfdff;color:#64748b;font-size:13px}.training-task-table td{padding:14px 24px;border-bottom:1px solid #edf1f7;color:#334155;vertical-align:middle}.training-task-table tr:hover td{background:#f8fbff}.training-task-name,.training-dataset-cell{display:flex;align-items:center;gap:12px;min-width:0}.training-dataset-cell{display:grid;gap:5px}.training-task-name strong,.training-dataset-cell strong{display:block;max-width:210px;overflow:hidden;color:#172033;text-overflow:ellipsis;white-space:nowrap}.training-task-name span,.training-dataset-cell span{color:#64748b;font-size:12px;font-weight:750}.task-thumb{display:grid;width:46px;height:46px;flex:0 0 46px;place-items:center;border-radius:12px;background:linear-gradient(135deg,#dbeafe,#eef2ff);color:#0b62ff;font-weight:900;overflow:hidden}.task-thumb img{width:100%;height:100%;display:block;object-fit:cover}.training-stage-badge{display:inline-flex;align-items:center;min-height:28px;padding:0 12px;border-radius:999px;font-size:12px;font-weight:900;white-space:nowrap}.training-stage-badge.running{background:#e8f0ff;color:#0b62ff}.training-stage-badge.queued,.training-stage-badge.pending,.training-stage-badge.warning{background:#fff7df;color:#b7791f}.training-stage-badge.completed,.training-stage-badge.success,.training-stage-badge.partial{background:#e9fbf0;color:#16a34a}.training-stage-badge.failed,.training-stage-badge.danger{background:#fff0f0;color:#dc2626}.training-stage-badge.muted{background:#f1f5f9;color:#64748b}.training-stage-badge.waiting{background:#eef2f7;color:#52627a}.training-progress-cell{display:grid;grid-template-columns:minmax(120px,1fr) 44px;gap:8px 12px;align-items:center;min-width:220px}.training-progress-cell span{grid-column:1 / -1;color:#64748b;font-size:12px;font-weight:750}.training-progress-cell strong{color:#172033;font-size:13px}.training-progress-line{height:8px;overflow:hidden;border-radius:999px;background:#e9eef6}.training-progress-line i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#0b62ff,#39a4ff)}.training-row-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:180px}.training-row-actions .button,.training-action-link{min-height:34px;padding:0 12px;border-radius:10px;font-size:13px;white-space:nowrap}.training-row-actions .button{display:inline-flex;align-items:center}.training-action-link{display:inline-flex;align-items:center;justify-content:center;border:1px solid #dbe5f3;background:#fff;color:#334155}.training-action-link.primary{border-color:transparent;background:linear-gradient(135deg,#0b62ff,#1d78ff);color:#fff;box-shadow:0 10px 18px #0d64ff29}.training-action-link.danger{border-color:#fecaca;background:#fff0f0;color:#dc2626}.training-advanced-card{overflow:hidden}.training-advanced-card summary{display:flex;min-height:58px;align-items:center;justify-content:space-between;padding:0 26px;color:#172033;cursor:pointer;font-size:18px;font-weight:900}.training-advanced-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px;padding:0 26px 24px}.training-advanced-item{min-width:0;padding:14px;border:1px solid #e6edf7;border-radius:14px;background:#fbfdff}.training-advanced-item strong{display:block;margin-bottom:12px;color:#172033}.training-advanced-item dl{display:grid;gap:9px;margin:0}.training-advanced-item div{display:grid;gap:4px}.training-advanced-item dt{color:#8390a4;font-size:12px;font-weight:850}.training-advanced-item dd{margin:0;overflow-wrap:anywhere;color:#334155;font-size:12px}.training-detail-page{display:grid;gap:18px;max-width:1600px;min-width:0;overflow-x:hidden}.training-detail-title{display:flex;align-items:center;gap:24px;min-width:0}.training-detail-title h2{margin:0;color:#08142f;font-size:32px}.training-detail-title a{color:#1d4ed8;font-weight:850}.training-summary-card,.training-detail-card,.training-detail-actions,.training-detail-fold{border:1px solid rgba(209,220,235,.9);border-radius:22px;background:#fffffff0;box-shadow:0 18px 46px #27488214}.training-summary-card{display:grid;grid-template-columns:1.55fr repeat(6,minmax(0,1fr));gap:0;overflow:hidden;min-width:0}.summary-task-cell,.summary-item,.summary-progress{display:grid;align-content:center;min-width:0;min-height:118px;padding:18px 24px;border-right:1px solid #edf1f7}.summary-task-cell{grid-template-columns:54px minmax(0,1fr);align-items:center;gap:14px}.summary-avatar{display:grid;width:54px;height:54px;place-items:center;border-radius:14px;background:linear-gradient(135deg,#dbeafe,#eef2ff);color:#0b62ff;font-weight:900;overflow:hidden}.summary-avatar img{width:100%;height:100%;display:block;object-fit:cover}.summary-task-cell span,.summary-item span,.summary-progress span{color:#64748b;font-size:12px;font-weight:850}.summary-task-cell strong,.summary-item strong,.summary-progress strong{display:block;max-width:100%;margin-top:8px;overflow:hidden;color:#172033;text-overflow:ellipsis;white-space:nowrap}.summary-badge{display:inline-flex!important;width:fit-content;min-height:28px;align-items:center;padding:0 12px;border-radius:999px;font-size:12px}.summary-badge.running{background:#e8f0ff;color:#0b62ff}.summary-badge.queued{background:#fff7df;color:#b7791f}.summary-badge.completed,.summary-badge.success,.summary-badge.partial{background:#e9fbf0;color:#16a34a}.summary-badge.failed,.summary-badge.danger{background:#fff0f0;color:#dc2626}.summary-badge.muted,.summary-badge.waiting,.summary-badge.pending{background:#f1f5f9;color:#64748b}.summary-badge.warning{background:#fff7df;color:#b7791f}.summary-progress div{height:8px;margin-top:10px;overflow:hidden;border-radius:999px;background:#e9eef6}.summary-progress i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#0b62ff,#39a4ff)}.training-detail-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(380px,.9fr);gap:18px;min-width:0}.training-side-stack{display:grid;gap:18px;min-width:0}.training-detail-card{min-width:0;padding:22px}.training-detail-card-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.training-detail-card-head h3{margin:0;color:#111827;font-size:20px}.training-detail-card-head span{color:#0b62ff;font-size:18px;font-weight:900}.training-detail-card-head button{min-height:34px;border:1px solid #dbe5f3;border-radius:10px;background:#fff;color:#334155;cursor:pointer;font-weight:850}.detail-large-progress{height:10px;overflow:hidden;border-radius:999px;background:#e9eef6}.detail-large-progress i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#0b62ff,#39a4ff)}.progress-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:24px 0 18px}.progress-metric{display:flex;align-items:center;gap:12px;min-width:0;padding:14px;border-right:1px solid #edf1f7}.progress-metric span{display:grid;width:30px;height:30px;flex:0 0 30px;place-items:center;border-radius:50%}.progress-metric.blue span{background:#e8f0ff}.progress-metric.green span{background:#e9fbf0}.progress-metric.amber span{background:#fff7df}.progress-metric small{display:block;color:#64748b;font-weight:850}.progress-metric strong{display:block;margin-top:4px;color:#172033}.detail-hint{padding:14px 16px;border-radius:13px;color:#1d4ed8;background:#eef5ff;font-weight:850}.detail-hint.completed,.detail-hint.success,.detail-hint.partial{color:#16a34a;background:#e9fbf0}.detail-hint.failed,.detail-hint.danger{color:#dc2626;background:#fff0f0}.detail-hint.queued,.detail-hint.warning,.detail-hint.pending{color:#b7791f;background:#fff7df}.detail-hint.muted,.detail-hint.waiting{color:#64748b;background:#f1f5f9}.detail-timeline{display:grid;gap:14px;margin-top:22px}.detail-timeline h4{margin:0;color:#172033}.timeline-row{display:grid;grid-template-columns:12px minmax(0,1fr) auto;gap:12px;align-items:start;min-width:0;color:#64748b}.timeline-row>span{width:8px;height:8px;margin-top:6px;border-radius:50%;background:#cbd5e1}.timeline-row.active>span{background:#0b62ff}.timeline-row strong{color:#334155}.timeline-row p{margin:4px 0 0;color:#64748b;font-size:13px}.timeline-row time{color:#64748b;font-size:12px;white-space:nowrap}.result-list,.story-info-grid{display:grid;gap:12px;min-width:0}.story-info-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.result-row{display:grid;grid-template-columns:132px minmax(0,1fr);gap:12px;align-items:start;min-width:0}.result-row.wide{grid-column:1 / -1}.result-row span{color:#64748b;font-size:13px;font-weight:850}.result-row strong{min-width:0;color:#172033;font-size:13px;line-height:1.5;overflow-wrap:anywhere}.result-row.clamp strong{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3}.result-tone{display:inline-flex;width:fit-content;min-height:26px;align-items:center;padding:0 10px;border-radius:999px;font-size:12px}.result-tone.success{background:#e9fbf0;color:#16a34a}.result-tone.warning,.result-tone.queued{background:#fff7df;color:#b7791f}.result-tone.failed,.result-tone.danger{background:#fff0f0;color:#dc2626}.result-tone.muted,.result-tone.waiting,.result-tone.pending{background:#f1f5f9;color:#64748b}.result-tone.partial{background:#edf7ff;color:#0b62ff}.detail-button-row,.training-detail-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;min-width:0}.detail-button-row{margin-top:18px}.training-detail-actions{padding:16px 20px}.detail-primary-link,.detail-secondary-link{display:inline-flex;min-height:38px;align-items:center;justify-content:center;padding:0 16px;border-radius:11px;font-weight:900;white-space:nowrap}.detail-primary-link{background:linear-gradient(135deg,#0b62ff,#1d78ff);color:#fff;box-shadow:0 12px 24px #0d64ff2e}.detail-primary-link:hover{color:#fff}.detail-secondary-link{border:1px solid #dbe5f3;background:#fff;color:#334155}.recent-progress-card{overflow:hidden}.recent-progress-line{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;min-width:0}.recent-progress-item{display:grid;gap:6px;min-width:0;padding:14px;border-radius:16px;background:#f8fbff}.recent-progress-item span{display:grid;width:34px;height:34px;place-items:center;border-radius:50%;background:#d8deea;color:#64748b;font-weight:900}.recent-progress-item.active span{background:#35c87a;color:#fff}.recent-progress-item strong,.recent-progress-item p,.recent-progress-item small{min-width:0;overflow-wrap:anywhere}.recent-progress-item p{margin:0;color:#64748b;font-size:13px}.recent-progress-item small{color:#64748b}.detail-log-preview{max-height:360px;max-width:100%;margin:16px 0 0;overflow:auto;padding:14px;border-radius:14px;background:#0f172a;color:#dbeafe;white-space:pre-wrap;word-break:break-word;overflow-wrap:anywhere;line-height:1.5}.training-detail-fold{overflow:hidden}.training-detail-fold summary{display:flex;min-height:58px;align-items:center;justify-content:space-between;padding:0 22px;color:#172033;cursor:pointer;font-size:18px;font-weight:900}.advanced-chip-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;padding:0 22px 22px}.info-chip{display:grid;gap:6px;min-width:0;padding:12px;border-radius:12px;background:#f8fbff}.info-chip span{color:#8390a4;font-size:12px;font-weight:850}.info-chip strong{min-width:0;overflow-wrap:anywhere;color:#334155;font-size:12px}.technical-grid{display:grid;gap:16px;padding:0 22px 22px;min-width:0}.technical-grid section{min-width:0}.technical-grid h4{margin:0 0 10px;color:#172033}.artifact-file-list{display:grid;gap:10px;min-width:0}.artifact-file-row{display:grid;gap:6px;padding:10px 12px;border:1px solid #e5eaf3;border-radius:12px;background:#f8fbff;min-width:0}.artifact-file-row strong,.artifact-file-row small,.artifact-file-row code{min-width:0;overflow-wrap:anywhere}.artifact-file-row small{color:#64748b}.artifact-file-row code{color:#475569;font-size:12px}.model-library-page{display:grid;gap:22px;max-width:1600px;min-width:0}.model-library-header{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;min-width:0}.model-library-header h2{margin:0 0 10px;color:#08142f;font-size:36px}.model-library-header p{margin:0;color:#52627a;font-size:16px}.model-stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.model-stat-card,.model-filter-card,.model-table-card,.model-drawer{border:1px solid rgba(209,220,235,.9);border-radius:22px;background:#fffffff0;box-shadow:0 18px 46px #27488214}.model-stat-card{display:flex;align-items:center;gap:18px;min-width:0;min-height:118px;padding:22px 26px}.model-stat-card>span{display:grid;width:58px;height:58px;flex:0 0 58px;place-items:center;border-radius:20px;color:#fff;font-size:28px;font-weight:900;box-shadow:0 18px 32px #0f172a1f}.model-stat-card.blue>span{background:linear-gradient(135deg,#4c86ff,#0b62ff)}.model-stat-card.green>span{background:linear-gradient(135deg,#5be38b,#10b981)}.model-stat-card.amber>span{background:linear-gradient(135deg,#ffca75,#f59e0b)}.model-stat-card.red>span{background:linear-gradient(135deg,#ff9a9a,#ef4444)}.model-stat-card strong{display:block;color:#07142f;font-size:34px;line-height:1}.model-stat-card h3{margin:6px 0 4px;color:#172033;font-size:17px}.model-stat-card p{margin:0;color:#64748b;font-size:13px;font-weight:750}.model-filter-card{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:14px;min-width:0}.model-filter-tabs{display:inline-flex;gap:8px;padding:4px;border-radius:999px;background:#f1f5fb}.model-filter-tabs button{min-width:94px;min-height:34px;border:0;border-radius:999px;background:transparent;color:#52627a;cursor:pointer;font-weight:900;white-space:nowrap}.model-filter-tabs button.active{background:linear-gradient(135deg,#0b62ff,#1d78ff);color:#fff;box-shadow:0 12px 24px #0d64ff2e}.model-search{display:flex;align-items:center;gap:10px;flex:1 1 260px;min-width:240px;min-height:42px;padding:0 14px;border:1px solid #dbe4f1;border-radius:13px;background:#fff;color:#718096}.model-search input{width:100%;border:0;outline:0;color:#172033;font:inherit}.model-filter-card select{min-height:42px;border:1px solid #dbe4f1;border-radius:13px;padding:0 12px;background:#fff;color:#334155;font:inherit;font-weight:750}.model-library-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(340px,390px);gap:18px;align-items:start;min-width:0}.model-table-card{overflow:hidden;min-width:0}.model-table-heading{padding:22px 26px 16px;border-bottom:1px solid #edf1f7}.model-table-heading h3{margin:0 0 8px;color:#111827;font-size:22px}.model-table-heading p{margin:0;color:#64748b}.model-table-wrap{width:100%;overflow-x:auto}.model-table{min-width:1160px;border-collapse:collapse}.model-table th{padding:13px 20px;border-bottom:1px solid #e8edf5;background:#fbfdff;color:#64748b;font-size:13px}.model-table td{padding:14px 20px;border-bottom:1px solid #edf1f7;color:#334155;vertical-align:middle}.model-table tr:hover td,.model-table tr.selected td{background:#f8fbff}.model-name-button{display:flex;align-items:center;gap:12px;max-width:260px;min-width:0;border:0;background:transparent;color:inherit;cursor:pointer;text-align:left}.model-name-button strong{display:block;max-width:190px;overflow:hidden;color:#172033;text-overflow:ellipsis;white-space:nowrap}.model-name-button small{display:block;margin-top:5px;color:#64748b;font-weight:750}.model-thumb,.model-large-thumb{display:grid;place-items:center;border-radius:14px;background:linear-gradient(135deg,#dbeafe,#eef2ff);color:#0b62ff;font-weight:900}.model-thumb img,.model-large-thumb img{width:100%;height:100%;border-radius:inherit;object-fit:cover;display:block}.model-thumb{width:46px;height:46px;flex:0 0 46px}.model-lora-name{display:inline-block;max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.model-status-pill{display:inline-flex;align-items:center;min-height:28px;padding:0 12px;border-radius:999px;font-size:12px;font-weight:900;white-space:nowrap}.model-status-pill.success{background:#e9fbf0;color:#16a34a}.model-status-pill.partial{background:#fff8e6;color:#8a5a00}.model-status-pill.pending,.model-status-pill.warning{background:#eff6ff;color:#1d4ed8}.model-status-pill.neutral{background:#f1f5f9;color:#64748b}.model-status-pill.danger,.model-status-pill.failed{background:#fee2e2;color:#dc2626}.model-status-pill.muted{background:#f1f5f9;color:#64748b}.model-sync-summary{display:grid;gap:10px;padding:14px;border:1px solid #e5eaf2;border-radius:14px;background:#f8fafc}.model-sync-summary-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.model-sync-summary-head strong{color:#0f172a}.model-sync-summary-group{display:grid;gap:8px}.model-sync-summary-group>strong{color:#334155;font-size:13px}.model-sync-summary-list{display:grid;gap:8px;margin:0;padding-left:18px;color:#475569}.model-sync-summary-list li{display:grid;gap:2px}.model-sync-summary-list li strong{color:#0f172a}.server-lora-page{display:flex;flex-direction:column;gap:24px;min-width:0}.server-lora-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.server-lora-header h2{margin:0 0 8px;color:#0f172a;font-size:28px}.server-lora-header p{margin:0;color:#64748b;line-height:1.7}.server-lora-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.server-lora-search{display:flex;align-items:center;gap:10px;width:min(420px,100%);min-height:44px;padding:0 14px;border:1px solid #dbe3ef;border-radius:12px;background:#fff;color:#64748b;box-shadow:0 8px 24px #0f172a0a}.server-lora-search input,.server-lora-toolbar select{border:0;outline:0;background:transparent;color:#0f172a;font:inherit}.server-lora-search input{width:100%;min-width:0}.server-lora-toolbar select{min-height:44px;min-width:180px;padding:0 14px;border:1px solid #dbe3ef;border-radius:12px;background:#fff}.server-lora-table-card{overflow:hidden;border:1px solid #e5eaf2;border-radius:18px;background:#fff;box-shadow:0 18px 48px #0f172a0f}.server-lora-table-wrap{overflow-x:auto}.server-lora-table{width:100%;min-width:1040px;border-collapse:collapse}.server-lora-table th,.server-lora-table td{padding:18px 22px;border-bottom:1px solid #edf1f7;color:#334155;text-align:left;vertical-align:middle}.server-lora-table th{background:#fbfdff;color:#475569;font-size:13px;font-weight:700}.server-lora-table tr:last-child td{border-bottom:0}.server-lora-preview-column,.server-lora-preview-cell{width:320px}.server-lora-name,.server-lora-file{display:block;max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.server-lora-preview-list{display:flex;align-items:center;gap:8px;min-width:248px;flex-wrap:wrap}.server-lora-preview-button{display:block;padding:0;border:0;background:transparent}.server-lora-preview-img{display:block;width:76px;height:76px;border:1px solid rgba(148,163,184,.28);border-radius:12px;background:#f1f5f9;object-fit:cover;cursor:zoom-in;box-shadow:0 8px 18px #0f172a14;transition:transform .16s ease,box-shadow .16s ease}.server-lora-preview-img:hover{transform:translateY(-1px);box-shadow:0 12px 22px #0f172a1f}.server-lora-preview-empty{display:flex;align-items:center;justify-content:center;width:248px;min-height:76px;border:1px dashed #dbe3ef;border-radius:12px;background:#f8fafc;color:#94a3b8;font-size:13px}.image-lightbox{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:24px;background:#0f172ab8}.image-lightbox-card{position:relative;display:flex;flex-direction:column;gap:12px;max-width:min(80vw,1200px);max-height:80vh;padding:16px;border:1px solid rgba(226,232,240,.9);border-radius:20px;background:#fffffffa;box-shadow:0 28px 80px #0f172a47}.image-lightbox-close{position:absolute;top:12px;right:12px;display:flex;align-items:center;justify-content:center;width:36px;height:36px;border:0;border-radius:999px;background:#0f172ab8;color:#fff;font-size:24px;line-height:1}.image-lightbox-img{display:block;max-width:80vw;max-height:calc(80vh - 56px);border-radius:14px;object-fit:contain}.image-lightbox-title{color:#334155;font-size:14px;font-weight:700;text-align:center}.server-lora-type{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:999px;background:#eff6ff;color:#1d4ed8;font-size:13px;font-weight:700}.server-lora-loading{display:flex;align-items:center;justify-content:center;gap:10px;min-height:220px;color:#64748b}@media (max-width: 900px){.server-lora-header{flex-direction:column}.server-lora-toolbar,.server-lora-toolbar select,.server-lora-toolbar .button{width:100%}.server-lora-table{min-width:860px}.server-lora-preview-column,.server-lora-preview-cell{width:280px}}.model-row-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:210px}.model-row-actions .button,.model-action-link,.model-primary-link{min-height:34px;padding:0 12px;border-radius:10px;font-size:13px;white-space:nowrap}.model-row-actions .button{display:inline-flex;align-items:center}.model-row-actions .button.primary,.model-drawer-actions .button.primary,.model-action-button.primary{border-color:#2563eb;background:#2563eb;color:#fff;box-shadow:0 8px 20px #2563eb29}.model-action-button.partial{border-color:#fde68a;background:#fff8e6;color:#8a5a00}.model-row-actions .button.secondary,.model-drawer-actions .button.secondary,.model-action-button.secondary,.model-action-button.neutral{border-color:#d7dfeb;background:#fff;color:#334155}.model-row-actions .button.danger,.model-drawer-actions .button.danger,.model-action-button.danger{border-color:#fca5a5;background:#fef2f2;color:#b91c1c}.model-action-button.pending{border-color:#bfdbfe;background:#eff6ff;color:#1d4ed8}.model-action-link{display:inline-flex;align-items:center;justify-content:center;border:1px solid #dbe5f3;background:#fff;color:#334155}.model-drawer{position:sticky;top:20px;display:grid;gap:18px;min-width:0;padding:22px}.model-drawer.empty{align-content:start;color:#64748b}.model-drawer-head{display:grid;grid-template-columns:72px minmax(0,1fr);gap:16px;align-items:center}.model-large-thumb{width:72px;height:72px;font-size:24px}.model-drawer-head h3{margin:0 0 10px;color:#111827;font-size:22px;overflow-wrap:anywhere}.model-drawer-section{display:grid;gap:10px;min-width:0}.model-drawer-section h4{margin:0 0 4px;color:#172033;font-size:16px}.model-info-line,.model-prefix-preview{display:grid;grid-template-columns:96px minmax(0,1fr);gap:12px;min-width:0}.model-info-line span,.model-prefix-preview span{color:#64748b;font-size:13px;font-weight:850}.model-info-line strong,.model-prefix-preview strong{min-width:0;color:#172033;font-size:13px;line-height:1.5;overflow-wrap:anywhere}.model-info-line-multiline{align-items:start}.model-info-stack{display:grid;gap:8px;min-width:0}.model-info-stack-item{display:grid;gap:2px}.model-info-stack-item strong{color:#172033;font-size:13px;line-height:1.5;overflow-wrap:anywhere}.model-info-stack-item span{color:#475569;font-size:13px;line-height:1.5;overflow-wrap:anywhere}.model-prefix-preview.clamp strong{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3}.model-plain-button{width:fit-content;min-height:32px;border:1px solid #dbe5f3;border-radius:10px;background:#fff;color:#334155;cursor:pointer;font-weight:850}.model-drawer-actions{display:flex;gap:10px;flex-wrap:wrap}.model-primary-link{display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#0b62ff,#1d78ff);color:#fff;font-weight:900;box-shadow:0 12px 24px #0d64ff2e}.model-primary-link:hover{color:#fff}.model-drawer-advanced{border-top:1px solid #edf1f7;padding-top:12px}.model-drawer-advanced summary{cursor:pointer;color:#172033;font-weight:900}.model-drawer-advanced[open] summary{margin-bottom:12px}.model-metadata-block{max-height:280px;max-width:100%;overflow:auto;margin:12px 0 0;padding:12px;border-radius:12px;background:#0f172a;color:#dbeafe;white-space:pre-wrap;word-break:break-word;overflow-wrap:anywhere}@keyframes spin{to{transform:rotate(360deg)}}@media (max-width: 1280px){.training-stats-grid,.model-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.training-task-table .optional-col,.model-table .optional-col{display:none}.training-summary-card{grid-template-columns:repeat(3,minmax(0,1fr))}.summary-task-cell,.summary-item,.summary-progress{border-bottom:1px solid #edf1f7}}@media (max-width: 1024px){.training-queue-panel,.training-filter-row{display:grid;justify-items:stretch}.training-search{max-width:none}.training-detail-grid{grid-template-columns:minmax(0,1fr)}.recent-progress-line{grid-template-columns:repeat(2,minmax(0,1fr))}.model-library-grid{grid-template-columns:minmax(0,1fr)}.model-drawer{position:static}}@media (max-width: 768px){.training-stats-grid{grid-template-columns:1fr}.model-library-header{display:grid;align-items:start}.model-stats-grid{grid-template-columns:1fr}.model-filter-card{display:grid}.model-filter-tabs{width:100%;overflow-x:auto}.model-search{min-width:0}.training-filter-row{gap:12px}.training-tabs{width:100%;overflow-x:auto}.training-tabs button{flex:1 0 auto}.training-detail-title{display:grid;gap:10px}.training-summary-card,.story-info-grid,.progress-metrics,.recent-progress-line{grid-template-columns:1fr}.summary-task-cell,.summary-item,.summary-progress{min-height:auto;border-right:0}.result-row,.model-info-line,.model-prefix-preview{grid-template-columns:1fr}}@media (max-width: 900px){.login-page{padding:18px}.login-shell{grid-template-columns:1fr;width:min(100%,460px);min-height:auto}.login-showcase,.login-panel{padding:24px 22px}.login-hero-illustration{height:150px}.login-copy h1{font-size:26px}.login-copy p{font-size:14px}.login-feature-grid,.login-flow-card{grid-template-columns:1fr}.login-flow-step:not(:last-child):after{display:none}.login-form-head h2{font-size:30px}.login-field span{font-size:15px}.login-field input,.login-submit{min-height:50px;font-size:16px}.login-password-toggle,.login-remember,.login-error{font-size:14px}.app-shell{display:block}.app-sidebar{position:static;width:auto;height:auto;padding:16px}.app-nav{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:18px}.app-topbar{display:grid;padding:18px}.topbar-actions{justify-content:space-between}.app-content{padding:0 18px 28px}.dashboard-hero{display:grid;padding:28px}.hero-illustration{width:100%;max-width:360px}.dashboard-stats,.dashboard-main-grid{grid-template-columns:1fr}.flow-steps{grid-template-columns:1fr;gap:12px}.flow-step{grid-template-columns:42px 1fr;justify-items:start;text-align:left}.flow-step:not(:last-child):after{display:none}.dashboard-side-panel{position:fixed;inset:auto 16px 16px;top:auto;width:auto;max-height:calc(100vh - 32px)}.editor-header.draggable{cursor:default}.editor-actions.split{align-items:stretch;flex-direction:column}.editor-save-actions{justify-content:flex-start}.dataset-header{display:grid;align-items:start}.dataset-toolbar{align-items:stretch}.dataset-search{width:100%}.dataset-create-card form,.dataset-layout-grid{grid-template-columns:1fr}.dataset-tips{position:static}.layout{display:block}.sidebar{position:static;width:auto;height:auto}.sidebar nav{grid-template-columns:repeat(2,minmax(0,1fr))}.content,.topbar{padding-left:18px;padding-right:18px}}@media (max-width: 480px){.endpoint-grid{grid-template-columns:minmax(0,1fr)}}
