:root{font-family:"Microsoft YaHei UI","Microsoft YaHei","PingFang SC","Segoe UI",sans-serif;color:#17324c;background:#eef4fa;font-size:14px;line-height:1.6;--blue:#155bb4;--ink:#17324c;--muted:#576d82;--line:#d8e2ed;--surface:#fff;--green:#21694b;--red:#a62f35;--amber:#82520d}
*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button{min-height:36px;padding:7px 13px;border:1px solid #c4d2e0;background:#fff;border-radius:6px;color:var(--ink);font-weight:600;cursor:pointer;line-height:1.4}button:hover{background:#f0f5fb;border-color:#8daecf}button:disabled{cursor:default;opacity:.5}button.primary{background:var(--blue);border-color:var(--blue);color:white}button.primary:hover{background:#104a94}button.danger{color:var(--red);border-color:#dfb3b5;background:#fff8f8}.quiet{border-color:transparent;background:transparent}.text-button{min-height:28px;border:0;padding:2px 4px;background:transparent;color:var(--blue);font-size:13px}input,textarea{display:block;width:100%;min-height:42px;padding:10px 12px;border:1px solid #b9cadd;border-radius:6px;background:#fff;color:var(--ink);line-height:1.5}input::placeholder,textarea::placeholder{color:#728498}input[readonly],textarea[readonly]{background:#f3f6fa}textarea{resize:vertical;overflow-wrap:anywhere}label{display:block;margin:17px 0 6px;font-weight:600}small{display:block;margin-top:5px;color:var(--muted);font-size:12px}a{color:var(--blue)}h1,h2,h3,p{margin:0}h1{font-size:24px;line-height:1.4}h2{font-size:24px;line-height:1.4}h3{font-size:18px;line-height:1.5}p{max-width:75ch}button:focus-visible,input:focus-visible,textarea:focus-visible,a:focus-visible{outline:3px solid #69a8f0;outline-offset:3px}button[aria-current="true"]:focus-visible{outline-offset:-4px}[hidden]{display:none!important}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;left:16px;top:-60px;z-index:1000;background:white;padding:10px 16px}.skip-link:focus{top:10px}.brand-mark{width:40px;height:40px;display:grid;place-items:center;background:var(--blue);color:white;font-size:22px;font-weight:700;border-radius:5px}.login-view{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:36px 20px}.login-brand{display:flex;align-items:center;gap:12px;font-size:22px;font-weight:700;margin-bottom:28px}.login-panel{width:100%;max-width:440px;padding:35px 38px 38px;border:1px solid var(--line);border-top:4px solid var(--blue);background:white;border-radius:8px}.login-heading{padding-bottom:8px}.login-heading h1{font-size:27px}.login-heading p{color:var(--muted);margin-top:12px;line-height:1.8}.wide{width:100%;margin-top:24px}.login-foot{margin-top:22px;font-size:12px;color:var(--muted)}.topbar{min-height:76px;padding:14px 28px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:12px}.brand strong{font-size:18px;display:block}.brand div>span{font-size:12px;color:var(--muted)}.top-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.admin-name{font-size:12px;color:var(--muted);padding:0 8px;max-width:140px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.workspace{display:grid;grid-template-columns:310px minmax(0,1fr);max-width:1560px;margin:0 auto;min-height:calc(100vh - 77px)}.customer-sidebar{padding:25px 20px;border-right:1px solid var(--line);background:#f8fafd;display:flex;flex-direction:column;gap:18px}.sidebar-title{display:flex;align-items:center;justify-content:space-between}.sidebar-title h1{font-size:22px}.sidebar-title button{font-size:13px}.search-form{display:flex;gap:6px}.search-form input{min-width:0;font-size:13px}.search-form button{font-size:12px;padding:6px 9px;flex-shrink:0;white-space:nowrap}.list-toolbar{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:12px}.client-list{display:flex;flex-direction:column;gap:6px;min-height:100px}.client-item{display:block;width:100%;text-align:left;padding:13px 12px;border-color:transparent;border-left:3px solid transparent;background:transparent;border-radius:4px;font-weight:400}.client-item:hover{background:#eaf1fa}.client-item[aria-current="true"]{background:#e6effb;border-color:#c8daef;border-left-color:var(--blue)}.client-item-head{display:flex;align-items:start;justify-content:space-between;gap:8px}.client-item-name{font-weight:600;color:var(--ink);overflow-wrap:anywhere}.client-item-meta{font-size:12px;color:var(--muted);margin-top:6px}.badge{display:inline-block;flex-shrink:0;white-space:nowrap;border-radius:4px;padding:2px 7px;font-size:12px;font-weight:500;color:var(--muted);background:#edf0f4}.badge.success{color:var(--green);background:#e6f3eb}.badge.warning{color:var(--amber);background:#fff1d8}.badge.error{color:var(--red);background:#fbe9e9}.badge.info{color:#205c9d;background:#e4effb}.pagination{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:var(--muted)}.pagination button{font-size:12px;min-height:30px;padding:5px 9px}.customer-sidebar>.pagination{margin-top:auto;padding-top:15px}.detail-panel{padding:30px 34px 50px;min-width:0;background:white}.empty-detail{min-height:450px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:var(--muted)}.empty-symbol{font-size:34px;width:64px;height:64px;display:grid;place-items:center;background:#eef4fa;color:#7b9fc5;border:1px solid var(--line);border-radius:12px;margin-bottom:20px}.empty-detail h2{font-size:23px;color:var(--ink)}.empty-detail p{margin:10px 0 22px}.detail-header{display:flex;justify-content:space-between;align-items:start;gap:16px}.title-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.title-row h2{overflow-wrap:anywhere}.client-id{font-size:12px;color:var(--muted);margin-top:7px;overflow-wrap:anywhere}.button-row{display:flex;gap:8px;flex-shrink:0}.client-summary{display:grid;grid-template-columns:1.2fr 1fr 1.5fr 1fr;margin:26px 0 30px;padding:18px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.client-summary div{padding:0 18px;border-left:1px solid var(--line)}.client-summary div:first-child{padding-left:0;border-left:0}.client-summary dt{font-size:12px;color:var(--muted);margin-bottom:6px}.client-summary dd{font-size:19px;font-weight:600;margin:0}.client-summary div:nth-child(3) dd{font-size:14px;padding-top:5px}.section-heading{display:flex;align-items:start;justify-content:space-between;gap:15px}.section-heading p{font-size:13px;color:var(--muted);margin-top:5px}.section-heading>button{flex-shrink:0}.subnote{font-size:12px;color:var(--muted);line-height:1.7;margin-top:10px}.table-wrap{overflow-x:auto;margin-top:18px;border:1px solid var(--line);border-radius:6px}table{border-collapse:collapse;width:100%;text-align:left;min-width:620px}th{font-size:12px;font-weight:500;color:#4e6680;background:#f3f7fc;padding:11px 13px;white-space:nowrap}td{padding:15px 13px;font-size:13px;border-top:1px solid #e5ebf2;vertical-align:top}td:first-child{font-variant-numeric:tabular-nums}.cell-title{font-weight:600;overflow-wrap:anywhere;max-width:230px}.cell-note{display:block;color:var(--muted);font-size:12px;margin-top:5px;overflow-wrap:anywhere}.row-actions{display:flex;gap:8px;flex-wrap:wrap}.row-actions button{min-height:28px;padding:3px 6px;font-size:12px}.key-priority{font-size:18px;font-weight:600}.inline-empty{padding:25px 20px;background:#f6f9fc;border:1px dashed #bfd0e1;border-radius:6px;color:var(--muted);margin-top:18px;font-size:13px}.requests-section{margin-top:38px;padding-top:28px;border-top:1px solid var(--line)}.requests-pagination{justify-content:flex-end;margin-top:14px}.request-id{font-size:12px;max-width:220px;overflow-wrap:anywhere}.form-error{padding:11px 13px;background:#fff0f0;border-left:3px solid #c34b52;color:#9d2831;margin-top:14px;font-size:13px;line-height:1.6;overflow-wrap:anywhere}.notice{position:fixed;top:14px;left:50%;transform:translateX(-50%);z-index:1500;max-width:min(90vw,580px);padding:12px 20px;border:1px solid #b8d1e9;background:#eff7ff;color:#144c82;border-radius:6px;box-shadow:0 5px 22px #17324c1a;font-size:13px}.notice.error{background:#fff1f1;color:#9d2831;border-color:#e5b6b9}dialog{width:calc(100% - 32px);max-width:570px;max-height:calc(100vh - 60px);padding:27px 30px;border:1px solid #ccd9e7;border-radius:10px;background:white;color:var(--ink);overflow-y:auto;box-shadow:0 20px 80px #122c5133}dialog::backdrop{background:#17324c66}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}.dialog-heading h2{font-size:22px}.icon-close{font-size:24px;font-weight:400;padding:1px 7px;min-height:32px;border:0;background:transparent;line-height:1}.dialog-heading+p,dialog>p,dialog form>.dialog-heading+p{color:var(--muted);font-size:13px;line-height:1.8}.dialog-context{color:var(--blue)!important}.dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:25px;padding-top:18px;border-top:1px solid var(--line)}.wrapping{flex-wrap:wrap}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.checkbox-label{display:flex;align-items:center;gap:9px;font-weight:500}.checkbox-label input{width:17px;height:17px;min-height:0;accent-color:var(--blue)}.checkbox-cell{display:flex;align-items:center}.checkbox-cell label{margin-top:24px}.noscript{padding:20px;background:white;color:#9d2831;text-align:center}#credential-token{font-size:13px;word-break:break-all}#credential-url{font-size:13px}.busy{cursor:progress}
@media(min-width:1560px){.workspace{border-left:1px solid var(--line);border-right:1px solid var(--line)}}
@media(max-width:1100px){.workspace{grid-template-columns:270px minmax(0,1fr)}.customer-sidebar{padding:22px 15px}.detail-panel{padding:26px 22px}.detail-header{flex-direction:column}.client-summary{grid-template-columns:1fr 1fr;gap:19px 0}.client-summary div:nth-child(3){padding-left:0;border-left:0}.client-summary div:nth-child(3) dd{padding-top:0}.topbar{padding:12px 20px}.admin-name{display:none}}
@media(max-width:760px){.topbar{align-items:start;flex-direction:column;gap:12px;padding:15px 18px}.top-actions{width:100%;gap:3px}.top-actions button{font-size:12px;padding:6px 10px;min-height:32px}.top-actions button:last-child{margin-left:auto}.workspace{display:block}.customer-sidebar{border-right:0;border-bottom:1px solid var(--line);padding:20px 18px;gap:12px}.client-list{max-height:230px;overflow-y:auto;min-height:0}.client-item{padding:10px 12px}.customer-sidebar>.pagination{margin-top:0;padding-top:0}.detail-panel{padding:25px 18px 40px}.empty-detail{min-height:280px}.section-heading{gap:10px}.section-heading p{font-size:12px}.section-heading>button{font-size:12px;padding:7px 10px}.client-summary dd{font-size:18px}.table-wrap{margin-right:0}td,th{padding:12px 10px}.login-panel{padding:27px 24px}.login-heading h1{font-size:24px}dialog{padding:23px 21px;max-height:calc(100vh - 30px)}.form-grid{grid-template-columns:1fr;gap:0}.checkbox-cell label{margin-top:18px}.dialog-actions{gap:7px}.dialog-actions button{font-size:13px}.notice{top:8px;width:max-content;max-width:90vw}.title-row h2{font-size:22px}.requests-pagination{justify-content:space-between}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
