:root{font-family:Inter,Microsoft YaHei UI,PingFang SC,system-ui,sans-serif;color:#18233b;background:#f5f7fb;font-size:14px;line-height:1.55;font-synthesis:none;--ink: #18233b;--muted: #55637a;--line: #e1e7f0;--control: #c9d3e2;--surface: #fff;--blue: #2457c5;--blue-hover: #1c46a0;--blue-tint: #eaf0ff;--red: #a82936;--red-tint: #fff2f3;--header-height: 64px;--rail-width: 214px}*,*:before,*:after{box-sizing:border-box}body,h1,h2,h3,p,dl,dd{margin:0}[hidden]{display:none!important}button,input,select,textarea{font:inherit}button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:7px 13px;border:1px solid var(--control);border-radius:7px;background:var(--surface);color:var(--ink);font-weight:600;cursor:pointer}button svg{flex:0 0 auto}button:hover:not(:disabled){background:#f2f5fb;border-color:#aabbd0}button:disabled{opacity:.5;cursor:not-allowed}:where(a,button,input,select,textarea):focus-visible{outline:2px solid #4676d9;outline-offset:2px}input,select,textarea{min-width:0;width:100%;min-height:42px;font-weight:400;border:1px solid var(--control);border-radius:7px;padding:8px 11px;color:var(--ink);background:var(--surface)}input::placeholder{color:#65748a}textarea{min-height:86px;resize:vertical}label{display:grid;gap:6px;min-width:0;font-weight:600}label small{color:var(--muted);font-size:12px;font-weight:400}form>label{margin-bottom:15px}form>label:last-of-type{margin-bottom:0}.primary{background:var(--blue);border-color:var(--blue);color:#fff}.primary:hover:not(:disabled){background:var(--blue-hover);border-color:var(--blue-hover)}.destructive{background:var(--red);border-color:var(--red)}.destructive:hover:not(:disabled){background:#8c1e2a;border-color:#8c1e2a}.danger{color:var(--red);border-color:#efc8cd}.danger:hover:not(:disabled){color:var(--red);border-color:#dd9fa8;background:var(--red-tint)}.text-button,.icon-button{background:transparent;border-color:transparent}.text-button{color:var(--blue-hover)}.text-button:hover:not(:disabled),.icon-button:hover:not(:disabled){color:var(--blue-hover);background:var(--blue-tint);border-color:transparent}.icon-button{min-width:36px;min-height:36px;padding:6px;color:var(--muted)}.full{width:100%;margin-top:20px}.muted{color:var(--muted)}h1{font-size:clamp(24px,2.4vw,32px);line-height:1.25;font-weight:730}h2{font-size:22px;line-height:1.3}h3{font-size:16px;line-height:1.45}.shell{display:grid;grid-template-columns:var(--rail-width) minmax(0,1fr);grid-template-rows:var(--header-height) 1fr;grid-template-areas:"top top" "sidebar workspace";min-height:100dvh}.top{grid-area:top;position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:0 clamp(16px,2.4vw,32px);background:var(--surface);border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:10px;white-space:nowrap;font-weight:750;font-size:18px}.brand small{margin-inline-start:7px;font-size:12px;color:var(--muted);font-weight:500}.mark{display:grid;place-items:center;width:35px;height:35px;border-radius:9px;background:var(--blue);color:#fff}.profile{min-width:0}.profile-trigger{padding:4px 7px;border-color:transparent;max-width:min(280px,43vw)}.profile-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.avatar{flex:0 0 auto;display:grid;place-items:center;width:31px;height:31px;border-radius:50%;background:var(--blue-tint);color:var(--blue-hover);font-size:13px}.profile-popover{inset:calc(var(--header-height) - 5px) clamp(12px,2.4vw,32px) auto auto;width:min(224px,calc(100vw - 24px));margin:0;padding:5px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--ink);box-shadow:0 14px 32px #19294320}.profile-identity{display:grid;padding:8px 9px;margin-bottom:4px;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.profile-identity small{color:var(--muted)}.profile-popover button{justify-content:flex-start;width:100%;border-color:transparent;padding-inline:9px}.profile-popover svg{color:var(--muted)}.sidebar{grid-area:sidebar;position:sticky;top:var(--header-height);align-self:start;min-height:calc(100dvh - var(--header-height));padding:23px 13px;border-right:1px solid var(--line);background:var(--surface)}.sidebar nav{display:grid;gap:5px}.sidebar button{min-height:42px;justify-content:flex-start;gap:10px;padding-inline:12px;border-color:transparent;color:var(--muted)}.sidebar button.active{color:var(--blue-hover);background:var(--blue-tint);border-color:transparent}.workspace{grid-area:workspace;width:100%;max-width:1680px;padding:clamp(23px,3vw,42px)}.page-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:24px}.page-head p{margin-top:7px;color:var(--muted)}.page-head button{min-height:41px;padding-inline:14px;white-space:nowrap;flex:0 0 auto}.panel{background:var(--surface);border:1px solid var(--line);border-radius:11px}.filters{display:grid;grid-template-columns:minmax(150px,2fr) minmax(120px,1fr) minmax(144px,1fr);align-items:end;gap:13px;padding:17px 20px 19px}.filters:has(.clear-filters){grid-template-columns:minmax(150px,2fr) minmax(120px,1fr) minmax(144px,1fr) 80px}.filters label{font-size:13px}.search-field{position:relative;display:block}.search-field svg{position:absolute;inset-inline-start:11px;top:50%;transform:translateY(-50%);color:var(--muted);pointer-events:none}.search-field input{padding-inline-start:35px}.clear-filters{min-height:42px;white-space:nowrap;justify-self:end;padding-inline:9px}.scroll{overflow-x:auto}table{width:100%;text-align:left;border-collapse:collapse;table-layout:fixed}.task-table{min-width:796px}.account-table{min-width:530px}th,td{padding:13px 16px;border-bottom:1px solid var(--line);overflow-wrap:anywhere}th{background:#f6f8fc;color:var(--muted);font-size:12px;font-weight:700;border-top:1px solid var(--line)}th:first-child,td:first-child{padding-inline-start:20px}th:last-child,td:last-child{padding-inline-end:20px}tbody tr:hover{background:#fafbff}td b{font-weight:660}td small{display:block;color:var(--muted);font-size:12px;margin-top:3px}td .compact-meta{display:none}.task-table th:nth-child(1){width:23%}.task-table th:nth-child(2){width:22%}.task-table th:nth-child(4){width:92px}.task-table th:nth-child(5){width:132px}th:last-child{width:124px}.account-table th:first-child{width:36%}.account-table th:nth-child(2){width:22%}.row-link{min-height:35px;margin-inline:-7px;padding:5px 7px;white-space:nowrap}.account-cell{display:flex;align-items:center;gap:10px}.cell-icon{display:grid;place-items:center;flex:0 0 33px;height:33px;border-radius:8px;background:#eff3fc;color:#4164a5}.badge{display:inline-flex;align-items:center;gap:6px;max-width:100%;background:#edf1f6;color:#475569;border-radius:999px;padding:3px 9px;font-size:12px;font-weight:700;white-space:nowrap}.badge:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}.badge.assigned{background:var(--blue-tint);color:var(--blue-hover)}.badge.pending{background:#fff3d8;color:#865108}.badge.accepted{background:#e9f7f2;color:#17694d}.badge.completed{background:#e6f3ea;color:#24653a}.badge.cancelled,.badge.disabled{background:var(--red-tint);color:var(--red)}td .guard{display:flex;align-items:center;gap:4px;margin-top:6px}.guard svg{flex-shrink:0}.pager{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:51px;padding:8px 20px;color:var(--muted);font-size:13px}.pager-status,.pager-controls{display:flex;align-items:center;gap:8px}.pager-controls .icon-button{border-color:var(--line)}.blank{display:grid;justify-items:center;gap:6px;padding:53px 18px 59px;text-align:center;border-top:1px solid var(--line)}.blank-icon{display:grid;place-items:center;width:51px;height:51px;margin-bottom:8px;border-radius:13px;background:var(--blue-tint);color:var(--blue-hover)}.blank p{font-size:16px;font-weight:700}.blank small{color:var(--muted);font-size:13px}.spin{animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.alert,.notice{border:1px solid #f0c8cc;border-radius:8px;margin-bottom:13px;padding:10px 12px;color:#8e2531;background:var(--red-tint);overflow-wrap:anywhere}.alert[role=alert],.protection{display:flex;align-items:flex-start;gap:8px}.alert svg,.notice svg{flex-shrink:0;margin-top:2px}.notice{border-color:#d8e3ff;background:#f0f5ff;color:#2b4a84}.account-views{display:flex;gap:5px;width:fit-content;margin-bottom:15px;padding:4px;border:1px solid var(--line);border-radius:9px;background:var(--surface)}.account-views button{border-color:transparent;color:var(--muted)}.account-views button[aria-pressed=true]{background:var(--blue-tint);color:var(--blue-hover)}.audit-filters{padding:17px 20px}.audit-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(155px,100%),1fr));gap:12px}.audit-fields label{font-size:13px}.audit-fields input[type=date]{max-width:100%}.audit-filter-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px}.audit-filter-footer p{font-size:12px;color:var(--muted)}.audit-buttons{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end;flex-shrink:0}.audit-filters .alert{margin:12px 0 0}.audit-records{list-style:none;margin:0;padding:0;border-top:1px solid var(--line)}.audit-record{border-bottom:1px solid var(--line)}.audit-record summary{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr) minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px 20px;cursor:pointer;overflow-wrap:anywhere}.audit-record summary::-webkit-details-marker{display:none}.audit-record summary:hover,.audit-record[open] summary{background:#f6f8fc}.audit-record summary:focus-visible{outline:2px solid #4676d9;outline-offset:-2px}.audit-action{font-weight:700;color:var(--blue-hover)}.audit-target,.audit-meta{display:grid;gap:3px}.audit-target small,.audit-meta small,.audit-chevron{color:var(--muted)}.audit-meta small b{font-weight:600}.audit-record[open] .audit-chevron{transform:rotate(180deg)}.audit-change{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 20px;padding:13px 20px 17px}.audit-change div:first-child{grid-column:1 / -1}.audit-change dt{color:var(--muted);font-size:12px}.audit-change dd{margin-top:2px;white-space:pre-wrap;overflow-wrap:anywhere}.account-feedback{border-color:#c2e2d3;background:#edf8f2;color:#1c6046}.list-error{padding:0 20px 17px}.loading,.no-permission{padding:28px}dialog{color:var(--ink);border:1px solid var(--line);border-radius:14px;width:min(600px,calc(100vw - 24px));max-height:calc(100dvh - 32px);padding:0;background:var(--surface);box-shadow:0 22px 72px #13223c38}dialog[open]{display:flex;flex-direction:column}dialog::backdrop{background:#111b34a0}.dialog-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:19px 22px 16px;border-bottom:1px solid var(--line)}.dialog-head h2:focus{outline:none}.dialog-head p{margin-top:5px;color:var(--muted)}.dialog-main{min-height:0;overflow-y:auto;padding:19px 22px 21px}.dialog-main .blank{border:0;padding-block:29px}.dialog-foot,.dialog-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding-top:17px;border-top:1px solid var(--line);margin-top:19px}.dialog-foot{justify-content:flex-end}.dialog-actions{justify-content:flex-start}.form-grid,.facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.wide{grid-column:1 / -1}.summary{padding:15px;margin-bottom:15px;border:1px solid var(--line);border-radius:9px;background:#f8faff;overflow-wrap:anywhere}.summary h3{margin-bottom:9px;font-size:18px}.summary .badge{margin-bottom:7px}.summary p+p{margin-top:4px}.facts{row-gap:10px}.facts dt{color:var(--muted);font-size:12px}.facts dd{margin-top:2px;font-weight:560}.history{list-style:none;margin:0;padding:0}.history li{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 10px;border-bottom:1px solid var(--line);padding:9px 0}.history span{color:var(--muted)}form>.muted,form>.notice{margin-bottom:13px}form>label+.muted{margin-top:7px}fieldset{min-width:0;border:1px solid var(--line);border-radius:8px}.check{display:flex;align-items:center;gap:8px;margin:6px}.check input{width:auto;min-height:0;accent-color:var(--blue)}.login-layout{display:grid;grid-template-columns:minmax(300px,40vw) 1fr;min-height:100dvh}.login-side{display:flex;flex-direction:column;gap:36px;padding:clamp(23px,4vw,64px);color:#fff;background:radial-gradient(ellipse at 92% 100%,#2761c5 0,#173f90 34%,#112956 72%)}.login-side .brand small{color:#d4e2ff}.login-side .mark{background:#ffffff20;border:1px solid #ffffff40}.hero{margin-block:auto}.hero h1{font-size:clamp(31px,3.5vw,54px);margin:9px 0 13px}.hero p{color:#dce7ff}.hero .product-name{font-size:11px;font-weight:650;letter-spacing:.16em}.login-main{display:grid;place-items:center;padding:24px}.login-card{width:min(100%,423px);padding:clamp(23px,3.2vw,37px);background:#fff;border:1px solid var(--line);border-radius:14px}.login-card h2{font-size:27px}.login-card>p{color:var(--muted);margin:8px 0 24px}.login-card>.quiet{margin-top:12px}.global:not(:empty){position:fixed;z-index:2;top:13px;right:16px;left:16px}@media(max-width:960px){:root{--rail-width: 164px}.filters,.filters:has(.clear-filters){grid-template-columns:minmax(128px,1.6fr) minmax(104px,1fr) minmax(118px,1.1fr)}.clear-filters{grid-column:1 / -1;min-height:30px}}@media(min-width:731px)and (max-width:1090px){.task-table :is(th,td):last-child{position:sticky;right:0;border-left:1px solid var(--line)}.task-table td:last-child{background:var(--surface)}.task-table tr:hover td:last-child{background:#fafbff}}@media(max-width:730px){:root{--header-height: 58px}.shell{grid-template-columns:minmax(0,1fr);grid-template-rows:var(--header-height) auto 1fr;grid-template-areas:"top" "sidebar" "workspace"}.sidebar{position:static;min-height:0;padding:7px 12px;border-right:0;border-bottom:1px solid var(--line)}.sidebar nav{display:flex}.sidebar button{min-height:38px}.workspace{padding:20px 14px}.task-table{min-width:0}.task-table :is(th,td):is(:nth-child(2),:nth-child(3),:nth-child(5)){display:none}.task-table th:first-child{width:auto}.task-table td .compact-meta{display:block}.login-layout{grid-template-columns:minmax(0,1fr);grid-template-rows:auto 1fr}.login-side{gap:22px}.login-main{padding:18px}}@media(max-width:600px){.audit-filters{padding:13px 12px}.audit-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.audit-filter-footer{align-items:flex-end;flex-direction:column}.audit-filter-footer p{align-self:flex-start}.audit-record summary{grid-template-columns:minmax(0,1fr) auto;gap:6px;padding-inline:12px}.audit-action,.audit-target,.audit-meta{grid-column:1}.audit-chevron{grid-column:2;grid-row:1}.audit-change{padding-inline:12px}.account-table{min-width:0}.account-table :is(th,td):nth-child(2){display:none}.account-table th:first-child{width:auto}.account-table th:nth-child(3){width:91px}.account-table td .compact-meta{display:block}.account-cell .cell-icon,td .guard svg{display:none}td .guard{display:block;text-wrap:balance}th,td{padding:11px 9px}th:first-child,td:first-child{padding-inline-start:12px}th:last-child,td:last-child{width:88px;padding-inline-end:12px}.row-link{font-size:13px}.row-link svg{display:none}}@media(max-width:500px){.page-head{align-items:flex-start;margin-bottom:17px}.page-head p{font-size:13px}.page-head button{min-height:38px;padding-inline:9px}.filters,.filters:has(.clear-filters){grid-template-columns:repeat(2,minmax(0,1fr));padding:13px;gap:9px 10px}.filters>label:first-child{grid-column:1 / -1}.dialog-head,.dialog-main{padding-inline:15px}.form-grid{grid-template-columns:1fr}.blank{padding-block:35px}.brand small{margin-inline-start:4px}}@media(prefers-reduced-motion:reduce){.spin{animation:none}}
