/* Final shared shell: minimal account controls and legible, dismissible alerts. */
.pact-global-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;min-width:0;flex-wrap:nowrap}
.pact-global-actions .wallet-button,
.pact-global-actions .wallet-disconnect,
.pact-guide-header{appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:39px;padding:9px 13px;white-space:nowrap;border:1px solid #776553;border-radius:25px;background:transparent;color:#f7ebdf;font:740 11px/1.15 Inter,'Helvetica Neue',Arial,sans-serif;letter-spacing:0;cursor:pointer;text-decoration:none;transition:border-color .15s,background .15s}
.pact-global-actions .wallet-button{max-width:190px;overflow:hidden;text-overflow:ellipsis;border-color:#a78c78}
.pact-global-actions .wallet-button[data-connected=true]{color:#ddf0de;border-color:#9bb89f}
.pact-global-actions .wallet-button:disabled{opacity:.65;cursor:wait}
.pact-global-actions .wallet-disconnect:not([hidden]){border-color:#536057;color:#e0e8da}
.pact-global-actions .wallet-disconnect[hidden]{display:none!important}
.pact-global-actions .wallet-disconnect:hover,.pact-guide-header:hover{border-color:#e19468;background:#332921}
.pact-guide-header{border-color:#555f56;color:#e9d4c4}
.pact-guide-header:focus-visible,.pact-global-actions button:focus-visible{outline:2px solid #ee9d69;outline-offset:3px}
.pact-route-wallet-message{padding:9px 28px;background:#e6ebe2;color:#213e2a;font:600 11px/1.4 Inter,Arial,sans-serif;min-height:0}
.pact-route-wallet-message:empty{display:none}
.pact-route-wallet-message[data-state=error]{background:#f1dfd4;color:#783c24}
.pact-workspace .topbar-actions .pact-guide-header{min-height:38px;padding:9px 13px;border-color:#5c645d;color:#f3e7d9;border-radius:23px}
.pact-workspace .topbar-actions .pact-guide-header:hover{border-color:#e59b6b;background:#292521}
.pact-workspace .topbar-actions .pact-guide-header[data-first-visit=true]{border-color:#bf855f;color:#f4c8a9}
.pact-notifications{position:fixed;top:96px;right:20px;z-index:1600;display:flex;flex-direction:column;gap:9px;width:min(410px,calc(100vw - 28px));pointer-events:none;font-family:Inter,'Helvetica Neue',Arial,sans-serif}
.pact-notification{pointer-events:auto;display:grid;grid-template-columns:28px minmax(0,1fr) 24px;align-items:start;gap:12px;padding:16px 14px;background:#f4f0e9;border:1px solid #b5b5a9;border-left:3px solid #a45c34;color:#212922;box-shadow:0 12px 35px #0004;border-radius:2px}
.pact-notification[data-kind=success]{border-left-color:#446b4a}
.pact-notification[data-kind=error]{border-left-color:#ad5039}
.pact-notification[data-kind=warning]{border-left-color:#b07b3d}
.pact-notification-mark{display:grid;place-items:center;width:26px;height:26px;border:1px solid currentColor;border-radius:50%;font:800 14px/1 Inter,Arial,sans-serif;color:#a45c34}
.pact-notification[data-kind=success] .pact-notification-mark{color:#446b4a}
.pact-notification[data-kind=error] .pact-notification-mark{color:#ad5039}
.pact-notification-body{min-width:0}
.pact-notification-body strong{display:block;font-size:13px;font-weight:790;letter-spacing:-.03em}
.pact-notification-body p{margin:5px 0 0;font-size:12px;line-height:1.5;word-break:break-word;color:#4b554c}
.pact-notification-close{width:26px;height:26px;padding:0;background:transparent;border:0;color:#444e45;font:26px/1 Arial,sans-serif;cursor:pointer}
.pact-notification-close:hover{color:#a45c34}
.pact-notification-close:focus-visible{outline:2px solid #a45c34;outline-offset:3px}
@media(max-width:1150px){.pact-global-actions{gap:6px}.pact-global-actions .wallet-button{max-width:150px;font-size:10px}.app-header{gap:15px}.pact-global-actions .mode-pill{display:none}}
@media(max-width:820px){.app-header:has(.pact-global-actions){height:auto;min-height:69px;flex-wrap:wrap;padding:13px 18px;gap:9px}.app-header .pact-global-actions{margin-left:auto}.pact-workspace .topbar-actions .pact-guide-header{padding:8px 10px;font-size:10px}}
@media(max-width:620px){.app-header .pact-global-actions{width:100%;justify-content:space-between;gap:8px}.app-header .pact-global-actions .wallet-button{flex:1;max-width:190px}.app-header .pact-global-actions .wallet-disconnect{font-size:10px;padding:9px}.app-header .pact-guide-header{padding:8px 10px}.pact-notifications{top:75px;right:8px;width:calc(100vw - 16px)}.pact-notification{padding:13px 11px}.pact-route-wallet-message{padding:8px 16px}.pact-workspace .topbar-actions .pact-guide-header{font-size:10px}}
@media(prefers-reduced-motion:reduce){.pact-global-actions *, .pact-notification *{transition:none!important}}
