/* Counselor & Mentor Portal. Since v2.0 (2026-12-05) the portal has its own look ("Focus inbox"): the shell and the
   restyled cards / buttons / alerts at the end of this file, scoped by body.exp-app. institute-portal.css still loads
   underneath for the shared form and account pieces (same tokens: --ip-blue is the brand #015caa). */

/* sign-up: counselor / mentor choice */
.exp-roles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 6px; }
.exp-role { display: block; margin: 0; cursor: pointer; }
.exp-role input { position: absolute; opacity: 0; pointer-events: none; }
.exp-role-card { display: flex; align-items: center; gap: 12px; height: 100%; padding: 12px 14px; border: 1px solid #cbd5e1; border-radius: 10px;
    background: #fff; transition: border-color .15s, box-shadow .15s, background .15s; }
.exp-role-card > .fa { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    background: #eaf2fb; color: var(--ip-blue); font-size: 18px; }
.exp-role-card b { display: block; color: var(--ip-ink); font-size: 14.5px; }
.exp-role-card small { display: block; color: var(--ip-muted); font-size: 12px; line-height: 1.35; margin-top: 2px; }
.exp-role:hover .exp-role-card { border-color: var(--ip-blue); }
.exp-role input:checked + .exp-role-card { border-color: var(--ip-blue); background: #f1f7fd; box-shadow: 0 0 0 3px rgba(1, 92, 170, .15); }
.exp-role input:checked + .exp-role-card > .fa { background: var(--ip-blue); color: #fff; }
.exp-role input:focus-visible + .exp-role-card { outline: 2px solid var(--ip-blue); outline-offset: 2px; }
@media (max-width: 520px) { .exp-roles { grid-template-columns: 1fr; } }

/* role tag (user menu, dashboard) */
.exp-role-tag--counselor { background: #e0ecf8; color: var(--ip-blue); }
.exp-role-tag--mentor { background: #e7f6ec; color: #15803d; }

/* menu items of the next phases: greyed, not links */
.exp-nav-soon { position: relative; display: flex; align-items: center; gap: 11px; min-height: 40px; padding: 0 10px; border-radius: 9px;
    color: #94a3b8; cursor: default; font-size: 14px; }
.exp-nav-soon .fa { width: 30px; height: 30px; flex: 0 0 30px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center;
    background: #f1f5f9; color: #94a3b8; }
.exp-nav-soon > span { flex: 1 1 auto; min-width: 0; }
.exp-nav-soon em { font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
    padding: 2px 7px; border-radius: 999px; background: #f1f5f9; color: #64748b; }
@media (min-width: 992px) {
    html.ip-collapsed .exp-nav-soon { justify-content: center; padding: 0; }
    html.ip-collapsed .exp-nav-soon > span, html.ip-collapsed .exp-nav-soon em { display: none; }
}

/* dashboard */
.exp-welcome { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.exp-welcome h2 { margin: 0 0 4px; }
.exp-welcome .ip-card-sub { margin: 0; }
.exp-welcome .ip-role { flex: 0 0 auto; margin: 0; font-size: 12px; padding: 4px 12px; }
.exp-progress { height: 6px; border-radius: 999px; background: #eef2f7; overflow: hidden; margin: 0 0 6px; }
.exp-progress span { display: block; height: 100%; background: var(--ip-green); border-radius: 999px; }
.exp-steps { list-style: none; margin: 0; padding: 0; }
.exp-steps li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--ip-line); }
.exp-steps li:first-child { border-top: 0; }
.exp-step-num { width: 32px; height: 32px; flex: 0 0 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 13px; background: #eaf2fb; color: var(--ip-blue); }
.exp-steps li.is-done .exp-step-num { background: var(--ip-green); color: #fff; }
.exp-step-text { flex: 1 1 auto; min-width: 0; }
.exp-step-text b { display: block; color: var(--ip-ink); font-size: 14.5px; }
.exp-step-text span { display: block; color: var(--ip-muted); font-size: 13px; margin-top: 2px; }
.exp-steps li.is-done .exp-step-text b { color: var(--ip-muted); }
.exp-step-later { flex: 0 0 auto; font-size: 12px; font-weight: 600; color: var(--ip-muted); padding: 4px 10px; border-radius: 999px; background: #f1f5f9; }
.exp-steps .ip-btn { flex: 0 0 auto; }
@media (max-width: 520px) { .exp-welcome { flex-direction: column; align-items: flex-start; } }

/* ---------------------------------------------------------------- My Profile (phase B) */
.exp-checklist .ip-card-head { align-items: center; }
.exp-checklist-count { font-size: 20px; color: var(--ip-ink); }
.exp-missing { margin: 10px 0 0; font-size: 13.5px; color: var(--ip-muted); line-height: 1.7; }
.exp-missing a { color: var(--ip-blue); font-weight: 600; }
.exp-missing.is-ready { color: #15803d; font-weight: 600; }
.exp-note { font-style: italic; }

.exp-section { scroll-margin-top: 80px; }
.exp-section-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.exp-section-head h2 { margin: 0; font-size: 17px; }
.exp-section-head p { margin: 2px 0 0; font-size: 13px; color: var(--ip-muted); }
.exp-section-head .req, .exp-section .req { color: var(--ip-red); }
.exp-section-icon { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
    background: #eaf2fb; color: var(--ip-blue); font-size: 17px; }
.exp-label-hint { font-weight: 400; color: var(--ip-muted); }
.exp-section textarea { width: 100%; padding: 9px 12px; border: 1px solid #cbd5e1; border-radius: 8px; font-size: 14px; color: var(--ip-ink); font-family: inherit; resize: vertical; }
.exp-section textarea:focus { outline: none; border-color: var(--ip-blue); box-shadow: 0 0 0 3px rgba(1, 92, 170, .15); }
.exp-count.is-short { color: var(--ip-amber); }

/* photo */
.exp-photo-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.exp-photo { width: 110px; height: 110px; flex: 0 0 110px; border-radius: 50%; overflow: hidden; background: #eaf2fb; border: 1px solid var(--ip-line);
    display: flex; align-items: center; justify-content: center; }
.exp-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.exp-photo-initials { font-size: 32px; font-weight: 700; color: var(--ip-blue); }
.exp-photo-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.exp-photo-actions form { margin: 0; display: flex; gap: 8px; align-items: center; }

/* career field chips */
.exp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.exp-chip { margin: 0; cursor: pointer; }
.exp-chip input { position: absolute; opacity: 0; pointer-events: none; }
.exp-chip span { display: inline-flex; align-items: center; min-height: 34px; padding: 6px 12px; border: 1px solid #cbd5e1; border-radius: 999px;
    font-size: 13px; color: #334155; background: #fff; transition: all .15s; }
.exp-chip:hover span { border-color: var(--ip-blue); }
.exp-chip input:checked + span { background: var(--ip-blue); border-color: var(--ip-blue); color: #fff; }
.exp-chip input:focus-visible + span { outline: 2px solid var(--ip-blue); outline-offset: 2px; }
.exp-chip.is-off { cursor: not-allowed; opacity: .5; }

/* repeating rows */
.exp-rows { display: flex; flex-direction: column; gap: 12px; margin-bottom: 12px; }
.exp-row { position: relative; padding: 14px 44px 4px 14px; border: 1px solid var(--ip-line); border-radius: 10px; background: #fafcff; }
.exp-row-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 12px; align-items: end; }
.exp-row-grid .exp-wide { grid-column: 1 / -1; }
.exp-row-check { align-self: center; margin-bottom: 14px !important; }
.exp-row-remove { position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; border-radius: 50%; border: 1px solid #fecaca; background: #fff;
    color: var(--ip-red); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.exp-row-remove:hover { background: #fef2f2; }
.exp-rows-empty { margin: 0 0 12px; font-size: 13px; color: var(--ip-muted); }
@media (max-width: 760px) { .exp-row-grid { grid-template-columns: 1fr; } }

/* documents */
.exp-docs { list-style: none; margin: 0 0 16px; padding: 0; }
.exp-docs li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--ip-line); }
.exp-docs li:first-child { border-top: 0; }
.exp-docs form { margin: 0; }
.exp-doc-icon { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 8px; background: #fef2f2; color: var(--ip-red); display: inline-flex; align-items: center; justify-content: center; font-size: 17px; }
.exp-doc-text { flex: 1 1 auto; min-width: 0; }
.exp-doc-text a { display: block; font-weight: 600; color: var(--ip-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.exp-doc-text span { display: block; font-size: 12px; color: var(--ip-muted); }
.exp-doc-form { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; padding-top: 14px; border-top: 1px dashed var(--ip-line); }
.exp-doc-form .inst-field { margin: 0; flex: 0 0 210px; }
.exp-doc-form .exp-doc-file { flex: 1 1 240px; }
.exp-doc-form input[type=file] { height: auto; padding: 7px 10px; }

/* the save bar */
.exp-savebar { position: sticky; bottom: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
    margin: 18px -4px 0; padding: 12px 16px; background: rgba(255, 255, 255, .96); border: 1px solid var(--ip-line); border-radius: 12px;
    box-shadow: 0 -6px 18px rgba(15, 23, 42, .06); }
.exp-savebar-text { font-size: 13px; color: var(--ip-muted); }
#exp-dirty { color: var(--ip-amber); font-weight: 600; }
#exp-dirty .fa { font-size: 8px; vertical-align: middle; }
.exp-savebar-btns { display: flex; gap: 8px; }

/* elements hidden with the "hidden" attribute stay hidden even when a button class sets display */
.ip-body [hidden] { display: none !important; }

/* the hidden checkbox / radio inside a chip or role card: tiny and kept inside it (".inst-field input" would make it full width) */
.exp-chip, .exp-role { position: relative; }
.exp-chip input, .exp-role input { width: 1px !important; height: 1px !important; padding: 0 !important; border: 0 !important; top: 0; left: 0; }

/* ---------------------------------------------------------------- Sessions (phase C) */
.exp-muted { color: var(--ip-muted); font-weight: 400; }
.exp-warn { color: var(--ip-amber); font-weight: 600; }
.exp-back { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 12px; font-size: 13.5px; font-weight: 600; color: var(--ip-blue); }
.exp-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 14px; }
.exp-tab { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--ip-line);
    background: #fff; color: #334155; font-size: 13.5px; font-weight: 600; text-decoration: none !important; }
.exp-tab:hover { border-color: var(--ip-blue); color: var(--ip-blue); }
.exp-tab.is-on { background: var(--ip-blue); border-color: var(--ip-blue); color: #fff; }
.exp-tab em { font-style: normal; font-size: 11px; min-width: 20px; padding: 2px 6px; border-radius: 999px; background: #eef2f7; color: #334155; text-align: center; }
.exp-tab.is-on em { background: rgba(255, 255, 255, .22); color: #fff; }
.exp-tab em.is-hot { background: var(--ip-amber); color: #fff; }
.exp-sessions { display: flex; flex-direction: column; gap: 10px; }
.exp-sess { display: flex; align-items: center; gap: 16px; padding: 14px 16px; background: #fff; border: 1px solid var(--ip-line); border-radius: 12px; }
.exp-sess.is-request { border-color: #fcd34d; background: #fffbeb; }
.exp-sess-date { width: 58px; flex: 0 0 58px; text-align: center; border-radius: 10px; background: #eaf2fb; color: var(--ip-blue); padding: 6px 0; line-height: 1.1; }
.exp-sess-date span, .exp-sess-date small { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.exp-sess-date b { display: block; font-size: 22px; }
.exp-sess-date.is-lg { width: 72px; flex-basis: 72px; padding: 8px 0; }
.exp-sess-date.is-lg b { font-size: 28px; }
.exp-sess-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; align-items: flex-start; }
.exp-sess-main > b { color: var(--ip-ink); font-size: 15px; }
.exp-sess-main h2 { margin: 0; font-size: 18px; }
.exp-sess-meta { font-size: 13px; color: var(--ip-muted); }
.exp-fit { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: #e7f6ec; color: #15803d; }
.exp-fit.is-blue { background: #eaf2fb; color: var(--ip-blue); }
.exp-sess-btns { display: flex; gap: 6px; flex: 0 0 auto; }
.exp-sess-btns form { margin: 0; }
.exp-sess-head { display: flex; align-items: center; gap: 18px; }
.exp-status { display: inline-block; margin-top: 4px; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.exp-status--upcoming { background: #eaf2fb; color: var(--ip-blue); }
.exp-status--done { background: #e7f6ec; color: #15803d; }
.exp-status--noshow { background: #fef3c7; color: #92400e; }
.exp-inline-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.exp-inline-btns form { margin: 0; }
.exp-release { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 16px 0 0; padding-top: 14px;
    border-top: 1px dashed var(--ip-line); font-size: 13px; color: var(--ip-muted); }
.exp-doc-icon.is-blue { background: #eaf2fb; color: var(--ip-blue); }
@media (max-width: 640px) {
    .exp-sess, .exp-sess-head { flex-wrap: wrap; }
    .exp-sess-btns { width: 100%; }
}

/* availability */
.exp-week { list-style: none; margin: 0; padding: 0; }
.exp-week li { display: flex; align-items: center; gap: 16px; padding: 10px 0; border-top: 1px solid var(--ip-line); }
.exp-week li:first-child { border-top: 0; }
.exp-week li > b { width: 110px; flex: 0 0 110px; color: var(--ip-ink); font-size: 14px; }
.exp-week-slots { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; }
.exp-slot { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 4px 6px 4px 12px; border-radius: 999px; background: #e7f6ec; color: #15803d; font-weight: 600; }
.exp-slot button { width: 22px; height: 22px; border: 0; border-radius: 50%; background: rgba(21, 128, 61, .12); color: #15803d; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.exp-slot button:hover { background: #fee2e2; color: var(--ip-red); }

/* meeting */
.exp-meet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.exp-meet-head h2 { margin: 0 0 2px; font-size: 18px; }
.exp-stage { position: relative; height: min(68vh, 620px); min-height: 360px; border-radius: 12px; background: #0f172a; overflow: hidden; }
.exp-wait { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px; color: #e2e8f0; }
.exp-wait h3 { color: #fff; margin: 12px 0 6px; font-size: 20px; }
.exp-wait p { margin: 0 0 16px; color: #cbd5e1; max-width: 420px; }
.exp-wait-icon { width: 64px; height: 64px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 26px; background: rgba(255, 255, 255, .1); color: #fff; }
.exp-wait-icon.is-ok { background: var(--ip-green); }
.exp-wait-icon.is-warn { background: var(--ip-amber); }
.exp-frame { position: absolute; inset: 0; }
.exp-err { margin: 12px 0 0; color: #fecaca; font-size: 13.5px; }
.exp-modal .exp-err { color: var(--ip-red); }
.exp-meet-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 12px; font-size: 13px; }
.exp-modal { position: fixed; inset: 0; z-index: 50; background: rgba(15, 23, 42, .55); display: flex; align-items: center; justify-content: center; padding: 16px; }
.exp-modal-box { width: 100%; max-width: 440px; background: #fff; border-radius: 14px; padding: 24px; text-align: center; }
.exp-modal-box h3 { margin: 0 0 6px; font-size: 19px; color: var(--ip-ink); }
.exp-modal-box p { color: var(--ip-muted); font-size: 14px; margin: 0 0 16px; }
.exp-modal-btns { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }

/* dashboard numbers */
.exp-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0 0 16px; }
.exp-kpi { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; background: #fff; border: 1px solid var(--ip-line); border-radius: 12px;
    text-decoration: none !important; color: var(--ip-ink) !important; }
.exp-kpi:hover { border-color: var(--ip-blue); }
.exp-kpi span { font-size: 12.5px; font-weight: 600; color: var(--ip-muted); }
.exp-kpi b { font-size: 26px; line-height: 1.2; }
.exp-kpi small { font-size: 12px; color: var(--ip-muted); }
.exp-kpi.is-hot { border-color: #fcd34d; background: #fffbeb; }
@media (max-width: 760px) { .exp-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------------------------------------------------------------- Earnings (phase D) */
.exp-tier { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px 24px; align-items: center; }
.exp-tier-now { text-align: center; padding: 16px; border-radius: 12px; background: #eaf2fb; }
.exp-tier-now span { display: block; font-size: 12.5px; font-weight: 700; color: var(--ip-blue); text-transform: uppercase; letter-spacing: .04em; }
.exp-tier-now b { display: block; font-size: 44px; line-height: 1.1; color: var(--ip-blue); }
.exp-tier-now small { display: block; font-size: 12px; color: var(--ip-muted); }
.exp-tier-next p { margin: 0 0 8px; color: #334155; }
.exp-tier-steps { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; list-style: none; margin: 0; padding: 0; }
.exp-tier-steps li { padding: 10px 12px; border-radius: 10px; border: 1px solid var(--ip-line); text-align: center; }
.exp-tier-steps b { display: block; font-size: 18px; color: var(--ip-ink); }
.exp-tier-steps span { display: block; font-size: 12px; color: var(--ip-muted); }
.exp-tier-steps li.is-done { background: #f8fafc; }
.exp-tier-steps li.is-done b { color: var(--ip-muted); }
.exp-tier-steps li.is-now { border-color: var(--ip-blue); background: #f1f7fd; box-shadow: 0 0 0 3px rgba(1, 92, 170, .12); }
.exp-tier-steps li.is-now b { color: var(--ip-blue); }
.exp-pay { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.exp-pay--waiting { background: #f1f5f9; color: #475569; }
.exp-pay--payable { background: #fef3c7; color: #92400e; }
.exp-pay--paid { background: #e7f6ec; color: #15803d; }
.exp-doc-icon.is-green { background: #e7f6ec; color: #15803d; }
@media (max-width: 760px) {
    .exp-tier { grid-template-columns: 1fr; }
    .exp-tier-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.exp-nowrap { white-space: nowrap; }
.exp-kpi b { white-space: nowrap; font-size: clamp(18px, 2vw, 26px); }

/* sign-in / sign-up side panel: the portal's name on one line, the sign-in picture on a white card */
.inst-auth-side h1.exp-auth-title { font-size: 21px; white-space: nowrap; letter-spacing: -.01em; }
/* the sign-in picture (transparent): straight on the blue panel, a soft shadow under it */
.exp-auth-photo { display: block; width: 100%; max-width: 340px; height: auto; margin: 24px auto 0; filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .22)); }
.inst-auth-side.is-compact .exp-auth-photo { margin: auto; }
@media (max-width: 420px) { .inst-auth-side h1.exp-auth-title { font-size: 18px; } }

/* what the student wants to discuss (Career Snapshot plan) */
.exp-student-note { margin: 0 0 10px; padding: 12px 14px; border-left: 4px solid var(--ip-blue); background: #f1f7fd; border-radius: 0 10px 10px 0; font-size: 15px; color: var(--ip-ink); }
.exp-topics { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 6px; }
.exp-topic { display: inline-block; font-size: 11.5px; padding: 2px 9px; border-radius: 999px; background: #f1f5f9; color: #475569; }
.exp-sub { font-size: 16px; margin: 18px 0 10px; color: var(--ip-ink); }

/* Resources (ExpertPortalResourceController): category chips + search, cards, one resource's page */
.exp-must > .ip-btn { flex: 0 0 auto; }
.exp-res-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 16px; }
.exp-res-cats { display: flex; flex-wrap: wrap; gap: 6px; flex: 1 1 auto; }
.exp-res-cat { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--ip-line); background: #fff; color: var(--ip-text);
    font: inherit; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; cursor: pointer; }
.exp-res-cat em { font-style: normal; font-size: 11.5px; color: var(--ip-muted); background: var(--ip-soft); border-radius: 999px; padding: 0 7px; line-height: 18px; }
.exp-res-cat:hover { border-color: var(--ip-blue); color: var(--ip-blue); }
.exp-res-cat.is-on { background: var(--ip-blue); border-color: var(--ip-blue); color: #fff; }
.exp-res-cat.is-on em { background: rgba(255, 255, 255, .22); color: #fff; }
.exp-res-search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--ip-line); border-radius: 10px; padding: 0 12px; background: #fff;
    flex: 0 1 260px; min-width: 200px; margin: 0; color: var(--ip-muted); }
.exp-res-search input { border: 0; outline: 0; background: transparent; font: inherit; font-size: 14px; padding: 9px 0; width: 100%; color: var(--ip-ink); }
.exp-res-search:focus-within { border-color: var(--ip-blue); box-shadow: 0 0 0 3px rgba(1, 92, 170, .12); }
.exp-res-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.exp-res { display: flex; flex-direction: column; gap: 12px; border: 1px solid var(--ip-line); border-radius: 12px; padding: 16px; background: #fff; }
.exp-res[hidden] { display: none; }
.exp-res:hover { border-color: #bcd3ea; box-shadow: 0 8px 20px -16px rgba(1, 92, 170, .5); }
.exp-res.is-must { border-color: var(--ip-blue); background: #f7fbff; box-shadow: 0 0 0 3px rgba(1, 92, 170, .08); }
.exp-res-icon { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 12px; background: #eaf2fb; color: var(--ip-blue);
    display: inline-flex; align-items: center; justify-content: center; font-size: 21px; }
.exp-res-main { flex: 1 1 auto; min-width: 0; }
.exp-res-main h3 { font-size: 15.5px; margin: 6px 0 4px; line-height: 1.35; }
.exp-res-main h3 a { color: var(--ip-ink); text-decoration: none; }
.exp-res-main h3 a:hover { color: var(--ip-blue); }
.exp-res-main p { margin: 0; font-size: 13.5px; color: var(--ip-muted); line-height: 1.5; }
.exp-res-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.exp-res-cat-tag { font-size: 11.5px; font-weight: 700; color: var(--ip-blue); text-transform: uppercase; letter-spacing: .04em; }
.exp-res-tag { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 700; padding: 2px 9px; border-radius: 999px; }
.exp-res-tag.is-new { background: #eaf2fb; color: var(--ip-blue); }
.exp-res-tag.is-must { background: var(--ip-blue); color: #fff; }
.exp-res-tag.is-ok { background: #e7f6ec; color: #15803d; }
.exp-res-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--ip-soft); padding-top: 12px; font-size: 12.5px; }
.exp-res > .exp-res-icon { align-self: flex-start; }
.exp-res-page-head { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; }
.exp-res-page-head h2 { font-size: 21px; margin: 2px 0 4px; color: var(--ip-ink); }
.exp-res-page-head .exp-res-icon { width: 54px; height: 54px; flex-basis: 54px; font-size: 25px; }
.exp-res-body { font-size: 15px; line-height: 1.75; color: var(--ip-text); border-top: 1px solid var(--ip-line); padding-top: 16px; max-width: 820px; overflow-wrap: anywhere; }
.exp-res-open { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; border-top: 1px solid var(--ip-line); padding-top: 16px; }
.exp-res-open .ip-btn { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.exp-res-accept { margin: 20px 0 0; }
.exp-res-accept-form { margin: 22px 0 0; padding: 16px; border-radius: 12px; background: #f1f7fd; border: 1px solid #cfe0f2; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.exp-res-check { display: flex; align-items: center; gap: 10px; flex: 1 1 320px; margin: 0; font-size: 14.5px; font-weight: 600; color: var(--ip-ink); cursor: pointer; }
.exp-res-check input { width: 18px; height: 18px; flex: 0 0 18px; margin: 0; accent-color: var(--ip-blue); }
@media (max-width: 560px) {
    .exp-res-search { flex: 1 1 100%; }
    .exp-must { flex-wrap: wrap; }
    .exp-must > div { flex: 1 1 calc(100% - 42px); }
    .exp-must > .ip-btn { margin-left: 42px; }
    .exp-res-accept-form .ip-btn { width: 100%; justify-content: center; }
}

/* Earnings: a heading row per payout week */
.ip-table tr.exp-week-row td { background: #f1f7fd; color: var(--ip-ink); font-size: 13px; padding-top: 9px; padding-bottom: 9px; border-top: 1px solid #cfe0f2; }

/* Feedback (ExpertFeedbackController): question bars, week cards, comments */
.exp-fb-of { font-size: 14px; color: var(--ip-muted); font-weight: 600; }
.exp-fb-stars { color: #f59e0b; letter-spacing: 1px; }
.exp-fb-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.exp-fb-bars li { display: grid; grid-template-columns: minmax(200px, 340px) 1fr 40px; align-items: center; gap: 14px; }
.exp-fb-q { font-size: 14px; color: var(--ip-ink); display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.exp-fb-q em { font-style: normal; font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 999px; background: #fef3c7; color: #92400e; }
.exp-fb-bar { height: 10px; border-radius: 999px; background: var(--ip-soft); overflow: hidden; }
.exp-fb-bar span { display: block; height: 100%; border-radius: 999px; background: var(--ip-blue); }
.exp-fb-bars li.is-low .exp-fb-bar span { background: var(--ip-amber); }
.exp-fb-bars b { text-align: right; color: var(--ip-ink); font-size: 14px; }
.exp-fb-weeks { display: grid; gap: 12px; }
.exp-fb-week { border: 1px solid var(--ip-line); border-radius: 12px; padding: 14px 16px; }
.exp-fb-week-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.exp-fb-week-head h3 { font-size: 15px; margin: 0; color: var(--ip-ink); }
.exp-fb-week-head .exp-muted { font-size: 13px; }
.exp-fb-moods { display: inline-flex; gap: 6px; margin-left: auto; }
.exp-fb-mood { font-size: 11.5px; font-weight: 700; padding: 2px 9px; border-radius: 999px; white-space: nowrap; }
.exp-fb-mood.is-good { background: #e7f6ec; color: #15803d; }
.exp-fb-mood.is-okay { background: #f1f5f9; color: #475569; }
.exp-fb-mood.is-poor { background: #fee2e2; color: #b91c1c; }
.exp-fb-comments { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.exp-fb-comments li { padding: 10px 14px; border-left: 4px solid var(--ip-blue); background: #f1f7fd; border-radius: 0 10px 10px 0; font-size: 14px; color: var(--ip-ink); line-height: 1.55; overflow-wrap: anywhere; }
.exp-fb-none { margin: 10px 0 0; font-size: 13px; }
@media (max-width: 640px) {
    .exp-fb-bars li { grid-template-columns: 1fr 40px; gap: 6px 10px; }
    .exp-fb-q { grid-column: 1 / -1; }
    .exp-fb-moods { margin-left: 0; }
}
.exp-fb-dash { display: flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; }
.exp-fb-dash:hover { border-color: #bcd3ea; }
.exp-fb-dash .exp-res-icon { background: #fef3c7; color: #d97706; }
.exp-fb-dash-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.exp-fb-dash-text b { color: var(--ip-ink); font-size: 16px; }
.exp-fb-dash-text span { color: var(--ip-muted); font-size: 13px; }
@media (max-width: 560px) { .exp-fb-dash { flex-wrap: wrap; } .exp-fb-dash-text { flex: 1 1 calc(100% - 58px); } .exp-fb-dash > .ip-btn { margin-left: 58px; } }

/* "Session done": the quick questions for the team (ExpertSessionReview) */
.exp-finish { margin: 4px 0 0; padding: 18px; border: 1px solid #cfe0f2; background: #f7fbff; border-radius: 12px; }
.exp-finish[hidden], .exp-inline-btns[hidden] { display: none; }
.exp-finish h3 { margin: 0 0 4px; font-size: 17px; color: var(--ip-ink); }
.exp-finish > p { margin: 0 0 14px; font-size: 13.5px; }
.exp-q { border: 0; margin: 0 0 16px; padding: 0; min-width: 0; }
.exp-q legend { font-size: 14.5px; font-weight: 700; color: var(--ip-ink); margin: 0 0 8px; padding: 0; }
.exp-q-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.exp-q-opt { margin: 0; cursor: pointer; }
.exp-q-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.exp-q-opt span { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px; border: 1px solid var(--ip-line); border-radius: 999px; background: #fff;
    font-size: 13.5px; font-weight: 600; color: var(--ip-text); transition: border-color .15s, background .15s; }
.exp-q-opt:hover span { border-color: var(--ip-blue); }
.exp-q-opt input:checked + span { background: var(--ip-blue); border-color: var(--ip-blue); color: #fff; }
.exp-q-opt input:focus-visible + span { box-shadow: 0 0 0 3px rgba(1, 92, 170, .25); }
.exp-q-note { display: block; width: 100%; margin: 10px 0 0; padding: 9px 12px; border: 1px solid var(--ip-line); border-radius: 10px; font: inherit; font-size: 14px; background: #fff; color: var(--ip-ink); }
.exp-q-note:focus { outline: 0; border-color: var(--ip-blue); box-shadow: 0 0 0 3px rgba(1, 92, 170, .12); }
.exp-q-note[hidden], .exp-q-hint[hidden] { display: none; }
.exp-q-hint { display: block; margin: 6px 0 0; font-size: 12.5px; color: var(--ip-muted); }

/* empty states with a title: the title, a gap, then one or two lines of text */
.ip-empty .exp-empty-title { display: block; margin: 0 0 6px; font-size: 15.5px; color: var(--ip-ink); }
.ip-empty .exp-empty-text { display: block; max-width: 460px; margin: 0 auto; line-height: 1.6; }
.exp-res-body p { margin: 0 0 12px; }
.exp-res-body p:last-child { margin-bottom: 0; }
.exp-res-point { display: flex; gap: 10px; }
.exp-res-point b { flex: 0 0 22px; color: var(--ip-blue); }

/* ============================================================================================================
   v2.0 · the portal's own look ("Focus inbox", 2026-12-05). Scoped by body.exp-app (the auth pages don't have it).
   ============================================================================================================ */
body.exp-app { background: #fff; }
.exp-app [hidden] { display: none !important; }

/* shell: light sidebar + main */
.exp-shell { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: 100vh; }
.exp-side { position: sticky; top: 0; height: 100vh; overflow-y: auto; scrollbar-width: none; display: flex; flex-direction: column;
    background: #fafbfc; border-right: 1px solid var(--ip-line); padding: 20px 14px 14px; }
.exp-side::-webkit-scrollbar { display: none; }
.exp-brand { display: flex; align-items: center; gap: 10px; padding: 0 8px 16px; text-decoration: none !important; }
.exp-brand img { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 9px; display: block; }
.exp-brand b { display: block; font-size: 16.5px; font-weight: 700; color: var(--ip-blue); line-height: 1.15; }
.exp-brand small { display: block; font-size: 11.5px; color: var(--ip-muted); line-height: 1.3; }
.exp-find { position: relative; display: flex; align-items: center; margin: 0 0 12px; }
.exp-find .fa { position: absolute; left: 11px; color: #94a3b8; font-size: 12px; pointer-events: none; }
.exp-find input { width: 100%; height: 36px; padding: 0 30px 0 31px; border: 1px solid var(--ip-line); border-radius: 10px; background: #fff;
    font: inherit; font-size: 13px; color: var(--ip-ink); }
.exp-find input:focus { outline: none; border-color: var(--ip-blue); box-shadow: 0 0 0 3px rgba(1, 92, 170, .12); }
.exp-find kbd { position: absolute; right: 8px; font: 600 10.5px/1 Arial, sans-serif; color: #64748b; background: #f1f5f9;
    border: 1px solid var(--ip-line); border-radius: 5px; padding: 3px 6px; }
.exp-find input:focus ~ kbd, .exp-find input:not(:placeholder-shown) ~ kbd { display: none; }
.exp-nav { flex: 1 1 auto; }
.exp-nav-group { padding: 6px 0; margin: 0; border-top: 1px solid var(--ip-line); }
.exp-nav-group:first-child { border-top: 0; padding-top: 0; }
.exp-nav a { display: flex; align-items: center; gap: 12px; min-height: 40px; padding: 0 10px 0 12px; margin: 0 0 2px; border-radius: 10px;
    color: #4b5563; font-weight: 500; font-size: 14px; text-decoration: none; }
.exp-nav a .fa { width: 18px; flex: 0 0 18px; text-align: center; color: #9ca3af; font-size: 15px; }
.exp-nav a span { flex: 1 1 auto; min-width: 0; }
.exp-nav a:hover { background: #eef2f6; color: var(--ip-ink); }
.exp-nav a.is-active { background: var(--ip-blue); color: #fff; }
.exp-nav a.is-active .fa { color: #fff; }
.exp-nav a.is-first { box-shadow: inset 0 0 0 1px var(--ip-blue); }
.exp-app .exp-nav-soon { gap: 12px; padding: 0 10px 0 12px; margin: 0 0 2px; font-size: 14px; }
.exp-app .exp-nav-soon .fa { width: 18px; height: auto; flex: 0 0 18px; background: none; font-size: 15px; color: #cbd5e1; }
.exp-nav-empty { margin: 4px 12px 12px; font-size: 13px; color: var(--ip-muted); }
.exp-count { font-style: normal; font-size: 11px; font-weight: 700; line-height: 1; min-width: 22px; text-align: center; padding: 4px 7px;
    border-radius: 999px; background: #e2e8f0; color: #475569; }
.exp-count.is-red { background: #fee2e2; color: var(--ip-red); }
.exp-count.is-amber { background: #fef3c7; color: #92400e; }
.exp-count.is-green { background: #e7f6ec; color: #15803d; }
.exp-nav a.is-active .exp-count { background: #fff; color: var(--ip-blue); }
.exp-me { display: flex; align-items: center; gap: 4px; margin-top: 10px; padding: 9px 6px 9px 10px; border: 1px solid var(--ip-line);
    border-radius: 12px; background: #fff; }
.exp-me-main { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none !important; }
.exp-me-text { min-width: 0; display: flex; flex-direction: column; }
.exp-me-text b { font-size: 13px; color: var(--ip-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.exp-me-text small { font-size: 11px; color: var(--ip-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.exp-me form { margin: 0; }
.exp-me-out { width: 32px; height: 32px; border: 0; border-radius: 8px; background: transparent; color: #94a3b8; cursor: pointer; font-size: 15px; }
.exp-me-out:hover { background: #fef2f2; color: var(--ip-red); }

/* round initials (people) */
.exp-av { position: relative; width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%; display: inline-flex; align-items: center;
    justify-content: center; font-weight: 700; font-size: 13px; line-height: 1; background: #f1f5f9; color: #64748b; }
.exp-av--sm { width: 32px; height: 32px; flex-basis: 32px; font-size: 11.5px; }
.exp-av--lg { width: 58px; height: 58px; flex-basis: 58px; font-size: 19px; }
.exp-av--blue { background: #e8f1fa; color: var(--ip-blue); }
.exp-av--amber { background: #fef3c7; color: #92400e; }
.exp-av--red { background: #fee2e2; color: var(--ip-red); }
.exp-av--green { background: #e7f6ec; color: #15803d; }
.exp-av > .fa-check { position: absolute; right: -3px; bottom: -3px; width: 17px; height: 17px; border-radius: 50%; background: var(--ip-green);
    color: #fff; font-size: 8.5px; display: inline-flex; align-items: center; justify-content: center; border: 2px solid #fff; }
.exp-av > .fa:not(.fa-check) { font-size: 16px; }
.exp-av--lg > .fa:not(.fa-check) { font-size: 22px; }

/* top bar + content */
.exp-main { min-width: 0; display: flex; flex-direction: column; }
.exp-top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 14px; min-height: 62px; padding: 8px 28px;
    background: rgba(255, 255, 255, .95); backdrop-filter: blur(6px); border-bottom: 1px solid var(--ip-line); }
.exp-top h1 { flex: 1 1 auto; min-width: 0; margin: 0; font-size: 18px; font-weight: 700; color: var(--ip-ink); line-height: 1.3; }
.exp-menu-btn { display: none; width: 40px; height: 40px; flex: 0 0 40px; align-items: center; justify-content: center; border: 1px solid var(--ip-line);
    border-radius: 10px; background: #fff; color: var(--ip-ink); font-size: 16px; cursor: pointer; }
.exp-user .ip-user-btn { gap: 9px; }
.exp-content { width: 100%; max-width: 1180px; padding: 24px 28px 48px; }
.exp-content.is-flush { max-width: none; padding: 0; flex: 1 1 auto; display: flex; flex-direction: column; }
.exp-content.is-flush > .ip-alert { margin: 16px 20px 0; }

/* the portal's cards, buttons and alerts (site kit: green main action, white / brand-blue secondary) */
body.exp-app .ip-card { border-color: #eceef1; border-radius: 16px; padding: 22px; }
body.exp-app .ip-card h2 { font-size: 16.5px; }
body.exp-app .ip-btn { height: 40px; padding: 0 18px; border-radius: 12px; font-weight: 600; }
body.exp-app .ip-btn--sm { height: 34px; padding: 0 13px; border-radius: 10px; font-size: 13px; }
body.exp-app .ip-btn--primary, body.exp-app .ip-btn--green { background: var(--ip-green); border-color: var(--ip-green); color: #fff !important; }
body.exp-app .ip-btn--primary:hover, body.exp-app .ip-btn--green:hover { background: #128a31; border-color: #128a31; }
body.exp-app .ip-btn--ghost { background: #fff; border-color: var(--ip-blue); color: var(--ip-blue) !important; }
body.exp-app .ip-btn--ghost:hover { background: #e8f1fa; }
body.exp-app .ip-btn[disabled], body.exp-app .ip-btn[disabled]:hover { background: #f1f5f9; border-color: #e2e8f0; color: #94a3b8 !important; opacity: 1; }
body.exp-app .ip-alert { border-radius: 14px; border-left-width: 1px; box-shadow: none; }
body.exp-app .ip-alert--info { background: #f3f8fd; border-color: #cfe0f1; color: var(--ip-ink); }
body.exp-app .ip-alert--ok { background: #f0faf3; border-color: #bfe5c9; color: #14532d; }
body.exp-app .ip-alert--warn { background: #fffbeb; border-color: #fde68a; color: #78350f; }
body.exp-app .ip-alert--err { background: #fef2f2; border-color: #fecaca; color: #7f1d1d; }
body.exp-app .exp-kpi { border-color: #eceef1; border-radius: 14px; }
body.exp-app .exp-sess { border-radius: 14px; border-color: #eceef1; }
body.exp-app .exp-tab { border-radius: 999px; }

/* "Needs you": the list (left) and the chosen item's details (right) */
.exp-inbox { flex: 1 1 auto; display: grid; grid-template-columns: 380px minmax(0, 1fr); min-height: calc(100vh - 62px); }
.exp-inbox-list { display: flex; flex-direction: column; border-right: 1px solid var(--ip-line); background: #fff; min-width: 0; }
.exp-inbox-head { padding: 22px 20px 14px; }
.exp-inbox-head h2 { margin: 0; font-size: 20px; color: var(--ip-ink); }
.exp-inbox-head p { margin: 4px 0 12px; font-size: 13px; color: var(--ip-muted); line-height: 1.5; }
.exp-inbox-head .exp-progress { margin: 0 0 12px; }
.exp-chipbar { display: flex; gap: 6px; flex-wrap: wrap; }
.exp-chipbtn { font: inherit; font-size: 12.5px; line-height: 1; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--ip-line);
    background: #fff; color: #4b5563; cursor: pointer; }
.exp-chipbtn:hover { border-color: var(--ip-blue); color: var(--ip-blue); }
.exp-chipbtn.is-on { background: var(--ip-blue); border-color: var(--ip-blue); color: #fff; }
.exp-items { list-style: none; margin: 0; padding: 0; }
.exp-item { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-top: 1px solid var(--ip-line);
    color: inherit; text-decoration: none !important; }
.exp-item:hover { background: #fafbfc; }
.exp-item.is-on { background: #eef5fc; }
.exp-item.is-on::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--ip-blue); }
.exp-item-body { flex: 1 1 auto; min-width: 0; }
.exp-item-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.exp-item-top b { font-size: 13.5px; color: var(--ip-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.exp-item-top small { flex: 0 0 auto; font-size: 11px; color: var(--ip-muted); white-space: nowrap; }
.exp-item-line { display: block; margin: 3px 0 7px; font-size: 12.5px; color: var(--ip-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.exp-pill { display: inline-block; font-size: 11px; font-weight: 600; line-height: 1.5; padding: 1px 9px; border-radius: 999px; background: #f1f5f9; color: #64748b; }
.exp-pill.is-req { background: #fef3c7; color: #92400e; }
.exp-pill.is-soon { background: #e7f6ec; color: #15803d; }
.exp-pill.is-due { background: #fee2e2; color: var(--ip-red); }
.exp-pill.is-info { background: #e8f1fa; color: var(--ip-blue); }
.exp-inbox-none { padding: 30px 20px; text-align: center; color: var(--ip-muted); font-size: 13px; border-top: 1px solid var(--ip-line); }
.exp-quiet { margin-top: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 14px 12px;
    border-top: 1px solid var(--ip-line); text-align: center; }
.exp-quiet a { display: block; padding: 6px 4px; border-radius: 10px; color: inherit; text-decoration: none !important; }
.exp-quiet a:hover { background: #fafbfc; }
.exp-quiet b { display: block; font-size: 16px; color: var(--ip-ink); white-space: nowrap; }
.exp-quiet small { display: block; font-size: 11px; color: var(--ip-muted); }

.exp-detail { min-width: 0; padding: 28px 34px 40px; }
.exp-detail-back { display: none; }
.exp-dh { display: flex; align-items: center; gap: 16px; }
.exp-dh h2 { margin: 0; font-size: 21px; color: var(--ip-ink); line-height: 1.3; }
.exp-dh p { margin: 3px 0 0; color: var(--ip-muted); font-size: 13.5px; }
.exp-acts { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 20px 0 22px; }
.exp-acts form { margin: 0; }
.exp-acts .exp-muted { font-size: 13px; }
.exp-box { border: 1px solid var(--ip-line); border-radius: 16px; padding: 18px 20px; margin: 0 0 16px; }
.exp-box h4 { margin: 0 0 10px; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ip-muted); font-weight: 700; }
.exp-box p { margin: 0; line-height: 1.65; color: var(--ip-text); }
.exp-box p + p, .exp-box p + .exp-tagrow, .exp-box .exp-tagrow + p { margin-top: 10px; }
.exp-kv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.exp-kv > div { background: #fafbfc; border-radius: 12px; padding: 10px 12px; min-width: 0; }
.exp-kv small { display: block; color: var(--ip-muted); font-size: 11px; }
.exp-kv b { display: block; font-size: 13px; color: var(--ip-ink); }
.exp-kv.exp-kv--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 520px; }
.exp-kv + p { margin-top: 12px; }
.exp-tagrow { display: flex; gap: 6px; flex-wrap: wrap; }
.exp-tagrow span { background: #e8f1fa; color: var(--ip-blue); font-size: 12px; padding: 4px 10px; border-radius: 999px; }
.exp-allset { max-width: 460px; margin: 40px auto 0; text-align: center; }
.exp-allset .exp-av { margin: 0 auto 14px; }
.exp-allset h2 { margin: 0 0 6px; font-size: 21px; color: var(--ip-ink); }
.exp-allset p { margin: 0 0 18px; color: var(--ip-muted); line-height: 1.6; }
.exp-allset .exp-acts { justify-content: center; margin: 0; }

/* phones and tablets: the menu slides in; the inbox shows the list, then the details */
@media (max-width: 991px) {
    .exp-shell { grid-template-columns: minmax(0, 1fr); }
    .exp-side { position: fixed; z-index: 50; left: 0; top: 0; width: 270px; transform: translateX(-100%); transition: transform .2s; }
    .exp-shell.is-open .exp-side { transform: none; box-shadow: 0 0 0 100vmax rgba(15, 23, 42, .45); }
    .exp-menu-btn { display: inline-flex; }
}
@media (max-width: 860px) {
    .exp-inbox { grid-template-columns: minmax(0, 1fr); min-height: 0; flex: 0 0 auto; }
    .exp-inbox-list { border-right: 0; }
    .exp-detail { display: none; padding: 16px 16px 40px; }
    .exp-inbox.show-detail .exp-inbox-list { display: none; }
    .exp-inbox.show-detail .exp-detail { display: block; }
    .exp-detail-back { display: inline-flex; margin: 0 0 14px; }
    .exp-kv { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .exp-top { padding: 8px 14px; gap: 10px; }
    .exp-top .ip-user-text, .exp-top .ip-user-btn .fa-angle-down { display: none; }
    .exp-content { padding: 16px 14px 40px; }
    .exp-content.is-flush { padding: 0; }
    .exp-item { padding: 14px 16px; }
    .exp-inbox-head { padding: 18px 16px 12px; }
    .exp-acts .ip-btn, .exp-acts form { flex: 1 1 auto; }
    .exp-acts form .ip-btn { width: 100%; }
    .exp-dh h2 { font-size: 18px; }
}
