.nav-group{display:grid;gap:4px}
.nav-group-toggle{display:flex;align-items:center;gap:12px;width:100%;padding:12px 14px;border-radius:8px;background:transparent;color:#b8cadd;text-align:left;font-weight:700}
.nav-group-toggle span{display:inline-block;width:16px;font-size:13px;transition:transform .16s ease}
.nav-group-toggle:hover,.nav-group.has-active .nav-group-toggle{background:var(--navy-2);color:#fff}
.nav-group:not(.open) .nav-sub-list{display:none}
.nav-group:not(.open) .nav-group-toggle span{transform:rotate(-90deg)}
.nav-sub-list{display:grid;gap:3px;padding-left:12px}
.nav-sub-item{padding:9px 12px;font-size:12px}
.nav-sub-item span{font-size:12px}

.project-filter{grid-template-columns:minmax(260px,2fr) minmax(180px,1.25fr) minmax(150px,1fr) auto!important}
.plan-filter{grid-template-columns:minmax(130px,.8fr) minmax(210px,1.25fr) minmax(170px,1fr) auto!important}
.lead-filter{grid-template-columns:minmax(210px,1.4fr) minmax(180px,1.1fr) 125px 130px 130px 86px!important}
.table-meta-note{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:flex-start;margin:10px 0 8px;padding:9px 12px;border:1px solid #d8e7f2;border-radius:12px;background:#f7fbff;color:#4d687f;font-size:12px;line-height:1.45}
.table-meta-note b{color:#17466d}
.table-meta-note span{display:inline-block}
.table-meta-note.compact{margin:6px 0 8px;padding:7px 10px;font-size:11px}

.modal-head,.modal-logo{cursor:move;user-select:none}
.modal-head button,.modal-head input,.modal-head select,.modal-head textarea{cursor:auto}
.modal.dragging-modal{box-shadow:0 26px 70px rgba(0,0,0,.28)}
.dragging-modal-active{user-select:none}

#plans-scroll{height:clamp(500px,calc(100vh - 285px),760px);overflow-x:hidden!important;overflow-y:auto}
#plans-table{width:100%!important;min-width:100%!important;table-layout:fixed!important}
#plans-table th,#plans-table td{padding:8px 7px!important;white-space:normal!important;word-break:break-word!important;overflow-wrap:anywhere;line-height:1.45;vertical-align:top}
#plans-table thead th{position:sticky!important;top:0!important;z-index:22!important;background:#eef4f8!important}
#plans-table th:nth-child(1){width:9%}
#plans-table th:nth-child(2){width:15%}
#plans-table th:nth-child(3){width:16%}
#plans-table th:nth-child(4){width:9%}
#plans-table th:nth-child(5){width:10%}
#plans-table th:nth-child(6){width:28%}
#plans-table th:nth-child(7){width:6%}
#plans-table th:nth-child(8){width:7%}
#plans-table .icon-button{padding:2px 4px;font-size:11px}
.plan-table td:nth-child(3){min-width:0!important}
.todo-plan-entry,.lead-edit-entry{cursor:text;color:#315c80}
.todo-plan-entry:hover,.lead-edit-entry:hover{background:#e8f4ff}

#leads-scroll{height:clamp(500px,calc(100vh - 305px),760px);overflow-x:hidden!important;overflow-y:auto}
#leads-table{width:100%!important;min-width:100%!important;table-layout:fixed!important}
#leads-table th,#leads-table td{padding:8px 7px!important;white-space:normal!important;word-break:break-word!important;overflow-wrap:anywhere;line-height:1.45;vertical-align:top}
#leads-table thead th{position:sticky!important;top:0!important;z-index:22!important;background:#eef4f8!important}
#leads-table th:nth-child(1){width:16%}
#leads-table th:nth-child(2){width:17%}
#leads-table th:nth-child(3){width:8%}
#leads-table th:nth-child(4){width:8%}
#leads-table th:nth-child(5){width:9%}
#leads-table th:nth-child(6){width:24%}
#leads-table th:nth-child(7){width:10%}
#leads-table th:nth-child(8){width:8%}
#leads-table .icon-button{padding:2px 4px;font-size:11px}
.lead-summary{grid-template-columns:repeat(4,1fr)!important}

.policy-ai-summary{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 10px}
.policy-ai-summary span{padding:5px 8px;border:1px solid #dbe7f2;border-radius:999px;background:#f4f8fb;color:#47647f;font-size:11px;line-height:1.2}
.policy-ai-summary span:nth-child(-n+4){border-color:#bed8ee;background:#eef7ff;color:#255e8d;font-weight:700}
.floating-ai-options{grid-template-columns:minmax(260px,2fr) repeat(6,minmax(110px,1fr))!important;align-items:end}
.floating-ai-options .checkbox-line{max-width:180px}
.floating-ai-options .checkbox-line div{display:flex;align-items:center;gap:6px;color:#40556b;font-size:12px;line-height:1.35}
.floating-ai-options .checkbox-line input{width:auto}
#global-ai-answer-mode,#global-ai-recency{min-height:38px}
.intelligence-progress{border:1px solid #d8e6f1;border-radius:10px;background:#f6fbff;padding:10px;margin-bottom:12px}
.intelligence-progress>div:first-child{display:flex;justify-content:space-between;color:#244f74;font-weight:700}
.progress-track{height:8px;border-radius:999px;background:#dfeaf3;overflow:hidden;margin:8px 0}
.progress-track i{display:block;height:100%;background:#2c7ec0}
.intelligence-progress p{margin:4px 0;color:#587087;font-size:12px}
.smoke-table{width:100%;border-collapse:collapse;font-size:12px;table-layout:fixed}
.smoke-table th,.smoke-table td{border:1px solid #d8e3ed;padding:6px;vertical-align:top;word-break:break-word}
.smoke-table th{background:#eef4f8;color:#335873}
.smoke-table td:nth-child(1){width:36px;text-align:center}
.intelligence-run .global-ai-answer{background:#fff;border:0;padding:0}
.intelligence-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,240px);gap:12px;align-items:stretch;margin-bottom:12px}
.intelligence-hero h3{margin:2px 0 6px!important;font-size:20px!important}
.intelligence-hero p{margin:0;color:#64798d;line-height:1.55}
.eyebrow{font-size:12px!important;color:#2d72aa!important;font-weight:800;letter-spacing:.08em}
.intelligence-status-card{border:1px solid #d8e7f2;border-radius:12px;background:#f7fbff;padding:12px;display:grid;gap:6px}
.intelligence-status-card b{font-size:18px;color:#17466d}
.intelligence-status-card span{font-size:12px;color:#5f7588;line-height:1.45}
.intelligence-stat-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:12px 0}
.intelligence-stat-grid div{border:1px solid #dbe8f2;border-radius:12px;background:#fff;padding:11px 12px}
.intelligence-stat-grid small{display:block;color:#708396;font-size:12px}
.intelligence-stat-grid b{display:block;margin-top:3px;color:#173b5a;font-size:22px}
.intel-summary-box{border:1px solid #d8e8f2;border-radius:12px;background:#f5fbff;padding:12px;margin:10px 0 12px}
.intel-summary-box h4,.intel-section h4{margin:0 0 8px;color:#173b5a}
.intel-coverage-inline{border:1px solid #d9e8f4;border-radius:10px;background:#fff;padding:8px 10px!important;color:#4d687f!important;font-size:12px!important}
.intel-coverage-inline.ok{border-color:#cfead8;background:#f5fff8;color:#2e7041!important}
.intel-tabs{position:sticky;top:0;z-index:5;display:flex;gap:6px;overflow:auto;background:#fbfcfd;padding:8px 0;border-bottom:1px solid #e3ebf2;margin-bottom:10px}
.intel-tabs button{padding:7px 10px;border:1px solid #d8e4ee;border-radius:999px;background:#fff;color:#49657c;white-space:nowrap;font-size:12px}
.intel-tabs button.active{background:#1d659b;color:#fff;border-color:#1d659b}
.intel-tab-pane{display:none}
.intel-tab-pane.active{display:grid;gap:10px}
.intelligence-run{max-width:none}
.intel-section{display:grid;grid-template-columns:repeat(auto-fit,minmax(420px,1fr));gap:10px;align-items:start}
.intel-card,.intel-source,.intel-action{border:1px solid #dce7f0;border-radius:12px;background:#fff;padding:12px;box-shadow:0 4px 14px rgba(30,64,95,.05)}
.intel-card-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}
.intel-card-head h4,.intel-source h4,.intel-action h4{margin:0;color:#173b5a;font-size:15px;line-height:1.45}
.intel-card-head span{border-radius:999px;background:#edf6ff;color:#286491;padding:3px 8px;font-size:11px;white-space:nowrap}
.intel-meta{color:#718294!important;font-size:12px!important;margin:5px 0!important}
.intel-chips{display:flex;flex-wrap:wrap;gap:5px;margin:6px 0}
.intel-chips span{background:#f0f6fb;color:#315e82;border:1px solid #d8e7f2;border-radius:999px;padding:2px 7px;font-size:11px}
.intel-summary{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;color:#41576d}
.intel-card details,.intel-source details,.intel-fold,.intel-diagnostics{margin-top:8px;border-top:1px dashed #d8e4ee;padding-top:7px}
.intel-card summary,.intel-source summary,.intel-fold summary,.intel-diagnostics summary{cursor:pointer;color:#1b6ca8;font-weight:700}
.intel-link{display:inline-block;margin-top:8px;color:#1268b3;text-decoration:none;font-weight:700}
.talk-script{border-left:3px solid #2c7ec0;background:#f6fbff;padding:8px 10px;border-radius:0 8px 8px 0}
.intel-action{display:grid;grid-template-columns:44px minmax(0,1fr);gap:10px}
.intel-action>b{width:38px;height:38px;border-radius:50%;background:#eaf5ff;color:#1d659b;display:grid;place-items:center}
.intel-action.muted{opacity:.55}
.intel-action-buttons{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.intel-action-buttons .outline-button{padding:5px 8px;font-size:12px}
.intel-source{display:grid;grid-template-columns:minmax(0,1fr) minmax(140px,220px);gap:10px}
.intel-source p{margin:4px 0;color:#667a8d;font-size:12px}
.intel-source-actions{display:grid;align-content:start;gap:8px}
.ai-empty-panel{border:1px dashed #d7e4ee;border-radius:12px;background:#fbfdff;padding:18px;text-align:center;color:#718294}
.intel-diagnostics{background:#f8fbfd;border:1px solid #dce7f0;border-radius:12px;padding:10px}
.intel-coverage-summary{border:1px solid #cfe3f3;border-radius:14px;background:linear-gradient(180deg,#f6fbff,#fff);padding:13px;margin-bottom:10px}
.intel-coverage-summary h4{margin:0 0 7px;color:#173b5a}
.intel-coverage-summary p{margin:6px 0;color:#526b80}
.intel-coverage-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin:10px 0}
.intel-coverage-grid div{border:1px solid #dce9f3;border-radius:10px;background:#fff;padding:9px}
.intel-coverage-grid small{display:block;color:#718294;font-size:11px}
.intel-coverage-grid b{display:block;color:#173b5a;font-size:20px}
.intel-coverage-progress{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:10px 0}
.intel-progress-card{border:1px solid #dce9f3;border-radius:12px;background:#fff;padding:9px 10px}
.intel-progress-card header{display:flex;justify-content:space-between;gap:8px;color:#173b5a;font-weight:700;font-size:12px}
.intel-progress-card p{font-size:11px!important;color:#6b7f91!important;margin:5px 0!important}
.intel-progress-track{height:8px;border-radius:999px;background:#edf3f8;overflow:hidden}
.intel-progress-track i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2b79b4,#66b7dc)}
.intel-status-legend{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.intel-note{font-size:12px;color:#6b7f91!important}
.intel-coverage-table{border:1px solid #dce7f0;border-radius:12px;background:#fff;padding:10px;overflow:hidden}
.intel-coverage-table h4{margin:0 0 8px;color:#173b5a}
.intel-coverage-table .smoke-table{table-layout:auto}
.intel-coverage-table .smoke-table th,.intel-coverage-table .smoke-table td{font-size:12px;line-height:1.45}
.coverage-status{display:inline-block;border-radius:999px;padding:2px 7px;font-size:11px;white-space:nowrap}
.coverage-status.hit{background:#e9f8ee;color:#22733c}
.coverage-status.miss{background:#fff6e4;color:#91630d}
.coverage-status.fail{background:#ffecec;color:#aa3535}
.coverage-status.skip{background:#eef3f7;color:#607587}
.query-plan-table{font-size:11px}

.policy-title-block{border:1px solid #d8e7f2;border-radius:12px;background:linear-gradient(180deg,#f7fbff,#fff);padding:12px 14px;margin-bottom:10px}
.policy-title-block h3{margin:2px 0 5px!important;color:#173552}
.policy-title-block p{margin:4px 0!important;color:#5f7488}
.policy-keyword-picker{display:flex;align-items:center;gap:8px;border:1px solid #dce8f2;border-radius:10px;background:#f8fbfe;padding:8px 10px;margin:8px 0;min-height:0}
.policy-keyword-picker>div{flex:1;min-width:0}
.policy-keyword-picker small{display:block;color:#718294;font-size:11px;margin-bottom:3px}
.policy-keyword-picker b{display:flex;flex-wrap:wrap;gap:5px;align-items:center;color:#173b5a;font-size:13px;line-height:1.35}
.policy-keyword-picker b span,.policy-keyword-picker b em{display:inline-block;border:1px solid #d7e6f1;border-radius:999px;background:#fff;color:#315f83;padding:2px 7px;font-style:normal;font-size:12px}
.policy-keyword-picker .keyword-empty{border:0!important;background:transparent!important;color:#7a8c9b!important;padding:0!important}
.policy-collector-status{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;margin:8px 0}
.policy-collector-status div{border:1px solid #dce8f2;border-radius:9px;background:#fff;padding:6px 8px;min-width:0}
.policy-collector-status span{display:block;color:#718294;font-size:11px}
.policy-collector-status b{display:block;margin-top:1px;color:#173b5a;font-size:14px;white-space:normal;word-break:break-word;line-height:1.25}
.policy-stat-details{grid-column:1/-1;border:1px dashed #d8e6f0;border-radius:9px;background:#fbfdff;padding:6px 8px;color:#5d7285;font-size:12px}
.policy-stat-details summary{cursor:pointer;color:#174f78;font-weight:800}
.policy-stat-details p{margin:5px 0}
.policy-filter-bar{position:sticky;top:0;z-index:8;display:grid;grid-template-columns:minmax(260px,1fr) auto;gap:7px;align-items:start;padding:8px;border:1px solid #dce8f2;border-radius:10px;background:#f8fbfe;margin:10px 0}
.policy-filter-bar input,.policy-filter-bar select{min-width:0;border:1px solid #d6e3ed;border-radius:8px;background:#fff;padding:7px 8px;color:#38556d;font-size:12px}
.policy-advanced-filter{min-width:150px}
.policy-advanced-filter summary{cursor:pointer;border:1px solid #d6e3ed;border-radius:8px;background:#fff;padding:7px 10px;color:#245273;font-weight:800}
.policy-advanced-filter>div{display:grid;grid-template-columns:repeat(3,minmax(120px,1fr));gap:7px;margin-top:8px;min-width:min(760px,78vw)}
.policy-no-baidu{grid-column:1/-1;margin:0;border:1px dashed #f0b36a;border-radius:8px;background:#fff8ee;color:#9a5a10;padding:7px 9px;font-weight:800}
.policy-run-progress{border:1px solid #d8e6f1;border-radius:10px;background:#f6fbff;padding:9px 10px;margin-bottom:10px}
.policy-run-progress>div:first-child{display:flex;justify-content:space-between;gap:10px;color:#244f74;font-weight:800}
.policy-run-progress p{margin:4px 0 0;color:#587087;font-size:12px}
.policy-table-wrap{border:1px solid #d9e6f0;border-radius:12px;background:#fff;overflow:auto;max-height:none}
.policy-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:12px;line-height:1.45}
.policy-table th,.policy-table td{border:1px solid #d9e6f0;padding:7px 8px;vertical-align:top;word-break:break-word;overflow-wrap:anywhere}
.policy-table th{position:sticky;top:0;z-index:4;background:#edf4f9;color:#2f526d;font-weight:800}
.policy-table th:nth-child(1){width:42px}
.policy-table th:nth-child(2){width:100px}
.policy-table th:nth-child(3){width:78px}
.policy-table th:nth-child(4){width:140px}
.policy-table th:nth-child(5){width:32%}
.policy-table th:nth-child(6){width:155px}
.policy-table th:nth-child(7){width:150px}
.policy-table th:nth-child(8){width:88px}
.policy-table th:nth-child(9){width:58px}
.policy-table th:nth-child(10){width:118px}
.policy-table th:nth-child(11){width:92px}
.danger-button{border-color:#f0c7c0!important;color:#b54d42!important;background:#fff8f7!important}
.danger-button:hover{background:#ffecea!important}
.policy-table details{margin:0}
.policy-table summary{cursor:pointer;color:#174f78;font-weight:700;line-height:1.45}
.policy-table details p{margin:6px 0 0;color:#66798a}
.policy-interpretation{color:#405a70;line-height:1.5}
.policy-table a{color:#1268b3;font-weight:700;text-decoration:none}
.policy-briefing-sites{margin-top:16px;overflow:hidden}
.policy-site-title{align-items:center}
.policy-site-editor-wrap{margin:0 16px 16px;max-height:420px}
.policy-site-editor-table th:nth-child(1){width:54px}
.policy-site-editor-table th:nth-child(2){width:26%}
.policy-site-editor-table th:nth-child(3){width:auto}
.policy-site-editor-table th:nth-child(4){width:150px}
.policy-site-editor-table input{width:100%;min-height:34px;border:1px solid #d8e4ef;border-radius:7px;padding:6px 8px;color:#233b53;background:#fff}
.policy-site-actions{display:flex;flex-wrap:wrap;gap:6px}
.site-mini-tag{display:inline-block;margin:0 4px 4px 0;padding:3px 7px;border-radius:999px;background:#eef7ff;border:1px solid #cfe4f7;color:#245d8a;font-size:11px}
.muted-text{color:#8a9bad}
.floating-ai-panel #global-ai-status,
.floating-ai-panel #global-ai-summary,
.floating-ai-panel #global-ai-compact-toolbar{display:none!important}
.floating-ai-panel .floating-ai-head{padding:9px 14px}
.floating-ai-panel .floating-ai-body{padding:10px 12px 12px}
.baidu-ask-panel{padding:8px 10px;border:1px solid #d8e6f1;border-radius:10px;background:#f8fbfe;margin-bottom:8px}
.baidu-ask-panel label span{display:none}
.baidu-ask-panel textarea{width:100%;height:64px;min-height:58px;border:1px solid #d8e4ef;border-radius:9px;padding:8px 10px;line-height:1.5;resize:vertical;outline-color:#7cb1e2;color:#233b53}
.baidu-ask-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:7px}
.baidu-ask-actions span{color:#6b8197;font-size:12px}
#ask-baidu-key-status{display:none}
.keyword-summary-card{cursor:pointer}
.keyword-summary-card:hover{border-color:#9dc9eb!important;background:#f1f9ff!important}
.policy-title-link{border:0;background:transparent;color:#174f78;font-weight:800;text-align:left;line-height:1.45;cursor:pointer;padding:0}
.policy-title-link:hover{text-decoration:underline}
.policy-title-summary{margin:4px 0 0;color:#607789;font-size:11px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.policy-keyword-tags{display:flex;flex-wrap:wrap;gap:4px}
.policy-keyword-tags span,.policy-keyword-tags em{display:inline-block;border:1px solid #d7e6f1;border-radius:999px;background:#f3f8fc;color:#315f83;padding:2px 6px;font-size:11px;font-style:normal;line-height:1.3}
.policy-interpretation.collapsed{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-height:3.2em}
.policy-detail-drawer{position:fixed;inset:0;z-index:10020;display:none;justify-content:flex-end;background:rgba(16,35,52,.28)}
.policy-detail-drawer.show{display:flex}
.policy-detail-card{width:min(760px,92vw);height:100vh;overflow:auto;background:#fff;box-shadow:-18px 0 40px rgba(0,0,0,.22);padding:18px}
.policy-detail-card header{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #e0e9f1;padding-bottom:12px;margin-bottom:12px}
.policy-detail-card h3{margin:2px 0;color:#173552;line-height:1.45}
.policy-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.policy-detail-grid p{border:1px solid #dbe8f2;border-radius:9px;padding:8px;margin:0}
.policy-detail-grid b{display:block;color:#708396;font-size:11px}
.policy-detail-grid span{display:block;color:#183c5b;margin-top:2px}
.policy-detail-card section{margin:12px 0;border-top:1px dashed #dce7f0;padding-top:10px}
.policy-detail-card h4{margin:0 0 6px;color:#173552}
.keyword-modal{width:min(1180px,94vw);max-height:88vh;display:flex;flex-direction:column}
#business-keyword-modal{z-index:10040!important}
.keyword-modal .modal-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.keyword-tools{display:grid;grid-template-columns:minmax(220px,1fr) 130px 170px repeat(3,max-content) max-content;gap:8px;margin:10px 0;align-items:center}
.keyword-tools input,.keyword-tools select{border:1px solid #d6e3ed;border-radius:8px;padding:8px;background:#fff}
.keyword-tools span{color:#526b80;font-size:12px;white-space:nowrap}
.keyword-table-wrap{overflow:auto;min-height:0}
.keyword-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:12px}
.keyword-table th,.keyword-table td{border:1px solid #d9e6f0;padding:6px;vertical-align:top;word-break:break-word}
.keyword-table th{position:sticky;top:0;background:#edf4f9;color:#2f526d;z-index:2}
.keyword-table th:nth-child(1){width:48px}
.keyword-table th:nth-child(2){width:105px}
.keyword-table th:nth-child(3){width:62px}
.keyword-table th:nth-child(4){width:120px}
.keyword-table th:nth-child(5){width:90px}
.keyword-table th:nth-child(8){width:70px}
.keyword-table th:nth-child(10){width:120px}
.keyword-dup{display:block;width:max-content;max-width:100%;margin-top:3px;border-radius:999px;background:#eef6ff;color:#326185;font-size:11px;font-style:normal;padding:1px 6px}
.keyword-table .outline-button{padding:3px 6px;font-size:11px;margin:1px}
.category-modal{width:min(1080px,92vw)}
.category-tools{grid-template-columns:minmax(240px,1fr) auto auto auto auto}
.category-table th:nth-child(1){width:52px}
.category-table th:nth-child(2){width:220px}
.category-table th:nth-child(3){width:auto}
.category-table td small{display:block;color:#7a8ea0;margin-top:4px}
.keyword-pill{display:inline-block;margin:2px 4px 2px 0;border:1px solid #d4e5f2;border-radius:999px;background:#f4f9fd;color:#245273;padding:2px 7px;line-height:1.3}
.keyword-source-details{margin-top:10px;border:1px dashed #d8e6f0;border-radius:10px;padding:8px;background:#fbfdff}
.keyword-source-details summary{cursor:pointer;color:#245273;font-weight:800}
.keyword-table-wrap.small{max-height:260px;margin-top:8px}
.lead-section-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0}
.lead-section-tabs .outline-button{min-width:150px;background:#fff}
.lead-section-tabs .outline-button.active{border-color:#91c3ec!important;background:#eaf5ff!important;color:#155b93!important;box-shadow:inset 0 -2px 0 #2878c3}
.lead-page-pane:not(.active){display:none!important}
.analysis-tabs{gap:7px!important;margin:10px 0 12px!important}
.main-content{min-width:0!important;overflow-x:hidden!important}
#customer-competitor-analysis,.analysis-section,.analysis-data-table{min-width:0!important;max-width:100%!important;overflow:hidden!important}
.analysis-data-table .top-scroll,.analysis-data-table .analysis-scroll{max-width:100%!important}
.analysis-tab{padding:8px 10px!important;border-color:#d8e5ef!important;background:#fff!important;color:#42617b!important;box-shadow:none!important}
.analysis-tab:hover{border-color:#9cc7ea!important;background:#f6fbff!important}
.analysis-tab.active{border-color:#91c3ec!important;background:#eaf5ff!important;color:#155b93!important}
.analysis-section-filter .primary-button{background:#2878c3!important;color:#fff!important}
.analysis-section-filter .outline-button{background:#fff!important;color:#4d6680!important;border:1px solid #d7e0e8!important}
.jianyu-credential-panel{display:grid!important;grid-template-columns:minmax(170px,240px) minmax(170px,240px) 82px 82px 82px 82px minmax(180px,1fr)!important;gap:6px!important;align-items:end;margin:6px 0!important;padding:6px 10px!important}
.jianyu-credential-panel label span{display:block;margin-bottom:2px;color:#6d7f91;font-size:10.5px}
.jianyu-credential-panel input{width:100%;height:30px;padding:0 8px}
.jianyu-credential-panel .compact-action{height:30px;padding:0 9px;white-space:nowrap}
.jianyu-credential-panel #jianyu-credential-status{align-self:end;color:#66798a;font-size:11px;line-height:1.25;padding-bottom:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.jianyu-search-link{display:inline-block;border:1px solid #b8d7f1;border-radius:999px;background:#eef7ff;color:#1268b3!important;font-weight:800!important;text-decoration:none!important;padding:3px 8px;white-space:nowrap}
.jianyu-search-link:hover{background:#dff0ff;border-color:#86bde9}
.jianyu-search-link:disabled{opacity:.6;cursor:wait}
.analysis-scroll{overflow:auto!important}
.analysis-table{width:100%!important;min-width:980px!important;table-layout:fixed!important}
.analysis-table th,.analysis-table td{border:1px solid #d7e4ef!important}
.analysis-table th.col-party,.analysis-table td.col-party{width:18%!important}
.analysis-table th.col-project,.analysis-table td.col-project{width:38%!important}
.analysis-table th.col-keyword,.analysis-table td.col-keyword{width:12%!important}
.analysis-table th.col-agency,.analysis-table td.col-agency{width:16%!important}
.analysis-table th.col-money,.analysis-table td.col-money{width:10%!important;text-align:right}
.analysis-table th.col-date,.analysis-table td.col-date{width:10%!important}
.analysis-table th.col-actions,.analysis-table td.col-actions{width:150px!important;position:sticky!important;right:0!important;z-index:30!important;background:#eef6fc!important;box-shadow:-2px 0 0 #d7e4ef}
.analysis-table td.col-actions{z-index:10!important;background:#fff!important}
.analysis-project-link{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;border:0;background:transparent;color:#174f78;font-weight:800;text-align:left;line-height:1.45;padding:0;cursor:pointer}
.analysis-project-link:hover{text-decoration:underline}
.analysis-row-actions{display:grid;grid-template-columns:1fr 1fr;gap:5px;align-items:center;min-width:0}
.analysis-row-actions .outline-button,.analysis-row-actions .jianyu-search-link{padding:4px 6px;font-size:11px;text-align:center}
.compact-follow{display:flex;gap:3px;align-items:center;justify-content:center;border:1px solid #dce8f2;border-radius:999px;padding:3px 6px;background:#f8fbfe;font-size:11px}
.compact-row-action{border-radius:999px!important}
.analysis-detail-modal{width:min(1050px,94vw);max-height:88vh}
.analysis-detail-content{max-height:62vh;overflow:auto}
.analysis-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.analysis-detail-grid div{border:1px solid #dbe8f2;border-radius:9px;background:#fbfdff;padding:8px;min-width:0}
.analysis-detail-grid b{display:block;color:#6c7f92;font-size:11px;margin-bottom:4px}
.analysis-detail-grid span{display:block;color:#183c5b;line-height:1.5;word-break:break-word;overflow-wrap:anywhere}
.analysis-detail-grid pre{margin:0;white-space:pre-wrap;font-family:inherit;max-height:160px;overflow:auto}
.jianyu-search-modal{width:min(860px,88vw);max-height:82vh;padding:18px!important}
.jianyu-search-modal .modal-head{align-items:flex-start!important;gap:12px}
.jianyu-search-modal .modal-head p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.45;max-width:720px}
.jianyu-search-summary{margin:8px 0 12px}
.jianyu-result-status{display:grid;grid-template-columns:1fr repeat(2,max-content);gap:8px 14px;border:1px solid #d8e6f1;border-radius:10px;padding:10px 12px;background:#f6fbff;color:#4b657c;align-items:start}
.jianyu-result-status b{color:#17466d}
.jianyu-result-status span{min-width:0;font-size:12px}
.jianyu-result-status span strong{display:block;color:#6d8295;font-size:10px;margin-bottom:2px}
.jianyu-result-status .jianyu-backup-keywords{grid-column:1/-1;font-size:12px;color:#6d8295}
.jianyu-result-status .jianyu-backup-keywords summary{cursor:pointer;color:#2a6fa8;font-weight:700}
.jianyu-result-status .jianyu-backup-keywords p{margin:5px 0 0;line-height:1.45}
.jianyu-result-status.success{background:#f1fbf5;border-color:#cdebd8}
.jianyu-result-status.warning{background:#fff8ee;border-color:#f1d7b7}
.jianyu-errors{margin-top:8px;border:1px dashed #e7c1a5;border-radius:8px;background:#fffaf5;padding:7px 10px;color:#9a5b22;font-size:12px}
.jianyu-errors p{margin:3px 0}
.jianyu-search-results{display:grid;gap:8px;max-height:42vh;overflow:auto;padding-right:3px}
.jianyu-result-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;border:1px solid #dbe8f2;border-radius:10px;background:#fff;padding:10px}
.jianyu-result-item strong{display:block;color:#17466d;line-height:1.45}
.jianyu-result-item p{margin:5px 0;color:#63798d;font-size:12px;line-height:1.45}
.jianyu-result-item small{color:#8a9aaa}
.jianyu-result-actions{display:flex;gap:6px;align-items:center}
.jianyu-result-actions .outline-button{padding:6px 9px}

@media(max-width:900px){
  .intelligence-hero,.intel-source{grid-template-columns:1fr}
  .intelligence-stat-grid,.intel-coverage-grid,.intel-coverage-progress{grid-template-columns:repeat(2,minmax(0,1fr))}
  .intel-section{grid-template-columns:1fr}
  .policy-collector-status{grid-template-columns:repeat(2,minmax(0,1fr))}
  .policy-filter-bar{grid-template-columns:1fr}
  .policy-detail-grid{grid-template-columns:1fr}
  .keyword-tools{grid-template-columns:1fr}
  .jianyu-credential-panel{grid-template-columns:1fr 1fr!important}
  .jianyu-credential-panel #jianyu-credential-status{grid-column:1/-1}
  .jianyu-result-item{grid-template-columns:1fr}
  .analysis-detail-grid{grid-template-columns:1fr}
}

@media(max-width:1100px){
  .project-filter,.plan-filter,.lead-filter{grid-template-columns:repeat(2,minmax(160px,1fr))!important}
  #plans-table,#leads-table{font-size:11px}
}

@media(max-width:760px){
  .floating-ai-options{grid-template-columns:1fr!important}
}

.briefing-audio-player{margin:12px 0 0;padding:12px 14px;border:1px solid #d8e6f3;border-radius:10px;background:#f9fcff}
.briefing-audio-settings{display:grid;grid-template-columns:180px 150px 150px;gap:12px;align-items:end}
.briefing-audio-controls{display:grid;grid-template-columns:auto auto minmax(220px,1fr) auto;gap:10px;align-items:center;margin-top:10px}
.briefing-audio-controls input[type=range]{width:100%;accent-color:#2d7dcc}
.briefing-audio-player p{margin:8px 0 0;color:#607289;font-size:12px}
.briefing-audio-player .outline-button{height:34px;padding:7px 12px}
.briefing-config-panel{padding:0;margin-bottom:16px;overflow:hidden}
.briefing-config-summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 18px;cursor:pointer;list-style:none;background:#fff}
.briefing-config-summary::-webkit-details-marker{display:none}
.briefing-config-summary b{display:block;color:#173552;font-size:15px}
.briefing-config-summary small{display:block;margin-top:4px;color:#7c8ea0;font-size:11px}
.briefing-config-summary:hover{background:#f8fbfd}
.briefing-config-chevron{display:grid;place-items:center;width:26px;height:26px;border:1px solid #d8e4ee;border-radius:50%;color:#607995;transition:transform .16s ease,background .16s ease}
.briefing-config-panel[open] .briefing-config-chevron{transform:rotate(180deg);background:#eef7ff}
.briefing-config-body{padding:2px 20px 18px;border-top:1px solid #edf1f4}
@media(max-width:1200px){
  .briefing-audio-settings,.briefing-audio-controls{grid-template-columns:1fr}
  .briefing-audio-controls input[type=range]{min-width:0}
}

.map-filter{grid-template-columns:minmax(280px,1.4fr) minmax(220px,1fr) auto!important}
.api-key-panel:not(.ai-key-panel){grid-template-columns:minmax(260px,1fr) auto minmax(180px,auto)!important}
.project-map-layout{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:14px;align-items:stretch}
.project-map-panel{position:relative;overflow:hidden;min-height:650px}
#project-map-canvas{width:100%;height:clamp(560px,calc(100vh - 250px),820px);background:#eaf1f6}
.project-map-status{position:absolute;left:14px;bottom:14px;z-index:5;max-width:70%;border:1px solid #cfe0ed;border-radius:6px;background:rgba(255,255,255,.94);box-shadow:0 6px 18px rgba(24,50,76,.12);padding:8px 11px;color:#4d687f;font-size:12px}
.project-map-side{display:flex;flex-direction:column;min-height:650px;max-height:clamp(560px,calc(100vh - 250px),820px);overflow-x:hidden;overflow-y:auto}
.project-map-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:#dbe6ef;border-bottom:1px solid #dbe6ef}
.project-map-stats div{background:#fbfdff;padding:10px}
.project-map-stats small,.project-map-stats b{display:block}
.project-map-stats small{color:#7b8da0;font-size:10px}
.project-map-stats b{margin-top:4px;color:#173b5a}
.project-map-unlocated{border-bottom:1px solid #e4edf4;background:#fffaf2}
.map-unlocated-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;padding:10px 12px;border-bottom:1px solid #f0dfc6}
.map-unlocated-head b,.map-unlocated-head small{display:block}
.map-unlocated-head b{color:#7a4a17;font-size:13px}
.map-unlocated-head small{margin-top:3px;color:#8b7358;font-size:10px;line-height:1.35}
.map-unlocated-head span{display:grid;place-items:center;min-width:28px;height:24px;border-radius:999px;background:#d47a34;color:#fff;font-weight:800;font-size:12px}
.map-unlocated-list{display:grid;gap:5px;max-height:180px;overflow:auto;padding:8px}
.map-unlocated-item{display:block;width:100%;border:1px solid #efd8b9;border-radius:7px;background:#fff;padding:7px 8px;text-align:left}
.map-unlocated-item:hover{background:#fff4e6;border-color:#dfad71}
.map-unlocated-item b{display:block;color:#6c3d10;font-size:12px;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.map-unlocated-item small{display:block;margin-top:3px;color:#8a7158;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.compact-empty{padding:10px!important;font-size:11px}
.project-map-selected{border-bottom:1px solid #e4edf4;padding:12px 12px 16px}
.map-selected-head small{color:#7f91a3;font-size:10px;font-weight:700}
.map-selected-head h3{margin:4px 0 3px;color:#173b5a;font-size:15px;line-height:1.35}
.map-selected-head p{margin:0;color:#73869a;font-size:12px;line-height:1.4}
.map-selected-kpis{display:grid;grid-template-columns:repeat(2,1fr);gap:6px;margin:10px 0}
.map-selected-kpis div{border:1px solid #dbe7f0;border-radius:6px;background:#f8fbfe;padding:7px}
.map-selected-kpis span,.map-selected-kpis b{display:block}
.map-selected-kpis span{color:#8495a5;font-size:10px}
.map-selected-kpis b{margin-top:3px;color:#244a68;font-size:12px}
.project-map-selected label{display:block;margin-top:8px}
.project-map-selected label span{display:block;margin-bottom:4px;color:#6f8193;font-size:11px}
.project-map-selected input{width:100%;height:32px;border:1px solid #d8e3ec;border-radius:6px;padding:0 8px;color:#28465f}
.map-location-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.map-location-meta{margin:8px 0 0;color:#72869a;font-size:11px}
.map-selected-actions{display:grid;grid-template-columns:1fr 1fr 1fr;gap:7px;margin-top:10px}
.map-selected-actions button{padding:7px 8px}
.project-map-list{overflow:auto;padding:8px}
.map-list-pagination{position:sticky;bottom:-8px;z-index:2;min-height:44px;margin:6px -8px -8px;padding:7px 8px;background:#f8fbfd;border-top:1px solid #e1ebf2;gap:6px;justify-content:center}
.map-list-pagination button{min-width:64px;height:32px}
.project-map-item{display:grid;grid-template-columns:10px minmax(0,1fr) auto;gap:9px;align-items:center;width:100%;border:1px solid transparent;border-radius:7px;background:#fff;padding:9px 8px;text-align:left}
.project-map-item:hover,.project-map-item.active{border-color:#cfe1ef;background:#f2f8fd}
.project-map-item b{display:block;color:#173b5a;font-size:12px;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.project-map-item small{display:block;margin-top:4px;color:#76889a;font-size:10px;line-height:1.35}
.project-map-item em{border:1px solid #cbddec;border-radius:999px;padding:3px 7px;color:#236eaf;font-style:normal;font-size:10px}
.map-assign-menu{position:absolute;z-index:20;width:340px;max-width:calc(100% - 20px);border:1px solid #c9dceb;border-radius:9px;background:#fff;box-shadow:0 14px 36px rgba(20,47,72,.24);overflow:hidden}
.map-assign-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;padding:10px 12px;border-bottom:1px solid #e2ebf2;background:#f7fbff}
.map-assign-head b,.map-assign-head small{display:block}
.map-assign-head b{color:#173b5a;font-size:13px}
.map-assign-head small{margin-top:3px;color:#7d90a4;font-size:10px}
.map-assign-head button{border:0;background:transparent;color:#718396;font-size:20px;line-height:1}
.map-assign-menu input{width:calc(100% - 20px);height:32px;margin:10px;border:1px solid #d6e2ec;border-radius:6px;padding:0 8px;color:#28465f}
.map-assign-list{max-height:310px;overflow:auto;padding:0 8px 8px}
.map-assign-project{display:grid;grid-template-columns:10px minmax(0,1fr) auto;gap:8px;align-items:center;width:100%;border:1px solid transparent;border-radius:7px;background:#fff;padding:8px 6px;text-align:left}
.map-assign-project:hover{border-color:#cfe1ef;background:#f2f8fd}
.map-assign-project b{display:block;color:#173b5a;font-size:12px;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.map-assign-project small{display:block;margin-top:3px;color:#778a9c;font-size:10px}
.map-assign-project em{border:1px solid #cbddec;border-radius:999px;padding:3px 7px;color:#236eaf;font-style:normal;font-size:10px}
.map-point-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:12px}
.map-point-actions button{padding:7px 8px}
.map-point-help{margin:0;padding:0 12px 12px;color:#72859a;font-size:11px;line-height:1.45}
.map-dot{width:9px;height:9px;border-radius:50%;background:#d47a34}
.map-dot.located{background:#2f9b62}
.map-dot.unlocated{background:#d47a34}
.map-info-window{min-width:260px;color:#2a445c;font-size:12px}
.map-info-title{display:block;width:100%;padding:0;border:0;background:transparent;color:#174f78;font-weight:800;text-align:left;line-height:1.4;cursor:pointer}
.map-info-window p{margin:5px 0 8px;color:#6f8193}
.map-info-window div{display:flex;justify-content:space-between;gap:10px;border-top:1px solid #e5edf4;padding:5px 0}
.map-info-window span{color:#7e8fa0}
.map-info-window b{color:#263f55}
.map-info-action{width:100%;margin-top:7px;padding:7px 10px}
@media(max-width:1250px){
  .map-filter{grid-template-columns:repeat(3,minmax(160px,1fr))!important}
  .project-map-layout{grid-template-columns:1fr}
  .project-map-side{max-height:none;min-height:0}
}
@media(max-width:760px){
  .map-filter{grid-template-columns:1fr!important}
  .map-selected-actions{grid-template-columns:1fr}
  .project-map-stats,.map-selected-kpis{grid-template-columns:1fr}
}
.policy-briefing-table-wrap{overflow:auto;margin:14px 0;border:1px solid #dbe6ef;border-radius:7px;background:#fff}
.policy-briefing-table{width:100%;border-collapse:collapse;font-size:13px;line-height:1.65}
.policy-briefing-table th{background:#eef5fb;color:#173b5a;font-weight:800;text-align:left}
.policy-briefing-table th,.policy-briefing-table td{border-bottom:1px solid #e7eef5;border-right:1px solid #e7eef5;padding:9px 11px;vertical-align:top}
.policy-briefing-table th:last-child,.policy-briefing-table td:last-child{border-right:0}
.policy-briefing-table tr:last-child td{border-bottom:0}
.policy-md-browser{overflow:hidden}
.policy-md-browser .panel-title{align-items:center}
.policy-md-browser-layout{display:grid;grid-template-columns:310px minmax(0,1fr);min-height:620px;border-top:1px solid #edf1f4}
.policy-md-browser-layout.collapsed{display:none}
.policy-md-file-list{overflow:auto;border-right:1px solid #e2eaf2;background:#f7f9fb;padding:10px;max-height:calc(100vh - 310px)}
.policy-md-file{display:block;width:100%;border:1px solid transparent;border-radius:7px;background:#fff;padding:10px 11px;margin-bottom:8px;text-align:left;cursor:pointer}
.policy-md-file:hover,.policy-md-file.active{border-color:#bcd5eb;background:#eef7ff}
.policy-md-file.recommended{border-color:#8fbfe9;background:#eef7ff}
.policy-md-file b{display:block;color:#183a58;font-size:12px;line-height:1.45;word-break:break-all}
.policy-md-file b em{display:inline-block;margin-left:7px;padding:2px 6px;border-radius:999px;background:#2d7dcc;color:#fff;font-size:10px;font-style:normal;vertical-align:1px}
.policy-md-file span{display:block;margin-top:5px;color:#7a8ea0;font-size:10px}
.policy-md-file small{display:inline-block;margin-top:7px;padding:2px 6px;border-radius:999px;background:#eef1f5;color:#6b7d8d;font-size:10px}
.policy-md-preview{overflow:auto;max-height:calc(100vh - 310px);padding:26px 32px;background:#fff;color:#1f2f3d;line-height:1.85}
.policy-md-preview h1{font-size:30px;line-height:1.25;margin:6px 0 22px;color:#172636}
.policy-md-preview h2{font-size:23px;line-height:1.35;margin:30px 0 14px;padding-top:18px;border-top:1px solid #e7edf3;color:#172636}
.policy-md-preview h3{font-size:18px;line-height:1.45;margin:24px 0 10px;color:#22384d}
.policy-md-preview p{margin:10px 0}
.policy-md-preview ul,.policy-md-preview ol{margin:10px 0 14px 24px;padding:0}
.policy-md-preview li{margin:5px 0}
.policy-md-preview hr{border:0;border-top:1px solid #e5ecf2;margin:24px 0}
.policy-md-preview blockquote{margin:14px 0;padding:10px 14px;border-left:4px solid #2d7dcc;background:#f3f8fd;color:#475f75}
.policy-md-preview a{color:#226fba;text-decoration:none}
.policy-md-preview a:hover{text-decoration:underline}
.policy-briefing-result,.policy-md-preview{font-size:15px;line-height:1.86;color:#1e3448}
.policy-briefing-result h1,.policy-md-preview h1{max-width:1180px;margin:4px 0 22px;padding-bottom:15px;border-bottom:2px solid #dbe8f3;color:#102a43;font-size:30px;letter-spacing:0}
.policy-briefing-result h2,.policy-md-preview h2{max-width:1180px;margin:34px 0 16px;padding:14px 0 10px;border-top:1px solid #e8eff5;border-bottom:1px solid #dde8f2;color:#132f4a;font-size:22px;letter-spacing:0}
.policy-briefing-result h3,.policy-md-preview h3{max-width:1180px;margin:24px 0 10px;padding:0 0 0 11px;border-left:4px solid #2d7dcc;color:#20445f;font-size:17px;letter-spacing:0}
.policy-briefing-result p,.policy-md-preview p,.policy-briefing-result li,.policy-md-preview li{max-width:1180px}
.policy-briefing-result ol,.policy-briefing-result ul,.policy-md-preview ol,.policy-md-preview ul{max-width:1180px}
.policy-briefing-result h2+ol,.policy-briefing-result h2+ul,.policy-md-preview h2+ol,.policy-md-preview h2+ul{padding:12px 18px 12px 36px;border:1px solid #dce8f2;border-radius:8px;background:#f8fbfe}
.policy-briefing-result li::marker,.policy-md-preview li::marker{color:#2d7dcc;font-weight:800}
.policy-briefing-result .policy-citation-link,.policy-md-preview .policy-citation-link{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;margin:0 2px;padding:0 5px;border:1px solid #bad6ec;border-radius:999px;background:#eef7ff;color:#1d6eaa!important;font-size:12px;font-weight:800;line-height:1;text-decoration:none;vertical-align:1px}
.policy-briefing-result .policy-citation-link:hover,.policy-md-preview .policy-citation-link:hover{background:#dcefff;border-color:#7fb6df;text-decoration:none}
.policy-briefing-result blockquote,.policy-md-preview blockquote{max-width:1180px;border-left-color:#2d7dcc;background:#f4f9fd;color:#405a70}
body:not([data-page="dashboard"]) .project-library-setting{display:none}
.project-library-setting{display:flex;align-items:center;gap:7px;height:40px;max-width:520px;padding:0 8px 0 10px;border:1px solid #e1e7ed;border-radius:8px;background:#fff;color:#64788c}
.project-library-setting span{font-size:11px;font-weight:800;white-space:nowrap;color:#526b82}
.project-library-setting input{width:260px;min-width:180px;height:30px;border:0;border-left:1px solid #e6edf3;padding:0 0 0 9px;outline:0;color:#203247;background:transparent}
.project-library-setting .outline-button{height:30px;padding:5px 10px;white-space:nowrap}
.modal-head-actions{display:flex;align-items:center;gap:10px}
.modal-head-actions .project-folder-button{height:34px;padding:7px 12px;border:1px solid #cfdde9;background:#fff;color:#2b6fa8;font-size:12px;font-weight:800;white-space:nowrap}
.modal-head-actions .project-folder-button:hover{border-color:#8ab9df;background:#eef7ff}
.modal-head-actions .project-folder-button:disabled{color:#9caab8;border-color:#e0e6ec;background:#f8fafc;cursor:not-allowed}
.modal-head-actions #close-task-modal{padding:0 2px;background:transparent;color:#82909d;font-size:24px;line-height:1}
.import-protection{margin-top:12px;padding:12px 14px;border:1px solid #d8e8f7;border-radius:8px;background:#f5faff;color:#284761}
.import-protection b{color:#123a5d}
.import-protection p{margin:5px 0 0;color:#5c7184;line-height:1.55}
.import-protection ul{display:grid;gap:6px;margin:10px 0 0;padding:0;list-style:none}
.import-protection li{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto;gap:8px;align-items:center;padding:7px 9px;border:1px solid #e2edf6;border-radius:7px;background:#fff;font-size:12px}
.import-protection li span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.import-protection li small{color:#7890a5;white-space:nowrap}
.import-overwrite-choice{display:flex;align-items:center;gap:7px;margin-top:11px;padding-top:10px;border-top:1px solid #dce9f4;color:#8a4b1a;font-weight:800}
.import-overwrite-choice input{width:16px;height:16px}
.import-protection-split{height:1px;margin:13px 0;background:#dce9f4}
.import-progress{display:none;margin-top:12px;padding:12px 14px;border:1px solid #d8e8f7;border-radius:8px;background:#fff;color:#284761}
.import-progress.show{display:block}
.import-progress-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:10px}
.import-progress-head b{display:block;color:#123a5d;font-size:14px}
.import-progress-head small{display:block;margin-top:4px;color:#70869a;font-size:11px}
.import-progress-head strong{color:#1f73bd;font-size:18px;font-variant-numeric:tabular-nums}
.import-progress-bar{height:9px;border-radius:999px;background:#edf4fa;overflow:hidden}
.import-progress-bar span{display:block;height:100%;border-radius:999px;background:#2d7dcc;transition:width .25s ease}
.import-progress-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:8px;margin-top:12px}
.import-progress-step{display:grid;grid-template-columns:16px minmax(0,1fr) auto;gap:8px;align-items:center;min-height:48px;padding:8px 10px;border:1px solid #e3ebf2;border-radius:7px;background:#f9fcff}
.import-progress-step b{display:block;color:#173552;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.import-progress-step small{display:block;margin-top:3px;color:#788da0;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.import-progress-step em{color:#7890a5;font-size:11px;font-style:normal;font-weight:800;white-space:nowrap}
.import-step-dot{width:10px;height:10px;border-radius:999px;background:#b9c7d3}
.import-progress-step.running{border-color:#a8cbed;background:#f0f8ff}
.import-progress-step.running .import-step-dot{background:#2d7dcc;box-shadow:0 0 0 4px rgba(45,125,204,.14)}
.import-progress-step.done{border-color:#c9e4d0;background:#f4fbf5}
.import-progress-step.done .import-step-dot{background:#2e8b57}
.import-progress-step.error{border-color:#f1beb8;background:#fff5f3}
.import-progress-step.error .import-step-dot{background:#d64535}
.import-progress-step.error em{color:#b83227}
.task-field-entry{cursor:text}
.task-field-entry:hover{background:#eef7ff}
.task-field-entry.manual-protected{box-shadow:inset 3px 0 0 #d9822b;background:#fff8ee}
.task-field-entry.manual-protected:hover{background:#fff2df}
.full-search-modal{width:min(94vw,1280px);max-height:88vh;display:flex;flex-direction:column}
.full-search-bar{display:grid;grid-template-columns:minmax(220px,1fr) auto;gap:10px;margin:8px 0 12px}
.full-search-bar input{height:38px;border:1px solid #d8e3ec;border-radius:7px;padding:0 12px;color:#203247;outline-color:#8ab9df}
.full-search-summary{display:flex;align-items:center;gap:12px;min-height:42px;margin:0 0 12px;padding:10px 12px;border:1px solid #d8e8f7;border-radius:8px;background:#f4f9fe;color:#526b82}
.full-search-total{display:grid;gap:3px;min-width:112px}
.full-search-total b{color:#173552;white-space:nowrap}
.full-search-total small{color:#7a8da0;font-size:10px;white-space:nowrap}
.full-search-summary-chips{display:flex;flex-wrap:wrap;gap:7px}
.full-search-summary-chip{display:inline-flex;align-items:center;gap:5px;min-height:28px;padding:5px 9px;border:1px solid #c8dcec;border-radius:999px;background:#fff;color:#2f638f;font-size:12px;font-weight:700}
.full-search-summary-chip b{color:#c96b25;font-variant-numeric:tabular-nums}
.full-search-summary-chip:hover:not(:disabled){border-color:#7fb6df;background:#eaf5ff}
.full-search-summary-chip:disabled{opacity:.45;cursor:not-allowed}
.full-search-results{overflow:auto;padding-right:4px}
.full-search-group{margin:0 0 12px;border:1px solid #e0e8ef;border-radius:9px;background:#fff;overflow:hidden}
.full-search-group.focus{border-color:#7fb6df;box-shadow:0 0 0 3px rgba(47,126,199,.16)}
.full-search-group-head{display:flex;align-items:center;gap:9px;padding:10px 13px;border-bottom:1px solid #edf2f6;background:#f8fbfd}
.full-search-group-head span{display:grid;place-items:center;width:26px;height:26px;border-radius:7px;background:#e8f2fb;color:#226fab;font-weight:800}
.full-search-group-head h3{flex:1;margin:0;color:#173552;font-size:14px}
.full-search-group-head b{color:#cf6c24;font-size:12px}
.full-search-items{display:grid;gap:0}
.full-search-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;padding:12px 14px;border-top:1px solid #f0f4f7}
.full-search-item:first-child{border-top:0}
.full-search-item:hover{background:#fbfdff}
.full-search-item h4{margin:0;color:#173552;font-size:14px;line-height:1.45}
.full-search-item p{margin:4px 0 0;color:#526b82;font-size:12px;line-height:1.45}
.full-search-item small{display:block;margin-top:4px;color:#8a9bad;font-size:11px}
.full-search-snippet{margin-top:8px;padding:8px 10px;border-left:3px solid #8fb8dd;background:#f7fbff;color:#344f66;font-size:12px;line-height:1.55;white-space:normal;word-break:break-word}
.full-search-hits{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px;color:#6d7f91;font-size:11px}
.full-search-hits em{padding:2px 7px;border-radius:999px;background:#eef4fa;color:#2b6fa8;font-style:normal;font-weight:700}
.full-search-actions{display:flex;flex-direction:column;gap:7px;align-items:stretch;min-width:104px}
.full-search-actions .outline-button{padding:7px 10px;white-space:nowrap}
@media(max-width:1320px){
  .project-library-setting input{width:190px}
}
@media(max-width:1180px){
  .project-library-setting{display:none!important}
}
@media(max-width:1000px){
  .full-search-item{grid-template-columns:1fr}
  .full-search-actions{flex-direction:row;flex-wrap:wrap}
  .full-search-summary{align-items:flex-start;flex-direction:column}
  .policy-md-browser-layout{grid-template-columns:1fr}
  .policy-md-file-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:8px;border-right:0;border-bottom:1px solid #e2eaf2;max-height:230px}
  .policy-md-file{margin-bottom:0}
  .policy-md-preview{max-height:none;padding:20px}
}
