/* BlkTravel Partner Portal: the approved partner-portal design (Round 3 tokens: ink, paper, red, gold; Archivo Condensed, Figtree, IBM Plex Mono). */
@font-face { font-family: 'Archivo Condensed'; src: url(/portal/fonts/ArchivoCondensed-ExtraBold.ttf) format('truetype'); font-weight: 800; font-display: swap; }
@font-face { font-family: Figtree; src: url(/portal/fonts/Figtree-Regular.ttf) format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: Figtree; src: url(/portal/fonts/Figtree-Medium.ttf) format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: Figtree; src: url(/portal/fonts/Figtree-SemiBold.ttf) format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: Figtree; src: url(/portal/fonts/Figtree-Bold.ttf) format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url(/portal/fonts/IBMPlexMono-Regular.ttf) format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url(/portal/fonts/IBMPlexMono-Medium.ttf) format('truetype'); font-weight: 500; font-display: swap; }
:root { --ink: #0d0c0b; --paper: #f8f4ec; --paper2: #fffdf8; --stone: #efe9de; --line: #e2dacb; --muted: #6d675e; --red: #c20e14; --gold: #c9a24a; --green: #1d6b31;
  --d: 'Archivo Condensed', 'Arial Narrow', Arial, sans-serif; --b: Figtree, system-ui, sans-serif; --m: 'IBM Plex Mono', ui-monospace, Consolas, monospace; }
