/* Shared guide tabs and original related-service cards. */
.guide-hub-tabs {display:flex;width:min(1120px,calc(100% - 36px));margin:28px auto 0;border:1px solid #cbd5e1;border-radius:12px;overflow:hidden;background:#fff;scroll-margin-top:calc(var(--nav-height,70px) + 18px);}
.guide-hub-tabs button {flex:1;min-width:0;padding:14px 10px;background:#fff;border:0;color:#1e3a8a;font:inherit;font-weight:800;cursor:pointer;}
.guide-hub-tabs button+button {border-left:1px solid #cbd5e1;}
.guide-hub-tabs button[aria-selected="true"] {background:#1d4ed8;color:#fff;}
.guide-hub-tabs button:focus-visible {outline:3px solid #93c5fd;outline-offset:-4px;}
@media(max-width:520px){.guide-hub-tabs{margin-top:20px;}}

/* Original guide assistant design (scoped to the tab). */

        #assistant.guide-hub-panel {
            padding: 30px 20px 70px;
            background: transparent;
        }
        #assistant .guide-section {
            width: 100%;
            max-width: 960px;
            margin: 0 auto;
        }
        #assistant .guide-section {
            margin-top: 34px;
        }
        #assistant .guide-section:first-of-type {
            margin-top: 0;
        }
        #assistant .guide-header {
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            gap: 14px;
            margin-bottom: 14px;
            text-align: left;
        }
        #assistant .guide-header > div {
            text-align: left;
        }
        #assistant .guide-header h2 {
            font-size: 22px;
            line-height: 1.3;
            color: #1e293b;
            font-weight: 850;
            letter-spacing: -0.03em;
            margin: 0;
        }
        #assistant .guide-header p {
            color: #64748b;
            margin: 6px 0 0;
            font-size: 14px;
        }
        #assistant .guide-more-link {
            color: #2563eb;
            text-decoration: none;
            font-size: 14px;
            font-weight: 800;
            white-space: nowrap;
        }
        #assistant .guide-card-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 14px;
        }
        #assistant .guide-card {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            min-height: 142px;
            padding: 20px;
            background: #fff;
            border: 1px solid #e5e7eb;
            border-radius: 18px;
            box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
            text-decoration: none;
            color: inherit;
            transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
        }
        #assistant .guide-card:hover {
            transform: translateY(-2px);
            border-color: #bfdbfe;
            box-shadow: 0 16px 34px rgba(37, 99, 235, 0.10);
        }
        #assistant .guide-card.disabled, #assistant .guide-card.disabled:hover {
            transform: none;
            box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
            cursor: default;
        }
        #assistant .guide-card-meta {
            display: flex;
            align-items: center;
            gap: 8px;
            color: #64748b;
            font-size: 13px;
            font-weight: 700;
            margin-bottom: 10px;
        }
        #assistant .guide-badge {
            display: inline-flex;
            align-items: center;
            width: fit-content;
            padding: 4px 9px;
            border-radius: 999px;
            background: #eff6ff;
            color: #2563eb;
            font-size: 12px;
            font-weight: 850;
        }
        #assistant .guide-card.compact {
            min-height: 96px;
            padding: 18px;
        }
        #assistant .guide-card.compact .guide-card-meta {
            margin-bottom: 6px;
        }
        #assistant .guide-card.compact .guide-card-arrow {
            margin-top: 12px;
        }
        #assistant .guide-card h3 {
            font-size: 17px;
            font-weight: 850;
            line-height: 1.45;
            color: #1e293b;
            margin: 0 0 8px;
            letter-spacing: -0.025em;
        }
        #assistant .guide-card p {
            color: #64748b;
            font-size: 14px;
            line-height: 1.55;
            margin: 0;
        }
        #assistant .guide-card-arrow {
            margin-top: 18px;
            align-self: flex-end;
            color: #2563eb;
            font-weight: 900;
        }
        #assistant .guide-empty {
            grid-column: 1 / -1;
            padding: 22px;
            background: #fff;
            border: 1px dashed #cbd5e1;
            border-radius: 16px;
            color: #64748b;
            text-align: center;
            font-size: 14px;
        }

        #assistant .guide-list {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        #assistant .guide-list-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            padding: 16px 18px;
            background: #fff;
            border: 1px solid #e5e7eb;
            border-radius: 15px;
            box-shadow: 0 8px 20px rgba(15, 23, 42, 0.035);
            text-decoration: none;
            color: inherit;
            transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
        }
        #assistant .guide-list-item:hover {
            transform: translateY(-1px);
            border-color: #bfdbfe;
            box-shadow: 0 12px 26px rgba(37, 99, 235, 0.08);
        }
        #assistant .guide-list-title {
            color: #1e293b;
            font-size: 15px;
            font-weight: 850;
            line-height: 1.45;
            letter-spacing: -0.02em;
        }
        #assistant .guide-list-meta {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            flex: 0 0 auto;
            color: #64748b;
            font-size: 13px;
            font-weight: 750;
            white-space: nowrap;
        }
        #assistant .guide-list-arrow {
            color: #2563eb;
            font-weight: 900;
        }
        @media (max-width: 900px) {
            #assistant .guide-card-grid {
                grid-template-columns: 1fr;
            }
        }
        @media (max-width: 640px) {
            #assistant.guide-hub-panel { padding: 24px 16px 54px; }
            #assistant .guide-section { margin-top: 30px; }
            #assistant .guide-header {
                align-items: flex-start;
                flex-direction: column;
                gap: 8px;
            }
            #assistant .guide-card {
                min-height: auto;
                padding: 18px;
            }
            #assistant .guide-list-item {
                align-items: flex-start;
                flex-direction: column;
                gap: 8px;
                padding: 15px 16px;
            }
            #assistant .guide-list-meta {
                width: 100%;
                justify-content: space-between;
            }

        }
    

#assistant[hidden] { display: none !important; }
#assistant .guide-section:first-of-type { margin-top: 0; }
#assistant .guide-card, #assistant .guide-list-item { min-width: 0; overflow-wrap: anywhere; }
