*{box-sizing:border-box}:root{--ink: #15212f;--muted: #667085;--line: #dce3ec;--paper: #f6f8fc;--surface: #ffffff;--brand: #5d6bdf;--brand-deep: #3543a9;--accent: #2f6f73;--soft: #eef2ff;--danger: #b42318}body{margin:0;font-family:Inter,PingFang SC,Microsoft YaHei,system-ui,sans-serif;color:var(--ink);background:var(--paper)}button,input,textarea{font:inherit}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid rgba(47,111,115,.22);outline-offset:2px}.portal-page{min-height:100vh;display:grid;grid-template-columns:300px minmax(0,1fr)}.portal-rail{position:sticky;top:0;height:100vh;padding:26px;background:#fff;color:var(--ink);border-right:1px solid var(--line);display:flex;flex-direction:column;gap:22px;overflow:hidden}.portal-rail:after{display:none}.brand{position:relative;z-index:1;display:flex;align-items:center;gap:14px}.brand-mark{width:48px;height:48px;border-radius:14px;background:var(--brand);color:#fff;display:grid;place-items:center;font-weight:900;font-size:24px}.brand-logo{width:52px;height:52px;flex:0 0 auto;border-radius:14px;object-fit:cover;background:#fff;box-shadow:0 8px 20px #15212f14}.brand strong{display:block;font-size:17px}.brand span{display:block;margin-top:3px;color:#8a94a6;font-size:12px;letter-spacing:.08em;text-transform:uppercase}.seal-panel{position:relative;z-index:1;margin-top:8px;padding:18px;border:1px solid var(--line);border-radius:8px;background:#f8faff}.seal{width:50px;height:50px;border:1px solid rgba(93,107,223,.26);border-radius:14px;display:grid;place-items:center;color:var(--brand);background:#fff;font-size:17px;font-weight:900}.seal-panel p{margin:14px 0 0;color:var(--muted);line-height:1.7;font-size:14px}.flow{position:relative;z-index:1;margin:auto 0 0;padding:0;list-style:none;display:grid;gap:12px}.flow li{display:flex;align-items:center;gap:12px;padding:11px 12px;border-radius:8px;color:#667085}.flow li.active{background:var(--soft);color:var(--brand-deep)}.flow li.done{color:#287055}.flow b{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:#f1f4f9;color:#667085}.flow li.active b{background:var(--brand);color:#fff}.flow li.done b{background:#dff4ea;color:#287055}.portal-surface{min-width:0;padding:34px 40px;display:flex;flex-direction:column;align-items:center;justify-content:center}.portal-surface>*{width:min(100%,1160px)}.workspace-head{max-width:1160px;display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:22px}.header-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}.workspace-head.compact{margin-bottom:14px}.eyebrow{margin:0 0 8px;color:var(--brand);font-size:13px;font-weight:800}h1,h2{margin:0;letter-spacing:0}h1{max-width:640px;font-size:clamp(28px,2.8vw,38px);line-height:1.18}h2{font-size:18px}.ghost-button,.primary-button,.upload-action{height:42px;padding:0 18px;border-radius:7px;border:1px solid transparent;cursor:pointer;white-space:nowrap}.ghost-button{background:var(--surface);border-color:var(--line);color:var(--brand-deep)}.ghost-button.danger{color:var(--danger)}.primary-button{min-width:132px;background:var(--brand);color:#fff;display:inline-flex;align-items:center;justify-content:center;gap:8px}.primary-button:disabled,.upload-action:has(input:disabled){opacity:.72;cursor:not-allowed}.error-banner,.diff-note{max-width:1080px;margin:0 0 16px;padding:12px 14px;border-radius:7px}.error-banner{background:#fff1f0;color:var(--danger)}.diff-note{background:#fff7ed;color:#9a5b13}.identity-strip{max-width:1160px;margin-bottom:18px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.identity-strip>div{padding:16px;background:#ffffffb8;border:1px solid var(--line);border-radius:8px}.identity-strip span{display:block;color:var(--muted);font-size:13px}.identity-strip strong{display:block;margin-top:4px;font-size:20px}.workspace-grid{max-width:1160px;display:grid;grid-template-columns:minmax(300px,.42fr) minmax(0,1fr);gap:18px;align-items:start}.document-panel,.application-form,.status-board,.empty-board,.reset-panel{background:var(--surface);border:1px solid var(--line);border-radius:8px;box-shadow:0 10px 28px #15212f0f}.document-panel,.application-form,.status-board,.empty-board,.reset-panel{padding:24px}.panel-title{display:flex;gap:12px;margin-bottom:18px}.panel-title p,.form-actions p,.reset-panel p,.empty-board p{margin:5px 0 0;color:var(--muted);line-height:1.6}.panel-kicker{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--soft);color:var(--brand);font-weight:800;font-size:13px}.license-uploader{width:100%;min-width:0;min-height:210px;padding:22px;border:1px dashed #a8b7c3;border-radius:8px;background:#f8fbfa;display:grid;align-content:center;justify-items:stretch;gap:16px}.license-uploader.is-ready{border-style:solid;border-color:#2f6f7352;background:#f2f8f6}.license-icon{width:64px;height:64px;border-radius:18px;background:var(--accent);color:#fff;display:grid;place-items:center;font-size:24px;font-weight:900}.license-preview{width:100%;aspect-ratio:4 / 3;max-height:220px;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:#fff}.license-preview img{width:100%;height:100%;display:block;object-fit:contain}.license-copy strong{display:block;font-size:18px}.license-copy{min-width:0}.license-copy p{margin:6px 0 0;color:var(--muted)}.license-file-name{display:block;max-width:100%;overflow-wrap:anywhere;overflow:hidden;vertical-align:bottom;word-break:break-all}.upload-action{position:relative;width:max-content;display:inline-flex;align-items:center;justify-content:center;background:#fff;border-color:var(--line);color:var(--brand-deep)}.upload-action input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.field{display:grid;gap:7px}.field.wide{grid-column:1 / -1}.field span{font-size:13px;font-weight:700;color:#344054}input{width:100%;height:44px;padding:0 12px;border:1px solid #cfd8e3;border-radius:7px;background:#fff;color:var(--ink)}input::placeholder{color:#98a2b3}textarea{width:100%;padding:14px;border:1px solid #cfd8e3;border-radius:7px;resize:vertical;color:var(--ink)}.form-actions{margin-top:18px;padding-top:18px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:16px}.form-actions p{max-width:460px;margin:0}.loading-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;display:grid;place-items:center;background:#fbfcf8d1;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.loading-card{width:min(360px,calc(100vw - 40px));padding:24px;background:#fff;border:1px solid var(--line);border-radius:8px;box-shadow:0 24px 70px #15212f29;text-align:center}.loading-card strong{display:block;margin-top:12px;font-size:18px}.loading-card p{margin:8px 0 0;color:var(--muted)}.loading-mark,.mini-spinner,.button-spinner{display:inline-block;border-radius:50%;border:3px solid rgba(93,107,223,.18);border-top-color:var(--brand);animation:spin .8s linear infinite}.loading-mark{width:42px;height:42px}.mini-spinner,.button-spinner{width:18px;height:18px}.button-spinner{border-color:#ffffff59;border-top-color:#fff}.status-board,.empty-board,.reset-panel,.direct-entry,.submit-result{max-width:760px}.direct-entry,.submit-result{display:grid;grid-template-columns:64px minmax(0,1fr);gap:18px;padding:26px;background:var(--surface);border:1px solid var(--line);border-radius:8px;box-shadow:0 10px 28px #15212f0f}.direct-icon{width:64px;height:64px;border-radius:16px;display:grid;place-items:center;background:var(--brand);color:#fff;font-size:26px;font-weight:900}.direct-entry p,.submit-result p{margin:10px 0 14px;color:var(--muted);line-height:1.7}.direct-entry ol{margin:0;padding-left:20px;color:#344054;line-height:1.9}.status-badge{width:max-content;margin-bottom:20px;padding:8px 12px;border-radius:7px;background:var(--soft);color:var(--brand);font-weight:800}dl{display:grid;grid-template-columns:120px 1fr;gap:14px}dt{color:var(--muted)}dd{margin:0}.login-page{min-height:100vh;display:grid;place-items:center;padding:28px;background:linear-gradient(90deg,rgba(93,107,223,.08) 1px,transparent 1px),linear-gradient(180deg,rgba(93,107,223,.06) 1px,transparent 1px),#f7f9fc;background-size:44px 44px}.login-shell{width:min(100%,980px);min-height:560px;display:grid;grid-template-columns:minmax(300px,.85fr) minmax(360px,1fr);background:#ffffffeb;border:1px solid var(--line);border-radius:8px;box-shadow:0 24px 70px #15212f1f;overflow:hidden}.login-brief{padding:34px;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;justify-content:space-between;gap:34px}.login-brief-copy{max-width:330px}.login-brief-copy h1{max-width:330px;font-size:34px;line-height:1.16}.login-brief-copy p:last-child{margin:16px 0 0;color:var(--muted);line-height:1.8}.apply-link{width:max-content;min-height:42px;padding:0 16px;border:1px solid rgba(93,107,223,.24);border-radius:7px;display:inline-flex;align-items:center;color:var(--brand-deep);background:var(--soft);font-weight:800;text-decoration:none}.login-form{padding:54px;display:grid;align-content:center;gap:20px}.login-form-head{margin-bottom:8px}.login-form h2{font-size:28px}.login-button{width:100%}.workbench-page{min-height:100vh;display:grid;grid-template-columns:280px minmax(0,1fr)}.workbench-rail{position:sticky;top:0;height:100vh;padding:24px;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;gap:24px}.workbench-nav{display:grid;gap:8px}.workbench-nav a{height:42px;padding:0 12px;border-radius:7px;display:flex;align-items:center;color:#344054;text-decoration:none}.workbench-nav a.router-link-active{background:var(--soft);color:var(--brand-deep);font-weight:800}.rail-account{margin-top:auto;padding:14px;border:1px solid var(--line);border-radius:8px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;background:#f8faff}.rail-account span{display:block;color:var(--muted);font-size:12px}.rail-account strong{display:block;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.rail-account button{height:32px;padding:0 10px;border:1px solid var(--line);border-radius:7px;background:#fff;color:#344054;cursor:pointer}.workbench-main{min-width:0;padding:34px 40px}.workbench-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:20px}.workbench-head h1{max-width:720px}.toolbar{margin-bottom:16px;display:flex;flex-wrap:wrap;gap:8px}.toolbar button{height:36px;padding:0 14px;border:1px solid var(--line);border-radius:7px;background:#fff;color:#344054;cursor:pointer}.toolbar button.active{background:var(--brand);border-color:var(--brand);color:#fff}.desk-overview{margin-bottom:18px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.overview-card{padding:18px;background:var(--surface);border:1px solid var(--line);border-radius:8px;box-shadow:0 10px 28px #15212f0d}.overview-card span{display:block;color:var(--muted);font-size:13px}.overview-card strong{display:block;margin-top:8px;font-size:28px}.desk-board{background:var(--surface);border:1px solid var(--line);border-radius:8px;box-shadow:0 10px 28px #15212f0d}.board-head{padding:18px;border-bottom:1px solid var(--line);display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.board-head p{margin:6px 0 0;color:var(--muted)}.announcement-table,.editor-shell{background:var(--surface);border:1px solid var(--line);border-radius:8px;box-shadow:0 10px 28px #15212f0d}.desk-board .announcement-table{border:0;border-radius:0;box-shadow:none}.desk-empty{min-height:210px;padding:34px;display:grid;grid-template-columns:54px minmax(0,1fr) auto;gap:18px;align-items:center;background:linear-gradient(180deg,#fff,#fbfcff)}.empty-mark{width:54px;height:54px;border-radius:14px;display:grid;place-items:center;background:var(--soft);color:var(--brand);font-weight:900}.desk-empty h2{font-size:18px}.desk-empty p{margin:8px 0 0;color:var(--muted);line-height:1.7}.table-head,.table-row{display:grid;grid-template-columns:minmax(280px,1fr) 110px 180px 230px;gap:16px;align-items:center}.table-head{padding:14px 18px;color:var(--muted);font-size:13px;border-bottom:1px solid var(--line)}.table-row{padding:16px 18px;border-bottom:1px solid var(--line)}.table-row:last-child{border-bottom:0}.table-row strong{display:block;font-size:16px}.table-row p{margin:6px 0 0;color:var(--muted)}.row-actions{display:flex;flex-wrap:wrap;gap:8px}.status-tag{width:max-content;min-width:72px;padding:7px 10px;border-radius:999px;background:#eef2ff;color:var(--brand-deep);font-size:13px;font-weight:800;text-align:center}.status-pending{background:#fff7ed;color:#9a5b13}.status-rejected{background:#fff1f0;color:var(--danger)}.status-published{background:#eef8f4;color:#287055}.status-offline,.status-cancelled{background:#f2f4f7;color:#667085}.editor-shell{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:0}.editor-form{padding:22px 24px 26px;display:grid;gap:24px}.editor-section{display:grid;gap:16px}.section-line{display:flex;align-items:center;gap:12px;color:#344054;font-size:14px;font-weight:800}.section-line:before,.section-line:after{content:"";height:1px;background:var(--line)}.section-line:before{width:24px}.section-line:after{flex:1}.basic-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:26px;align-items:start}.basic-fields{display:grid;gap:16px}.meter-field{position:relative}.meter-field input,.meter-field textarea{padding-right:72px}.meter-field em{position:absolute;right:12px;bottom:11px;color:#98a2b3;font-size:12px;font-style:normal}.textarea-meter textarea{min-height:92px;line-height:1.6}.editor-side{padding:24px;border-left:1px solid var(--line);display:flex;flex-direction:column;gap:12px}.audit-note{margin:0;padding:12px;border-radius:7px;background:#fff7ed;color:#9a5b13;line-height:1.6}.cover-uploader{display:grid;gap:10px}.cover-uploader p{margin:0;color:var(--muted);font-size:13px}.cover-preview{width:100%;aspect-ratio:16 / 9;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:#f2f4f7}.cover-drop{min-height:138px;border:1px dashed #c8d2df;border-radius:8px;display:grid;place-items:center;align-content:center;gap:6px;color:var(--muted);background:#fbfcff;cursor:pointer;text-align:center}.cover-drop input{display:none}.cover-plus{font-size:30px;line-height:1;color:#8a94a6}.cover-drop strong{color:#344054;font-size:14px}.cover-drop em{font-size:12px;font-style:normal}.cover-uploader.has-cover .cover-drop{min-height:42px}.cover-preview img,.preview-cover{width:100%;height:100%;object-fit:cover;display:block}.rich-editor-shell{border:1px solid #cfd8e3;border-radius:8px;overflow:hidden;background:#fff}.rich-editor-shell.disabled{background:#f7f9fc}.rich-toolbar{min-height:42px;padding:0 10px;border-bottom:1px solid var(--line);display:flex;align-items:center;flex-wrap:wrap;gap:6px;background:#fbfcff}.rich-toolbar select,.rich-toolbar button{height:30px;border:1px solid transparent;border-radius:6px;background:transparent;color:#344054;cursor:pointer}.rich-toolbar select{min-width:92px;padding:0 8px}.rich-toolbar button{min-width:34px;padding:0 8px}.rich-toolbar button:hover,.rich-toolbar select:hover{background:#eef2ff;border-color:#5d6bdf2e}.rich-editor{min-height:360px;padding:18px;line-height:1.8;outline:none}.rich-editor:empty:before{content:attr(data-placeholder);color:#98a2b3}.preview-mask{position:fixed;top:0;right:0;bottom:0;left:0;z-index:30;padding:24px;background:#15212f6b;display:grid;place-items:center}.preview-dialog{width:min(760px,100%);max-height:calc(100vh - 48px);overflow:auto;padding:24px;background:#fff;border-radius:8px}.preview-dialog header{display:flex;justify-content:space-between;gap:16px;margin-bottom:14px}.preview-summary{color:var(--muted);line-height:1.7}.preview-cover{height:auto;max-height:280px;border-radius:8px;margin:16px 0}.preview-content{line-height:1.8}@keyframes spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion: reduce){.loading-mark,.mini-spinner,.button-spinner{animation:none}}@media (max-width: 920px){.portal-page{grid-template-columns:1fr}.portal-rail{position:relative;height:auto}.flow{margin-top:0;grid-template-columns:repeat(3,minmax(0,1fr))}.portal-surface{display:block;padding:24px}.workspace-grid,.identity-strip,.desk-overview,.basic-grid,.workbench-page,.login-shell{grid-template-columns:1fr}.login-shell{min-height:auto}.login-brief{border-right:0;border-bottom:1px solid var(--line)}.workbench-rail{position:relative;height:auto;padding:18px 24px}.workbench-main{padding:24px}.workbench-nav{grid-template-columns:1fr}.rail-account{margin-top:0}.editor-shell{grid-template-columns:1fr}.editor-side{border-left:0;border-top:1px solid var(--line)}.table-head{display:none}.table-row{grid-template-columns:1fr;gap:12px}.board-head{flex-direction:column}.desk-empty{grid-template-columns:46px minmax(0,1fr);padding:24px}.desk-empty .primary-button{grid-column:2;width:max-content}}@media (max-width: 560px){body{font-size:14px}.portal-rail{padding:14px}.brand{gap:10px}.brand-logo{width:42px;height:42px;border-radius:11px}.brand strong{font-size:15px}.brand span{margin-top:2px;font-size:10px}.seal-panel{display:none}.flow{grid-template-columns:1fr}.portal-surface{padding:16px 12px}.workspace-head{gap:8px;margin-bottom:16px}.eyebrow{margin-bottom:6px;font-size:11px}h1{max-width:300px;font-size:20px;line-height:1.34}h2{font-size:15px}.identity-strip{gap:10px;margin-bottom:16px}.identity-strip>div{padding:14px}.identity-strip span,.field span{font-size:12px}.identity-strip strong{font-size:16px}.document-panel,.application-form,.status-board,.empty-board,.reset-panel,.overview-card{padding:18px}.panel-title{gap:10px;margin-bottom:16px}.panel-title p,.license-copy p,.form-actions p,.reset-panel p,.empty-board p,.login-brief-copy p:last-child{font-size:13px;line-height:1.65}.panel-kicker{width:30px;height:30px;font-size:12px}.license-uploader{min-height:188px;padding:20px;gap:14px}.license-icon{width:56px;height:56px;border-radius:15px;font-size:20px}.license-preview{aspect-ratio:16 / 11}.license-copy strong{font-size:16px}.ghost-button,.primary-button,.upload-action{height:38px;padding:0 14px;font-size:13px}.workspace-head,.form-actions,.header-actions{flex-direction:column;align-items:stretch}.form-grid,.direct-entry,.submit-result{grid-template-columns:1fr}.login-page,.workbench-main,.editor-form,.editor-side,.preview-mask{padding:12px}.workbench-rail{padding:14px;gap:12px}.workbench-nav a{height:38px;font-size:13px}.rail-account{padding:10px 12px}.rail-account span{font-size:11px}.rail-account strong{font-size:13px}.rail-account button{height:30px;font-size:12px}.login-page{align-items:start}.login-form,.login-brief,.editor-form,.editor-side{padding:18px}.login-shell{width:100%;min-height:0}.login-brief{gap:22px}.login-brief-copy{max-width:100%}.login-brief-copy p:last-child{margin-top:12px}.login-brief-copy h1,.login-form h2,.workbench-head h1{font-size:20px;line-height:1.32}.apply-link{width:100%;justify-content:center}.workbench-head{flex-direction:column;align-items:stretch;gap:12px;margin-bottom:14px}.row-actions,.editor-side{align-items:stretch}.rich-editor{min-height:280px;padding:14px}.rich-toolbar{padding:8px}.cover-drop{min-height:120px}.desk-overview{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:12px}.overview-card{min-height:74px;padding:12px 14px}.overview-card span{font-size:12px}.overview-card strong{margin-top:4px;font-size:24px}.board-head{padding:16px;gap:12px}.board-head p{font-size:13px;line-height:1.6}.toolbar{width:100%;gap:8px;margin-bottom:0;flex-wrap:nowrap;overflow-x:auto;padding-bottom:2px;scrollbar-width:none}.toolbar::-webkit-scrollbar{display:none}.toolbar button{flex:0 0 auto;height:34px;padding:0 12px;font-size:13px}.announcement-table{display:grid;gap:10px;padding:12px;background:#f6f8fc}.submission-card{position:relative;display:grid;grid-template-columns:1fr auto;gap:10px 12px;padding:14px;border:1px solid var(--line);border-radius:8px;background:#fff}.submission-main{min-width:0;padding-right:4px}.submission-main strong{font-size:15px;line-height:1.35}.submission-main p{margin-top:5px;font-size:13px;line-height:1.5}.submission-status{justify-self:end;align-self:start}.submission-time{grid-column:1 / -1;color:var(--muted);font-size:12px}.row-actions{grid-column:1 / -1;display:grid;grid-template-columns:repeat(3,minmax(0,max-content));gap:8px;padding-top:2px}.row-actions .ghost-button{height:34px;min-width:68px;justify-content:center}.desk-empty{min-height:0;padding:18px 16px;grid-template-columns:40px minmax(0,1fr);gap:12px}.empty-mark{width:40px;height:40px;border-radius:11px;font-size:14px}.desk-empty h2{font-size:15px}.desk-empty p{margin-top:4px;font-size:13px;line-height:1.55}.desk-empty .primary-button{grid-column:1 / -1;width:100%}}
