.tig-auth-lock { overflow: hidden; }
.tig-auth-overlay {
  position: fixed; inset: 0; z-index: 99999; display: grid; place-items: center;
  padding: 20px; background: rgba(9, 24, 42, .72); backdrop-filter: blur(10px) saturate(.85);
}
.tig-auth-card {
  width: min(440px, 100%); padding: 28px; border: 1px solid #e4e9ef;
  border-radius: 18px; background: #fff; color: #10233f; box-shadow: 0 28px 70px rgba(3,18,34,.28);
  font-family: Inter, system-ui, sans-serif; text-align: center;
}
.tig-auth-mark { color: #078669; font: 800 .7rem/1.2 "Space Grotesk", Inter, sans-serif; letter-spacing: .13em; }
.tig-auth-card h1 { margin: 9px 0 6px; font-size: clamp(1.65rem, 5vw, 2rem); line-height: 1.15; letter-spacing: -.025em; }
.tig-auth-card > p { margin: 0 0 20px; color: #69788f; font-size: .91rem; line-height: 1.55; }
.tig-login-card { position: relative; max-height: calc(100vh - 40px); overflow-y: auto; box-sizing: border-box; }
.tig-auth-close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; color: #748298; font: 400 1.45rem/1 Inter,sans-serif; cursor: pointer; }
.tig-auth-close:hover { background: #f0f4f6; color: #13263f; }
.tig-auth-brand { display: inline-flex; align-items: center; gap: 9px; margin: 0 auto 15px; color: #17243a; font: 800 .82rem/1 "Space Grotesk",Inter,sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.tig-auth-brand img { width: 46px; height: 30px; object-fit: contain; }
.tig-google-button, .tig-auth-back {
  width: 100%; min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  border: 1px solid #d7dfeb; border-radius: 12px; background: #fff; color: #17243a;
  font: 750 .95rem/1 Inter, system-ui, sans-serif; cursor: pointer;
}
.tig-google-button:hover { border-color: #00a77d; box-shadow: 0 8px 24px rgba(0,167,125,.12); }
.tig-nav-auth { display: inline-flex; align-items: center; }
.tig-nav-auth .tig-google-button { width: auto; min-height: 48px; padding: 11px 19px; border-color: #b8dfd4; border-radius: 13px; background: linear-gradient(145deg,#fff,#f0fbf7); white-space: nowrap; font-size: .94rem; box-shadow: 0 8px 22px rgba(0,143,107,.10); }
.tig-nav-auth .tig-user-menu { padding: 5px 7px; border: 1px solid #cddbe8; border-radius: 14px; background: rgba(255,255,255,.96); box-shadow: 0 6px 18px rgba(17,35,61,.08); }
.tig-nav-auth .tig-account-details { max-width: 125px; padding-right: 1px; }
.tig-nav-auth .tig-account-details strong, .tig-nav-auth .tig-account-email { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tig-google-icon { width: 20px; height: 20px; }
.tig-auth-back { margin-top: 10px; background: #f4f7fb; text-decoration: none; }
.tig-auth-error { min-height: 18px; color: #c63845; font-size: .8rem; line-height: 1.35; }
.tig-auth-card .tig-login-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-auto-flow: row;
  gap: 11px;
}
.tig-auth-card .tig-login-form > * {
  grid-column: 1 / -1 !important;
  min-width: 0;
}
.tig-login-form [hidden] { display: none !important; }
.tig-auth-methods { display:grid; gap:12px; margin-top:18px; }
.tig-auth-methods[hidden] { display:none !important; }
.tig-auth-method {
  box-sizing:border-box; width:100%; min-height:54px; display:flex; align-items:center; justify-content:center; gap:12px;
  padding:12px 16px; border:1px solid #d7dfeb; border-radius:12px; background:#fff; color:#17243a;
  font:750 .95rem/1.2 Inter,system-ui,sans-serif; text-decoration:none; cursor:pointer;
}
.tig-auth-method:hover { border-color:#00a77d; background:#f3fbf8; box-shadow:0 8px 24px rgba(0,167,125,.10); }
.tig-auth-method-icon { width:20px; font-size:1.25rem; line-height:1; }
.tig-auth-back-link { justify-self:start; padding:0; border:0; background:transparent; color:#087a62; font:750 .76rem/1.3 Inter,system-ui,sans-serif; cursor:pointer; }
.tig-auth-back-link:hover { text-decoration:underline; }
.tig-login-form label { display: grid; gap: 6px; color: #283b56; font-size: .78rem; font-weight: 750; text-align: left; }
.tig-login-form input { box-sizing: border-box; width: 100%; min-height: 46px; padding: 11px 13px; border: 1px solid #ccd6e2; border-radius: 9px; background:#fff; color:#14243a; outline:0; font: 500 .91rem/1 Inter,system-ui,sans-serif; transition:border-color .18s,box-shadow .18s; }
.tig-login-form input::placeholder { color:#9aa6b5; }
.tig-login-form input:focus { border-color:#078669; box-shadow:0 0 0 3px rgba(7,134,105,.12); }
.tig-google-provider { box-sizing: border-box; text-decoration: none; }
.tig-login-form .tig-google-provider { width:100%; min-height:46px; border-color:#cbd5e1; border-radius:9px; font-size:.88rem; white-space:normal; box-shadow:none; }
.tig-login-form .tig-google-provider:hover { border-color:#7e8da1; background:#fafbfc; box-shadow:none; }
.tig-auth-divider { display: flex; align-items: center; gap: 12px; margin:2px 0; color: #8a97aa; font-size: .69rem; font-weight: 650; }
.tig-auth-divider::before,.tig-auth-divider::after { content:""; height: 1px; flex: 1; background: #e1e7ef; }
.tig-auth-tools { min-height:18px; margin-top:-4px; text-align:right; }
.tig-auth-tools button,.tig-auth-switch button { padding:0; border:0; background:transparent; color:#087a62; font:750 .75rem/1.3 Inter,system-ui,sans-serif; cursor:pointer; }
.tig-auth-tools button:hover,.tig-auth-switch button:hover { text-decoration:underline; }
.tig-auth-submit { min-height:47px; border:0; border-radius:9px; background:#087a62; color:#fff; box-shadow:0 8px 20px rgba(8,122,98,.18); font:800 .9rem/1 Inter,system-ui,sans-serif; cursor:pointer; }
.tig-auth-submit:hover { background:#066c56; transform:translateY(-1px); }
.tig-auth-submit:disabled { opacity:.6; cursor:wait; transform:none; }
.tig-login-form .tig-auth-switch { margin:0; color:#69788f; font-size:.77rem; line-height:1.4; }
.tig-auth-trust { margin-top:15px; padding-top:13px; border-top:1px solid #edf0f4; color:#8793a4; font-size:.67rem; }
.tig-reset-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: linear-gradient(145deg,#edf9f5,#edf2f8); }
.tig-auth-setup { padding: 12px; border-radius: 10px; background: #fff5db; color: #7a5310; font-size: .86rem; text-align: left; }
.tig-community-gate-note { margin: -6px 0 20px; padding: 13px 14px; border: 1px solid #cde9df; border-radius: 11px; background: #f2fbf8; color: #52657f; font-size: .8rem; line-height: 1.5; text-align: left; }
.tig-user-menu { display: inline-flex; align-items: center; gap: 9px; }
.tig-user-avatar { width: 36px; height: 36px; border: 2px solid #fff; border-radius: 50%; object-fit: cover; background: linear-gradient(145deg,#00b386,#008f6b); box-shadow: 0 4px 12px rgba(0,143,107,.18); }
.tig-user-initial { display: grid; place-items: center; color: #fff; font-weight: 800; }
.tig-signout { border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.tig-account-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 9990; max-width: min(380px, calc(100vw - 36px));
  padding: 10px 14px; border: 1px solid #dbe4ef; border-radius: 14px; background: #fff;
  color: #17243a; box-shadow: 0 12px 34px rgba(17,35,61,.18); font: 700 .86rem/1.25 Inter, system-ui, sans-serif;
}
.tig-account-details { display: grid; gap: 1px; min-width: 0; line-height: 1.25; }
.tig-account-details strong { color: #10233f; font-size: .93rem; }
.tig-account-details > span:not(.tig-account-email) { color: #334a6d; font-size: .78rem; font-weight: 650; }
.tig-account-email { max-width: 210px; overflow: hidden; text-overflow: ellipsis; color: #7a88a1; font-size: .68rem; font-weight: 500; }
.tig-signout { margin-left: 0; padding: 8px 10px; border-radius: 9px; color: #007f62; font-size: .82rem; font-weight: 800; transition: background .2s ease,color .2s ease; }
.tig-signout[data-edit-profile] { background: #e8f8f3; }
.tig-signout[data-edit-profile]:hover { background: #d6f3ea; color: #006d54; }
.tig-signout[data-signout] { color: #53647f; }
.tig-signout[data-signout]:hover { background: #fff0f0; color: #c9454d; }
.tig-account-actions { position: relative; display: inline-flex; }
.tig-account-more { width: 34px; height: 36px; border: 0; border-radius: 9px; background: transparent; color: #53647f; font-size: 1.35rem; line-height: 1; cursor: pointer; }
.tig-account-more:hover, .tig-account-more[aria-expanded="true"] { background: #eef5f8; color: #007f62; }
.tig-account-menu { position: absolute; top: calc(100% + 10px); right: 0; z-index: 10060; width: 210px; padding: 8px; border: 1px solid #d7dfeb; border-radius: 12px; background: #fff; box-shadow: 0 18px 45px rgba(17,35,61,.20); }
.tig-account-menu-email { display: block; padding: 8px 9px 10px; overflow: hidden; border-bottom: 1px solid #edf1f5; color: #7a88a1; font-size: .7rem; text-overflow: ellipsis; white-space: nowrap; }
.tig-account-menu button, .tig-account-menu a { display: block; box-sizing: border-box; width: 100%; padding: 9px; border: 0; border-radius: 8px; background: transparent; color: #263b5d; font: inherit; font-size: .82rem; font-weight: 750; text-align: left; text-decoration: none; cursor: pointer; }
.tig-account-menu button:hover, .tig-account-menu a:hover { background: #e8f8f3; color: #007f62; }
.tig-account-menu button[data-signout]:hover { background: #fff0f0; color: #c9454d; }
.tig-notification-center { position: relative; display: inline-flex; }
.tig-notification-bell { position: relative; width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid #d7dfeb; border-radius: 50%; background: #f7fafc; color: #263b5d; cursor: pointer; }
.tig-notification-bell:hover, .tig-notification-bell[aria-expanded="true"] { border-color: #00a77d; background: #e8fbf5; color: #007f62; }
.tig-notification-bell svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tig-notification-badge { position: absolute; top: -6px; right: -7px; min-width: 21px; height: 21px; padding: 0 5px; display: grid; place-items: center; border: 2px solid #fff; border-radius: 11px; background: #e43f4f; color: #fff; font-size: .67rem; font-weight: 900; }
.tig-notification-menu { position: absolute; top: calc(100% + 12px); right: -105px; z-index: 10050; width: min(370px, calc(100vw - 24px)); max-height: 520px; overflow-y: auto; padding: 12px; border: 1px solid #d7dfeb; border-radius: 15px; background: #fff; box-shadow: 0 22px 60px rgba(17,35,61,.25); color: #17243a; }
.tig-notification-menu-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 3px 4px 10px; }
.tig-notification-menu-head button { border: 0; background: transparent; color: #007f62; font: inherit; font-size: .74rem; font-weight: 850; cursor: pointer; }
@media (max-width: 720px) { .tig-notification-menu { position: fixed; top: 82px; right: 12px; left: 12px; width: auto; } }
.tig-profile-card { position: relative; width: min(560px, 100%); text-align: left; }
.tig-profile-card h1, .tig-profile-card > p, .tig-profile-card .tig-auth-mark { text-align: center; }
.tig-profile-form { display: grid; gap: 14px; margin-top: 18px; }
.tig-profile-form label { display: grid; gap: 6px; color: #2f405a; font-size: .84rem; font-weight: 750; }
.tig-profile-form input, .tig-profile-form select {
  width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #d7dfeb; border-radius: 10px;
  background: #fff; color: #17243a; font: 500 .95rem/1 Inter, system-ui, sans-serif;
}
.tig-profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tig-profile-submit { min-height: 50px; border: 0; border-radius: 11px; background: #00a77d; color: #fff; font-weight: 850; cursor: pointer; }
.tig-consent-row { display: grid !important; grid-template-columns: 20px 1fr !important; align-items: start; gap: 10px !important; font-weight: 600 !important; line-height: 1.45; }
.tig-consent-row input { width: 18px !important; height: 18px; margin-top: 2px; }
.tig-consent-row a { color: #008c6a; }
.tig-private-note { color: #6b7890; font-size: .76rem; text-align: center; }
.tig-access-card { position: relative; width: min(680px, 100%); max-height: 92vh; overflow-y: auto; text-align: left; }
.tig-access-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid #d7dfeb; border-radius: 50%; background: #f6f9fc; color: #53647f; font-size: 1.55rem; line-height: 1; cursor: pointer; }
.tig-access-close:hover { border-color: #00a77d; background: #e8f8f3; color: #007f62; }
.tig-access-card > h1, .tig-access-card > p, .tig-access-card > .tig-auth-mark { text-align: center; }
.tig-access-copy { padding: 18px; border: 1px solid #cde9df; border-radius: 14px; background: #f2fbf8; color: #334761; font-size: .86rem; line-height: 1.55; }
.tig-access-copy ul { display: grid; gap: 7px; margin: 11px 0 13px 20px; }
.tig-access-copy p { margin: 0; color: #52657f; }
.tig-access-apply { margin-top: 16px; display: flex; align-items: center; justify-content: center; padding: 12px 16px; text-decoration: none; }
.tig-access-note { margin: 13px 0 0 !important; color: #6b7890 !important; font-size: .78rem; }
@media (max-width: 560px) { .tig-profile-grid { grid-template-columns: 1fr; } .tig-account-email { max-width: 145px; } }
@media (max-width: 560px) { .tig-auth-overlay { padding:12px; } .tig-auth-card { padding:24px 20px; border-radius:15px; } .tig-login-card { max-height:calc(100vh - 24px); } .tig-auth-brand { margin-bottom:12px; } }
.tig-section-locked { position: relative; min-height: 360px; overflow: hidden; }
.tig-section-locked > :not(.tig-section-gate) { filter: blur(7px); pointer-events: none; user-select: none; }
.tig-section-gate { position: absolute; inset: 0; z-index: 10; display: grid; place-items: center; padding: 24px; background: rgba(245,248,252,.78); }
.tig-section-gate .tig-auth-card { box-shadow: 0 18px 50px rgba(18,36,61,.16); }
