*{box-sizing:border-box}html,#app{min-height:100vh;background:#f4f7f7}body{margin:0;min-height:100vh;font-family:Inter,Segoe UI,Arial,sans-serif;background:#f4f7f7}html.theme-dark,html.theme-dark body,html.theme-dark #app{background:#101614}button,input,textarea{font:inherit}.page-layout,.search-page,.login-shell{min-height:100vh}.app-shell{height:100vh;overflow:hidden}.page-layout{background:transparent}.search-page,.login-shell{background:radial-gradient(circle at 18% 18%,rgba(20,184,166,.14),transparent 24rem),radial-gradient(circle at 82% 8%,rgba(37,99,235,.1),transparent 22rem),linear-gradient(180deg,#f8fffe,#eef3f6)}.search-page .n-layout,.search-page .n-layout-content,.search-page .n-layout-scroll-container,.login-shell .n-card{background:transparent}.top-nav{height:68px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 clamp(18px,4vw,44px);background:#ffffffc7;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.top-nav>.n-flex{flex:0 0 auto;flex-wrap:nowrap}.brand-button{display:inline-flex;align-items:center;gap:10px;flex:0 1 auto;min-width:0;color:var(--n-text-color, #10201f);font-weight:760;height:auto;padding:0}.brand-button .n-button__content{display:inline-flex;align-items:center;gap:10px;min-width:0}.brand-mark{width:38px;height:38px;display:inline-grid;place-items:center;flex:0 0 auto;border-radius:8px;color:#fff;background:linear-gradient(135deg,#0f766e,#2563eb);font-size:13px;font-weight:800;letter-spacing:0;box-shadow:0 12px 30px #0f766e33}.search-hero{min-height:430px;display:grid;grid-template-columns:minmax(300px,.72fr) minmax(420px,560px);gap:clamp(28px,6vw,76px);align-items:center;width:min(1180px,calc(100vw - 32px));margin:0 auto;padding:clamp(34px,7vw,72px) 0 28px}.eyebrow{display:inline-flex;width:fit-content;align-items:center;padding:5px 10px;border:1px solid rgba(15,118,110,.16);border-radius:8px;color:#0f766e;background:#ffffff9e;font-size:13px;font-weight:700}.hero-copy{display:grid;gap:20px}.hero-copy h1{margin:0;max-width:9em;font-size:clamp(38px,6.4vw,62px);line-height:1.05;font-weight:780;color:#0a1918}.search-stats{display:grid;grid-template-columns:repeat(2,minmax(120px,1fr));gap:12px;max-width:390px}.search-stats div{display:grid;gap:5px;padding:14px;border:1px solid rgba(15,118,110,.13);border-radius:8px;background:#ffffff9e}.search-stats span,.search-panel-head span{color:#667371;font-size:13px}.search-stats strong,.search-panel-head strong{color:#10201f;font-size:16px}.search-panel,.surface-card,.login-panel{border-radius:8px;box-shadow:0 18px 55px #0f172a14}.search-controls{display:grid;gap:16px}.search-panel-head{display:flex;align-items:center;justify-content:flex-start;gap:10px;min-width:0}.search-panel-head strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.upload-dragger{min-height:176px;display:grid;place-items:center;padding:16px}.drag-preview{width:min(128px,42vw);aspect-ratio:1;display:grid;place-items:center;margin:0 auto 12px;overflow:hidden;border:1px solid rgba(15,118,110,.18);border-radius:8px;background:linear-gradient(45deg,rgba(15,118,110,.08) 25%,transparent 25%),linear-gradient(-45deg,rgba(37,99,235,.06) 25%,transparent 25%),#f8fffe;background-size:18px 18px}.drag-preview img{width:100%;height:100%;object-fit:cover}.drag-copy{display:grid;gap:6px;text-align:center}.drag-copy strong{font-size:16px}.drag-copy span,.hint{color:#667371;font-size:13px;line-height:1.6}.results-band{width:min(1180px,calc(100vw - 32px));margin:0 auto 38px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.result-list{display:grid;gap:12px}.result-card .n-card__content{display:block}.result-rank{display:inline-flex;align-items:center;justify-content:center;min-width:46px;height:34px;padding:0 12px;border-radius:8px;background:#e8f5f3;color:#0f766e;font-weight:800}.result-main{min-width:0;display:grid;gap:8px}.result-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.result-meta{display:flex;align-items:center;gap:10px;min-width:0}.result-head strong{font-size:18px;color:#0f3f3a}.result-main p{margin:0;color:#52615f;line-height:1.5}.login-shell{display:grid;place-items:center;padding:24px}.login-panel{width:min(440px,calc(100vw - 32px))}.login-heading{display:flex;gap:14px;align-items:center;margin-bottom:24px}.login-heading h1{margin:0;font-size:28px}.login-heading p{margin:4px 0 0;color:#65706e}.admin-sider{height:100vh}.mobile-menu-button{display:none;flex:0 0 auto}.admin-sider .n-layout-sider-scroll-container{display:flex;flex-direction:column;height:100%;padding:20px 12px}.side-brand{display:flex;align-items:center;gap:10px;min-height:44px;padding:0 8px 18px;font-size:18px;white-space:nowrap;overflow:hidden}.side-actions{display:grid;gap:8px;margin-top:auto;padding:12px 4px 0}.admin-sider.n-layout-sider--collapsed .n-layout-sider-scroll-container{padding-left:12px;padding-right:12px}.admin-sider.n-layout-sider--collapsed .side-brand{justify-content:center;padding-left:0;padding-right:0}.admin-sider.n-layout-sider--collapsed .brand-mark{width:36px;height:36px}.admin-sider.n-layout-sider--collapsed .side-actions{padding-left:0;padding-right:0}.admin-sider.n-layout-sider--collapsed .side-actions .n-button{width:52px;padding-left:0;padding-right:0}.workspace-header{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px clamp(18px,3vw,30px)}.workspace-header h2{margin:0;font-size:28px}.workspace-header p{margin:5px 0 0;color:#637270}.workspace{min-width:0;max-width:100%;height:calc(100vh - 78px);overflow:auto;padding:clamp(18px,3vw,30px);background:radial-gradient(circle at 92% 4%,rgba(20,184,166,.08),transparent 22rem),#f4f7f7}.grid{display:grid;grid-template-columns:minmax(320px,420px) minmax(0,1fr);gap:18px;min-width:0}.wide{grid-column:1 / -1}.surface-card,.surface-card .n-card__content,.surface-card .n-card-header,.job-detail,.settings-grid,.metric-row{min-width:0}.surface-card .n-data-table,.surface-card .n-descriptions,.surface-card .n-log{max-width:100%}.panel-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:14px}.progress-box{display:grid;gap:8px;margin-bottom:14px;padding:14px;border:1px solid rgba(15,118,110,.15);border-radius:8px;background:#f3fbfa}.progress-meta,.job-progress-cell{display:flex;align-items:center;justify-content:space-between;gap:12px}.job-progress-cell .n-progress{flex:1;min-width:120px}.progress-box p{margin:0;color:#52615f;font-size:13px}.table-actions{display:flex;gap:4px}.clickable-row{cursor:pointer}.path{word-break:break-all}.muted-text{color:#7a8583}.error-text{color:#d03050}.job-detail{display:grid;gap:16px}.drawer-brand{display:flex;align-items:center;gap:10px;margin-bottom:16px}.drawer-actions{margin-top:18px}.command-input{margin-bottom:10px;font-family:Consolas,SFMono-Regular,monospace}.settings-grid{display:grid;grid-template-columns:minmax(260px,1fr) minmax(220px,.75fr);gap:12px;margin-bottom:12px}.metric-row{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));gap:14px;margin-bottom:18px}.metric-row div{display:grid;gap:8px;padding:16px;border:1px solid rgba(15,118,110,.13);border-radius:8px;background:linear-gradient(180deg,#fbfffe,#f1f8f7)}.metric-row span{color:#60706d;font-size:13px}.metric-row strong{font-size:26px;color:#0f3f3a}html.theme-dark .search-page,html.theme-dark .page-layout,html.theme-dark .search-page .n-layout,html.theme-dark .search-page .n-layout-content,html.theme-dark .search-page .n-layout-scroll-container,html.theme-dark .login-shell{background:radial-gradient(circle at 18% 18%,rgba(20,184,166,.16),transparent 24rem),radial-gradient(circle at 82% 8%,rgba(37,99,235,.14),transparent 22rem),#101614}html.theme-dark .n-config-provider{min-height:100vh;background:#101614}html.theme-dark .app-shell,html.theme-dark .app-shell>.n-layout,html.theme-dark .app-shell .n-layout-content,html.theme-dark .app-shell .n-layout-scroll-container{background:#101614}html.theme-dark .top-nav{background:#18181cc7}html.theme-dark .hero-copy h1{color:#f1fbfa}html.theme-dark .eyebrow,html.theme-dark .search-stats div{background:#181c1cb3}html.theme-dark .search-stats strong,html.theme-dark .search-panel-head strong{color:#eef7f5}html.theme-dark .workspace{background:radial-gradient(circle at 92% 4%,rgba(20,184,166,.1),transparent 22rem),#101614}html.theme-dark .drag-preview,html.theme-dark .progress-box,html.theme-dark .metric-row div,html.theme-dark .result-rank{background:#181c1b}html.theme-dark .metric-row strong,html.theme-dark .result-head strong{color:#eef7f5}html.theme-dark .result-rank{color:#5eead4}@media(max-width:980px){.search-hero{grid-template-columns:1fr;min-height:0}.app-shell{display:block;height:auto;min-height:100vh;overflow:visible}.admin-sider{display:none}.workspace{height:auto;min-height:calc(100vh - 78px);overflow-x:hidden;overflow-y:visible}.grid{grid-template-columns:minmax(0,1fr)}.settings-grid{grid-template-columns:1fr}.metric-row{grid-template-columns:repeat(2,minmax(130px,1fr))}.mobile-menu-button{display:inline-flex}.workspace-header{justify-content:flex-start}.workspace-header>div{flex:1;min-width:0}}@media(max-width:620px){.search-panel-head,.panel-footer{align-items:stretch;flex-direction:column;height:auto}.top-nav{height:60px;padding-top:14px;padding-bottom:14px;align-items:center;flex-direction:row;justify-content:space-between}.top-nav .brand-mark{width:34px;height:34px}.top-nav .brand-button{justify-content:flex-start}.top-nav .brand-name{display:none}.top-nav>.n-flex{gap:8px!important}.workspace-header{min-height:70px;padding-top:12px;padding-bottom:12px}.workspace-header h2{font-size:22px}.workspace-header p{font-size:12px}.search-hero{width:min(100% - 24px,1180px);padding-top:24px}.hero-copy h1{font-size:36px}.search-stats{grid-template-columns:1fr}.results-band{width:min(100% - 24px,1180px)}.result-rank{min-width:42px;height:32px}.result-head{align-items:center;flex-direction:row}.result-meta{gap:8px}.metric-row{grid-template-columns:1fr}.workspace{padding:12px}.grid{gap:12px}.surface-card,.login-panel{box-shadow:0 10px 28px #0f172a14}.surface-card .n-card-header,.surface-card .n-card__content{padding-left:14px;padding-right:14px}.job-detail .n-descriptions{overflow-x:auto}.job-detail .n-data-table,.surface-card .n-data-table{overflow:hidden}}
