:root{--blue:#407bff;--nav:#2e3957;--ink:#344267;--muted:#99a4b8;--line:#e7ebf3}*{box-sizing:border-box}body{margin:0;background:#eff1f6;color:var(--ink);font:14px -apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif}button,input,select,textarea{font:inherit}button,a{cursor:pointer}a{color:var(--blue);text-decoration:none}aside{width:224px;background:var(--nav);position:fixed;inset:0 auto 0 0;color:#fff}.brand{height:82px;display:flex;align-items:center;padding:24px;font-size:22px;background:#34436b;letter-spacing:2px}aside small{display:block;color:#9eabc4;padding:30px 24px 12px;font-size:12px}aside a{display:block;color:#dce2ee;padding:17px 30px}aside a.active{background:var(--blue);color:white}header{height:76px;background:white;margin-left:224px;display:flex;align-items:center;justify-content:space-between;padding:0 32px;border-bottom:1px solid var(--line)}header span{color:var(--muted);margin-right:22px}.profile{display:flex;align-items:center;gap:12px}.avatar{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;background:#eaf0ff;color:var(--blue);margin-right:10px;font-size:13px}main{margin-left:224px;padding:30px 32px}.crumb{margin-bottom:26px;font-size:16px}.crumb span{color:var(--muted);margin:0 14px}.panel{background:white;border-radius:6px;margin-bottom:24px;padding:28px}h2{font-size:18px;margin:0 0 20px;font-weight:600}h2:before{content:'';display:inline-block;width:3px;height:18px;background:var(--blue);margin-right:12px;vertical-align:-3px}.sub{color:var(--muted);line-height:1.8;margin:0 0 24px}.toolbar{display:flex;gap:14px;align-items:center;margin-bottom:26px;flex-wrap:wrap}.toolbar .search{margin-left:auto}button,.btn{border:1px solid #dbe1ed;background:white;padding:10px 17px;border-radius:4px;color:var(--ink);display:inline-block}button:hover,.btn:hover{border-color:var(--blue);color:var(--blue)}button.primary,.btn.primary{background:var(--blue);border-color:var(--blue);color:white}button.link{padding:3px 6px;border:0;background:none;color:var(--blue)}button.danger{color:#ed5265}input,select,textarea{padding:10px 12px;border:1px solid #dbe1ed;border-radius:4px;color:var(--ink);background:white}input:focus,textarea:focus{outline:1px solid var(--blue)}.search input{width:245px}table{border-collapse:collapse;width:100%;font-size:14px}th,td{padding:19px 16px;text-align:left;border:1px solid var(--line);font-weight:400}th{background:#fafbfc;color:#929db1;font-weight:500}td .actions{display:flex;gap:8px;align-items:center;white-space:nowrap}tbody tr:hover{background:#fcfdff}.scroll{overflow:auto}.pagination{display:flex;justify-content:flex-end;align-items:center;gap:18px;margin-top:23px;font-size:13px}.pagination b{color:var(--blue);font-weight:500}.toggle{width:42px;height:23px;background:#dfe4ef;border:0;border-radius:20px;padding:3px;display:inline-flex;align-items:center}.toggle:before{content:'';width:17px;height:17px;background:white;border-radius:50%;box-shadow:0 1px 3px #0001}.toggle.on{background:var(--blue);justify-content:flex-end}.badge{display:inline-block;padding:4px 9px;border-radius:3px;background:#edf8f2;color:#31a775;font-size:12px}.badge.warn{background:#fff3e8;color:#cb823c}.badge.gray{background:#f1f3f7;color:#929db1}.notice{padding:17px 20px;background:#f0f5ff;border:1px solid #dce7ff;line-height:1.8;margin-bottom:24px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:24px}.stat{background:white;padding:24px;border-radius:5px;color:var(--muted)}.stat strong{display:block;color:var(--ink);font-size:30px;margin-top:14px;font-weight:500}.tabs{display:flex;gap:32px;border-bottom:1px solid var(--line);margin:-5px -28px 26px;padding:0 28px}.tabs button{border:0;border-radius:0;padding:14px 0 18px}.tabs button.selected{color:var(--blue);border-bottom:2px solid var(--blue)}footer{text-align:center;color:#a8b1c3;margin:35px 0;font-size:12px}.prototype{font-size:12px;color:#8c98af;background:#f5f7fb;padding:5px 10px;border-radius:3px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.poster{aspect-ratio:3/4;background:#e8edf0;padding:26px;display:flex;flex-direction:column;justify-content:space-between;color:#52686a}.poster strong{font-size:25px;font-weight:400;line-height:1.8}.poster.alt{background:#f4ede2;color:#846e4c}.poster.blue{background:#e6edf8;color:#536786}.card{border:1px solid var(--line);padding:12px}.card p{display:flex;justify-content:space-between}dialog{border:0;border-radius:8px;padding:28px;width:540px;color:var(--ink);box-shadow:0 16px 80px #13244733;max-height:90vh;overflow:auto}dialog::backdrop{background:#17243e66}dialog h3{margin-top:0;font-size:19px}dialog label{display:block;margin:16px 0 7px}dialog input,dialog select,dialog textarea{width:100%}dialog textarea{min-height:120px}dialog .bottom{display:flex;gap:12px;justify-content:flex-end;margin-top:28px}.toast{position:fixed;bottom:35px;left:50%;transform:translateX(-50%);background:#293858;color:white;padding:12px 22px;border-radius:6px;z-index:100}.empty{text-align:center;padding:45px;color:var(--muted)}.file{border:1px dashed #cbd6eb;padding:30px;text-align:center;background:#f8faff}.file input{border:0;background:transparent}.check{width:auto}.hint{font-size:12px;color:var(--muted)}@media(max-width:1100px){aside{width:185px}.brand{font-size:18px}header,main{margin-left:185px}main{padding:24px 20px}td,th{padding:15px 10px}.cards{grid-template-columns:repeat(2,1fr)}}
.brand{font-size:18px;letter-spacing:1px;white-space:nowrap;padding:20px}
.auth-shell{max-width:560px;margin:60px auto;padding:20px}.auth-card{margin-top:22px;padding:36px}.auth-card h1{font-size:24px;margin:28px 0 12px}.auth-card input{width:100%;margin:8px 0 15px}.auth-card label{display:block}.auth-card .notice{font-size:13px}
.login-layout{max-width:460px;margin:100px auto}.login-layout input{display:block;width:100%;margin:12px 0 22px}.error{color:#c84b5c;line-height:1.8}.login-layout h1{font-size:25px}.full{width:100%}.user-status{display:flex;align-items:center;gap:10px}.heading-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.material-image{width:100px;height:140px;object-fit:cover}.materials-grid{display:flex;gap:16px;flex-wrap:wrap}.quotes-input{width:100%;min-height:260px}.login-layout .sub{margin-top:18px}.status-banner{padding:15px;margin-bottom:22px;border:1px solid #dce7ff;background:#f4f7ff}.empty{text-align:center}.auth-info{margin-top:16px}.summary-name{font-weight:600}.minor{font-size:12px;color:#9aa5b6}.notice.error{background:#fff3f4;border-color:#f1d4d9}
:focus-visible{outline:2px solid #407bff;outline-offset:3px}button:disabled{opacity:.6;cursor:wait}a,button{touch-action:manipulation}.scroll{overscroll-behavior:contain}td{overflow-wrap:anywhere}.login-layout input{font-size:16px}#toast{pointer-events:none}
@media(max-width:700px){aside{position:static;width:100%;display:flex;overflow:auto;align-items:center}aside .brand{font-size:14px;min-width:160px;height:58px}aside a{padding:18px 14px;white-space:nowrap;font-size:13px}header,main{margin-left:0}header{height:64px;padding:0 18px}main{padding:20px 14px}.panel{padding:20px 16px}.login-layout{margin:40px 16px}.heading-row{gap:12px;align-items:flex-start}.toolbar input{max-width:100%}dialog{width:calc(100% - 28px)}.materials-grid{gap:12px}}
