/* Court presence page + the small cards used on lawyer / office profiles and directory cards. Scoped under .crt / .crp */
.crt { --crt-now: #16a34a; --crt-today: #2563eb; --crt-tom: #d97706; --crt-later: #64748b; }
.crt-hero { padding: 3rem 0 6.5rem; }
body.has-app-sidebar .crt-hero { padding-top: calc(var(--navbar-h, 72px) + 2rem); }
.crt-hero-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.crt-h1 { max-width: 820px; font-size: clamp(1.8rem, 6cqi, 3rem); text-wrap: balance; }
.crt-hero .lp-hero-sub { max-width: 660px; }
.crt-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: 1.1rem; }
.crt-stat { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem 1rem; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #fff; font-weight: 700; font-size: .92rem; backdrop-filter: blur(6px); }
.crt-stat b { font-size: 1.1rem; }
.crt-stat.now i { width: 9px; height: 9px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74, 222, 128, .7); animation: crtPulse 1.8s infinite; }
@keyframes crtPulse { 70% { box-shadow: 0 0 0 9px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }
.crt-hero-cta { margin-top: 1.3rem; }
.crt-btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .85rem 1.5rem; border: 0; border-radius: 15px; background: linear-gradient(135deg, #f59e0b, #f97316); color: #1b1404; font: inherit; font-weight: 800; cursor: pointer; text-decoration: none; box-shadow: 0 14px 28px -12px rgba(249, 115, 22, .8); transition: transform .12s, filter .15s; }
.crt-btn:hover { transform: translateY(-2px); filter: brightness(1.05); color: #1b1404; }
.crt-btn.dark { background: var(--lp-ink, #0a0f1f); color: #fff; box-shadow: 0 12px 24px -12px rgba(10, 15, 31, .7); }
.crt-btn.dark:hover { color: #fff; }
.crt-btn.soft { background: rgba(99, 102, 241, .1); color: #4338ca; box-shadow: none; }
.crt-btn.soft:hover { color: #4338ca; }
.crt-btn[disabled] { opacity: .6; cursor: default; transform: none; }
.crt-note { color: rgba(255, 255, 255, .85); font-size: .92rem; }
.crt-note a { color: #fde68a; font-weight: 800; }

.crt-body { padding-bottom: 4rem; position: relative; }
.crt-toolbar { position: relative; z-index: 2; margin-top: -3.6rem; display: grid; grid-template-columns: 1fr 280px; gap: .7rem; padding: .9rem; border-radius: 22px; background: #fff; border: 1px solid var(--lp-line, #e2e8f0); box-shadow: 0 24px 50px -22px rgba(15, 22, 40, .35); }
.crt-search { display: flex; align-items: center; gap: .6rem; padding: 0 1rem; border: 1px solid var(--lp-line, #e2e8f0); border-radius: 14px; background: var(--lp-bg, #f8fafc); color: var(--lp-muted, #64748b); }
.crt-search input { flex: 1; min-width: 0; height: 48px; border: 0; background: transparent; font: inherit; color: var(--lp-text, #0f172a); outline: none; }
.crt-toolbar select { height: 50px; padding: 0 1rem; border: 1px solid var(--lp-line, #e2e8f0); border-radius: 14px; background: var(--lp-bg, #f8fafc); font: inherit; color: var(--lp-text, #0f172a); min-width: 0; }
.crt-when { display: flex; gap: .5rem; margin: 1.1rem 0 .6rem; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.crt-when::-webkit-scrollbar, .crt-services::-webkit-scrollbar { display: none; }
.crt-when button { flex: none; display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1.1rem; border: 1px solid var(--lp-line, #e2e8f0); border-radius: 999px; background: #fff; color: var(--lp-text, #0f172a); font: inherit; font-weight: 800; cursor: pointer; }
.crt-when button b { min-width: 24px; height: 22px; padding: 0 .4rem; border-radius: 999px; display: inline-grid; place-items: center; font-size: .75rem; background: rgba(15, 22, 40, .08); }
.crt-when button.on { background: var(--lp-ink, #0a0f1f); color: #fff; border-color: transparent; }
.crt-when button.on b { background: rgba(255, 255, 255, .2); }
.crt-when button[data-when="now"].on { background: var(--crt-now); }
.crt-services { display: flex; gap: .45rem; overflow-x: auto; padding-bottom: 6px; margin-bottom: 1.1rem; scrollbar-width: none; }
.crt-services button { flex: none; padding: .42rem .9rem; border: 1px solid var(--lp-line, #e2e8f0); border-radius: 999px; background: #fff; color: var(--lp-muted, #64748b); font: inherit; font-size: .84rem; font-weight: 700; cursor: pointer; }
.crt-services button.on { background: rgba(99, 102, 241, .12); border-color: #6366f1; color: #4338ca; }

.crt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 1rem; }
.crt-empty { grid-column: 1 / -1; text-align: center; padding: 3rem 1rem; border: 1px dashed var(--lp-line, #cbd5e1); border-radius: 22px; color: var(--lp-muted, #64748b); background: #fff; }
.crt-empty b { display: block; font-size: 2.4rem; margin-bottom: .4rem; }
.crt-more { text-align: center; margin-top: 1.4rem; }

/* ---- announcement card (page + profile + directory share the .crp-* parts) ---- */
.crp { position: relative; display: flex; flex-direction: column; gap: .8rem; padding: 1.1rem; border-radius: 22px; background: #fff; border: 1px solid var(--lp-line, #e2e8f0); box-shadow: 0 8px 22px -16px rgba(15, 22, 40, .35); border-top: 4px solid var(--crt-later, #64748b); transition: transform .15s, box-shadow .15s; min-width: 0; }
.crp:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -22px rgba(15, 22, 40, .45); }
.crp.s-now { border-top-color: var(--crt-now, #16a34a); }
.crp.s-today { border-top-color: var(--crt-today, #2563eb); }
.crp.s-tomorrow { border-top-color: var(--crt-tom, #d97706); }
.crp-head { display: flex; align-items: center; gap: .8rem; min-width: 0; }
.crp-av { flex: none; width: 52px; height: 52px; border-radius: 16px; overflow: hidden; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, #6d28d9, #a855f7); }
.crp-av img { width: 100%; height: 100%; object-fit: cover; }
.crp-av.co { background: linear-gradient(135deg, #0b1226, #213a78); border-radius: 14px; }
.crp-who { min-width: 0; flex: 1; }
.crp-name { display: flex; align-items: center; gap: .4rem; font-weight: 800; color: var(--lp-text, #0f172a); text-decoration: none; min-width: 0; }
.crp-name span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crp-name:hover { color: #4338ca; }
.crp-ver { flex: none; width: 17px; height: 17px; border-radius: 50%; background: #1d9bf0; color: #fff; display: inline-grid; place-items: center; }
.crp-ver svg { width: 10px; height: 10px; }
.crp-sub { color: var(--lp-muted, #64748b); font-size: .8rem; margin-top: 2px; }
.crp-pill { flex: none; display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .8rem; border-radius: 999px; font-size: .78rem; font-weight: 800; background: rgba(100, 116, 139, .14); color: #475569; white-space: nowrap; }
.crp-pill.now { background: rgba(22, 163, 74, .14); color: #15803d; }
.crp-pill.now i { width: 8px; height: 8px; border-radius: 50%; background: #16a34a; animation: crtPulse 1.8s infinite; }
.crp-pill.today { background: rgba(37, 99, 235, .12); color: #1d4ed8; }
.crp-pill.tomorrow { background: rgba(217, 119, 6, .14); color: #b45309; }
.crp-courts { display: flex; flex-wrap: wrap; gap: .4rem; }
.crp-court { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .8rem; border-radius: 12px; background: #eef2ff; color: #3730a3; font-weight: 800; font-size: .86rem; }
.crp-time { color: var(--lp-muted, #64748b); font-size: .84rem; font-weight: 700; }
.crp-svcs { display: flex; flex-wrap: wrap; gap: .35rem; }
.crp-svc { padding: .28rem .7rem; border-radius: 999px; background: rgba(16, 185, 129, .12); color: #047857; font-size: .78rem; font-weight: 700; }
.crp-text { margin: 0; color: var(--lp-text, #334155); font-size: .88rem; line-height: 1.75; }
.crp-acts { display: flex; gap: .5rem; margin-top: auto; }
.crp-acts .crt-btn { flex: 1; padding: .7rem 1rem; font-size: .88rem; border-radius: 13px; box-shadow: none; }

/* ---- my active posts ---- */
.crt-mine { margin-bottom: 1.2rem; padding: 1rem 1.1rem; border-radius: 20px; background: #fff; border: 1px solid var(--lp-line, #e2e8f0); }
.crt-mine h3 { margin: 0 0 .7rem; font-size: 1rem; font-weight: 800; }
.crt-mine-row { display: flex; align-items: center; gap: .8rem; padding: .6rem 0; border-top: 1px solid var(--lp-line, #e2e8f0); flex-wrap: wrap; }
.crt-mine-row:first-of-type { border-top: 0; }
.crt-mine-row > span { flex: 1; min-width: 180px; font-size: .88rem; }
.crt-mine-row button { padding: .45rem .9rem; border-radius: 10px; border: 1px solid var(--lp-line, #e2e8f0); background: #fff; font: inherit; font-size: .8rem; font-weight: 800; cursor: pointer; }
.crt-mine-row button.danger { color: #dc2626; }

/* ---- composer ---- */
.crt-ov { position: fixed; inset: 0; z-index: 5000; display: grid; place-items: center; padding: 16px; background: rgba(10, 15, 31, .62); }
.crt-ov[hidden] { display: none; }
.crt-sheet { width: min(560px, 100%); max-height: calc(100dvh - 32px); display: flex; flex-direction: column; border-radius: 24px; background: #fff; box-shadow: 0 40px 90px rgba(0, 0, 0, .5); overflow: hidden; }
.crt-sheet header { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.3rem; border-bottom: 1px solid var(--lp-line, #e2e8f0); }
.crt-sheet h3 { margin: 0; font-size: 1.1rem; font-weight: 800; }
.crt-x { width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(100, 116, 139, .12); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.crt-form { padding: 1.2rem 1.3rem 1.4rem; overflow-y: auto; display: flex; flex-direction: column; gap: 1.1rem; }
.crt-field > label, .crt-field > .lbl { display: block; font-weight: 800; font-size: .9rem; margin-bottom: .5rem; }
.crt-field small { color: var(--lp-muted, #64748b); font-weight: 600; }
.crt-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.crt-chip { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .85rem; border: 1px solid var(--lp-line, #cbd5e1); border-radius: 999px; background: #fff; font: inherit; font-size: .84rem; font-weight: 700; cursor: pointer; color: var(--lp-text, #0f172a); }
.crt-chip.on { background: rgba(99, 102, 241, .12); border-color: #6366f1; color: #4338ca; }
.crt-chip.picked { background: #eef2ff; border-color: #c7d2fe; color: #3730a3; }
.crt-chip.picked b { cursor: pointer; opacity: .6; }
.crt-input, .crt-form select, .crt-form textarea { width: 100%; padding: .75rem .9rem; border: 1px solid var(--lp-line, #cbd5e1); border-radius: 13px; background: #fff; font: inherit; color: var(--lp-text, #0f172a); }
.crt-form textarea { min-height: 84px; resize: vertical; line-height: 1.7; }
.crt-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.crt-count { text-align: end; color: var(--lp-muted, #64748b); font-size: .76rem; margin-top: 3px; }
.crt-err { padding: .7rem .9rem; border-radius: 12px; background: rgba(239, 68, 68, .1); color: #b91c1c; font-weight: 700; font-size: .88rem; }
.crt-submit { padding: .95rem; border: 0; border-radius: 15px; background: linear-gradient(135deg, #4338ca, #7c3aed); color: #fff; font: inherit; font-weight: 800; font-size: 1rem; cursor: pointer; }
.crt-submit[disabled] { opacity: .6; cursor: default; }
.crt-toast { position: fixed; inset-inline: 0; bottom: 22px; margin: auto; width: max-content; max-width: calc(100% - 32px); padding: .8rem 1.3rem; border-radius: 14px; background: #111827; color: #fff; font-weight: 700; z-index: 6000; opacity: 0; transform: translateY(10px); transition: .25s; pointer-events: none; }
.crt-toast.on { opacity: 1; transform: none; }

/* ---- small blocks reused on profiles / directory ---- */
.crp-card { padding: 1.2rem; border-radius: 22px; background: #fff; border: 1px solid var(--lp-line, #e2e8f0); }
.crp-card > h3 { display: flex; align-items: center; gap: .5rem; margin: 0 0 .8rem; font-size: 1.05rem; font-weight: 800; }
.crp-card .crp { box-shadow: none; padding: .9rem; }
.crp-card .crp + .crp { margin-top: .7rem; }
.crp-card .crp:hover { transform: none; }
.crp-badge { display: inline-flex; align-items: center; gap: .4rem; max-width: 100%; padding: .32rem .75rem; border-radius: 999px; font-size: .75rem; font-weight: 800; background: rgba(100, 116, 139, .14); color: #475569; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crp-badge.now { background: rgba(22, 163, 74, .14); color: #15803d; }
.crp-badge.now::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #16a34a; animation: crtPulse 1.8s infinite; }
.crp-badge.today { background: rgba(37, 99, 235, .12); color: #1d4ed8; }
.crp-badge.tomorrow { background: rgba(217, 119, 6, .14); color: #b45309; }

@media (max-width: 767px) {
  .crt-toolbar { grid-template-columns: 1fr; margin-top: -3rem; }
  .crt-hero { padding-bottom: 5.5rem; }
  .crt-grid { grid-template-columns: 1fr; }
  .crt-ov { align-items: end; padding: 0; }
  .crt-sheet { width: 100%; max-height: 94dvh; border-radius: 24px 24px 0 0; }
  .crp-head { flex-wrap: wrap; }
  .crp-pill { margin-inline-start: auto; }
  .crt-form .row2 { grid-template-columns: 1fr; }
}

/* directory cards */
.dc-court { display: flex; justify-content: center; padding: 0 .6rem; margin-top: .55rem; min-width: 0; }
.dc-court .crp-badge { max-width: 100%; }
.df-court { display: block; margin-top: 2px; }
@media (max-width: 640px) { .dc-court .crp-badge { font-size: .66rem; padding: .25rem .55rem; } }

/* ---- searchable court picker ---- */
.crt-combo { position: relative; }
.crt-combo-in { width: 100%; height: 50px; padding: 0 2.6rem 0 1rem; border: 1px solid var(--lp-line, #cbd5e1); border-radius: 14px; background: var(--lp-bg, #f8fafc); font: inherit; color: var(--lp-text, #0f172a); min-width: 0; }
.crt-form .crt-combo-in { height: 46px; background: #fff; }
html[dir="rtl"] .crt-combo-in { padding: 0 1rem 0 2.6rem; }
.crt-combo-in:focus { outline: 2px solid rgba(99, 102, 241, .35); border-color: #6366f1; }
.crt-combo-x { position: absolute; top: 50%; inset-inline-end: 10px; transform: translateY(-50%); width: 28px; height: 28px; border: 0; border-radius: 50%; background: rgba(100, 116, 139, .15); cursor: pointer; font-size: 1.1rem; line-height: 1; }
.crt-combo-list { position: absolute; z-index: 30; inset-inline: 0; top: calc(100% + 6px); max-height: 280px; overflow-y: auto; padding: 6px; border-radius: 16px; background: #fff; border: 1px solid var(--lp-line, #e2e8f0); box-shadow: 0 24px 50px -16px rgba(15, 22, 40, .45); }
.crt-combo-list[hidden] { display: none; }
.crt-grp { padding: 8px 10px 4px; font-size: .72rem; font-weight: 800; color: var(--lp-muted, #64748b); }
.crt-opt { padding: 9px 12px; border-radius: 10px; cursor: pointer; font-size: .9rem; font-weight: 600; color: var(--lp-text, #0f172a); }
.crt-opt:hover, .crt-opt.on { background: rgba(99, 102, 241, .12); color: #4338ca; }
.crt-none { padding: 14px; text-align: center; color: var(--lp-muted, #64748b); font-size: .88rem; }
.crt-addrow { display: flex; gap: .5rem; margin-top: .6rem; align-items: center; }
.crt-addrow .crt-input { flex: 1; }
.crt-toolbar > div { min-width: 0; }

.crp.s-past { border-top-color: #cbd5e1; opacity: .92; }
.crp-hist { margin-top: .9rem; padding-top: .8rem; border-top: 1px dashed var(--lp-line, #e2e8f0); font-size: .85rem; }
.crp-hist > b { display: block; margin-bottom: .35rem; color: var(--lp-muted, #64748b); font-size: .78rem; }
.crp-hist-row { display: flex; justify-content: space-between; gap: .6rem; padding: .25rem 0; color: var(--lp-text, #334155); }
.crp-hist-row small { color: var(--lp-muted, #64748b); white-space: nowrap; }

/* ---- service request form ---- */
.crt-reqhead { display: flex; align-items: center; gap: .8rem; padding: .8rem; border-radius: 16px; background: var(--lp-bg, #f8fafc); }
.crt-reqhead b { display: block; }
.crt-tip { padding: .75rem .9rem; border-radius: 14px; background: rgba(16, 185, 129, .1); color: #047857; font-size: .84rem; line-height: 1.7; font-weight: 600; }

/* ---- long names: wrap instead of cutting, status pill on its own row on phones ---- */
.crp-name { display: block; line-height: 1.5; }
.crp-name span { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; display: inline; }
.crp-name .crp-ver { display: inline-grid; vertical-align: middle; margin-inline-start: .35rem; }
.crp-court { white-space: normal; line-height: 1.55; text-align: start; }
.crp-sub { overflow-wrap: anywhere; }
@media (max-width: 767px) {
  .crp { padding: 1rem; gap: .75rem; }
  .crp-head { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: .55rem .8rem; }
  .crp-head .crp-pill { order: -1; grid-column: 1 / -1; justify-self: start; }
  .crp-av { width: 48px; height: 48px; border-radius: 14px; }
  .crp-name { font-size: .98rem; }
  .crp-acts { flex-wrap: wrap; }
  .crp-acts .crt-btn { flex: 1 1 140px; }
}

/* arrows for chip rows that scroll sideways */
.crt-scroller { position: relative; }
.crt-arrow { position: absolute; top: 0; z-index: 3; width: 34px; height: 34px; border: 1px solid var(--lp-line, #e2e8f0); border-radius: 50%; background: #fff; color: var(--lp-text, #0f172a); display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 16px -6px rgba(15, 22, 40, .45); }
.crt-arrow[hidden] { display: none; }
.crt-arrow:hover { background: var(--lp-ink, #0a0f1f); color: #fff; }
.crt-arrow--l { left: -6px; } .crt-arrow--r { right: -6px; }
.crt-when + .crt-scroller, .crt-scroller .crt-when { margin-bottom: .6rem; }
.crt-scroller .crt-services { margin-bottom: 1.1rem; }
.crt-scroller:has(.crt-when) .crt-arrow { top: 2px; }
@media (hover: none), (max-width: 767px) { .crt-arrow { display: none !important; } }

/* status pill: beside the name on wide screens, beside the court / prosecution on phones */
.crp-where { display: flex; align-items: flex-start; justify-content: space-between; gap: .6rem; }
.crp-where .crp-courts { flex: 1; min-width: 0; }
.crp-pill--where { display: none; }
@media (max-width: 767px) {
  .crp-head { display: flex; flex-wrap: nowrap; }
  .crp-head .crp-pill, .crp-head .crp-pill--head { display: none; order: 0; }
  .crp-pill--where { display: inline-flex; margin-top: 2px; }
}

/* ---- sub navigation between the three court pages ---- */
.crt-nav { display: flex; gap: .5rem; flex-wrap: wrap; margin: 0 0 1.1rem; position: relative; z-index: 2; margin-top: -3.6rem; padding: .5rem; border-radius: 18px; background: #fff; border: 1px solid var(--lp-line, #e2e8f0); box-shadow: 0 24px 50px -22px rgba(15, 22, 40, .35); }
.crt-nav a { flex: 1 1 140px; text-align: center; padding: .7rem 1rem; border-radius: 13px; color: var(--lp-text, #0f172a); font-weight: 800; text-decoration: none; }
.crt-nav a:hover { background: rgba(99, 102, 241, .08); }
.crt-nav a.on { background: var(--lp-ink, #0a0f1f); color: #fff; }
.crt-toolbar { margin-top: 0; }
.crt-nav + .crt-toolbar { margin-top: 0; }
.crt-cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; }
.crt-hintline { margin-top: 4px; color: var(--lp-muted, #64748b); font-size: .78rem; }

/* ---- client request page ---- */
.jb-layout { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 1.2rem; align-items: start; }
.jb-form { display: flex; flex-direction: column; gap: 1.05rem; position: sticky; top: 90px; }
.jb-h { margin: 0 0 .2rem; font-size: 1.1rem; font-weight: 800; }
.jb-side .crp + .crp { margin-top: .9rem; }
.jb-top { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.jb-chip { padding: .3rem .8rem; border-radius: 999px; font-size: .76rem; font-weight: 800; background: rgba(100, 116, 139, .14); color: #475569; }
.jb-chip.on { background: rgba(22, 163, 74, .14); color: #15803d; }
.jb-chip.ok { background: rgba(37, 99, 235, .12); color: #1d4ed8; }
.jb-offers { display: flex; flex-direction: column; gap: .7rem; margin-top: .2rem; }
.jb-offer { padding: .85rem; border-radius: 16px; background: var(--lp-bg, #f8fafc); border: 1px solid var(--lp-line, #e2e8f0); }
.jb-offer.live { background: linear-gradient(135deg, #fffbeb, #eef2ff); border-color: rgba(245, 158, 11, .5); }
.jb-offer.ok { background: rgba(16, 185, 129, .1); border-color: rgba(16, 185, 129, .4); }
.jb-oh { display: flex; align-items: center; gap: .7rem; min-width: 0; }
.jb-op { min-width: 0; flex: 1; }
.jb-op b { display: block; overflow-wrap: anywhere; line-height: 1.45; }
.jb-op small { color: var(--lp-muted, #64748b); }
.jb-price { flex: none; padding: .4rem .9rem; border-radius: 999px; background: #f59e0b; color: #1b1404; font-weight: 800; font-size: 1.02rem; white-space: nowrap; }
.jb-timer { display: flex; flex-direction: column; gap: 5px; margin: .7rem 0; }
.jb-sec { font-weight: 800; font-size: 1.15rem; color: #b45309; font-variant-numeric: tabular-nums; }
.jb-timer i { display: block; height: 6px; border-radius: 99px; background: #f59e0b; transform-origin: right; transition: transform 1s linear; }
html[dir="ltr"] .jb-timer i { transform-origin: left; }
.jb-state { margin-top: .6rem; padding: .5rem .8rem; border-radius: 12px; font-weight: 800; font-size: .84rem; background: rgba(148, 163, 184, .16); }
.jb-state.ok { background: rgba(16, 185, 129, .16); color: #047857; }
.jb-wait { display: flex; align-items: center; gap: .7rem; padding: 1rem; border-radius: 14px; background: rgba(99, 102, 241, .08); color: #4338ca; font-weight: 700; font-size: .88rem; }
.jb-dots { display: inline-flex; gap: 4px; } .jb-dots i { width: 8px; height: 8px; border-radius: 50%; background: #6366f1; animation: jbDot 1.2s infinite; } .jb-dots i:nth-child(2) { animation-delay: .2s; } .jb-dots i:nth-child(3) { animation-delay: .4s; }
@keyframes jbDot { 0%, 80%, 100% { opacity: .25; transform: scale(.8); } 40% { opacity: 1; transform: scale(1.1); } }
.jb-past { margin-top: .3rem; } .jb-past summary { cursor: pointer; color: var(--lp-muted, #64748b); font-weight: 700; font-size: .82rem; margin-bottom: .5rem; }
.jb-past .jb-offer { margin-top: .5rem; opacity: .8; }
.jb-cancel { align-self: flex-start; border: 0; background: transparent; color: #dc2626; font: inherit; font-weight: 800; font-size: .82rem; cursor: pointer; padding: .2rem 0; }
.jb-done { padding: 1.6rem 1.4rem; text-align: center; } .jb-done-ic { font-size: 3rem; } .jb-done h3 { margin: .3rem 0; font-weight: 800; }
.jb-done-acts { display: flex; gap: .6rem; margin-top: 1.1rem; flex-wrap: wrap; } .jb-done-acts .crt-btn { flex: 1 1 140px; }

/* ---- lawyer board ---- */
.jb-toolbar { grid-template-columns: 1fr 300px; margin-bottom: 1rem; }
.jb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 400px), 1fr)); gap: 1rem; }
.jb-area { display: flex; flex-direction: column; margin-top: .3rem; }
.jb-bid { display: flex; flex-direction: column; gap: .6rem; }
.jb-bid-row { display: grid; grid-template-columns: 130px 1fr; gap: .5rem; }
.jb-mine { padding: .8rem; border-radius: 14px; background: linear-gradient(135deg, #fffbeb, #eef2ff); border: 1px solid rgba(245, 158, 11, .5); font-weight: 700; font-size: .9rem; }

@media (max-width: 991px) { .jb-layout { grid-template-columns: 1fr; } .jb-form { position: static; } }
@media (max-width: 767px) {
  .crt-nav { margin-top: -3rem; } .crt-nav a { flex: 1 1 100px; padding: .6rem .5rem; font-size: .88rem; }
  .jb-toolbar { grid-template-columns: 1fr; } .jb-grid { grid-template-columns: 1fr; } .jb-bid-row { grid-template-columns: 1fr; }
  .jb-oh { flex-wrap: wrap; } .jb-price { margin-inline-start: auto; }
}

/* ---- the "need a service?" button: loud on purpose, shown to everybody ---- */
.crt-btn--hot { position: relative; gap: .9rem; padding: .95rem 1.7rem; border-radius: 20px; color: #fff; text-align: start; overflow: hidden;
  background: linear-gradient(120deg, #ec4899, #8b5cf6 45%, #f59e0b); background-size: 200% 100%; animation: hotShift 5s ease-in-out infinite;
  box-shadow: 0 18px 38px -14px rgba(236, 72, 153, .75), 0 0 0 0 rgba(236, 72, 153, .55); }
.crt-btn--hot::after { content: ''; position: absolute; inset: 0; border-radius: inherit; animation: hotPulse 2.4s ease-out infinite; pointer-events: none; }
.crt-btn--hot:hover { color: #fff; transform: translateY(-3px) scale(1.02); }
.crt-btn--hot .hot-ic { flex: none; width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; font-size: 1.5rem; background: rgba(255, 255, 255, .22); animation: hotRing 2.4s ease-in-out infinite; }
.crt-btn--hot .hot-tx { display: flex; flex-direction: column; line-height: 1.35; }
.crt-btn--hot b { font-size: 1.1rem; font-weight: 800; }
.crt-btn--hot small { font-size: .82rem; font-weight: 600; opacity: .92; }
@keyframes hotShift { 0%, 100% { background-position: 0 0; } 50% { background-position: 100% 0; } }
@keyframes hotPulse { 0% { box-shadow: 0 0 0 0 rgba(236, 72, 153, .5); } 70%, 100% { box-shadow: 0 0 0 16px rgba(236, 72, 153, 0); } }
@keyframes hotRing { 0%, 100% { transform: rotate(0); } 10% { transform: rotate(-14deg); } 20% { transform: rotate(12deg); } 30% { transform: rotate(-8deg); } 40% { transform: rotate(0); } }
@media (prefers-reduced-motion: reduce) { .crt-btn--hot, .crt-btn--hot::after, .crt-btn--hot .hot-ic { animation: none; } }
@media (max-width: 575px) { .crt-btn--hot { width: 100%; justify-content: flex-start; padding: .85rem 1.1rem; } .crt-hero-cta .crt-cta-row .crt-btn { flex: 1 1 100%; } }

/* ---- fields on the request page and the lawyer board (same look as the presence composer) ---- */
.jb-form .crt-field > label, .jb-form .crt-field > .lbl { display: block; font-weight: 800; font-size: .92rem; margin-bottom: .5rem; }
.jb-form .crt-field small { color: var(--lp-muted, #64748b); font-weight: 600; }
.jb-form .crt-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.crt-input, .crt-textarea, .jb-form textarea, .jb-form select, .jb-bid .crt-input { width: 100%; padding: .78rem .95rem; border: 1px solid var(--lp-line, #cbd5e1); border-radius: 14px; background: #fff; font: inherit; color: var(--lp-text, #0f172a); transition: border-color .15s, box-shadow .15s; }
.crt-input:focus, .crt-textarea:focus, .jb-form textarea:focus { outline: none; border-color: #6366f1; box-shadow: 0 0 0 4px rgba(99, 102, 241, .15); }
.crt-textarea, .jb-form textarea { min-height: 130px; resize: vertical; line-height: 1.8; background: var(--lp-bg, #f8fafc); }
.crt-textarea::placeholder, .jb-form textarea::placeholder, .crt-input::placeholder { color: #94a3b8; }
.jb-form .crt-combo-in { background: var(--lp-bg, #f8fafc); }
.jb-form { gap: 1.15rem; padding: 1.4rem; }
.jb-form .crt-submit { box-shadow: 0 14px 28px -14px rgba(79, 70, 229, .8); }
.crt-field { display: flex; flex-direction: column; }

/* ===== mobile polish: request + tracking pages ===== */
.crt-nav a { display: flex; align-items: center; justify-content: center; gap: .45rem; }
.crt-nav a i { font-style: normal; }
.jb-new-toggle { display: none; width: 100%; padding: .95rem; border: 0; border-radius: 16px; background: linear-gradient(135deg, #4338ca, #7c3aed); color: #fff; font: inherit; font-weight: 800; font-size: 1rem; cursor: pointer; box-shadow: 0 14px 28px -14px rgba(79, 70, 229, .8); }
.jb-live { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; padding: .75rem 1rem; margin-bottom: .9rem; border-radius: 16px; background: linear-gradient(135deg, #fef3c7, #e0e7ff); border: 1px solid rgba(245, 158, 11, .55); color: #78350f; font-weight: 700; font-size: .9rem; position: sticky; top: 8px; z-index: 6; cursor: pointer; box-shadow: 0 10px 24px -14px rgba(120, 53, 15, .6); }
.jb-live[hidden] { display: none; }
.jb-live em { font-style: normal; font-weight: 800; font-variant-numeric: tabular-nums; color: #b45309; }
.jb-live-dot { width: 10px; height: 10px; border-radius: 50%; background: #f59e0b; animation: csPulse 1.6s infinite; }

@media (max-width: 991px) {
  .jb-layout { display: flex; flex-direction: column; gap: 1rem; }
  .jb-layout.has-open .jb-new-toggle { display: block; }
  .jb-layout.has-open .jb-side { order: -1; }
  .jb-layout.has-open:not(.show-form) .jb-form { display: none; }
  .jb-layout.has-open .jb-new-toggle { order: 0; }
}
@media (max-width: 767px) {
  .crt-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .3rem; padding: .35rem; border-radius: 16px; }
  .crt-nav a { flex-direction: column; gap: 2px; padding: .55rem .2rem; font-size: .76rem; line-height: 1.3; min-width: 0; }
  .crt-nav a i { font-size: 1.15rem; }
  .crt-nav a span { white-space: normal; text-align: center; }
  .crt-hero { padding: 2.2rem 0 5.4rem; }
  .crt-h1 { font-size: clamp(1.45rem, 7vw, 1.9rem); }
  .crt-hero .lp-hero-sub { font-size: .92rem; }
  .crt-chip, .crt-services button, .crt-when button { min-height: 40px; }
  .jb-form { padding: 1.1rem; border-radius: 20px; }
  .jb-h { font-size: 1.05rem; }
  .jb-job { padding: .95rem; }
  .jb-top .crp-sub { font-size: .76rem; }

  /* an offer: who, then the price as a big band, then the timer, then the two buttons */
  .jb-offer { padding: .9rem; border-radius: 18px; }
  .jb-oh { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .6rem .75rem; align-items: center; }
  .jb-oh .crp-av { width: 44px; height: 44px; }
  .jb-op b { font-size: .95rem; }
  .jb-price { grid-column: 1 / -1; margin: 0; text-align: center; font-size: 1.45rem; padding: .55rem 1rem; border-radius: 14px; }
  .jb-timer { flex-direction: row; align-items: center; gap: .7rem; margin: .8rem 0; }
  .jb-timer .jb-sec { flex: none; min-width: 58px; }
  .jb-timer i { flex: 1; }
  .jb-offer .crp-acts { display: grid; grid-template-columns: 2fr 1fr; gap: .5rem; }
  .jb-offer .crp-acts .crt-btn { padding: .85rem .5rem; font-size: .95rem; border-radius: 14px; }
  .jb-cancel { padding: .6rem 0; font-size: .88rem; }
  .jb-done { padding: 1.4rem 1.1rem 1.8rem; }
  .jb-done-acts .crt-btn { flex: 1 1 100%; }
  .jb-bid .crt-submit { padding: .9rem; }
  .jb-mine { font-size: .86rem; }
  .jb-live { top: 6px; }
}
@media (max-width: 991px) { .jb-layout.has-open .jb-new-toggle { order: -2; } }
@media (max-width: 767px) {
  .jb-cancel { align-self: stretch; width: 100%; text-align: center; padding: .7rem; border: 1px solid rgba(220, 38, 38, .35); border-radius: 13px; background: rgba(239, 68, 68, .05); }
  .jb-past summary { padding: .4rem 0; }
  .jb-offers { gap: .6rem; }
}

/* tighter hero + 4-tab nav */
.crt-hero { padding-bottom: 5rem; }
.crt-hero-cta { margin-top: 1.2rem; }
.crt-nav.has-4 a { flex: 1 1 120px; }
@media (max-width: 767px) {
  .crt-hero { padding-bottom: 4.4rem; }
  .crt-nav.has-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .crt-nav.has-4 a { font-size: .7rem; padding: .5rem .1rem; }
  .crt-nav.has-4 a i { font-size: 1.1rem; }
}

/* ---- inside the dashboard (no hero, no overlap with a banner) ---- */
.crt--dash .crt-nav, .crt--dash .crt-toolbar { margin-top: 0; }
.crt--dash .crt-dash-head { margin-bottom: 1rem; }
.crt--dash .crt-dash-head h1 { margin: 0; font-size: 1.5rem; font-weight: 800; }
.crt--dash .crt-dashwrap { max-width: 1180px; }
.crt--dash .crt-hero-cta { margin: 0 0 1rem; display: block; }
@media (max-width: 767px) { .crt--dash .crt-nav, .crt--dash .crt-toolbar { margin-top: 0; } .crt--dash .crt-dash-head h1 { font-size: 1.25rem; } }

/* =====================================================================
   Dashboard theme: the court pages inside /dashboard/ follow the dashboard's
   dark surfaces (--lx-*), not the website's white cards.
   ===================================================================== */
.crt--dash {
  --lp-line: var(--lx-border, rgba(148, 163, 184, .16));
  --lp-bg: var(--lx-bg, #0d1117);
  --lp-text: var(--lx-text, #e2e8f0);
  --lp-muted: var(--lx-text-muted, #8b949e);
  --lp-ink: #4f46e5;
  --crt-surface: var(--lx-surface, #161b22);
  --crt-soft: rgba(99, 102, 241, .14);
  color: var(--lp-text);
}
.crt--dash .crp, .crt--dash .crp-card, .crt--dash .crt-toolbar, .crt--dash .crt-nav, .crt--dash .crt-mine, .crt--dash .crt-empty,
.crt--dash .jb-form, .crt--dash .crt-sheet, .crt--dash .crt-combo-list, .crt--dash .crt-arrow, .crt--dash .jb-offer {
  background: var(--crt-surface); color: var(--lp-text); border-color: var(--lp-line);
}
.crt--dash .crp { box-shadow: 0 10px 28px -18px rgba(0, 0, 0, .8); }
.crt--dash .crp:hover { box-shadow: 0 22px 44px -22px rgba(0, 0, 0, .9); border-color: rgba(129, 140, 248, .35); }
.crt--dash .crt-toolbar, .crt--dash .crt-nav { box-shadow: 0 16px 36px -22px rgba(0, 0, 0, .9); }
.crt--dash .crt-search, .crt--dash .crt-combo-in, .crt--dash .crt-input, .crt--dash .crt-textarea, .crt--dash textarea, .crt--dash select,
.crt--dash .crt-toolbar select, .crt--dash .jb-form .crt-combo-in, .crt--dash .crt-reqhead {
  background: var(--lp-bg); color: var(--lp-text); border-color: var(--lp-line);
}
.crt--dash .crt-search input { color: var(--lp-text); }
.crt--dash .crt-input::placeholder, .crt--dash textarea::placeholder, .crt--dash .crt-search input::placeholder, .crt--dash .crt-combo-in::placeholder { color: #64748b; }
.crt--dash .crt-chip, .crt--dash .crt-when button, .crt--dash .crt-services button {
  background: var(--lp-bg); color: var(--lp-text); border-color: var(--lp-line);
}
.crt--dash .crt-when button b { background: rgba(148, 163, 184, .16); }
.crt--dash .crt-chip.on, .crt--dash .crt-services button.on { background: var(--crt-soft); border-color: #818cf8; color: #c7d2fe; }
.crt--dash .crt-chip.picked { background: var(--crt-soft); border-color: rgba(129, 140, 248, .5); color: #c7d2fe; }
.crt--dash .crt-when button.on { background: linear-gradient(135deg, #4f46e5, #7c3aed); color: #fff; border-color: transparent; }
.crt--dash .crt-when button[data-when="now"].on { background: linear-gradient(135deg, #059669, #10b981); }
.crt--dash .crt-nav a { color: var(--lp-text); }
.crt--dash .crt-nav a:hover { background: var(--crt-soft); }
.crt--dash .crt-nav a.on { background: linear-gradient(135deg, #4f46e5, #7c3aed); color: #fff; box-shadow: 0 10px 22px -10px rgba(99, 102, 241, .8); }
.crt--dash .crt-btn.dark { background: linear-gradient(135deg, #4f46e5, #7c3aed); color: #fff; box-shadow: 0 10px 22px -10px rgba(99, 102, 241, .8); }
.crt--dash .crt-btn.soft { background: var(--crt-soft); color: #c7d2fe; }
.crt--dash .crt-btn.soft:hover { color: #e0e7ff; }
.crt--dash .crt-arrow:hover { background: #4f46e5; color: #fff; }
.crt--dash .crt-opt:hover, .crt--dash .crt-opt.on { background: var(--crt-soft); color: #c7d2fe; }
.crt--dash .crt-sheet header, .crt--dash .crt-mine-row { border-color: var(--lp-line); }
.crt--dash .crt-x { background: rgba(148, 163, 184, .16); color: var(--lp-text); }
.crt--dash .crt-mine-row button { background: var(--lp-bg); color: var(--lp-text); border-color: var(--lp-line); }

/* announcement card */
.crt--dash .crp-name, .crt--dash .crp-text { color: var(--lp-text); }
.crt--dash .crp-name:hover { color: #a5b4fc; }
.crt--dash .crp-court { background: rgba(99, 102, 241, .18); color: #c7d2fe; }
.crt--dash .crp-svc { background: rgba(16, 185, 129, .16); color: #6ee7b7; }
.crt--dash .crp-pill { background: rgba(148, 163, 184, .16); color: #cbd5e1; }
.crt--dash .crp-pill.now { background: rgba(34, 197, 94, .18); color: #86efac; }
.crt--dash .crp-pill.today { background: rgba(59, 130, 246, .2); color: #93c5fd; }
.crt--dash .crp-pill.tomorrow { background: rgba(245, 158, 11, .2); color: #fcd34d; }
.crt--dash .crp-badge { background: rgba(148, 163, 184, .16); color: #cbd5e1; }
.crt--dash .crp-ver { box-shadow: 0 0 0 2px var(--crt-surface); }
.crt--dash .crp.s-past { opacity: .8; }

/* request / offers */
.crt--dash .jb-offer.live { background: linear-gradient(135deg, rgba(245, 158, 11, .14), rgba(99, 102, 241, .12)); border-color: rgba(245, 158, 11, .5); }
.crt--dash .jb-offer.ok { background: rgba(16, 185, 129, .12); border-color: rgba(16, 185, 129, .45); }
.crt--dash .jb-sec, .crt--dash .jb-live em { color: #fbbf24; }
.crt--dash .jb-live { background: linear-gradient(135deg, rgba(245, 158, 11, .18), rgba(99, 102, 241, .16)); border-color: rgba(245, 158, 11, .5); color: #fde68a; }
.crt--dash .jb-mine { background: linear-gradient(135deg, rgba(245, 158, 11, .14), rgba(99, 102, 241, .12)); color: #fde68a; border-color: rgba(245, 158, 11, .5); }
.crt--dash .jb-wait { background: rgba(99, 102, 241, .14); color: #c7d2fe; }
.crt--dash .jb-chip { background: rgba(148, 163, 184, .16); color: #cbd5e1; }
.crt--dash .jb-chip.on { background: rgba(34, 197, 94, .18); color: #86efac; }
.crt--dash .jb-chip.ok { background: rgba(59, 130, 246, .2); color: #93c5fd; }
.crt--dash .jb-state { background: rgba(148, 163, 184, .14); color: #cbd5e1; }
.crt--dash .jb-state.ok { background: rgba(16, 185, 129, .18); color: #6ee7b7; }
.crt--dash .jb-cancel { color: #fca5a5; }
.crt--dash .jb-past summary, .crt--dash .crp-sub, .crt--dash .crp-time, .crt--dash .crt-hintline, .crt--dash .jb-op small { color: var(--lp-muted); }
.crt--dash .crt-tip { background: rgba(16, 185, 129, .14); color: #6ee7b7; }
.crt--dash .crt-err { background: rgba(239, 68, 68, .15); color: #fca5a5; }
.crt--dash .jb-form .crt-submit { box-shadow: 0 14px 28px -14px rgba(99, 102, 241, .9); }
.crt--dash .crt-field > label, .crt--dash .crt-field > .lbl, .crt--dash .jb-h { color: var(--lp-text); }
.crt--dash .crt-field small { color: var(--lp-muted); }
.crt--dash .crt-dash-head h1 { color: var(--lp-text); }
.crt--dash .crt-ov { background: rgba(2, 6, 23, .72); }
.crt--dash .crt-sheet { box-shadow: 0 40px 90px rgba(0, 0, 0, .7); }
.crt--dash .crt-toast { background: #1e293b; border: 1px solid var(--lp-line); }
.crt--dash .jb-new-toggle { background: linear-gradient(135deg, #4f46e5, #7c3aed); }
.crt--dash .crt-empty b { filter: none; }

/* ---- an office's shareable presence page ---- */
.crt-office-hero .crt-hero-inner { gap: .4rem; }
.crt-office-logo { width: 92px; height: 92px; border-radius: 26px; background: #fff; display: grid; place-items: center; overflow: hidden; box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .6); margin-bottom: .6rem; }
.crt-office-logo img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.crt-office-logo b { font-size: 1.8rem; color: #15234d; }
.crt-h1-ver { width: 26px; height: 26px; vertical-align: middle; display: inline-grid; }
.crt-h1-ver svg { width: 15px; height: 15px; }
.crt-hero-links { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-top: .8rem; }
.crt-btn.soft-light { background: rgba(255, 255, 255, .16); color: #fff; box-shadow: none; backdrop-filter: blur(6px); }
.crt-btn.soft-light:hover { background: rgba(255, 255, 255, .28); color: #fff; }
.crt--office .crt-nav { display: none; }
.crt--office .crt-body { padding-top: 0; }
.crt--office .crt-grid { margin-top: -3.2rem; position: relative; z-index: 2; }
@media (max-width: 767px) { .crt--office .crt-grid { margin-top: -2.8rem; } .crt-office-logo { width: 78px; height: 78px; border-radius: 22px; } }

/* ---- share sheet ---- */
.crt-share-link { display: flex; gap: .5rem; align-items: center; padding: .7rem .8rem; border: 1px dashed var(--lp-line, #cbd5e1); border-radius: 14px; background: var(--lp-bg, #f8fafc); direction: ltr; }
.crt-share-link input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: .85rem; color: var(--lp-text, #0f172a); }
.crt-share-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: .5rem; margin-top: .8rem; }
.crt-share-grid a, .crt-share-grid button { display: flex; align-items: center; justify-content: center; gap: .45rem; padding: .75rem; border: 0; border-radius: 13px; color: #fff; font: inherit; font-weight: 800; font-size: .88rem; text-decoration: none; cursor: pointer; }
.crt-sh-wa { background: #22c55e; } .crt-sh-fb { background: #1877f2; } .crt-sh-tg { background: #229ed9; } .crt-sh-nat { background: #6366f1; } .crt-sh-cp { background: #475569; }
.crt-share-text { margin: .8rem 0 0; padding: .8rem; border-radius: 14px; background: rgba(16, 185, 129, .1); color: #047857; font-size: .85rem; line-height: 1.8; white-space: pre-wrap; }
.crt-mine-head { display: flex; align-items: center; justify-content: space-between; gap: .6rem; flex-wrap: wrap; margin-bottom: .6rem; }
.crt-mine-head h3 { margin: 0; }
.crt-sharebtn { padding: .5rem 1rem; border: 0; border-radius: 12px; background: linear-gradient(135deg, #4338ca, #7c3aed); color: #fff; font: inherit; font-weight: 800; font-size: .85rem; cursor: pointer; }
.crt--dash .crt-share-link { background: var(--lp-bg); } .crt--dash .crt-share-link input { color: var(--lp-text); } .crt--dash .crt-share-text { background: rgba(16, 185, 129, .14); color: #6ee7b7; }

/* ===== office presence page: redesign ===== */
.crt-office-hero { padding-bottom: 6.5rem; }
.crt-office-hero .crt-hero-inner { gap: .55rem; }
.crt-office-logo { width: 104px; height: 104px; border-radius: 30px; padding: 4px; background: linear-gradient(135deg, #fbbf24, #8b5cf6); box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .7); margin-bottom: .4rem; display: grid; place-items: center; }
.crt-office-logo img, .crt-office-logo b { width: 100%; height: 100%; border-radius: 26px; background: #fff; display: grid; place-items: center; object-fit: contain; padding: 8px; color: #15234d; font-size: 2rem; }
.crt-office-logo img { padding: 10px; }
.crt-office-status { display: inline-flex; align-items: center; gap: .6rem; padding: .5rem 1.1rem; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #e2e8f0; font-weight: 800; font-size: .95rem; backdrop-filter: blur(6px); }
.crt-office-status.live { background: rgba(34, 197, 94, .2); color: #bbf7d0; border: 1px solid rgba(74, 222, 128, .45); }
.crt-office-status i { width: 10px; height: 10px; border-radius: 50%; background: #4ade80; animation: crtPulse 1.8s infinite; }
.crt-hero-chips { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-top: .2rem; }
.crt-hero-chips span { padding: .35rem .85rem; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #cbd5f5; font-size: .82rem; font-weight: 700; }
.crt-btn--sm { padding: .7rem 1.3rem; border-radius: 16px; }
.crt-btn--sm .hot-ic { width: 38px; height: 38px; font-size: 1.2rem; border-radius: 12px; }
.crt-btn--sm b { font-size: 1rem; }

.crt--office .crt-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; column-gap: 1.2rem; align-items: start; position: relative; z-index: 2; margin-top: -3.8rem; }
.crt--office .crt-mine, .crt--office .crt-grid, .crt--office .crt-more { grid-column: 1; }
.crt--office .crt-grid { grid-template-columns: 1fr; margin: 0; }
.crt--office .crt-office-aside { grid-column: 2; grid-row: 1 / span 6; display: flex; flex-direction: column; gap: 1rem; position: sticky; top: 90px; }
.crt--office .crt-empty { background: #fff; }
.crt--office .crp { padding: 1.3rem; gap: 1rem; border-radius: 24px; }
.crt--office .crp-av { width: 58px; height: 58px; }
.crt--office .crp-court { font-size: .95rem; padding: .5rem .95rem; }
.crt--office .crp-acts .crt-btn { padding: .85rem 1rem; font-size: .95rem; }
.crt-side-card { padding: 1.2rem; }
.crt-side-card h3 { margin: 0 0 .7rem; font-size: 1rem; font-weight: 800; }
.crt-side-text { margin: 0 0 .8rem; color: var(--lp-muted, #64748b); font-size: .88rem; line-height: 1.8; }
.crt-side-list { list-style: none; margin: 0 0 .8rem; padding: 0; display: flex; flex-direction: column; gap: .5rem; font-size: .88rem; font-weight: 700; }
.crt-side-list li { display: flex; align-items: center; gap: .6rem; } .crt-side-list i { font-style: normal; width: 24px; text-align: center; }
.crt-side-cta { padding: 1.3rem; border-radius: 22px; color: #fff; background: radial-gradient(circle at 0 0, rgba(255, 255, 255, .22), transparent 50%), linear-gradient(135deg, #4338ca, #7c3aed 60%, #db2777); box-shadow: 0 18px 40px -18px rgba(124, 58, 237, .8); }
.crt-side-cta b { display: block; font-size: 1.05rem; margin-bottom: .3rem; }
.crt-side-cta p { margin: 0 0 .9rem; font-size: .86rem; opacity: .92; line-height: 1.7; }
.crt-side-cta .crt-btn--hot { background: #fff; color: #4338ca; animation: none; box-shadow: none; }
.crt-side-cta .crt-btn--hot::after { display: none; }
.crt-side-cta .crt-btn--hot .hot-ic { background: rgba(79, 70, 229, .12); animation: none; }
.crt-timeline { display: flex; flex-direction: column; gap: .75rem; position: relative; }
.crt-tl { display: flex; gap: .7rem; align-items: flex-start; }
.crt-tl i { flex: none; width: 10px; height: 10px; margin-top: .45rem; border-radius: 50%; background: #a5b4fc; box-shadow: 0 0 0 4px rgba(165, 180, 252, .25); }
.crt-tl b { display: block; font-size: .86rem; line-height: 1.5; } .crt-tl small { color: var(--lp-muted, #64748b); }
.crt-views { display: block; margin-top: 3px; font-style: normal; font-weight: 800; font-size: .8rem; color: #6366f1; }
.crt-views small { font-weight: 600; color: var(--lp-muted, #64748b); }
.crt--dash .crt-views { color: #a5b4fc; }
@media (max-width: 991px) {
  .crt--office .crt-body { grid-template-columns: 1fr; }
  .crt--office .crt-office-aside { grid-column: 1; grid-row: auto; position: static; margin-top: 1.2rem; }
}
@media (max-width: 767px) {
  .crt-office-hero { padding-bottom: 5.6rem; }
  .crt-office-logo { width: 88px; height: 88px; border-radius: 26px; }
  .crt--office .crt-body { margin-top: -3.2rem; }
  .crt--office .crp { padding: 1.05rem; }
  .crt-hero-links .crt-btn { flex: 1 1 100%; }
  .crt-hero-links .crt-btn--hot { width: 100%; justify-content: flex-start; }
}

/* ---- status pill: compact (was too big and loose) ---- */
.crp-pill { gap: .3rem; padding: .18rem .55rem; font-size: .68rem; font-weight: 800; line-height: 1.55; letter-spacing: 0; border-radius: 8px; border: 1px solid transparent; }
.crp-pill.now { border-color: rgba(22, 163, 74, .3); }
.crp-pill.today { border-color: rgba(37, 99, 235, .25); }
.crp-pill.tomorrow { border-color: rgba(217, 119, 6, .3); }
.crp-pill.now i { width: 6px; height: 6px; }
.crp-pill--where { margin-top: 3px; }
.crt--office .crp-pill { font-size: .72rem; padding: .22rem .6rem; }
@media (max-width: 767px) { .crp-pill { font-size: .66rem; padding: .16rem .5rem; } }

.crt-link-light { display: inline-flex; align-items: center; padding: .4rem .6rem; color: rgba(255, 255, 255, .85); font-weight: 700; font-size: .85rem; text-decoration: underline; text-underline-offset: 3px; }
.crt-link-light:hover { color: #fde68a; }
