/* Sign-in, invitation and admin pages: sand ground, white cards, graphite text, gold actions. */
.auth-page { background: #F6F3EA; }
.v2-product > main.auth-main, .auth-main { width: min(100% - 32px, 1040px); margin: 48px auto; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; padding: 0; }
.v2-product > main.auth-main.single, .auth-main.single { grid-template-columns: minmax(0, 520px); justify-content: center; }
.auth-card { background: #fff; border: 1px solid #DED9CC; border-radius: 22px; padding: clamp(22px, 4vw, 36px); box-shadow: 0 18px 50px #2b23100f; }
.auth-card h1, .auth-card h2 { margin: 0 0 18px; font-size: clamp(24px, 3vw, 32px); }
.auth-form { display: grid; gap: 14px; }
.auth-form label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; color: #3A3D45; }
.auth-form input, .auth-form select, .auth-form textarea { font: inherit; padding: 11px 12px; border: 1px solid #CFC8B8; border-radius: 10px; background: #FBFAF6; color: #17181C; min-height: 44px; }
.auth-form input:focus, .auth-form select:focus, .auth-form textarea:focus { outline: 2px solid #F5B83D; outline-offset: 1px; border-color: #B7801A; }
.auth-form button { cursor: pointer; font: inherit; font-weight: 700; justify-self: start; }
.dark-outline { color: #17181C; border-color: #17181C; }
.auth-msg { min-height: 20px; margin: 0; color: #C9302C; font-weight: 600; }
.auth-msg.ok { color: #0F7F68; }
.auth-note { color: #5D6270; font-size: 13.5px; margin: 14px 0 0; }
.invite-info { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0 0 18px; }
.invite-info dt { color: #8B909C; } .invite-info dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 760px) { .v2-product > main.auth-main, .auth-main { grid-template-columns: 1fr; margin: 24px auto; } }
.org-panel { margin-top: 18px; }
.org-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 16px; }
.org-tab { border: 1px solid #DED9CC; background: #FBF7EC; border-radius: 9px; padding: 8px 14px; cursor: pointer; font-weight: 600; min-height: 40px; }
.org-tab[aria-selected="true"] { background: #F5B83D; border-color: #F5B83D; color: #19140E; }
.org-table { width: 100%; border-collapse: collapse; margin: 6px 0 16px; font-size: 14px; }
.org-table th, .org-table td { text-align: start; padding: 8px 10px; border-bottom: 1px solid #E6E1D5; vertical-align: middle; }
.org-table td select { margin-inline-end: 6px; }
.org-form { max-width: 520px; margin-bottom: 18px; }
.org-out.ok { color: #0F7F68; } .org-out.bad, #org-body .bad { color: #C9302C; }
.invite-link { display: block; padding: 10px; background: #F6F3EA; border-radius: 8px; overflow-wrap: anywhere; direction: ltr; text-align: left; margin: 8px 0; }
@media (max-width: 640px) { .org-table { display: block; overflow-x: auto; } }
.admin-tag { font-size: 12px; font-weight: 700; color: #C9302C; border: 1px solid #F2B7B5; background: #FFF4F3; border-radius: 99px; padding: 4px 10px; }
.admin-login { max-width: 460px; margin: 20px 0; }
.org-table input { font: inherit; padding: 6px 8px; border: 1px solid #CFC8B8; border-radius: 8px; margin-inline-end: 6px; }
.org-table input.num { width: 80px; }
/* Sign-in and request-access: one centred card, brand on top, secondary link below. */
.auth-brand { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; color: inherit; text-decoration: none; }
.auth-brand img { border-radius: 10px; }
.auth-brand span { display: grid; line-height: 1.35; }
.auth-brand b { font-size: 20px; }
.auth-brand small { color: #6B6F7A; font-size: 12.5px; }
.auth-lead { color: #4A4E58; margin: -6px 0 18px; }
.auth-submit { justify-self: stretch !important; min-height: 46px; }
.auth-alt { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid #ECE7DA; text-align: center; font-weight: 600; }
.auth-alt a { color: #8A5A00; text-decoration: none; }
.auth-alt a:hover, .auth-alt a:focus-visible { text-decoration: underline; }
.auth-done { display: grid; gap: 16px; justify-items: start; }
.auth-done p { margin: 0; color: #0F7F68; font-weight: 600; font-size: 16px; }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; margin: -1px; padding: 0; border: 0; }
/* Workspace navigation strip */
.ws-nav { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 18px; padding: 8px; background: #fff; border: 1px solid #DED9CC; border-radius: 14px; position: sticky; top: 8px; z-index: 5; }
.ws-nav-item { border: 0; background: transparent; padding: 8px 12px; border-radius: 9px; font: inherit; font-weight: 600; font-size: 14px; color: #2C2F36; cursor: pointer; min-height: 38px; }
.ws-nav-item:hover, .ws-nav-item:focus-visible { background: #FBF3DF; outline: none; }
@media (max-width: 640px) { .ws-nav { flex-wrap: nowrap; overflow-x: auto; position: static; } .ws-nav-item { white-space: nowrap; } }
.portal-title { margin: 0 0 4px; font-size: 18px; font-weight: 700; color: #17181C; }
