/* Shared action styles; navigation and status indicators retain their own roles. */
.text-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:8px 12px;border:1px solid #7b8c9b;border-radius:6px;background:#fff;color:#123650;font-weight:650;text-decoration:none;cursor:pointer;line-height:1.4}
.text-button:hover{background:#edf2f5;border-color:#61788c}.text-button:active{background:#e2eaf0}.text-button:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #af812c;outline-offset:3px}.text-button:disabled{cursor:not-allowed;opacity:.5}
button.primary,button.secondary,button.danger{min-height:40px;border-radius:6px}.secondary{border:1px solid #7b8c9b!important;background:#fff!important;color:#123650!important}.primary{border:1px solid #102f49!important;background:#102f49!important;color:white!important}
.subpage-nav{gap:4px;border-bottom:1px solid var(--line);border-radius:0;background:transparent;padding:0 0 8px}.subpage-nav button{border-radius:5px;box-shadow:none}.subpage-nav button[aria-pressed=true]{border-color:#123650;background:#123650;color:white}.nav-item{box-shadow:none}
.topbar{justify-content:flex-end}.overview-actions{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:24px}.workspace-footer{justify-content:flex-start}.knowledge-material-heading h2{margin-bottom:0}.source-controls{margin-top:16px}.knowledge-material .badge{border-radius:4px}
#knowledge-graph-view>details{margin-bottom:14px}#knowledge-graph-view summary{cursor:pointer;font-size:13px;min-height:40px;display:list-item;align-content:center}#knowledge-graph-view label{display:grid;gap:8px;font-size:13px;font-weight:650;margin-bottom:16px}#knowledge-graph-view select{width:100%;min-height:44px;background:white;border:1px solid #7b8c9b;border-radius:6px;padding:8px 12px}#knowledge-graph-view article small{display:block}
@media(max-width:768px){.text-button,button.primary,button.secondary{min-height:44px}.overview-actions>button{flex:1}.account-tools{gap:8px}.knowledge-toolbar>.text-button{flex:1}.subpage-nav{gap:6px}.subpage-nav button{min-height:44px}}
@media(prefers-reduced-motion:no-preference){.text-button{transition:background-color 140ms ease,border-color 140ms ease}}

.badge{border-radius:4px}

.mobile-app-header .text-button{background:transparent;color:#fff;border-color:#8fa3b2}
.mobile-app-header .text-button:hover{background:#24465f}
.mobile-bottom-nav .text-button{border:0;background:transparent;border-radius:6px;padding:5px;color:#596a7b;min-height:44px}
.mobile-bottom-nav .text-button.active{background:#f1e7d1;color:#674a13}
.text-button.danger,button.danger{background:#fff6f5;color:#9c2727;border:1px solid #b45c56}
