.tem-portal-shell { --tem-ink: #151515; --tem-gold: var(--yellow, #fff34f); --tem-paper: #f7f5f0; color: var(--tem-ink); font-size: 15px; max-width: 1180px; margin: 0 auto; padding: 72px 28px 76px; }
.tem-portal-shell *, .tem-notice { box-sizing: border-box; }
.tem-portal-shell section,
.tem-portal-shell section:hover,
.tem-portal-shell .tem-card,
.tem-portal-shell .tem-card:hover { animation: none !important; scale: 1 !important; transform: none !important; transition: none !important; }
.tem-portal-intro, .tem-portal-heading { margin-bottom: 22px; }
.tem-portal-heading { align-items: center; border-bottom: 1px solid #ddd7c8; display: flex; justify-content: space-between; gap: 20px; padding-bottom: 18px; }
.tem-portal-heading > div { min-width: 0; }
.tem-portal-heading > a { background: #111; border-radius: 5px; color: #fff !important; flex: 0 0 auto; font-size: 14px; font-weight: 750; padding: 10px 15px; text-decoration: none !important; }
.tem-portal-heading > a:hover, .tem-portal-heading > a:focus { background: #2b2b2b; color: var(--tem-gold) !important; }
.tem-portal-shell h2 { font-size: clamp(28px, 3.5vw, 40px) !important; line-height: 1.1 !important; margin: 5px 0 8px !important; }
.tem-portal-shell h3 { font-size: 19px !important; line-height: 1.25 !important; margin: 0 0 14px !important; }
.tem-eyebrow { color: #7a641e; font-size: 13px; font-weight: 700; letter-spacing: .12em; margin: 0; text-transform: uppercase; }
.tem-account-grid, .tem-fields-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tem-account-entry { align-items: flex-start; display: flex; justify-content: center; min-height: 620px; padding-top: 86px; }
.tem-login-card { border-top: 5px solid var(--tem-gold); box-shadow: 0 14px 42px rgba(0,0,0,.09) !important; max-width: 520px; padding: 38px 42px 42px; text-align: center; width: 100%; }
.tem-login-card h2 { font-size: clamp(30px, 4vw, 42px) !important; margin: 8px 0 13px !important; }
.tem-login-copy { color: #595959; line-height: 1.65; margin: 0 auto 24px !important; max-width: 410px; }
.tem-login-button { display: block; font-size: 15px; padding: 13px 20px; text-align: center; width: 100%; }
.tem-forgot-password { color: #444 !important; display: inline-block; font-size: 13px; margin-top: 13px; }
.tem-signup-divider { align-items: center; color: #6b6b6b; display: flex; font-size: 12px; font-weight: 700; gap: 12px; margin: 24px 0 15px; text-transform: uppercase; }
.tem-signup-divider::before, .tem-signup-divider::after { background: #ddd7c8; content: ""; flex: 1; height: 1px; }
.tem-signup-panel { border: 1px solid #d9d3c5; border-radius: 6px; text-align: left; }
.tem-signup-panel summary { color: #171717; cursor: pointer; font-weight: 750; list-style: none; padding: 13px 16px; text-align: center; }
.tem-signup-panel summary::-webkit-details-marker { display: none; }
.tem-signup-panel summary::after { content: "+"; float: right; font-size: 20px; line-height: 16px; }
.tem-signup-panel[open] summary::after { content: "\2212"; }
.tem-signup-panel form { border-top: 1px solid #e6e1d5; padding: 20px; }
.tem-signup-panel .tem-button { display: block; text-align: center; width: 100%; }
.tem-business-form { display: grid; gap: 16px; }
.tem-portal-nav { background: #0b0b0b; border-radius: 8px; display: flex; gap: 5px; margin: 0 0 28px; padding: 6px; }
.tem-portal-nav a { border-radius: 5px; color: #fff !important; font-size: 13px; font-weight: 700; padding: 10px 17px; text-decoration: none !important; }
.tem-portal-nav a:hover { background: #252525; }
.tem-portal-nav a.is-active { background: var(--tem-gold); color: #111 !important; }
.tem-section-heading { align-items: center; display: flex; justify-content: space-between; gap: 18px; margin: 0 0 16px; }
.tem-section-heading h3 { font-size: 25px !important; margin: 3px 0 0 !important; }
.tem-profile-status { background: #edf3ed; border-radius: 999px; color: #2f6336; font-size: 12px; font-weight: 750; padding: 6px 11px; text-transform: uppercase; }
.tem-setup-grid { align-items: stretch; display: grid; gap: 16px; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
.tem-setup-grid > .tem-card { height: 100%; }
.tem-card { background: #fff; border: 1px solid #ddd7c8; border-radius: 8px; box-shadow: 0 3px 12px rgba(0,0,0,.035) !important; padding: 22px 24px; }
.tem-card label { display: grid; font-size: 14px; gap: 6px; font-weight: 650; margin-bottom: 13px; }
.tem-card p { font-size: 14px; margin: 0 0 14px; }
.tem-card input:not([type="checkbox"]), .tem-card textarea { background: #fff; border: 1px solid #9a9a9a; border-radius: 5px; color: var(--tem-ink); font: inherit; min-height: 40px; padding: 9px 11px; width: 100%; }
.tem-card textarea { min-height: 96px; }
.tem-card input:focus, .tem-card textarea:focus { border-color: #8d761f; box-shadow: 0 0 0 3px rgba(214,181,74,.22); outline: none; }
.tem-card small { color: #666; font-weight: 400; }
.tem-choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.tem-choice-grid-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tem-choice, .tem-choice:hover { align-items: center; background: var(--tem-paper); border: 1px solid #ddd7c8; border-radius: 5px; box-shadow: none !important; display: flex !important; font-size: 13px !important; gap: 8px !important; margin: 0 !important; min-height: 40px; padding: 8px 10px; transform: none !important; }
.tem-inline-choice { align-items: flex-start; display: flex !important; gap: 10px !important; }
.tem-choice input, .tem-inline-choice input { flex: 0 0 auto; margin-top: 3px; }
.tem-button { background: var(--tem-gold) !important; border: 0 !important; border-radius: 5px; box-shadow: none !important; color: #111 !important; cursor: pointer; display: inline-block; font-size: 14px; font-weight: 750; justify-self: start; padding: 11px 18px; text-decoration: none !important; transform: none !important; }
.tem-button:hover, .tem-button:focus { background: #f5e84d !important; color: #111 !important; transform: none !important; }
.tem-business-form > .tem-button { display: block; justify-self: center; margin: 10px auto 58px; min-width: 210px; text-align: center; }
.tem-button-secondary { background: #222; color: #fff !important; }
.tem-notice { border-radius: 7px; margin: 24px auto; max-width: 1080px; padding: 15px 18px; }
.tem-notice-success { background: #e8f5eb; border: 1px solid #91c99e; }
.tem-notice-error { background: #fff0ef; border: 1px solid #df9d99; }
.tem-portal-panel { background: #fff; border: 1px solid #ddd7c8; border-radius: 8px; min-height: 360px; padding: 28px; }
.tem-empty-state { align-items: center; display: flex; flex-direction: column; justify-content: center; min-height: 250px; text-align: center; }
.tem-empty-state > span { color: #ddd5bd; font-size: 54px; font-weight: 800; line-height: 1; }
.tem-empty-state h4 { font-size: 21px; margin: 12px 0 6px; }
.tem-empty-state p { color: #666; max-width: 510px; }
.tem-record-list { display: grid; gap: 9px; }
.tem-record-list article { align-items: center; background: var(--tem-paper); border: 1px solid #ddd7c8; border-radius: 6px; display: flex; justify-content: space-between; padding: 14px 16px; }
.tem-record-list strong, .tem-record-list small { display: block; }
.tem-record-list small { color: #686868; margin-top: 3px; }
.tem-record-status, .tem-unread { background: #111; border-radius: 999px; color: #fff; font-size: 11px; font-weight: 750; padding: 5px 9px; text-transform: uppercase; }
.tem-record-actions { align-items: center; display: flex; gap: 10px; }
.tem-record-actions form { margin: 0; }
.tem-record-actions .tem-button { padding: 8px 12px; }
.tem-unread { background: var(--tem-gold); color: #111; }
.tem-events-section > .tem-section-heading p:last-child { color: #666; margin: 6px 0 0; }
.tem-event-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tem-event-card { background: #fff; border: 1px solid #ddd7c8; border-radius: 8px; box-shadow: 0 3px 12px rgba(0,0,0,.035); overflow: hidden; padding: 24px; }
.tem-event-card h4 { font-size: 24px; line-height: 1.15; margin: 18px 0 10px; }
.tem-event-topline, .tem-event-footer { align-items: center; display: flex; justify-content: space-between; gap: 12px; }
.tem-event-topline > span:first-child { font-size: 13px; font-weight: 800; text-transform: uppercase; }
.tem-event-state { background: #edf3ed; border-radius: 999px; color: #2f6336; font-size: 11px; font-weight: 800; padding: 5px 9px; text-transform: uppercase; }
.tem-event-venue { color: #555; display: grid; font-size: 14px; gap: 2px; margin: 0 0 18px; }
.tem-event-venue strong { color: #222; }
.tem-pitch-list { border-bottom: 1px solid #e3ded2; border-top: 1px solid #e3ded2; margin: 16px 0; }
.tem-pitch-list > div { align-items: flex-start; display: flex; gap: 16px; justify-content: space-between; padding: 11px 0; }
.tem-pitch-list > div + div { border-top: 1px solid #eee9de; }
.tem-pitch-list strong, .tem-pitch-list small { display: block; }
.tem-pitch-list small { color: #6a6a6a; font-size: 12px; margin-top: 2px; }
.tem-pitch-prices { flex: 0 0 auto; font-size: 12px; line-height: 1.55; text-align: right; }
.tem-event-footer small { color: #666; }
.tem-button-disabled { cursor: default; opacity: .62; }
.tem-portal-shell + * { margin-top: 0; }
body:has(.tem-portal-shell) main { background: #f7f5f0; }
body:has(.tem-portal-shell) footer { margin-top: 0 !important; }
body:has(.tem-portal-shell) footer img + p,
body:has(.tem-portal-shell) footer figure + p { margin-top: 24px !important; }
body:has(.tem-portal-shell) footer a[href*="stallholder-portal"] { background: transparent !important; border: 0 !important; border-radius: 0 !important; color: #fff !important; padding: 0 !important; }
body:has(.tem-portal-shell) footer a[href*="stallholder-portal"]:hover { color: var(--tem-gold) !important; transform: none !important; }
header a[href*="stallholder-portal"], footer a[href*="stallholder-portal"] { background: transparent !important; border: 0 !important; border-radius: 0 !important; color: #fff !important; padding: 0 !important; font-size: 0 !important; }
header a[href*="stallholder-portal"]::after, footer a[href*="stallholder-portal"]::after { color: inherit; content: "Stallholder login/sign up"; font-size: 14px; }
footer img + p, footer figure + p { margin-top: 24px !important; }
.tem-compliance-section > .tem-section-heading p:last-child { color: #666; margin: 6px 0 0; max-width: 680px; }
.tem-compliance-summary { border-radius: 999px; flex: 0 0 auto; font-size: 12px; font-weight: 800; padding: 8px 12px; text-transform: uppercase; }
.tem-compliance-summary.is-ready { background: #e3f3e6; color: #245c2d; }
.tem-compliance-summary.is-locked { background: #fff0dc; color: #80510c; }
.tem-document-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tem-document-card { background: #fff; border: 1px solid #ddd7c8; border-radius: 8px; padding: 22px; }
.tem-document-heading { align-items: flex-start; display: flex; gap: 12px; justify-content: space-between; }
.tem-document-card h4 { font-size: 18px; line-height: 1.25; margin: 0; }
.tem-doc-status { background: #f1eee7; border-radius: 999px; flex: 0 0 auto; font-size: 10px; font-weight: 800; padding: 5px 8px; text-transform: uppercase; }
.tem-doc-status.status-verified { background: #e3f3e6; color: #245c2d; }
.tem-doc-status.status-pending { background: #fff0dc; color: #80510c; }
.tem-doc-status.status-rejected, .tem-doc-status.status-expired { background: #fde8e6; color: #8a2922; }
.tem-document-meta, .tem-review-note { color: #666; font-size: 13px; line-height: 1.45; }
.tem-review-note { background: #fff4e4; border-left: 3px solid #d99a30; padding: 9px 11px; }
.tem-document-form { border-top: 1px solid #e5e0d5; display: grid; gap: 10px; margin-top: 15px; padding-top: 15px; }
.tem-document-form label { display: grid; font-size: 13px; font-weight: 700; gap: 5px; }
.tem-document-form input { border: 1px solid #cfc7b4; border-radius: 5px; padding: 8px; }
.tem-compliance-footnote { background: #f7f5f0; border-radius: 6px; color: #555; font-size: 13px; margin-top: 16px; padding: 13px 15px; }
@media (max-width: 900px) { .tem-setup-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .tem-portal-shell { padding: 48px 14px 60px; } .tem-account-entry { min-height: 540px; padding-top: 54px; } .tem-login-card { padding: 30px 22px 28px; } .tem-account-grid, .tem-fields-two, .tem-choice-grid, .tem-event-grid, .tem-document-grid { grid-template-columns: 1fr; } .tem-portal-heading { align-items: flex-start; } .tem-card { padding: 18px; } .tem-portal-nav { overflow-x: auto; } .tem-portal-nav a { white-space: nowrap; } }