* { box-sizing: border-box; } html, body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.5 var(--b); }
a { color: inherit; } button, input, select, textarea { font: inherit; }
.mono { font: 500 11px/1.2 var(--m); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.d { font-family: var(--d); font-weight: 800; text-transform: uppercase; letter-spacing: -.005em; line-height: .95; }
.stripe { height: 4px; background: linear-gradient(90deg, #ff0000 0 33.3%, var(--gold) 33.3% 66.6%, #479e47 66.6%); }
.app { display: grid; grid-template-columns: 264px 1fr; min-height: 100vh; background: linear-gradient(90deg, var(--ink) 264px, var(--paper) 264px); }
.rail { background: var(--ink); color: var(--paper); padding: 26px 18px; display: flex; flex-direction: column; gap: 6px; position: sticky; top: 0; height: 100vh; }
.word { font: 800 30px/1 var(--d); letter-spacing: .01em; margin: 0 6px 4px; } .word b { color: var(--red); }
.rail .mono { color: rgba(248,244,236,.6); margin: 2px 6px 18px; }
.org { border: 1px solid rgba(248,244,236,.16); border-radius: 8px; padding: 12px 14px; margin-bottom: 14px; display: grid; gap: 4px; }
.org b { font-weight: 700; } .org .mono { margin: 0; }
.nav a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 8px; text-decoration: none; color: rgba(248,244,236,.82); font-weight: 600; }
.nav a.on { background: rgba(248,244,236,.1); color: var(--paper); } .nav a.on::after { content: ''; margin-left: auto; width: 3px; height: 18px; border-radius: 2px; background: #ff3b3b; } .nav a:hover:not(.on) { background: rgba(248,244,236,.08); }
.nav i { width: 8px; height: 8px; border-radius: 4px; background: currentColor; opacity: .5; } .nav a.on i { background: var(--red); opacity: 1; }
.rail .sp { flex: 1; }
/* Shared account menu (founder-approved design change 8): portrait, name, current workspace, sign out. Language and Settings join when they exist. */
.acct { border: 1px solid rgba(248,244,236,.18); border-radius: 8px; padding: 12px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.acct .me { display: flex; align-items: center; gap: 10px; } .acct .pp { width: 36px; height: 36px; border-radius: 18px; background: #5a554d; box-shadow: 0 0 0 2px var(--gold); flex: none; display: flex; align-items: center; justify-content: center; font: 800 16px/1 var(--d); color: var(--paper); }
.acct .me b, .acct .ws b { display: block; font-size: 13.5px; color: var(--paper); } .acct .mono { margin: 2px 0 0; font-size: 9.5px; }
.acct .ws { border: 1px solid rgba(248,244,236,.25); border-radius: 22px; padding: 7px 14px; } .acct .ws .mono { color: var(--gold); }
.acct .btn.small { justify-self: start; }
.acct, .acct .me > span:last-child, .acct .ws { min-width: 0; } .acct .me b, .acct .ws b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
main { padding: 34px 44px 80px; display: flex; flex-direction: column; gap: 22px; max-width: 1280px; }
h1.d { font-size: 64px; margin: 4px 0 6px; } h2.d { font-size: 34px; margin: 0 0 8px; } h3 { margin: 0 0 6px; font-size: 17px; }
.lede { color: var(--muted); max-width: 70ch; margin: 0; }
.card { background: var(--paper2); border: 1px solid var(--line); border-radius: 8px; padding: 22px 24px; }
.card.ink { background: var(--ink); color: var(--paper); border-color: var(--ink); } .card.ink .mono { color: rgba(248,244,236,.62); }
.grid { display: grid; gap: 20px; } .g2 { grid-template-columns: 1.4fr 1fr; } .g3 { grid-template-columns: repeat(3, 1fr); } .g2e { grid-template-columns: 1fr 1fr; }
.hero { position: relative; border-radius: 8px; overflow: hidden; min-height: 320px; background: #2a2724; color: var(--paper); display: flex; align-items: flex-end; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; } .hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,12,11,.05) 30%, rgba(13,12,11,.82)); }
.hero .in { position: relative; z-index: 1; padding: 30px 34px; width: 100%; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.hero h1 { color: var(--paper); font-size: 72px; } .hero .mono { color: rgba(248,244,236,.78); }
.seal { width: 98px; height: 98px; border-radius: 50%; border: 2px solid var(--gold); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: rgba(13,12,11,.55); flex-shrink: 0; }
.seal b { font: 800 15px/1 var(--d); color: var(--gold); letter-spacing: .04em; } .seal span { font: 500 8.5px/1.3 var(--m); letter-spacing: .14em; color: var(--paper); margin-top: 4px; }
.pill { display: inline-flex; align-items: center; gap: 6px; font: 500 10.5px/1 var(--m); letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.pill::before { content: ''; width: 6px; height: 6px; border-radius: 3px; background: currentColor; }
.p-pending { color: #8a6a1f; background: #f4e6c3; } .p-approved, .p-verified, .p-live { color: var(--green); background: #dcefdc; } .p-rejected, .p-withdrawn { color: #8c1d18; background: #f6dcda; }
.p-coming, .p-none { color: var(--muted); background: var(--stone); } .p-release { color: #3d4a5c; background: #e1e6ee; }
.row { display: grid; align-items: center; gap: 14px; padding: 13px 0; border-top: 1px solid var(--line); } .row:first-child { border-top: 0; }
.btn { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--paper2); color: var(--ink); border-radius: 999px; padding: 10px 18px; font-weight: 600; cursor: pointer; text-decoration: none; }
.btn.primary { background: var(--red); border-color: var(--red); color: #fff; } .btn.dark { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn:disabled { opacity: .45; cursor: not-allowed; } .btn.small { padding: 7px 13px; font-size: 14px; }
label.f { display: grid; gap: 6px; font-weight: 600; font-size: 14px; } label.f .mono { font-weight: 500; }
input, select, textarea { border: 1px solid var(--line); border-radius: 8px; padding: 11px 13px; background: #fff; color: var(--ink); width: 100%; }
textarea { min-height: 96px; resize: vertical; } input:focus, select:focus, textarea:focus, .btn:focus-visible, a:focus-visible { outline: 3px solid rgba(194,14,20,.35); outline-offset: 2px; }
.note { font-size: 13.5px; color: var(--muted); line-height: 1.5; } .lock { display: block; background: var(--stone); border-radius: 8px; padding: 12px 14px; font-size: 13.5px; }
.msg { border-radius: 8px; padding: 12px 16px; font-weight: 600; } .msg.ok { background: #dcefdc; color: #1f4d28; } .msg.err { background: #f6dcda; color: #7a1712; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; } .chip { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 14px; background: #fff; }
.photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; } .photos figure { margin: 0; border-radius: 8px; overflow: hidden; background: var(--stone); aspect-ratio: 4/3; }
.photos img { width: 100%; height: 100%; object-fit: cover; display: block; }
.listing p { margin: 0 0 12px; max-width: 70ch; } .fact { display: grid; grid-template-columns: 110px 1fr; grid-template-areas: 'k v' 'a a'; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.fact:first-child { border-top: 0; } .fact > :nth-child(3) { grid-area: a; justify-self: start; } .empty { color: var(--muted); font-style: italic; }
.hours { display: grid; grid-template-columns: 110px 1fr 1fr; gap: 8px 12px; align-items: center; }
dialog { border: 0; border-radius: 8px; padding: 0; width: min(620px, 94vw); box-shadow: 0 30px 80px rgba(13,12,11,.35); } dialog::backdrop { background: rgba(13,12,11,.45); }
dialog form { padding: 26px 28px; display: grid; gap: 14px; } .actions { display: flex; gap: 10px; flex-wrap: wrap; }
.signin { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; } .signin .art { background: var(--ink); color: var(--paper); padding: 54px; display: flex; flex-direction: column; justify-content: space-between; }
.signin .art h1 { font-size: 88px; color: var(--paper); } .signin form { padding: 54px; display: grid; gap: 16px; align-content: center; max-width: 520px; }
.local { background: var(--gold); color: var(--ink); font: 500 11px/1 var(--m); letter-spacing: .12em; text-transform: uppercase; padding: 8px 16px; }
@media (max-width: 900px) { .app { grid-template-columns: 1fr; background: var(--paper); } .rail { position: static; height: auto; } .g2, .g3, .g2e { grid-template-columns: 1fr; } main { padding: 22px 18px; } .photos { grid-template-columns: repeat(2, 1fr); } .signin { grid-template-columns: 1fr; } h1.d, .hero h1 { font-size: 46px; } .fact { grid-template-columns: 1fr; } }

/* Control, Nov 15: long organization and business names never widen the rail or the page (phone overflow). */
.org select { max-width: 100%; min-width: 0; text-overflow: ellipsis; }
.rail, .org { min-width: 0; max-width: 100%; }
.app > * { min-width: 0; }
@media (max-width: 900px) { .app { grid-template-columns: minmax(0, 1fr) !important; } }
