/* The guest shell (/bob/try) — design_handoff_bob_try_anon, 2026-09-22.
   Scoped to .main-container.is-guest; the dialog (.dlg*), the band
   (.anon-targets) and the tooltip (.plate-personalize-*) reuse
   anon-plate.css. Desktop is the designed surface; the phone mirrors it. */

/* Locked rail items: dimmed, a small lock at the top right. */
.is-guest .sidebar-nav-item.locked { color: rgba(255, 255, 255, 0.45); position: relative; }
.is-guest .sidebar-nav-item.locked .nav-lock {
    position: absolute; top: 7px; right: 10px;
    font-size: 9px; color: rgba(255, 255, 255, 0.6);
}
.is-guest .sidebar-nav-item.login i { color: #fff; }

/* Bob's header: no new-chat, no clock — the counter instead. */
.is-guest .bfh-icon-btn, .is-guest .bob-header-btn { display: none !important; }
.guest-counter { display: inline-flex; align-items: center; gap: 8px; }
.guest-counter .gc-dots { display: inline-flex; gap: 6px; }
.guest-counter .gc-dot { width: 7px; height: 7px; border-radius: 50%; background: #ff914d; }
.guest-counter .gc-dot.used { background: #ced4da; }
.guest-counter .gc-text { font-size: 12px; color: #6c757d; white-space: nowrap; }
.bob-header .guest-counter .gc-text { color: rgba(255, 255, 255, 0.7); }
.bob-header .guest-counter .gc-dot.used { background: rgba(255, 255, 255, 0.25); }

/* Cap card — replaces the composer at the limit. */
.guest-cap {
    margin: 12px 16px 16px;
    background: #fff;
    border: 1px solid #ffead4;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 10px 25px rgba(17, 24, 39, 0.08);
}
.guest-cap-title { font-size: 15px; font-weight: 700; color: #212529; margin-bottom: 6px; }
.guest-cap-body { font-size: 13px; line-height: 1.55; color: #495057; margin: 0 0 14px; }
.guest-cap-primary {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    height: 42px; border-radius: 10px; background: #fe6211; color: #fff;
    font-weight: 700; font-size: 14px; text-decoration: none;
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.25);
}
.guest-cap-primary:hover { background: #ef4707; color: #fff; }
.guest-cap-secondary {
    display: flex; align-items: center; justify-content: center;
    height: 42px; margin-top: 8px; border-radius: 10px;
    border: 1px solid #ced4da; color: #495057; font-weight: 600; font-size: 14px;
    text-decoration: none; background: #fff;
}
.guest-cap-secondary:hover { background: #f8f9fa; color: #212529; }
.guest-cap-foot { margin-top: 10px; font-size: 12px; color: #6c757d; text-align: center; }
@media (max-width: 576px) {
    .guest-cap { margin: 8px 12px calc(12px + env(safe-area-inset-bottom, 0px)); }
}

/* The pane: no tab strip; a top bar with the one persistent account door. */
.is-guest #combinedTabs { display: none !important; }
.guest-topbar {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    height: 52px; padding: 0 20px; border-bottom: 1px solid #e9ecef; flex: none;
}
.guest-topbar-note { font-size: 13px; color: #6c757d; }
.guest-topbar .plate-personalize-wrap { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.guest-topbar .plate-personalize-inline {
    display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 14px;
    border-radius: 999px; background: #fe6211; color: #fff; font-size: 13px; font-weight: 700;
    text-decoration: none; transition: background 150ms ease, transform 150ms ease;
}
.guest-topbar .plate-personalize-inline i { font-size: 11px; }
.guest-topbar .plate-personalize-inline:hover { background: #ef4707; transform: translateY(-1px); color: #fff; }
.guest-topbar .plate-personalize-subnote { font-size: 11px; font-weight: 700; color: #ef4707; line-height: 14px; cursor: pointer; }
.guest-topbar .plate-personalize-tip {
    position: absolute; right: 0; top: calc(100% + 6px); width: 320px; max-width: calc(100vw - 28px); z-index: 30;
    display: none; background: #fff; border: 1px solid #e9ecef; border-radius: 14px;
    padding: 12px 14px; box-shadow: 0 10px 25px rgba(17, 24, 39, 0.08);
    text-align: left;
}
.guest-topbar .plate-personalize-tip-copy b { display: block; font-size: 13px; margin-bottom: 6px; color: #212529; }
.guest-topbar .plate-personalize-tip-list { list-style: none; margin: 0; padding: 0; font-size: 13px; color: #495057; }
.guest-topbar .plate-personalize-tip-list li { display: flex; gap: 8px; align-items: center; padding: 2px 0; }
.guest-topbar .plate-personalize-tip-list i { color: #198754; font-size: 11px; }
.guest-topbar .plate-personalize-tip-avatar { display: none; }
/* Hover/focus opens it where a pointer can hover; on touch, a tap on the
   "Unlocks" line toggles .tip-open (guest.js; anon-plate.css fades it in). The pill stays a plain link. */
@media (hover: hover) {
    .guest-topbar .plate-personalize-wrap:hover .plate-personalize-tip,
    .guest-topbar .plate-personalize-wrap:focus-within .plate-personalize-tip { display: block; }
}
.guest-topbar .plate-personalize-wrap.tip-open .plate-personalize-tip { display: block; }
@media (max-width: 576px) {
    .guest-topbar { height: auto; padding: 10px 14px; }
    .guest-topbar-note { display: none; }
    .guest-topbar .plate-personalize-wrap { align-items: flex-end; margin-left: auto; }
}

/* Results in the pane (2b): the way back + the title. */
.guest-results-head { display: flex; align-items: center; gap: 14px; padding: 16px 22px 0; }
.guest-results-back { font-size: 13px; font-weight: 600; color: #0061a7; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.guest-results-back i { font-size: 11px; }
.guest-results-back:hover { text-decoration: underline; color: #0061a7; }
.guest-results-divider { width: 1px; height: 18px; background: #ced4da; }
.guest-results-title { font-size: 18px; font-weight: 700; color: #212529; }
/* Phone (her QA 2026-09-26): the way back on its own line, the query as a
   quiet caption under it — smaller than the group headings (15px). */
@media (max-width: 576px) {
    .guest-results-head { flex-direction: column; align-items: flex-start; gap: 6px; }
    .guest-results-back { white-space: nowrap; }
    .guest-results-divider { display: none; }
    .guest-results-title { font-size: 14px; font-weight: 600; line-height: 1.35; }
}

/* The dialog's eyebrow (the recipe name on "Open the full recipe"). */
.dlg .dlg-eyebrow { font-size: 12px; font-weight: 600; color: #6c757d; margin-bottom: 4px; }
.dlg .dlg-eyebrow[hidden] { display: none; }

/* Phone bar: locked items. */
.bottom-nav-item.locked { color: rgba(0, 0, 0, 0.35); position: relative; }
.bottom-nav-item.locked .nav-lock { position: absolute; top: 6px; right: 14px; font-size: 9px; color: rgba(0, 0, 0, 0.45); }
