/* Main-area structure and styles follow J/20261204-原型正本. Existing approved account navigation stays. */
body{color:#1f2937;background:#f6f7f9}#app{padding:20px 28px}.page-heading h1{font-size:22px}.j-catalog{display:flex;flex-direction:column;gap:16px}.j-catalog .page-heading{margin:0}.j-catalog .page-heading p{font-size:14px;color:#4b5563}.j-catalog .panel{margin:0;padding:0;border:1px solid #e5e7eb;border-radius:10px;box-shadow:none;overflow:hidden}.j-catalog .table-wrap{border:0;border-radius:0}.j-catalog table{font-size:13px;min-width:980px;width:100%}.j-catalog th{padding:10px 14px;background:#f9fafb;color:#6b7280;font-size:12px;white-space:nowrap}.j-catalog td{padding:11px 14px;border-color:#f3f4f6}.j-catalog td small{font-size:12px;font-weight:400;margin-top:3px}.j-catalog .catalog-row-actions{white-space:nowrap}.text-button{border:0;background:none;color:#1d4ed8;padding:0;font:inherit;cursor:pointer;box-shadow:none}.catalog-row-actions>*{margin-right:12px}.catalog-row-actions>*:last-child{margin:0}.danger-link{color:#b91c1c}.catalog-filter{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.catalog-filter input[type=search]{flex:1 1 260px;min-width:200px}.catalog-filter :is(input,select,button){font-size:13px;padding:8px 10px;border-radius:6px}.catalog-filter .primary{padding:8px 18px}.catalog-brand-tabs.tabs{margin:0;border-bottom:1px solid #e5e7eb;gap:4px}.catalog-brand-tabs.tabs button{background:none;border:0;border-bottom:2px solid transparent;border-radius:0;padding:10px 14px;color:#374151}.catalog-brand-tabs.tabs button.active{border-color:#1d4ed8;color:#1d4ed8}.tabs button span{font-size:12px;color:#6b7280;font-weight:400}.catalog-note{margin:0;font-size:13px;color:#4b5563}.brand-name{font-weight:600}.catalog-warning{background:#fef3c7;color:#92400e;padding:3px 8px;border-radius:4px;font-size:12px;display:inline-block}.age-red{color:#b91c1c}.age-amber{color:#b45309}.source-age-pills{display:flex;gap:8px;flex-wrap:wrap}.source-age-pills button{border-radius:999px;background:#fff;border:1px solid #d1d5db;color:#374151;padding:7px 14px}.source-age-pills button.active{background:#eff6ff;border-color:#93c5fd;color:#1d4ed8}.source-filter input[type=search]{margin-left:auto;flex:0 1 260px}.j-catalog .table-footer{padding:0;color:#6b7280;font-size:13px}.pagination button{padding:3px 8px}.catalog-info{border:1px solid;border-radius:10px;padding:14px 18px;display:flex;flex-direction:column;gap:4px;font-size:13px}.catalog-info.amber{background:#fffbeb;border-color:#fde68a;color:#78350f}.catalog-info.blue{background:#eff6ff;border-color:#bfdbfe;color:#1e3a8a}.catalog-associated-filter{font-size:13px}.catalog-associated-filter select{padding:5px 8px;margin-left:6px}.catalog-associated-filter .text-button{margin-left:12px}.check-fields{grid-template-columns:repeat(4,minmax(0,1fr))}.association-section{border:2px solid #bfdbfe!important;padding:16px 20px!important}.association-picker{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.association-picker .field{flex:1 1 320px;margin:0}.association-picker .field input{border-color:#93c5fd}.association-picker .brand-options,.association-picker .selected-brands{flex:1 0 100%;width:100%}.association-picker .brand-options:empty{display:none}.association-picker .field label{font-size:12px}.association-picker .primary{align-self:center}.association-section .muted{font-size:13px}.association-summary{background:#f9fafb;border-radius:8px;padding:10px 12px;color:#4b5563;font-size:13px;line-height:1.65}.brand-detail-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:12px 0 16px}.brand-detail-heading h1{font-size:24px;margin:0}.brand-detail-heading p{margin:6px 0 0;color:#4b5563}.brand-stats{grid-template-columns:repeat(5,minmax(140px,1fr))}.brand-stats .stat-card{padding:12px 14px}.brand-stats .stat-value{font-size:20px;margin-top:4px}.brand-breadcrumb{font-size:13px;color:#6b7280}.brand-domain-caption{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.brand-domain-caption h2{font-size:14px;margin:0}.brand-domain-caption a{font-size:13px}.brand-history{display:flex;flex-direction:column;gap:6px;font-size:13px}.brand-history .event{padding:4px 0;border:0}.brand-history .event>small{display:inline;margin-right:5px}.brand-history .event>strong{font-size:13px;font-weight:400}.brand-history details{display:inline-block;margin-left:8px}.iplib-dates,.iplib-firstResolved,.iplib-lastResolved{white-space:nowrap}.iplib-table td{font-size:13px}.iplib-table th{font-size:12px}.iplib-table{min-width:1100px}.iplib-table .catalog-row-actions{white-space:nowrap}.iplib-type{white-space:nowrap}.iplib-filter{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:16px 0}.iplib-filter input{margin-left:auto;width:300px}.iplib-filter :is(select,input){padding:8px;font-size:13px}.iplib-total{font-size:13px;color:#6b7280}.iplib-page .panel{padding:0;overflow:hidden}.iplib-page .table-wrap{border:0}.iplib-page .catalog-info{margin-top:16px}.iplib-page .table-footer{padding:14px 0}.j-catalog button:disabled,.catalog-row-actions button:disabled{color:#9ca3af;cursor:default}.iplib-page .page-heading{margin-bottom:16px}

.j-catalog .catalog-brand_type,.j-catalog .catalog-source_type{white-space:nowrap;min-width:70px}.j-catalog .catalog-title{min-width:155px}.j-catalog .catalog-last_checked_at,.j-catalog .catalog-last_screened_at{min-width:96px}.j-catalog .catalog-duplicate_hint{max-width:300px;line-height:1.6}.j-catalog .catalog-check_count{min-width:72px}.association-picker{display:grid;grid-template-columns:minmax(0,1fr) auto}.association-picker .brand-options,.association-picker .selected-brands{grid-column:1 / -1}.association-picker .selected-brands:empty{display:none}.association-section table,#brand-domain-section table{font-size:13px}.association-section :is(th,td),#brand-domain-section :is(th,td){padding:8px 10px}.association-section td button[data-brand-unlink]{border:0;padding:0;color:#b91c1c;background:transparent;font-size:13px}.association-section .table-wrap{margin:8px 0}.association-section .section-title{margin-bottom:12px}
.segmented{display:inline-flex;border:1px solid #d1d5db;border-radius:6px;overflow:hidden;vertical-align:middle}.segmented button{border:0;border-radius:0;background:#fff;padding:7px 12px}.segmented button.active{background:#1d4ed8;color:#fff}.status-green{color:#166534}.j-domains{display:flex;flex-direction:column;gap:16px}.j-domains .tabs{margin:0}.j-domain-filter{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.j-domain-filter :is(input,select,textarea,button){font-size:13px}.j-domain-filter .domain-date-range{width:250px}.j-domain-filter .domain-query{flex:1 1 220px;min-height:36px;height:36px;resize:vertical;line-height:18px;padding:8px 10px}.j-domain-filter #domain-advanced{flex-basis:100%}.j-domain-tools{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;font-size:13px;color:#4b5563}.j-domain-tools label{display:inline-flex;gap:6px;align-items:center}.j-domains .panel{padding:0;margin:0;border-radius:10px;overflow:hidden;box-shadow:none}.j-domains .table-wrap{border:0;margin:0}.j-domains table{font-size:13px;text-align:center;line-height:1.6}.j-domains th{font-size:12px;text-align:center;line-height:1.5;padding:10px;color:#374151;min-width:115px;white-space:normal}.j-domains th:first-child{min-width:32px}.j-domains th:nth-child(2){min-width:100px}.j-domains td{padding:8px;text-align:center}.j-domains .domain-cell-line{white-space:nowrap;max-width:200px;overflow:hidden;text-overflow:ellipsis}.j-domains .domain-cell-line.secondary{color:#6b7280;font-weight:400}.j-domains .domain-thumb{width:84px;height:52px;min-height:52px;font-size:11px}.j-domains .child-count{display:block;color:#1d4ed8;margin-top:2px}.domain-group-traffic{background:#ecfdf5!important}.domain-group-ai{background:#eff6ff!important}.domain-group-source_brand{background:#fefce8!important}.domain-group-collection{background:#f9fafb!important}.domain-bulk-footer{display:flex;align-items:center;gap:14px;font-size:13px;flex-wrap:wrap}.domain-bulk-footer .pagination{margin-left:auto}.domain-bulk-footer strong{color:#15803d}.domain-bulk-footer select{border-color:#1d4ed8;color:#1d4ed8}.j-domains .domain-wall{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.j-domains .domain-wall .domain-thumb{width:100%;height:150px;min-height:150px}.j-domains .domain-wall article{padding:0 0 10px}.j-domains .domain-wall :is(.domain-name,article>div:not(.domain-thumb),article>p){margin:4px 12px;font-size:12px}.j-domain-detail{display:flex;flex-direction:column;gap:16px}.j-domain-detail .panel{margin:0;padding:16px 20px;border-radius:10px;box-shadow:none}.domain-detail-search{display:flex;align-items:center;gap:8px}.domain-detail-search input{flex:1}.domain-detail-search a{white-space:nowrap;font-size:14px}.j-domain-detail .detail-top{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);margin:0;gap:16px}.domain-shot-address{background:#f3f4f6;padding:6px 10px;font-size:11px;color:#6b7280}.domain-shot-frame{border:1px solid #e5e7eb;border-radius:8px;overflow:hidden}.domain-shot-frame .capture-empty{height:300px;min-height:300px;border:0;border-radius:0;background:#f9fafb}.domain-summary{display:flex;flex-direction:column;gap:14px}.domain-summary h1{font-size:24px;margin:0;font-weight:700}.domain-flow{display:flex;flex-wrap:wrap;gap:4px;font-size:12px}.domain-summary-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:auto}.domain-summary-values>div{background:#f9fafb;border-radius:8px;padding:10px 12px;display:flex;flex-direction:column;gap:4px}.j-domain-detail #domain-children{border:2px solid #bfdbfe}.j-domain-detail h2{font-size:16px}.j-domain-detail .archive-grid{gap:16px}.j-domain-detail .archive-card{padding:16px 20px;border-radius:10px;box-shadow:none;font-size:13px}.j-domain-detail :is(th,td){font-size:13px;padding:8px 10px}.j-records{display:flex;flex-direction:column;gap:16px}.j-records .page-heading{margin:0}.j-records .page-heading p{font-size:14px;color:#4b5563}.j-records .tabs{margin:0}.record-filter{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.record-filter :is(input,select){padding:8px;font-size:13px}.record-filter input[type=search]{margin-left:auto;width:300px}.records-custom-dates{font-size:12px}.records-custom-dates[hidden]{display:none}.j-records .record-list-panel{padding:0;margin:0;box-shadow:none;border-radius:10px;overflow:hidden}.j-records .table-wrap{border:0}.j-records table{min-width:1100px}.j-records :is(th,td){font-size:13px;padding:11px 12px}.j-records th{font-size:12px}.j-records .table-footer{padding:0;font-size:13px}.j-staff{display:flex;flex-direction:column;gap:16px}.j-staff .page-heading{margin:0}.j-staff .page-heading p{font-size:14px;color:#4b5563}.j-staff .panel{padding:0;margin:0;box-shadow:none;overflow:hidden}.j-staff .table-wrap{margin:0;border:0}.j-staff table{min-width:1000px}.j-staff th{font-size:12px;padding:9px 8px;white-space:nowrap}.j-staff td{font-size:13px;padding:9px 12px}.j-staff td select{font-size:13px;padding:5px}.j-staff .staff-template td.staff-template-access{text-align:center;color:#166534;font-weight:600}.staff-account-caption{padding:12px 16px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #f3f4f6;font-size:14px}.staff-account-caption input{padding:6px 8px;font-size:13px}.staff-template p{margin:0;padding:8px 16px}.staff-add-inline{background:#f0fdf4;padding:12px 16px;display:flex;gap:8px;align-items:center;flex-wrap:wrap;border-bottom:1px solid #f3f4f6;color:#166534}.staff-add-inline input[name=username]{width:135px}.staff-add-inline input[name=nickname]{width:95px}.staff-add-inline input[name=password]{width:140px}.staff-add-inline :is(input,select){border-color:#86efac;padding:6px 8px;font-size:13px}.staff-add-inline b{font-size:14px}.staff-add-inline button{background:#16a34a;border-color:#16a34a;padding:6px 14px}.staff-add-inline span{font-size:12px}.j-import{display:flex;flex-direction:column;gap:16px}.j-import .page-heading,.j-import .tabs{margin:0}.j-import .page-heading p{font-size:14px;color:#4b5563}.j-import .panel{box-shadow:none;border-radius:10px;margin:0}.j-import :is(th,td){font-size:13px;padding:9px 12px}.j-import th{font-size:12px}.j-import .import-input-panel{padding:18px 20px;display:flex;flex-direction:column;gap:14px}.j-import .import-input-panel .form-grid{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));margin:0}.import-input-panel .field{margin:0;font-size:12px;color:#6b7280}.import-limit{font-size:13px;color:#6b7280;margin-left:auto}.required-label{color:#1e40af!important}.import-template{padding:10px 12px;background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;font-size:13px;display:flex;flex-direction:column;gap:6px}.import-template-columns{display:flex;flex-wrap:wrap;gap:6px}.import-template-columns span{border:1px solid #e5e7eb;border-radius:4px;padding:2px 8px;color:#6b7280}.j-import .import-history,.j-import .import-results{padding:0;overflow:hidden}.j-import .table-wrap{border:0;margin:0}.import-result-caption{display:flex;gap:16px;padding:12px 16px;border-bottom:1px solid #f3f4f6;font-size:13px}.import-history .table-footer{padding:8px 16px}.source-inline-discovery{background:#f0fdf4;border-top:1px solid #f3f4f6;border-bottom:1px solid #f3f4f6;padding:10px 12px;display:flex;flex-direction:column;gap:6px;font-size:13px}.source-inline-discovery b{color:#166534}.source-inline-discovery>div{display:flex;gap:6px}.source-inline-discovery input,.source-inline-discovery select{font-size:13px;padding:7px 8px}.source-inline-discovery>div input{width:100%;min-width:0;flex:1}.source-inline-discovery select{width:86px;padding-right:20px}.source-inline-discovery small{font-size:11px;line-height:1.5;color:#6b7280}.source-inline-discovery .primary{background:#16a34a;border:0;padding:7px;font-size:13px}.source-inline-status{font-size:12px;color:#166534;overflow-wrap:anywhere}.capture-page .task-queue{padding:0;display:flex;flex-direction:column;overflow:hidden}.capture-page .task-queue>h2{padding:10px 12px;margin:0;font-size:12px;font-weight:400;color:#6b7280}.capture-page .task-queue-scroll{min-height:0;flex:1;overflow:auto}.capture-page .task-entry-heading h2{font-size:15px}.capture-page .task-entry-heading{gap:8px;flex-wrap:wrap}.capture-page .task-entry-heading .muted{font-size:12px}.capture-page .task-entry-section{padding:14px 16px}.capture-page .task-queue-item{border-width:0 0 1px;border-radius:0}.capture-page .task-queue-item.selected{border-left:3px solid #1d4ed8}.j-dashboard{display:flex;flex-direction:column;gap:16px}.dashboard-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.dashboard-heading h1{font-size:22px;margin:0}.dashboard-heading>div{display:flex;gap:8px;align-items:center}.dashboard-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.dashboard-kpis .stat-card{padding:14px 16px;box-shadow:none;border-radius:10px;display:flex;flex-direction:column;gap:4px}.dashboard-kpis small{font-size:12px}.dashboard-kpis strong{font-size:26px;font-weight:600}.dashboard-two{display:flex;gap:16px;flex-wrap:wrap}.dashboard-two>.panel:first-child{flex:2 1 520px;min-width:0}.dashboard-two>.panel:last-child{flex:1 1 320px;min-width:0}.j-dashboard .panel{padding:16px 20px;margin:0;box-shadow:none;border-radius:10px}.j-dashboard h2{font-size:16px;margin-bottom:12px}.j-dashboard .table-wrap{border:0}.j-dashboard :is(th,td){font-size:13px;padding:8px 0}.j-dashboard th{font-size:12px}.j-dashboard .section-title{margin:0 0 12px}.j-dashboard .section-title h2{margin:0}.dashboard-chart{height:200px;border-bottom:1px solid #e5e7eb;display:flex;align-items:flex-end;gap:14px;padding:0 4px}.dashboard-day{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%;gap:4px;font-size:11px}.dashboard-day i{width:70%;display:block}.chart-main{background:#1d4ed8}.chart-prefix{background:#93c5fd;border-radius:3px 3px 0 0}.chart-secondary{color:#93c5fd}.dashboard-chart-days{display:flex;gap:14px;padding:6px 4px 0}.dashboard-chart-days span{flex:1;text-align:center;font-size:12px;color:#6b7280}.dashboard-todo{display:flex;align-items:center;justify-content:space-between;padding:9px 0;border-top:1px solid #f3f4f6;color:#1f2937;font-size:13px}.dashboard-funnel{display:flex;align-items:center;gap:12px;padding:5px 0;color:#1f2937;font-size:13px}.dashboard-funnel>span{width:70px}.dashboard-funnel>i{height:20px;flex:1;border-radius:4px;background:#f3f4f6;overflow:hidden}.dashboard-funnel>i>b{display:block;height:20px;border-radius:4px}.dashboard-funnel>strong{width:70px;text-align:right}.dashboard-meters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;font-size:13px}.dashboard-meters>div>span{display:flex;justify-content:space-between}.dashboard-meters i{display:block;height:8px;border-radius:4px;background:#f3f4f6;margin-top:6px}.dashboard-meters small{display:block;font-size:12px;margin-top:4px}.j-ip-collect{display:flex;flex-direction:column;gap:16px;width:100%}.ip-collect-page #app{display:block;overflow:auto;padding:20px 28px 24px}.ip-collect-page .workspace{height:100dvh;overflow:hidden}.ip-j-heading{display:flex;justify-content:space-between;align-items:flex-end;flex-wrap:wrap;gap:12px}.ip-j-heading>div:first-child{flex:1;min-width:520px}.ip-j-heading h1{font-size:22px;margin:0}.ip-j-heading p{font-size:14px;margin:4px 0 0;color:#4b5563;max-width:660px;line-height:1.6}.ip-j-heading .button-row{gap:16px}.ip-j-heading .button-row>div{text-align:right}.ip-j-heading small{display:block;font-size:12px;color:#6b7280}.ip-j-heading strong{font-size:22px;display:block;font-weight:700}.ip-j-heading .button-row>div:first-child strong{color:#166534}.ip-collect-page .ip-layout{display:grid;grid-template-columns:minmax(300px,1fr) minmax(560px,2fr);gap:16px;align-items:start;min-height:0}.ip-collect-page .ip-task-queue{padding:0;margin:0;border-radius:10px;max-height:570px}.ip-task-queue h2{padding:12px 16px;margin:0;border-bottom:1px solid #f3f4f6;font-size:14px}.ip-collect-page .ip-task-link{display:flex;justify-content:space-between;align-items:start;gap:8px;padding:11px 16px;border:0;border-top:1px solid #f3f4f6;border-radius:0;background:white}.ip-task-link.selected{background:#eff6ff}.ip-task-link small{display:block;font-size:12px;white-space:nowrap}.ip-task-link>span strong{font-size:14px}.ip-collect-page .ip-content{display:block}.ip-collect-page .ip-paste-panel{padding:18px 20px;margin:0;border-radius:10px}.ip-j-task{display:flex;align-items:baseline;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-bottom:14px}.ip-j-task strong{font-size:18px}.ip-j-task small{display:block;font-size:13px;color:#6b7280;margin-top:4px}.ip-j-task a{font-size:13px}.ip-j-paste-label{display:flex;flex-direction:column;gap:6px;font-size:13px}.ip-collect-page .ip-content textarea{height:150px;min-height:150px;font-size:13px;padding:10px}.ip-auto-summary{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:8px;padding:10px 12px;margin:14px 0;font-size:13px;color:#166534}.ip-j-actions{display:flex;gap:8px;align-items:center;justify-content:flex-end;flex-wrap:wrap}.ip-j-actions .ip-sync-status{margin-right:auto;flex:1;min-width:210px;font-size:12px}.ip-j-actions button{font-size:13px}.ip-j-actions .primary{font-weight:600;padding:10px 22px}.ip-j-actions+ .ip-history{padding:6px 0 0}.ip-j-actions+.ip-history button{font-size:12px}.j-ip-collect .catalog-info{font-size:13px}.j-ip-collect .ip-pool-bar{font-size:13px;margin:0}.j-ip-collect .ip-pool-bar>small{font-size:12px;color:#6b7280}.j-ip-collect .ip-pool-bar button{font-size:12px;padding:5px 9px}

.capture-page .task-layout{grid-template-columns:250px minmax(0,1fr)}.import-input-panel label.button{position:relative;cursor:pointer;padding:8px 14px;white-space:nowrap}.import-input-panel input[type=file]{position:absolute;width:1px;height:1px;padding:0;opacity:0;overflow:hidden}.import-input-panel label.button:focus-within{outline:2px solid #1d4ed8;outline-offset:2px}.dashboard-two .section-title>small{color:#1d4ed8}

.import-template-columns .required-label{background:#dbeafe}.import-template-columns .system-label{background:#f3f4f6;color:#9ca3af}.import-template-columns span:not(.required-label):not(.system-label){background:white;color:#374151}

.ip-j-task>div,.ip-task-link>span{min-width:0}.ip-j-task strong,.ip-task-link>span strong{overflow-wrap:anywhere}

.j-staff .page-heading h1::after,.j-import .page-heading h1::after{content:'仅管理员';font-size:12px;font-weight:400;padding:2px 8px;margin-left:8px;border-radius:999px;background:#fef3c7;color:#92400e;vertical-align:middle}

/* J 14:27: shared capture modes; no additional account/page grant. */
.task-mode-toolbar .capture-mode-tabs{background:#e5e7eb;padding:4px;gap:4px;border:0;border-radius:8px;margin:0;flex-wrap:nowrap}.capture-mode-tabs button{padding:8px 14px;border:0;border-radius:6px;background:transparent;color:#374151;white-space:nowrap}.capture-mode-tabs button.active{color:#1d4ed8;background:white;border:0;font-weight:600}.ip-mode-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.ip-mode-metrics{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap;font-size:12px}.ip-mode-metrics>span{white-space:nowrap}.ip-mode-metrics>span:first-child strong{color:#166534}.ip-mode-metrics button{font-size:13px;padding:8px 12px}.ip-collect-page .ip-layout{grid-template-columns:minmax(250px,1fr) minmax(520px,2.7fr)}
