body[data-ape-mode=simple] .finance-overview .metric-grid,
body[data-ape-mode=simple] .account-strip,
body[data-ape-mode=simple] .help-panel { display:none; }
.partner-table .button { white-space:normal; }
.partner-table td { padding:.6rem; vertical-align:top; }
.document-grid { min-width:0; }
.quick-actions details form { max-width:30rem; }
@media(max-width:768px){.quick-actions{flex-wrap:wrap}.quick-actions>a{flex:1 1 100%}.filters label{min-width:0;width:100%}}

.partner-tabs .button[aria-current="page"]{background:#176979;color:#fff;border-color:#176979;box-shadow:inset 0 -3px 0 #104d59}
.partner-tracking-table table{min-width:1080px;table-layout:auto}.partner-tracking-table th:nth-child(3),.partner-tracking-table td:nth-child(3){min-width:125px}.partner-tracking-table th:nth-child(4),.partner-tracking-table td:nth-child(4){min-width:160px}.partner-tracking-table td:last-child{min-width:130px}.partner-smtp-form{align-items:start}.partner-smtp-form>p{margin:0;font-weight:400;color:var(--ape-muted)}.partner-smtp-form input,.partner-smtp-form select{width:100%;min-width:0}.partner-smtp-form [hidden]{display:none!important}.smtp-sources{display:flex;flex-wrap:wrap;gap:1rem}

/* Smaller controls and unmistakable links on the donation dashboard. */
.partner-tabs{gap:.45rem}.partner-tabs .button{font-size:.84rem;padding:.45rem .7rem;min-height:36px;line-height:1.3;white-space:normal}
.campaign-dashboard .button{font-size:.86rem;padding:.5rem .75rem;min-height:38px;line-height:1.35}
.campaign-dashboard .campaign-dashboard-filters{grid-template-columns:repeat(4,minmax(0,1fr));gap:.7rem}
.campaign-dashboard .campaign-stat-grid,.campaign-activity .campaign-stat-grid{gap:.65rem;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr))}
a.campaign-stat{padding:.75rem 1rem;gap:.2rem;border-radius:12px;text-decoration:none;transition:background-color .15s,border-color .15s;align-items:flex-start}
a.campaign-stat strong{font-size:1.4rem;line-height:1.2}a.campaign-stat span{font-size:.85rem;line-height:1.35}a.campaign-stat small{font-size:.75rem;color:var(--ape-primary-dark);margin-top:.2rem;font-weight:650}
a.campaign-stat:hover,a.campaign-stat.is-selected{border-color:var(--ape-primary);background:color-mix(in srgb,var(--ape-primary) 10%,var(--ape-surface));text-decoration:none}
a.campaign-stat:focus-visible,.partner-tabs .button:focus-visible{outline:3px solid var(--ape-orange);outline-offset:3px}
.campaign-activity-shortcuts{display:flex;flex-wrap:wrap;gap:.5rem 1rem}.campaign-activity-shortcuts a{text-decoration:underline;text-underline-offset:3px}
@media(max-width:800px){.campaign-dashboard .campaign-dashboard-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:500px){.campaign-dashboard .campaign-stat-grid,.campaign-activity .campaign-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}a.campaign-stat{padding:.65rem .75rem}.campaign-dashboard .campaign-dashboard-filters{grid-template-columns:minmax(0,1fr)}}
@media(max-width:700px){.partner-tabs{flex-wrap:nowrap;overflow-x:auto;max-width:100%;padding-bottom:.35rem}.partner-tabs .button{flex:0 0 auto;white-space:nowrap}}
