:root{font-family:Segoe UI,Microsoft YaHei,system-ui,sans-serif;color:#172437;background:#f4f6f9;font-synthesis:none;font-size:13px;--accent: #2563eb;--accent-hover: #1d4ed8;--accent-light: #edf3ff;--border: #dce3ec;--muted: #66758a;--danger: #b42318;--nav: #142033;--surface: #fff}*{box-sizing:border-box}body{margin:0;min-width:360px}button,input,textarea,select{font:inherit}button{cursor:pointer;color:inherit}button:disabled{cursor:not-allowed;opacity:.48}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid #5286ef;outline-offset:2px}button,a{transition:background-color .12s,color .12s}h1,h2,h3,p,dl,dd{margin:0}svg{flex-shrink:0;vertical-align:middle}a{color:var(--accent)}.shell{min-height:100vh;display:flex}.sidebar{width:224px;position:fixed;inset:0 auto 0 0;z-index:10;background:var(--nav);color:#b9c6d8;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:11px;padding:24px 18px;color:#f5f8fd}.brand strong{font-size:14px;font-weight:600;line-height:1.65;max-width:155px}.brand-mark{width:28px;height:32px;display:flex;align-items:center;color:#78a6ff}.sidebar nav{padding:10px 10px 18px;border-top:1px solid #263347}.nav-item{display:flex;align-items:center;gap:11px;width:100%;height:42px;margin-bottom:4px;padding:0 14px;border:0;border-radius:4px;color:#b9c6d8;background:transparent;text-align:left}.nav-item svg{width:17px;height:17px;opacity:.85}.nav-item:hover{background:#1d2d45;color:#fff}.nav-item.active{color:#fff;background:#244878}.nav-item.active svg{color:#a8c9ff;opacity:1}.sidebar-account{margin-top:auto;display:flex;align-items:center;gap:8px;border-top:1px solid #263347;padding:16px 13px}.account-button{flex:1;display:flex;align-items:center;gap:9px;border:0;background:none;text-align:left;padding:6px 4px;min-width:0;color:#ced8e7}.account-button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-account .icon-button{color:#b9c6d8}.sidebar-account .icon-button:hover{background:#26384f;color:#fff}.app-body{margin-left:224px;width:calc(100% - 224px);min-width:0}.page{padding:26px 30px 40px;max-width:1760px;margin:0 auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.page-heading h1{font-size:22px;font-weight:600;line-height:1.4}.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:33px;border:1px solid var(--border);border-radius:4px;padding:6px 12px;background:#fff;color:#34465e;font-size:12px;line-height:1.5;white-space:nowrap}.button:hover:not(:disabled){background:#f0f4f9;border-color:#acbdd4}.button.primary{background:var(--accent);color:#fff;border-color:var(--accent)}.button.primary:hover:not(:disabled){background:var(--accent-hover);border-color:var(--accent-hover)}.button.danger{color:var(--danger);border-color:#ecc3be;background:#fff}.button.danger:hover:not(:disabled){background:#fff0ed;border-color:#dca29a}.button.text{border-color:transparent;background:none;min-height:28px;padding:4px 5px;color:var(--accent)}.button.text:hover:not(:disabled){background:var(--accent-light);border-color:transparent}.button.text.danger{color:var(--danger)}.button.text.danger:hover:not(:disabled){background:#fff0ed}.icon-button{border:0;background:none;border-radius:4px;width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center;color:var(--muted)}.icon-button:hover{background:#edf1f7;color:#21334d}.panel{border:1px solid var(--border);border-radius:6px;background:var(--surface);min-width:0}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 18px;border-bottom:1px solid var(--border)}.panel-head h2{font-size:14px;font-weight:600}.panel-head small{color:var(--muted);font-size:12px}.panel-body{padding:18px}.toolbar{display:flex;align-items:center;gap:12px;padding:14px 16px;border-bottom:1px solid var(--border)}.search-box{display:flex;align-items:center;gap:8px;border:1px solid #cbd5e1;border-radius:4px;background:#fff;padding-left:10px;width:300px;max-width:100%;color:#7b8a9d}.search-box input{border:0;box-shadow:none;width:100%;min-width:0;padding:8px 10px 8px 0;background:none}.toolbar .search-box{margin-right:auto}.toolbar>.muted{font-size:12px;white-space:nowrap}.table-wrap{width:100%;overflow-x:auto;overscroll-behavior-x:contain;border-radius:inherit}.table-wrap table{min-width:840px}.table-wrap .access-table{min-width:1050px;table-layout:fixed}.access-table th:nth-child(1){width:165px}.access-table th:nth-child(2){width:180px}.access-table th:nth-child(3){width:170px}.access-table th:nth-child(4){width:235px}.access-table th:nth-child(5){width:180px}.access-table th:nth-child(6){width:120px}.table-wrap .employees-table{min-width:1060px;table-layout:fixed}.employees-table th:nth-child(1){width:38px}.employees-table th:nth-child(2){width:210px}.employees-table th:nth-child(3){width:180px}.employees-table th:nth-child(4){width:160px}.employees-table th:nth-child(5){width:160px}.employees-table th:nth-child(6){width:100px}.employees-table th:nth-child(7){width:180px}.gateway-layout table{min-width:520px}table{border-collapse:collapse;width:100%;font-size:12px}th{background:#f8fafc;font-size:12px;font-weight:500;color:#526177;text-align:left;white-space:nowrap;border-bottom:1px solid var(--border);padding:11px 16px}td{padding:12px 16px;border-bottom:1px solid #e8edf3;vertical-align:middle;line-height:1.6}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#f8faff}td:first-child:has(>input[type=checkbox]),th:first-child:has(>input[type=checkbox]){width:38px;padding-right:0}.table-actions{display:flex;align-items:center;gap:4px;white-space:nowrap}.cell-title{font-weight:500;color:#21324a}.cell-subtitle{margin-top:3px;font-size:11px;color:#6d7c90}.cell-title,.cell-subtitle,.cell-ellipsis{display:block;max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;overflow-wrap:normal;word-break:normal}.access-table .cell-title,.access-table .cell-subtitle,.access-table .cell-ellipsis{max-width:100%}.person-cell{display:flex;align-items:center;gap:10px;min-width:125px}.person-cell>div{min-width:0;max-width:100%}.avatar{display:none}.chips{display:flex;gap:5px;flex-wrap:wrap;max-width:270px}.chip{display:inline-flex;align-items:center;font-size:11px;padding:1px 6px;background:#f0f3f7;color:#526177;border:1px solid #e4e9f0;border-radius:3px;font-weight:400}.pill{display:inline-flex;align-items:center;gap:5px;font-size:11px;line-height:1.5;border-radius:3px;padding:3px 7px;color:#627086;background:#eef1f5;white-space:nowrap;font-weight:400}.pill.good{color:#16734c;background:#edf7f1}.pill.warn{color:#9a6700;background:#fff7e5}.pill.bad{color:#b42318;background:#fff0ed}.pill.info{color:#285ba8;background:#eef4ff}.pagination{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 16px;border-top:1px solid var(--border);font-size:12px;color:var(--muted)}.pagination>div{display:flex;align-items:center;gap:14px}.pagination .button{min-height:29px;padding:4px 10px}.bulk-bar{display:flex;align-items:center;gap:10px;padding:10px 16px;background:#eef4ff;border-bottom:1px solid #d8e5ff;font-size:12px}.bulk-bar>span{margin-right:8px}.bulk-bar .button{min-height:29px;padding:4px 10px}.alert{display:flex;align-items:flex-start;gap:9px;padding:11px 13px;border:1px solid #f0cbc6;border-radius:4px;background:#fff5f3;color:#a42f24;font-size:12px;line-height:1.65;margin-bottom:16px;overflow-wrap:anywhere}.alert>div{flex:1;min-width:0}.alert strong{font-weight:600}.alert p{margin-top:3px}.alert-symbol{display:inline-grid;place-items:center;width:16px;height:16px;border:1px solid currentColor;border-radius:50%;flex-shrink:0;font-size:11px;margin-top:2px}.alert .button{margin:-1px 0}.alert>.icon-button{margin-top:-4px;margin-bottom:-4px}.alert.warning{background:#fffaf0;color:#926000;border-color:#eedcb3}.alert.success{background:#f1f8f4;color:#216e46;border-color:#cde4d6}.alert.info{background:#f1f6ff;color:#315d9c;border-color:#d6e2f7}.empty{text-align:center;padding:46px 24px}.empty h3{font-size:14px;font-weight:500;color:#55647a}.empty p{margin:9px auto 0;max-width:470px;color:var(--muted);font-size:12px;line-height:1.7}.empty .button{margin-top:18px}.muted{color:var(--muted)}.mono{font-family:Consolas,Microsoft YaHei,monospace}.nowrap{white-space:nowrap}.wrap{overflow-wrap:anywhere}.content-note,.table-note{color:var(--muted);font-size:11px;line-height:1.8}.table-note{padding:12px 16px;border-top:1px solid var(--border)}.help-note{color:#64758a;font-size:12px;line-height:1.75;margin:12px 0 16px}.help-details{margin-top:14px;font-size:12px;color:#62738a;line-height:1.8}.help-details summary{width:fit-content;cursor:pointer;color:#526177;font-size:12px}.help-details p{margin-top:9px;max-width:880px}.help-details[open]{padding-bottom:4px}input,select,textarea{background:#fff;border:1px solid #cbd5e1;border-radius:4px;color:#21324a;padding:8px 10px;min-height:35px;min-width:0;outline-offset:1px}input:hover:not(:disabled),select:hover:not(:disabled),textarea:hover:not(:disabled){border-color:#99acc4}input:disabled,select:disabled,textarea:disabled{background:#f3f5f8;color:#8c98a9}input::placeholder,textarea::placeholder{color:#93a0b0}input[type=checkbox]{accent-color:var(--accent);width:14px;height:14px;min-height:auto;padding:0;margin:0;cursor:pointer}textarea{width:100%;min-height:90px;resize:vertical;line-height:1.65}select{cursor:pointer}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:16px;font-size:12px;min-width:0}.field>span{font-weight:500}.field>small{font-size:11px;font-weight:400;color:var(--muted);line-height:1.65}.field input,.field select,.field textarea{width:100%}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.form-grid .full{grid-column:1 / -1}.inline-label{display:flex;align-items:center;gap:9px;margin:4px 0 18px;font-size:12px}.multi-select{border:1px solid var(--border);border-radius:4px;padding:12px;margin:0 0 18px;min-width:0}.multi-select legend{font-size:12px;font-weight:500;padding:0 6px}.multi-select legend small{margin-left:10px;font-weight:400;font-size:11px;color:var(--muted)}.check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;max-height:220px;overflow-y:auto}.check-option{display:flex;align-items:flex-start;gap:8px;padding:7px;font-size:12px;border-radius:3px;cursor:pointer;overflow-wrap:anywhere}.check-option input{flex-shrink:0;margin-top:1px}.check-option:hover,.check-option.selected{background:#f0f5ff}.multi-select .muted{font-size:12px;line-height:1.7}.form-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;border-top:1px solid var(--border);padding-top:17px;margin-top:20px}.modal-backdrop{position:fixed;inset:0;z-index:50;display:flex;align-items:center;justify-content:center;padding:24px;background:#10203970}.modal{width:500px;max-width:100%;max-height:92vh;overflow-y:auto;border:1px solid #cad5e5;border-radius:6px;background:#fff;box-shadow:0 12px 42px #0c18332b}.modal.wide{width:730px}.modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:19px 22px;border-bottom:1px solid var(--border)}.modal-head h2{font-size:17px;font-weight:600;line-height:1.4}.modal-head p{color:var(--muted);font-size:12px;line-height:1.7;margin-top:8px}.modal-head .icon-button{margin-top:-4px;margin-right:-5px}.modal>form,.modal-content{padding:20px 22px}.modal .form-actions{margin-bottom:0}.website-policy{border-top:1px solid var(--border);padding-top:17px;margin-top:18px}.website-policy h3{font-size:13px;font-weight:600;margin-bottom:10px}.policy-scope-note,.policy-footnote{color:var(--muted);font-size:11px;line-height:1.75;margin:0 0 13px}.policy-footnote{margin:12px 0 0}.policy-inherited{background:#f8fafc;border:1px solid var(--border);padding:12px;border-radius:4px;margin-bottom:14px;font-size:12px;line-height:1.7}.policy-inherited strong{font-weight:500}.policy-inherited p{margin-top:5px;color:var(--muted)}.policy-inherited small{display:block;font-size:11px;color:var(--muted);margin-top:7px}.policy-group-list{margin-top:8px}.policy-group-list>div{display:flex;align-items:center;gap:15px;justify-content:space-between;border-top:1px solid var(--border);padding:7px 0 0;margin-top:5px}.policy-group-list small{margin:0}.policy-advanced summary{cursor:pointer;font-size:12px;color:#526177;margin-bottom:12px}.policy-advanced .help-note{font-size:11px;margin-top:0}.domain-list{min-height:105px;font-family:Consolas,Microsoft YaHei,monospace;font-size:12px}.settings-grid{display:grid;grid-template-columns:minmax(300px,470px) minmax(300px,1fr);gap:20px;align-items:start}.gateway-layout{display:grid;grid-template-columns:minmax(280px,390px) minmax(380px,1fr);gap:20px;align-items:start}.gateway-layout>.help-details{grid-column:1 / -1;margin-top:-4px}.detail-row{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:10px 0;font-size:12px;line-height:1.7;border-bottom:1px solid #edf0f5}.detail-row:first-child{padding-top:0}.detail-row:last-child{border-bottom:0}.detail-row>:first-child{color:var(--muted);flex-shrink:0}.detail-row>:last-child{text-align:right;min-width:0}.gateway-layout .help-note{margin-bottom:0;font-size:11px}.collector-panel{margin-bottom:16px}.collector-summary{display:flex;align-items:center;gap:12px;padding:12px 16px;font-size:12px}.collector-summary>strong{font-weight:500}.collector-summary>.collector-last{color:var(--muted);margin-left:auto;font-size:11px}.collector-panel .help-details{margin:0;padding:0 16px 12px}.collector-panel .help-details[open]{padding-bottom:14px}.collector-panel .alert{margin:0 16px 12px}.collector-description{color:#64758a;font-size:12px;line-height:1.75}.collector-facts{display:flex;flex-wrap:wrap;gap:24px;padding:13px 0;font-size:11px}.collector-facts>div{display:flex;gap:8px;color:var(--muted)}.collector-facts strong{color:#33465e;font-size:11px;font-weight:500}.collector-gap-note{padding:0 16px 12px;color:#99670d;font-size:12px;line-height:1.75}.access-filters{padding:16px;border-bottom:1px solid var(--border)}.access-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr));gap:0 14px}.access-filter-grid .field{margin-bottom:13px}.access-filter-grid .field:nth-last-child(-n+2){grid-column:span 2}.access-filter-actions{display:flex;justify-content:flex-end;align-items:center;gap:10px}.access-filter-actions p{margin-right:auto;max-width:420px;color:var(--muted);font-size:11px;line-height:1.7}.auth-page{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:30px 20px 80px;background:#f4f6f9}.auth-page>.brand{color:#172437;padding:0;margin-bottom:27px;gap:12px}.auth-page .brand strong{max-width:none;font-size:18px;line-height:1.5}.auth-page .brand-mark{color:var(--accent)}.auth-form{width:390px;max-width:100%;padding:28px;background:#fff;border:1px solid var(--border);border-radius:6px}.auth-form h1{font-size:18px;font-weight:600;margin-bottom:25px}.auth-form .button.primary{width:100%;min-height:36px;margin-top:5px}.auth-description{font-size:12px;line-height:1.8;color:var(--muted);margin:-10px 0 18px}.auth-form .help-details{font-size:11px}.auth-form .help-details summary{font-size:11px}.command{display:block;background:#f4f6f9;border:1px solid var(--border);padding:12px;font-size:11px;line-height:1.8;overflow-wrap:anywhere;margin:10px 0 16px}.loading{display:flex;align-items:center;justify-content:center;gap:10px;padding:50px 20px;color:var(--muted);font-size:12px}.spinner{display:inline-block;flex-shrink:0;width:15px;height:15px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:spin .75s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:1100px){.sidebar{width:204px}.app-body{margin-left:204px;width:calc(100% - 204px)}.brand{padding:21px 15px;gap:8px}.brand strong{font-size:13px;max-width:140px}.page{padding:23px 22px 35px}.toolbar{flex-wrap:wrap;gap:10px}.toolbar .search-box{width:230px}th,td{padding-left:12px;padding-right:12px}.gateway-layout,.settings-grid{grid-template-columns:1fr}.gateway-layout>.help-details{grid-column:auto;margin-top:0}.access-filter-grid{grid-template-columns:repeat(2,minmax(120px,1fr))}.access-filter-grid .field:nth-last-child(-n+2){grid-column:auto}.access-filter-actions p{max-width:240px}}@media(max-width:760px){.shell{display:block}.sidebar{position:relative;width:100%}.sidebar .brand{padding:13px 17px}.brand strong{max-width:none;font-size:13px}.sidebar nav{display:flex;overflow-x:auto;padding:5px 8px}.nav-item{flex-shrink:0;width:auto;height:35px;margin:0 2px;padding:0 11px;gap:6px;font-size:12px}.sidebar-account{position:absolute;top:11px;right:12px;border:0;margin:0;padding:0}.sidebar-account .account-button{display:none}.app-body{margin:0;width:100%}.page{padding:20px 14px 30px}.page-heading{margin-bottom:16px}.page-heading h1{font-size:20px}.toolbar{padding:12px;gap:9px}.toolbar .search-box{flex:1;min-width:150px}.toolbar>select{max-width:170px}.toolbar>.muted{display:none}.bulk-bar{flex-wrap:wrap}.gateway-layout table{min-width:440px}.collector-summary{flex-wrap:wrap;gap:8px}.collector-summary>.collector-last{flex-basis:100%;margin-left:0}.access-filter-actions{flex-wrap:wrap}.access-filter-actions p{max-width:none;flex-basis:100%}.modal-backdrop{padding:14px}.modal{max-height:94vh}.modal-head,.modal>form,.modal-content{padding:18px}.form-grid{gap:0 13px}.check-grid{grid-template-columns:1fr}.auth-page .brand strong{font-size:15px}.pagination{font-size:11px;gap:8px}.pagination>div{gap:8px}}@media(max-width:430px){.sidebar .brand{max-width:calc(100% - 36px)}.sidebar .brand strong{font-size:12px}.brand-mark{width:20px}.brand-mark svg{width:19px}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.access-filter-grid{gap:0 10px}.auth-page>.brand{gap:8px}.auth-page .brand strong{font-size:14px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important}}
