:root{--primary: #149dfc;--primary-deep: #087ac8;--primary-soft: #e8f4ff;--teal: #0fa99a;--teal-soft: #e8f8f5;--amber: #e89418;--amber-soft: #fff4df;--danger: #d94747;--danger-soft: #fff0f0;--ink: #172033;--ink-2: #4a556c;--muted: #8993a7;--line: #e7ebf2;--page: #f3f3f3;--card: #ffffff;--shadow-sm: 0 8px 28px rgba(28, 56, 112, .07);--shadow-md: 0 18px 48px rgba(25, 52, 104, .12);--radius-sm: 12px;--radius-md: 18px;--radius-lg: 24px;--safe-bottom: env(safe-area-inset-bottom, 0px);color:var(--ink);font-family:PingFang SC,Microsoft YaHei,Noto Sans SC,Inter,system-ui,-apple-system,BlinkMacSystemFont,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}html{min-width:320px;min-height:100%;background:var(--page)}body{min-width:320px;min-height:100vh;margin:0;background:var(--page);color:var(--ink);-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{border:0}a{color:inherit;text-decoration:none}img{display:block;max-width:100%}p,h1,h2,h3,h4{margin:0}::selection{color:#fff;background:var(--primary)}::-webkit-scrollbar{width:7px;height:7px}::-webkit-scrollbar-thumb{border-radius:20px;background:#cbd3e2}::-webkit-scrollbar-track{background:transparent}.app-shell{min-height:100vh}.desktop-sidebar{position:fixed;z-index:30;inset:0 auto 0 0;display:flex;width:248px;flex-direction:column;padding:26px 18px 20px;border-right:1px solid var(--line);background:#fffffff5;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.brand{display:flex;align-items:center;gap:11px}.brand--sidebar{padding:0 8px 26px}.brand img{width:44px;height:44px;border:1px solid #dbe6dd;border-radius:50%;object-fit:cover}.brand span{display:flex;min-width:0;flex-direction:column;gap:3px}.brand strong{font-size:20px;letter-spacing:.08em}.brand small{color:var(--muted);font-size:11px;letter-spacing:.04em}.sidebar-nav{display:flex;flex-direction:column;gap:6px}.sidebar-nav__item{position:relative;display:flex;height:48px;align-items:center;gap:13px;padding:0 14px;border-radius:13px;color:#5b6579;font-size:14px;font-weight:600;transition:color .18s ease,background .18s ease,transform .18s ease}.sidebar-nav__item:hover{color:var(--primary);background:#f5f8ff;transform:translate(2px)}.sidebar-nav__item.router-link-active{color:var(--primary);background:var(--primary-soft)}.sidebar-nav__item.router-link-active:before{position:absolute;top:14px;bottom:14px;left:-18px;width:4px;border-radius:0 4px 4px 0;background:var(--primary);content:""}.nav-badge{min-width:21px;height:21px;margin-left:auto;padding:0 6px;border-radius:20px;background:var(--danger);color:#fff;font-size:10px;font-weight:700;line-height:21px;text-align:center}.sidebar-help{display:flex;flex-direction:column;align-items:flex-start;margin:auto 8px 18px;padding:18px;border:1px solid #dfe8ff;border-radius:17px;background:radial-gradient(circle at 90% 10%,rgba(23,88,231,.14),transparent 38%),linear-gradient(145deg,#f5f8ff,#fff);color:var(--primary)}.sidebar-help strong{margin-top:12px;color:var(--ink);font-size:14px}.sidebar-help p{margin:6px 0 12px;color:var(--muted);font-size:11px;line-height:1.6}.sidebar-help a{color:var(--primary);font-size:12px;font-weight:700}.sidebar-user{display:flex;align-items:center;gap:10px;padding:12px 9px 4px;border-top:1px solid var(--line)}.sidebar-user img{width:38px;height:38px;border-radius:12px;object-fit:cover}.sidebar-user span{display:flex;min-width:0;flex:1;flex-direction:column;gap:4px}.sidebar-user strong,.sidebar-user small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-user strong{font-size:13px}.sidebar-user small{color:var(--muted);font-size:10px}.app-main{min-height:100vh;margin-left:248px}.desktop-topbar{position:sticky;z-index:20;top:0;display:flex;height:82px;align-items:center;justify-content:space-between;padding:0 38px;border-bottom:1px solid rgba(231,235,242,.9);background:#f4f7fbe0;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.desktop-topbar>div:first-child{display:flex;align-items:baseline;gap:13px}.desktop-topbar p{color:var(--muted);font-size:12px}.desktop-topbar strong{font-size:17px}.desktop-topbar__actions{display:flex;align-items:center;gap:12px}.desktop-topbar__user{display:flex;height:40px;align-items:center;gap:9px;padding:0 13px 0 5px;border:1px solid var(--line);border-radius:30px;background:#fff;font-size:12px;font-weight:600}.desktop-topbar__user img{width:30px;height:30px;border-radius:50%;object-fit:cover}.page-main{width:100%;max-width:1480px;min-height:calc(100vh - 82px);margin:0 auto;padding:28px 38px 48px}.mobile-tabbar{display:none}.icon-button{display:inline-flex;width:40px;height:40px;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink-2);cursor:pointer}.icon-button:hover{color:var(--primary);border-color:#cedbff}.page-header{display:flex;min-height:64px;align-items:center;gap:14px;margin-bottom:24px}.page-header--plain{margin-bottom:18px}.page-header__back{flex:0 0 auto}.page-header__copy{min-width:0;flex:1}.page-header__eyebrow{margin-bottom:5px;color:var(--primary);font-size:10px;font-weight:800;letter-spacing:.15em;text-transform:uppercase}.page-header h1{color:var(--ink);font-size:clamp(23px,2.2vw,30px);font-weight:800;letter-spacing:-.04em;line-height:1.2}.page-header__subtitle{margin-top:7px;color:var(--muted);font-size:12px;line-height:1.5}.page-header__action{display:flex;align-items:center;gap:10px}.card{border:1px solid rgba(228,232,241,.9);border-radius:var(--radius-md);background:var(--card);box-shadow:var(--shadow-sm)}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:14px}.section-heading__copy h2{color:var(--ink);font-size:18px;font-weight:800;letter-spacing:-.02em}.section-heading__copy p{margin-top:4px;color:var(--muted);font-size:11px}.section-heading__link{display:inline-flex;align-items:center;gap:3px;color:var(--primary);font-size:12px;font-weight:700}.button{display:inline-flex;min-height:43px;align-items:center;justify-content:center;gap:7px;padding:0 20px;border-radius:12px;cursor:pointer;font-size:13px;font-weight:700;transition:transform .18s ease,box-shadow .18s ease,background .18s ease}.button:active{transform:translateY(1px)}.button:disabled{cursor:not-allowed;opacity:.56}.button--primary{background:var(--primary);box-shadow:0 8px 18px #149dfc2e;color:#fff}.button--primary:hover{box-shadow:0 12px 28px #1758e747}.button--soft{background:var(--primary-soft);color:var(--primary)}.button--ghost{border:1px solid var(--line);background:#fff;color:var(--ink-2)}.button--danger{background:var(--danger);color:#fff}.button--block{width:100%}.field{display:flex;flex-direction:column;gap:8px}.field>label,.field__label{color:var(--ink-2);font-size:12px;font-weight:700}.field small{color:var(--muted);font-size:10px;line-height:1.5}.input,.select,.textarea{width:100%;border:1px solid #dce2ed;outline:0;background:#fbfcfe;color:var(--ink);transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}.input,.select{height:45px;padding:0 13px;border-radius:11px}.textarea{min-height:112px;padding:12px 13px;border-radius:12px;line-height:1.65;resize:vertical}.input:focus,.select:focus,.textarea:focus{border-color:#9eb8ff;background:#fff;box-shadow:0 0 0 3px #1758e714}.input::placeholder,.textarea::placeholder{color:#b1b9c8}.search-box{position:relative;display:flex;align-items:center}.search-box>svg{position:absolute;left:13px;color:#98a2b5;pointer-events:none}.search-box .input{padding-left:40px;padding-right:76px}.search-box .button{position:absolute;right:5px;min-height:35px;padding:0 13px}.tabs{display:flex;gap:4px;overflow-x:auto;padding:4px;border-radius:13px;background:#eef2f8;scrollbar-width:none}.tabs::-webkit-scrollbar{display:none}.tabs__item{min-width:max-content;height:35px;padding:0 15px;border-radius:10px;background:transparent;color:#768095;cursor:pointer;font-size:12px;font-weight:700;white-space:nowrap}.tabs__item.is-active{background:#fff;box-shadow:0 3px 10px #1e366214;color:var(--primary)}.chip-row{display:flex;flex-wrap:wrap;gap:7px}.chip{display:inline-flex;min-height:27px;align-items:center;gap:5px;padding:0 10px;border:1px solid var(--line);border-radius:30px;background:#fff;color:var(--ink-2);font-size:10px}.status-pill{display:inline-flex;align-items:center;justify-content:center;min-height:24px;padding:0 9px;border-radius:30px;font-size:10px;font-weight:700;white-space:nowrap}.status-pill--success{background:#e7f8f3;color:#0c8d70}.status-pill--warning{background:var(--amber-soft);color:#b66d08}.status-pill--danger{background:var(--danger-soft);color:var(--danger)}.status-pill--info{background:var(--primary-soft);color:var(--primary)}.empty-state{display:flex;min-height:250px;align-items:center;justify-content:center;flex-direction:column;padding:34px 20px;color:var(--muted);text-align:center}.empty-state__icon{display:grid;width:64px;height:64px;margin-bottom:14px;place-items:center;border-radius:20px;background:#f1f5fb;color:#93a0b8}.empty-state strong{color:var(--ink-2);font-size:14px}.empty-state p{max-width:300px;margin-top:7px;font-size:11px;line-height:1.7}.loading-state{display:flex;min-height:220px;align-items:center;justify-content:center;gap:10px;color:var(--muted);font-size:12px}.loading-state__spinner{width:17px;height:17px;border:2px solid #dbe2f1;border-top-color:var(--primary);border-radius:50%;animation:spin .7s linear infinite}.toast{position:fixed;z-index:200;top:calc(24px + env(safe-area-inset-top,0px));left:50%;display:flex;max-width:min(90vw,440px);min-height:45px;align-items:center;gap:8px;padding:10px 16px;transform:translate(-50%);border:1px solid #dce5f5;border-radius:13px;background:#fffffffa;box-shadow:var(--shadow-md);color:var(--ink);font-size:12px;font-weight:600}.toast--success>svg{color:var(--teal)}.toast--warning>svg{color:var(--amber)}.toast--error>svg{color:var(--danger)}.toast-enter-active,.toast-leave-active{transition:opacity .18s ease,transform .18s ease}.toast-enter-from,.toast-leave-to{transform:translate(-50%,-10px);opacity:0}.dialog-backdrop{position:fixed;z-index:300;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;padding:22px;background:#0d182d85;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.dialog-card{width:100%;max-width:390px;padding:26px;border-radius:22px;background:#fff;box-shadow:0 30px 70px #06153840;text-align:center}.dialog-card__icon{display:grid;width:52px;height:52px;margin:0 auto 14px;place-items:center;border-radius:16px;background:var(--amber-soft);color:var(--amber)}.dialog-card__icon.is-danger{background:var(--danger-soft);color:var(--danger)}.dialog-card h3{font-size:18px}.dialog-card>p{margin:9px 0 20px;color:var(--muted);font-size:12px;line-height:1.7}.dialog-card__actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.dialog-card__actions.is-single{grid-template-columns:1fr}.dialog-card.is-message{overflow:hidden;padding:0;border-radius:12px}.dialog-card.is-message h3{padding:28px 24px 0;color:#202124;font-size:20px;font-weight:700}.dialog-card.is-message>p{margin:20px 24px 28px;color:#666;font-size:17px;line-height:1.55}.dialog-card.is-message .dialog-card__actions{gap:0;border-top:1px solid #ececec}.dialog-card.is-message .button,.dialog-card.is-message .button--primary,.dialog-card.is-message .button--danger{min-height:54px;border-radius:0;background:#fff;box-shadow:none;color:#576b95;font-size:18px;font-weight:600}.dialog-enter-active,.dialog-leave-active{transition:opacity .18s ease}.dialog-enter-active .dialog-card,.dialog-leave-active .dialog-card{transition:transform .18s ease}.dialog-enter-from,.dialog-leave-to{opacity:0}.dialog-enter-from .dialog-card,.dialog-leave-to .dialog-card{transform:translateY(10px) scale(.98)}.muted{color:var(--muted)}.text-primary{color:var(--primary)}.text-danger{color:var(--danger)}.skeleton{overflow:hidden;border-radius:8px;background:linear-gradient(90deg,#edf1f7 25%,#f7f9fc 37%,#edf1f7 63%);background-size:400% 100%;animation:shimmer 1.3s ease infinite}@keyframes spin{to{transform:rotate(360deg)}}@keyframes shimmer{0%{background-position:100% 0}to{background-position:0 0}}@media(max-width:1080px){.desktop-sidebar{width:218px}.app-main{margin-left:218px}.page-main{padding:24px 26px 40px}.page-main--no-tabbar{padding-bottom:0}.desktop-topbar{padding:0 26px}}@media(max-width:820px){.desktop-sidebar,.desktop-topbar{display:none}.app-main{margin-left:0}.page-main{min-height:100vh;padding:0 12px calc(70px + var(--safe-bottom));background:var(--page)}.page-main.page-main--knowledge{height:100vh;min-height:100vh;padding-bottom:0;overflow:hidden}.mobile-tabbar{position:fixed;z-index:80;right:0;bottom:0;left:0;display:grid;height:calc(52px + var(--safe-bottom));grid-template-columns:repeat(3,1fr);padding:4px 4px var(--safe-bottom);border-top:1px solid rgba(224,229,238,.92);background:#fffffff2;box-shadow:0 -8px 30px #1e345e0f;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.mobile-tabbar__item{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;border-radius:11px;color:#8a94a7;font-size:10px;font-weight:700}.mobile-tabbar__item.router-link-active{color:var(--primary)}.mobile-tabbar__icon{position:relative;display:grid;width:29px;height:24px;place-items:center}.mobile-tabbar__item.router-link-active .mobile-tabbar__icon:before{position:absolute;z-index:-1;top:0;right:0;bottom:0;left:0;border-radius:9px;background:var(--primary-soft);content:""}.mobile-tabbar__dot{position:absolute;top:1px;right:2px;width:6px;height:6px;border:1px solid #fff;border-radius:50%;background:var(--danger)}.page-header{position:sticky;z-index:40;top:0;display:flex;min-height:48px;height:48px;justify-content:center;margin:0 -12px 12px;padding:0 10px;border-bottom:1px solid #e3e6eb;background:#fffffffa;box-shadow:0 2px 5px #00000006}.page-header h1{font-size:16px;font-weight:600;letter-spacing:0;text-align:center}.page-header__copy{position:absolute;right:60px;left:60px;text-align:center;pointer-events:none}.page-header__eyebrow,.page-header__subtitle{display:none}.page-header__back{z-index:2;width:34px;height:34px;margin-right:auto;border:0;background:transparent}.page-header__action{z-index:2;margin-left:auto}.page-header__action .button{min-height:33px;padding:0 10px;border-radius:7px;font-size:10px;box-shadow:none}.card{border:0;border-radius:9px;box-shadow:0 2px 8px #00000009}.section-heading{margin-bottom:12px}.section-heading__copy h2{font-size:16px}.button{min-height:40px;border-radius:8px}.tabs{padding:3px;border-radius:7px;background:#eef1f6}.tabs__item{height:32px;border-radius:6px;font-size:11px}.input,.select{height:42px;border-radius:7px}.textarea{border-radius:7px}}@media(max-width:390px){.page-main{padding-right:13px;padding-left:13px}.page-header__subtitle{display:none}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
