/* Shared page chrome: keep brand tabs and page actions consistent across routes. */
:root{--chrome-action-height:34px;--chrome-action-radius:6px;--chrome-ink:#171818;--chrome-paper:#fff;--chrome-border:#e3e5e8;--chrome-hover:#f4f5f6}
.dark{--chrome-ink:#eee;--chrome-paper:#1b1d1e;--chrome-border:#383c40;--chrome-hover:#292c30}
.plane-page .phase1-root>.p1-results-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin:0 0 24px;padding:0;border:0;min-height:62px;flex-wrap:wrap}
.plane-page .phase1-root>.p1-results-heading>div:first-child{min-width:0}
.plane-page .phase1-root>.p1-results-heading h1{font-size:26px;line-height:36px;font-weight:600;margin:0 0 6px;letter-spacing:0;color:var(--text)}
.plane-page .phase1-root>.p1-results-heading p{display:block;font-size:13px;line-height:20px;margin:0;color:var(--muted)}
.plane-page .phase1-root>.p1-result-tabs{display:flex;align-items:stretch;gap:30px;margin:0 0 24px;padding:0;border:0;border-bottom:1px solid var(--chrome-border)}
.plane-page .phase1-root>.p1-result-tabs button{position:relative;flex:none;margin:0;padding:12px 0;min-height:46px;font-size:14px;font-weight:500;line-height:20px;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:var(--muted);box-shadow:none}
.plane-page .phase1-root>.p1-result-tabs button.active{color:var(--chrome-ink);border-bottom-color:var(--chrome-ink)}
.plane-page .phase1-root>.p1-result-tabs button:hover{color:var(--chrome-ink)}
.plane-page :is(.p1-results-heading,.page-heading,.geo-page-heading){align-items:flex-start}
.plane-page .bo-topbar{padding-top:0}
.plane-page :is(.p1-results-heading>.p1-actions,.page-heading>.heading-actions,.geo-heading-actions,.bo-top-actions){display:flex;align-items:center;justify-content:flex-end;gap:8px!important;margin:0 0 0 auto;padding:0;align-self:flex-start;flex-wrap:wrap}
.plane-page :is(.p1-results-heading>.p1-actions,.page-heading>.heading-actions,.geo-heading-actions,.bo-top-actions)>button{display:inline-flex;align-items:center;justify-content:center;gap:6px;width:auto;height:var(--chrome-action-height);min-height:var(--chrome-action-height);margin:0;padding:6px 12px!important;border:1px solid var(--chrome-border);border-radius:var(--chrome-action-radius);background:var(--chrome-paper);color:var(--chrome-ink);font-size:13px!important;font-weight:500;line-height:20px;white-space:nowrap;box-shadow:none;transform:none;transition:background .16s,border-color .16s}
.plane-page :is(.p1-results-heading>.p1-actions,.page-heading>.heading-actions,.geo-heading-actions,.bo-top-actions)>button.primary{background:var(--chrome-ink);border-color:var(--chrome-ink);color:var(--chrome-paper)}
.plane-page :is(.p1-results-heading>.p1-actions,.page-heading>.heading-actions,.geo-heading-actions,.bo-top-actions)>button:not(:disabled):hover{background:var(--chrome-hover);border-color:var(--muted);opacity:1;transform:none;box-shadow:none}
.plane-page :is(.p1-results-heading>.p1-actions,.page-heading>.heading-actions,.geo-heading-actions,.bo-top-actions)>button.primary:not(:disabled):hover{background:var(--plane-secondary);border-color:var(--plane-secondary);color:var(--chrome-paper)}
/* Direction is communicated by the label; arrows are never button decoration. */
button :is([data-icon^="arrow-"],[data-icon^="chevron-"],.control-arrow){display:none!important}
.pv-claim-controls>button{width:auto;min-width:56px;height:30px;padding:4px 9px;font-size:12px}
.settings-title>[data-action="exit-settings"],button[data-route="keywords"][aria-label="查看问题库"]{width:auto;min-width:42px;padding:4px 8px;font-size:12px}
.hx-send{width:auto;min-width:48px;padding:0 10px;font-size:12px}
@media(max-width:700px){
 .plane-page .phase1-root>.p1-results-heading{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin:0 0 18px;min-height:108px}
 .plane-page .phase1-root>.p1-results-heading h1{font-size:23px;line-height:32px}
 .plane-page .phase1-root>.p1-results-heading>.p1-actions{justify-content:flex-end;width:100%}
 .plane-page .phase1-root>.p1-result-tabs{gap:26px;margin-bottom:20px}
 .plane-page .bo-topbar{flex-wrap:wrap}
 .plane-page :is(.page-heading>.heading-actions,.geo-heading-actions){justify-content:flex-end;width:100%}
}
