/* Hector G3.3: V24 .btn.peach/.glass material + V7 .sb-tile inset/top reflection.
   Only annotated actions; navigation/tiles/brands/third parties are excluded.
   Two protected mail forms use a CSS bridge; HTML/authentication unchanged.
   Layered important materials supersede legacy unlayered important declarations,
   including lazy stylesheets. No business event, progress or success is inferred. */
@layer hector-buttons {
 :root {
  --hb-orange-top:rgba(255,190,139,.96);--hb-orange-bottom:rgba(243,138,62,.94);--hb-orange-ink:#2b180d;--hb-orange-edge:#ffd5adb3;
  --hb-neutral-top:rgba(43,48,60,.92);--hb-neutral-bottom:rgba(28,32,41,.95);--hb-neutral-ink:#f6f4ef;--hb-neutral-edge:#e7dfd541;
  --hb-ghost-top:#ffffff09;--hb-ghost-bottom:#ffffff03;--hb-focus:#ffe1b8;
  --hb-disabled-top:#49443f;--hb-disabled-bottom:#373638;--hb-disabled-ink:#c8c2bb;--hb-disabled-edge:#9b8f7f47;
  --hb-shadow-base:inset 0 1px 0 #ffffff80,inset 0 -1px 0 #49270d29,0 2px 3px -2px #0005,0 10px 22px -15px #000b;
  --hb-shadow-hover:inset 0 1px 0 #ffffffad,inset 0 -1px 0 #49270d29,0 3px 5px -3px #0005,0 13px 25px -14px #000b;
  --hb-shadow-pressed:inset 0 2px 4px #0003,inset 0 -1px 0 #fff3,0 2px 5px -3px #0006;
  --hb-success-top:#b7dec9;--hb-success-bottom:#80b99d;--hb-success-ink:#142b20;--hb-success-edge:#dbffeb99;
  --glassy-cta-top:var(--hb-orange-top);--glassy-cta-bottom:var(--hb-orange-bottom);--glassy-cta-ink:var(--hb-orange-ink);--glassy-cta-edge:var(--hb-orange-edge);--glassy-cta-shadow:var(--hb-shadow-base);
 }
 html[data-theme=light] {
  --hb-neutral-top:#fffffff2;--hb-neutral-bottom:#eee9e2d9;--hb-neutral-ink:#302a24;--hb-neutral-edge:#a898865c;
  --hb-ghost-top:#ffffff60;--hb-ghost-bottom:#d1c5b712;--hb-focus:#863f10;
  --hb-disabled-top:#e4ded6;--hb-disabled-bottom:#d7d1c9;--hb-disabled-ink:#645c54;--hb-disabled-edge:#aa9d8d70;
  --hb-shadow-base:inset 0 1px 0 #fff,inset 0 -1px 0 #8f71552b,0 2px 3px -2px #5f442129,0 10px 22px -15px #6d4b345c;
  --hb-shadow-hover:inset 0 1px 0 #fff,inset 0 -1px 0 #8f71552b,0 3px 5px -3px #5f442138,0 13px 25px -14px #6d4b3473;
  --hb-shadow-pressed:inset 0 2px 4px #9b7c632b,inset 0 -1px 0 #fffa,0 2px 5px -3px #6d4b345c;
 }
 :where([data-hector-button],#mail-owner-login>button,#mail-pilot-connect>button) {
  --hb-top:var(--hb-neutral-top);--hb-bottom:var(--hb-neutral-bottom);--hb-ink:var(--hb-neutral-ink);--hb-edge:var(--hb-neutral-edge);--hector-button-variant:secondary;
  box-sizing:border-box;min-height:44px!important;max-width:100%;padding:11px 18px!important;
  border-width:1px!important;border-style:solid!important;border-color:var(--hb-edge)!important;border-radius:14px!important;
  background:linear-gradient(180deg,#ffffff36,transparent 51%),linear-gradient(165deg,var(--hb-top),var(--hb-bottom))!important;
  color:var(--hb-ink)!important;box-shadow:var(--hb-shadow-base)!important;
  font-family:inherit;font-weight:600;font-size:14px;line-height:1.4;text-decoration:none;text-align:center;white-space:normal;overflow-wrap:anywhere;
  text-shadow:none;filter:none!important;opacity:1;cursor:pointer;touch-action:manipulation;
  transition:transform .16s cubic-bezier(.22,1,.36,1),box-shadow .18s ease,border-color .18s ease!important;
 }
 :where([data-hector-button=primary],#mail-owner-login>button,#mail-pilot-connect>button) {
  --hector-button-variant:primary;--hb-top:var(--hb-orange-top);--hb-bottom:var(--hb-orange-bottom);--hb-ink:var(--hb-orange-ink);--hb-edge:var(--hb-orange-edge);text-shadow:0 1px 0 #ffffff36;
 }
 [data-hector-button=ghost] {--hector-button-variant:ghost;--hb-top:var(--hb-ghost-top);--hb-bottom:var(--hb-ghost-bottom);border-color:transparent!important;box-shadow:inset 0 1px 0 #ffffff0d!important;background:linear-gradient(165deg,var(--hb-top),var(--hb-bottom))!important}
 [data-hector-button=icon] {--hector-button-variant:icon;min-width:44px;min-height:44px!important;padding:10px!important;border-radius:50%!important;line-height:1}
 [data-hector-button-size=small]{padding:8px 12px!important;font-size:12px;min-height:36px!important}
 [data-hector-button-size=large]{padding:14px 24px!important;min-height:52px!important;font-size:15px}
 @media(hover:hover) and (pointer:fine) {
  :where([data-hector-button],#mail-owner-login>button,#mail-pilot-connect>button):hover:not(:disabled):not([aria-disabled=true]):not([inert]):not([inert] *):not([data-hector-button-state=loading]) {box-shadow:var(--hb-shadow-hover)!important;border-color:color-mix(in srgb,var(--hb-edge) 70%,white)!important;transform:translateY(-1px)}
 }
 :where([data-hector-button],#mail-owner-login>button,#mail-pilot-connect>button):active:not(:disabled):not([aria-disabled=true]):not([inert]):not([inert] *):not([data-hector-button-state=loading]) {box-shadow:var(--hb-shadow-pressed)!important;transform:translateY(1px) scale(.985)}
 :where([data-hector-button],#mail-owner-login>button,#mail-pilot-connect>button):focus-visible {outline:3px solid var(--hb-focus)!important;outline-offset:4px!important}
 [data-hector-button-state=success] {--hb-top:var(--hb-success-top);--hb-bottom:var(--hb-success-bottom);--hb-ink:var(--hb-success-ink);--hb-edge:var(--hb-success-edge)}
 /* Native disabled semantics remain owned by the feature. Loading mirrors a
    real busy flag; it never starts an operation or changes its outcome. */
 :where([data-hector-button],#mail-owner-login>button,#mail-pilot-connect>button):is(:disabled,[aria-disabled=true],[inert],[inert] *) {
  --hb-top:var(--hb-disabled-top);--hb-bottom:var(--hb-disabled-bottom);--hb-ink:var(--hb-disabled-ink);--hb-edge:var(--hb-disabled-edge);
  background:linear-gradient(180deg,#ffffff0e,transparent 52%),linear-gradient(165deg,var(--hb-top),var(--hb-bottom))!important;color:var(--hb-ink)!important;border-color:var(--hb-edge)!important;
  box-shadow:inset 0 1px 0 #ffffff21,inset 0 -1px 0 #00000014!important;opacity:1!important;cursor:not-allowed;transform:none!important;text-shadow:none;
 }
 [data-hector-button-state=loading] {cursor:progress!important;transform:none!important}
 [data-hector-button-state=loading]::after {content:'';display:inline-block;width:12px;height:12px;margin-left:9px;vertical-align:-1px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:hector-button-busy .85s linear infinite}
 @keyframes hector-button-busy{to{rotate:1turn}}
 @media(pointer:coarse){[data-hector-button-size=small]{min-height:44px!important}}
 @media(prefers-reduced-motion:reduce){:where([data-hector-button],#mail-owner-login>button,#mail-pilot-connect>button),[data-hector-button-state]::after{animation:none!important;transition:none!important;transform:none!important}}
 @media(prefers-reduced-transparency:reduce){:root{--hb-orange-top:#ffbe8b;--hb-orange-bottom:#f38a3e;--hb-neutral-top:#2b303c;--hb-neutral-bottom:#1c2029}html[data-theme=light]{--hb-neutral-top:#fff;--hb-neutral-bottom:#eee9e2}}
 @media(forced-colors:active){
  :is([data-hector-button],#mail-owner-login>button,#mail-pilot-connect>button){forced-color-adjust:auto;background:ButtonFace!important;color:ButtonText!important;border-color:ButtonText!important;box-shadow:none!important;text-shadow:none}
  :is([data-hector-button],#mail-owner-login>button,#mail-pilot-connect>button):is(:disabled,[aria-disabled=true]){color:GrayText!important;border-color:GrayText!important}
  :is([data-hector-button],#mail-owner-login>button,#mail-pilot-connect>button):focus-visible{outline-color:Highlight!important}
 }
}
