/* Secondary destinations use one real surface and the main action's scale. */
body .site-shell .secondary-action-button,
body.case-gallery-layout .site-shell .sidebar .secondary-action-button{
 box-sizing:border-box;position:relative;display:inline-flex;align-items:center;justify-content:center;
 width:154px;max-width:100%;height:36px;min-height:36px;margin:0;padding:0 8px;
 border:1px solid #494949;border-radius:8px;background:#1b1b1b;color:#ddd;
 font:600 12.5px/14px var(--locale-font-family,'Inter Tight',Arial,sans-serif);
 letter-spacing:0;text-align:center;text-decoration:none;white-space:normal;
 overflow-wrap:anywhere;text-wrap:balance;touch-action:manipulation;
 transition:background-color 180ms ease,border-color 180ms ease,color 180ms ease,transform 140ms var(--ease-out);
}
.secondary-action-label{display:block;min-width:0;max-width:100%}
body .site-shell .secondary-action-button .project-preview-label{text-decoration:none;font-weight:inherit}
body .site-shell .secondary-action-button[hidden]{display:none!important}
body .site-shell .secondary-action-button:hover,
body.case-gallery-layout .site-shell .sidebar .secondary-action-button:hover{
 background:#262626;border-color:#6a6a6a;color:#fff;text-decoration:none;
}
body .site-shell .secondary-action-button:focus-visible,
body.case-gallery-layout .site-shell .sidebar .secondary-action-button:focus-visible{outline:2px solid var(--focus);outline-offset:3px}
body .site-shell .secondary-action-button:active,
body.case-gallery-layout .site-shell .sidebar .secondary-action-button:active{transform:scale(.98)}
body .site-shell .review-actions{
 display:flex;align-items:flex-start;margin-top:var(--copy-gap);
}
body .site-shell :is(.review-row,.profile-review,.information-review) .review-source-button,
body.case-gallery-layout .site-shell .sidebar :is(.review-row,.profile-review,.information-review) .review-source-button{
 width:auto;max-width:100%;height:auto;min-height:36px;margin:0;padding:7px 12px;gap:8px;
 border-color:#3b3b3b;background:#1b1b1b;color:#c5c5c5;
 font-weight:500;font-size:13px;line-height:20px;
}
body .site-shell :is(.review-row,.profile-review,.information-review) .review-source-button:hover,
body.case-gallery-layout .site-shell .sidebar :is(.review-row,.profile-review,.information-review) .review-source-button:hover{
 background:#262626;border-color:#5a5a5a;color:var(--ink);
}
body .site-shell .about-proof-links,
body .site-shell .information-proof-links,
body .site-shell .concept-source-actions{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;
 width:100%;max-width:316px;align-items:stretch;
}
body .site-shell .sidebar .about-proof-links>.secondary-action-button,
body .site-shell .sidebar .information-proof-links>.secondary-action-button,
body .site-shell .sidebar .concept-source-actions>.secondary-action-button{width:100%;min-width:0}
body .site-shell .sidebar .case-chart-sources,
body .site-shell .case-evidence-sources,
body .site-shell .contact-entry-options,
body .site-shell .estimate-footer{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;
 width:100%;max-width:316px;align-items:stretch;
}
body .site-shell .case-chart-sources:has(>.secondary-action-button:only-child),
body .site-shell .case-evidence-sources:has(>.secondary-action-button:only-child){grid-template-columns:minmax(0,154px)}
body .site-shell :is(.case-chart-sources,.case-evidence-sources,.contact-entry-options,.estimate-footer)>.secondary-action-button,
body .site-shell .sidebar .case-chart-sources>.secondary-action-button{
 width:100%;min-width:0;
}
body .site-shell .concept-source-actions{margin-top:var(--group-gap)}
body .site-shell .concept-source-actions:has(>a:only-child){grid-template-columns:minmax(0,154px)}
body .site-shell .estimate-footer [data-evil-button="chrome"]{width:100%;min-width:0}
body .site-shell .case-sidebar-footer{flex-wrap:nowrap}
body.case-gallery-layout .site-shell .sidebar .footer-top-button{width:116px;flex:0 0 116px;gap:6px;margin-inline-start:auto}
@media(pointer:coarse){body .site-shell .secondary-action-button::after{content:'';position:absolute;inset:-4px 0}}
@media(prefers-reduced-motion:reduce){
 body .site-shell .secondary-action-button,body.case-gallery-layout .site-shell .sidebar .secondary-action-button{transition:none}
 body .site-shell .secondary-action-button:active,
body.case-gallery-layout .site-shell .sidebar .secondary-action-button:active{transform:none}
}
