:root{--navy:#071525;--navy2:#10243a;--gold:#d5a73a;--bg:#f4f6f8;--card:#fff;--text:#172033;--muted:#667085;--rule:#dce2ea;--red:#b42318;--green:#18794e;--shadow:0 10px 28px rgba(16,36,58,.08)}
*{box-sizing:border-box}html{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--text);background:var(--bg)}body{margin:0;min-height:100vh;background:var(--bg)}a{color:inherit;text-decoration:none}button,input,select{font:inherit}.shell{width:min(1120px,calc(100% - 32px));margin:0 auto}.topbar{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid var(--rule)}.topbar-inner{height:68px;display:flex;align-items:center;gap:22px}.brand{display:flex;align-items:center;gap:10px;min-width:190px}.brand img{height:31px;max-width:122px;object-fit:contain}.brand span{font-size:11px;color:var(--muted);white-space:nowrap}.nav{display:flex;gap:5px;flex:1;justify-content:center}.nav a{display:flex;align-items:center;gap:7px;padding:9px 12px;border-radius:8px;color:var(--muted);font-size:14px;font-weight:650}.nav a:hover{background:#f2f4f7;color:var(--text)}.nav a.active{background:var(--navy);color:#fff}.nav-icon{font-size:17px;line-height:1}.account{display:flex;align-items:center;gap:10px}.account form{margin:0}.username{font-size:13px;color:var(--muted);white-space:nowrap}.icon-button{border:0;background:transparent;width:36px;height:36px;border-radius:8px;cursor:pointer;color:var(--muted);font-size:18px}.icon-button:hover{background:#f2f4f7;color:var(--text)}.main{min-height:calc(100vh - 137px);padding:36px 0 54px}.footer{background:#fff;border-top:1px solid var(--rule)}.footer-inner{min-height:68px;display:flex;align-items:center;justify-content:space-between;gap:20px;color:var(--muted);font-size:12px}.footer strong{color:var(--text)}.page-head{margin:0 auto 22px;max-width:780px}.page-head h1{font-size:25px;line-height:1.2;margin:0 0 8px;letter-spacing:-.025em}.page-head p{margin:0;color:var(--muted);font-size:14px;line-height:1.55}.row-head{max-width:none;display:flex;align-items:end;justify-content:space-between;gap:20px}.card{background:#fff;border:1px solid var(--rule);border-radius:14px;box-shadow:var(--shadow)}.panel{max-width:780px;margin:0 auto 18px;padding:25px}.card-head{margin-bottom:22px}.card-head h2,.section-heading h1,.section-heading h2{font-size:16px;margin:0 0 5px}.card-head p,.section-heading p{margin:0;color:var(--muted);font-size:13px;line-height:1.45}.section-heading.compact{margin-bottom:2px}.stack{display:flex;flex-direction:column;gap:19px}.grid{display:grid;gap:16px}.grid.two{grid-template-columns:1fr 1fr}.span-2{grid-column:1/-1}label,.field-label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:650;color:#344054}input,select{width:100%;height:42px;border:1px solid #cfd6df;border-radius:8px;background:#fff;padding:0 12px;color:var(--text);outline:none;transition:.15s;border-color:.15s}input::placeholder{color:#98a2b3}input:focus,select:focus{border-color:var(--gold);box-shadow:0 0 0 3px rgba(213,167,58,.15)}.dropzone{position:relative;min-height:132px;border:2px dashed #cfd6df;border-radius:11px;display:flex;align-items:center;justify-content:center;gap:6px;text-align:center;cursor:pointer;padding:22px;color:var(--muted);font-weight:500;transition:.15s}.dropzone:hover,.dropzone.drag{border-color:var(--gold);background:#fffaf0}.dropzone input{position:absolute;inset:0;opacity:0;cursor:pointer;height:100%}.dropzone strong{font-size:14px;color:#475467}.dropzone small{font-size:12px;color:#98a2b3;font-weight:400}.drop-icon{font-size:28px;color:var(--gold)}.file-list{display:flex;flex-direction:column;gap:7px;margin-top:10px}.file-pill{display:flex;align-items:center;justify-content:space-between;background:#f5f7fa;border-radius:8px;padding:9px 11px;font-size:12px;color:#475467}.file-pill b{font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-pill span{color:#98a2b3;margin-left:12px;white-space:nowrap}.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;height:42px;border-radius:8px;padding:0 16px;border:1px solid transparent;font-weight:700;font-size:13px;cursor:pointer;transition:.15s}.button:hover{transform:translateY(-1px)}.button:disabled{opacity:.45;cursor:not-allowed;transform:none}.button.primary{background:var(--navy);color:#fff}.button.primary:hover{background:#102b47}.button.secondary{background:#fff;color:var(--text);border-color:#cfd6df}.button.secondary:hover{background:#f8fafc}.button.danger{color:var(--red)}.button.ghost{background:transparent;border-color:transparent}.button.small{height:35px;padding:0 12px}.button.full{width:100%}.button.busy{pointer-events:none;opacity:.75}.button.busy:before{content:"";width:14px;height:14px;border:2px solid rgba(255,255,255,.4);border-top-color:#fff;border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.alert{max-width:780px;margin:0 auto 16px;padding:12px 14px;border-radius:9px;font-size:13px;border:1px solid}.alert.success{background:#ecfdf3;color:#067647;border-color:#abefc6}.alert.error{background:#fef3f2;color:#b42318;border-color:#fecdca}.result-card{max-width:780px;margin:18px auto 0;padding:20px;display:flex;align-items:center;gap:16px}.result-icon{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#ecfdf3;color:var(--green);font-weight:900;font-size:20px}.result-copy{flex:1;min-width:0}.result-copy h3{font-size:15px;margin:0 0 4px}.result-copy p{font-size:13px;color:var(--muted);margin:0}.result-copy small{display:block;margin-top:5px;color:#8a5a00}.search{display:flex;gap:8px;min-width:330px}.history-list{display:flex;flex-direction:column;gap:11px}.history-item{padding:18px 20px;display:flex;align-items:center;justify-content:space-between;gap:20px}.history-main{min-width:0;flex:1}.history-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.history-title strong{font-size:15px}.badge,.status{display:inline-flex;align-items:center;min-height:23px;padding:2px 8px;border-radius:999px;border:1px solid #d0d5dd;color:#475467;font-size:11px;font-weight:700}.status.done{background:#ecfdf3;border-color:#abefc6;color:#067647}.status.error{background:#fef3f2;border-color:#fecdca;color:#b42318}.status.processing{background:#fff7e6;border-color:#f7d88a;color:#805d05}.history-meta{margin-top:7px;font-size:12px;color:var(--muted)}.history-note{margin-top:7px;font-size:12px;color:#805d05}.history-error{margin-top:7px;font-size:12px;color:var(--red)}.history-actions{display:flex;align-items:center;gap:7px}.history-actions form{margin:0}.empty{text-align:center;padding:85px 20px;color:var(--muted)}.empty>div{font-size:42px;color:#c6cdd6;margin-bottom:10px}.empty h1,.empty h2{color:var(--text);font-size:19px;margin:0 0 8px}.empty p{margin:0 0 20px}.storage-line{display:flex;justify-content:space-between;gap:15px;color:var(--muted);font-size:13px}.storage-line strong{color:var(--text)}.progress{height:8px;background:#eef1f5;border-radius:999px;overflow:hidden;margin:12px 0 16px}.progress i{display:block;height:100%;background:var(--gold);border-radius:999px}.user-create{grid-template-columns:1fr 1fr 1fr auto;align-items:end}.user-list{display:flex;flex-direction:column}.user-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:13px 0;border-top:1px solid var(--rule)}.user-row:first-child{border-top:0}.user-row>div{display:flex;align-items:center;gap:10px}.user-row strong{font-size:14px}.divider{height:1px;background:var(--rule);margin:3px 0}.auth-body{min-height:100vh;background:var(--navy);display:grid;place-items:center;padding:32px 16px}.auth-wrap{width:min(380px,100%);text-align:center}.install-wrap{width:min(520px,100%)}.auth-logo{height:55px;max-width:220px;object-fit:contain}.auth-subtitle{margin:12px 0 24px;color:rgba(255,255,255,.58);font-size:13px}.auth-card{padding:25px;text-align:left}.auth-license{color:rgba(255,255,255,.35);font-size:11px;margin:20px 0 0}.auth-wrap .alert{margin-bottom:14px}.install-wrap .auth-card{padding:28px}.install-wrap .section-heading{text-align:left}.install-wrap .section-heading h1{font-size:18px}.install-wrap .section-heading h2{font-size:15px}
@media(max-width:860px){.topbar-inner{gap:10px}.brand{min-width:auto}.brand span,.username{display:none}.nav{justify-content:flex-end}.nav a span:last-child{display:none}.nav a{padding:9px 11px}.user-create{grid-template-columns:1fr 1fr}.user-create .button{grid-column:1/-1}.row-head{align-items:stretch;flex-direction:column}.search{min-width:0}.footer-inner{flex-direction:column;justify-content:center;text-align:center;padding:15px 0}.main{padding-top:26px}}
@media(max-width:620px){.shell{width:min(100% - 22px,1120px)}.topbar-inner{height:62px}.brand img{height:27px}.nav a{padding:8px 9px}.main{padding-bottom:38px}.page-head h1{font-size:21px}.panel{padding:19px}.grid.two,.user-create{grid-template-columns:1fr}.span-2{grid-column:auto}.history-item{align-items:flex-start;flex-direction:column}.history-actions{width:100%}.history-actions .button{flex:1}.result-card{align-items:flex-start;flex-wrap:wrap}.result-copy{min-width:calc(100% - 60px)}.result-card>.button{width:100%}.search{flex-direction:column}.footer{font-size:11px}}
