:root {
    color-scheme: light;
    --teoc-ink: #111827;
    --teoc-muted: #667085;
    --teoc-line: #e5e7eb;
    --teoc-card: rgba(255, 255, 255, .965);
    --teoc-accent: #2457ff;
    --teoc-accent-dark: #1740c9;
}
* { box-sizing: border-box; }
html, body { min-height: 100%; }
body.teoc-portal-body {
    margin: 0;
    min-height: 100vh;
    position: relative;
    background: #0b2a52 url("images/portal-background.webp") center center / cover fixed no-repeat;
    color: #fff;
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}
body.teoc-portal-body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(3, 15, 32, .34) 0%, rgba(3, 15, 32, .08) 43%, rgba(3, 15, 32, .18) 100%),
        linear-gradient(0deg, rgba(3, 13, 28, .24) 0%, rgba(3, 13, 28, 0) 44%);
}
.teoc-portal-shell,
.teoc-portal-footer { position: relative; z-index: 1; }
.teoc-portal-shell {
    width: min(1180px, calc(100% - 48px));
    min-height: calc(100vh - 72px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(350px, 410px);
    gap: 72px;
    align-items: stretch;
    padding: 54px 0 40px;
}
.teoc-portal-brand {
    align-self: end;
    max-width: 570px;
    padding: 24px 8px 64px;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .28);
}
.teoc-brand-mark {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    margin-bottom: 25px;
    border-radius: 17px;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 12px 34px rgba(1, 10, 24, .18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.teoc-brand-mark img {
    display: block;
    width: 48px;
    height: 48px;
    object-fit: contain;
}
.teoc-eyebrow,
.teoc-card-kicker {
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 12px;
    font-weight: 800;
}
.teoc-eyebrow { color: rgba(255, 255, 255, .82); }
.teoc-card-kicker { color: var(--teoc-accent); }
.teoc-brand-copy h1 {
    margin: 9px 0 12px;
    max-width: 560px;
    color: #fff;
    font-size: clamp(40px, 5.2vw, 66px);
    line-height: .99;
    letter-spacing: -.05em;
}
.teoc-brand-copy > p {
    max-width: 530px;
    margin: 0;
    color: rgba(255, 255, 255, .86);
    font-size: 17px;
    line-height: 1.6;
}
.teoc-feature-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 32px;
}
.teoc-feature-list > div {
    border-top: 1px solid rgba(255, 255, 255, .34);
    padding-top: 14px;
}
.teoc-feature-list strong,
.teoc-feature-list span { display: block; }
.teoc-feature-list strong { color: #fff; font-size: 13px; margin-bottom: 4px; }
.teoc-feature-list span { color: rgba(255, 255, 255, .72); font-size: 11px; line-height: 1.45; }
.teoc-portal-card {
    align-self: center;
    background: var(--teoc-card);
    color: var(--teoc-ink);
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 22px;
    padding: 36px;
    box-shadow: 0 26px 80px rgba(1, 10, 25, .28);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
.teoc-portal-card h2 {
    margin: 8px 0 8px;
    font-size: 28px;
    line-height: 1.12;
    letter-spacing: -.03em;
    white-space: nowrap;
}
.teoc-card-copy {
    color: var(--teoc-muted);
    margin: 0 0 26px;
    line-height: 1.55;
}
.teoc-portal-card form { margin: 0; }
.teoc-portal-card form p { margin: 0 0 16px; }
.teoc-portal-card label {
    display: block;
    margin-bottom: 7px;
    color: #344054;
    font-size: 13px;
    font-weight: 650;
}
.teoc-portal-card input[type="text"],
.teoc-portal-card input[type="email"],
.teoc-portal-card input[type="password"] {
    width: 100%;
    min-height: 46px;
    border: 1px solid #d0d5dd;
    border-radius: 10px;
    padding: 9px 12px;
    font: inherit;
    background: #fff;
    outline: 0;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.teoc-portal-card input[type="text"]:focus,
.teoc-portal-card input[type="email"]:focus,
.teoc-portal-card input[type="password"]:focus {
    border-color: var(--teoc-accent);
    box-shadow: 0 0 0 3px rgba(36, 87, 255, .12);
}
.teoc-portal-card .login-remember label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}
.teoc-portal-card .login-submit { margin-top: 22px; }
.teoc-portal-card input[type="submit"],
.teoc-primary-button {
    width: 100%;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 10px;
    padding: 10px 16px;
    background: var(--teoc-accent);
    color: #fff;
    text-decoration: none;
    font: inherit;
    font-weight: 750;
    cursor: pointer;
    transition: background .15s ease, transform .15s ease;
}
.teoc-portal-card input[type="submit"]:hover,
.teoc-primary-button:hover { background: var(--teoc-accent-dark); }
.teoc-portal-card input[type="submit"]:active,
.teoc-primary-button:active { transform: translateY(1px); }
.teoc-secondary-link {
    display: block;
    margin-top: 18px;
    color: #475467;
    text-align: center;
    text-decoration: none;
    font-size: 13px;
    font-weight: 650;
}
.teoc-secondary-link:hover { color: var(--teoc-accent); }

.teoc-magic-login-form{display:grid;gap:10px}
.teoc-magic-login-form .teoc-primary-button{margin-top:6px}
.teoc-auth-honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
.teoc-passwordless-note{margin:14px 0 0;color:#667085;font-size:12px;line-height:1.55;text-align:center}
.teoc-auth-notice{margin:0 0 18px;padding:12px 14px;border:1px solid #d0d5dd;border-radius:12px;background:#f8fafc;color:#475467;font-size:12px;line-height:1.55}
.teoc-auth-notice.is-success{border-color:#b7e4d1;background:#eefaf5;color:#176b4b}
.teoc-auth-notice.is-info{border-color:#cdd8f8;background:#f3f6ff;color:#344b88}
.teoc-auth-notice strong{display:block;margin-bottom:5px;color:inherit;font-size:12.5px}
.teoc-auth-notice p{margin:0}
.teoc-auth-notice p+p{margin-top:7px}
.teoc-auth-notice a{color:inherit;font-weight:800;text-decoration:underline;text-underline-offset:2px}
.teoc-auth-notice a:hover{opacity:.8}

.teoc-login-legal-consent{margin:18px 0 0;color:#667085;font-size:11px;line-height:1.55;text-align:center}
.teoc-login-legal-consent a{color:#475467;font-weight:700;text-decoration:underline;text-underline-offset:2px}
.teoc-login-legal-consent a:hover{color:var(--teoc-accent)}
.teoc-login-legal-footer{justify-content:space-between}
.teoc-login-legal-links{display:inline-flex;align-items:center;gap:9px;white-space:nowrap}
.teoc-login-legal-footer a{color:inherit;text-decoration:none;font-weight:650}
.teoc-login-legal-footer a:hover{color:#fff;text-decoration:underline;text-underline-offset:3px}
.teoc-secure-note {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--teoc-line);
    color: #667085;
    font-size: 11px;
    text-align: center;
}
.teoc-secure-note span { color: #12b76a; font-size: 10px; margin-right: 5px; }
.teoc-portal-footer {
    width: min(1180px, calc(100% - 48px));
    min-height: 72px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, .24);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: rgba(255, 255, 255, .76);
    font-size: 12px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .3);
}
@media (max-width: 900px) {
    body.teoc-portal-body {
        background-position: 50% top;
        background-attachment: scroll;
    }
    body.teoc-portal-body::before {
        background: linear-gradient(0deg, rgba(3, 15, 32, .42), rgba(3, 15, 32, .10));
    }
    .teoc-portal-shell {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 300px 0 42px;
    }
    .teoc-portal-brand {
        align-self: auto;
        padding: 0;
        max-width: 680px;
    }
    .teoc-brand-copy h1 { font-size: clamp(40px, 10vw, 58px); }
    .teoc-feature-list { margin-top: 28px; }
    .teoc-portal-card {
        width: min(100%, 520px);
        justify-self: center;
        padding: 30px;
    }
}
@media (max-width: 560px) {
    .teoc-portal-shell,
    .teoc-portal-footer { width: min(100% - 28px, 1180px); }
    .teoc-portal-shell { padding-top: 230px; }
    .teoc-brand-mark { width: 54px; height: 54px; border-radius: 15px; }
    .teoc-brand-mark img { width: 42px; height: 42px; }
    .teoc-brand-copy > p { font-size: 15px; }
    .teoc-feature-list { grid-template-columns: 1fr; }
    .teoc-feature-list > div {
        display: grid;
        grid-template-columns: 90px 1fr;
        gap: 12px;
    }
    .teoc-portal-card { padding: 26px 22px; }
    .teoc-portal-card h2 { font-size: 26px; white-space: normal; }
    .teoc-login-legal-links { justify-content: center; flex-wrap: wrap; white-space: normal; }
    .teoc-portal-footer {
        flex-direction: column;
        justify-content: center;
        padding: 18px 0;
        text-align: center;
    }
}

/* --------------------------------------------------------------------------
 * ThinkEasy Client Portal (v0.7.0)
 * -------------------------------------------------------------------------- */
body.teoc-client-portal-body {
    margin: 0;
    min-height: 100vh;
    background: #f4f7fb;
    color: #122033;
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}
.teoc-client-app { min-height: 100vh; display: flex; flex-direction: column; }
.teoc-client-topbar {
    min-height: 76px;
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
    align-items: center;
    gap: 24px;
    padding: 0 max(24px, calc((100vw - 1320px)/2));
    background: #fff;
    border-bottom: 1px solid #e6ebf2;
    position: sticky;
    top: 0;
    z-index: 20;
}
.teoc-client-brand { display: inline-flex; align-items: center; gap: 12px; color: #10203a; text-decoration: none; width: fit-content; }
.teoc-client-brand > span:last-child { display: grid; line-height: 1.05; }
.teoc-client-brand strong { font-size: 15px; }
.teoc-client-brand small { margin-top: 4px; color: #7b8798; font-size: 11px; }
.teoc-client-logo { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid #e1e7ef; border-radius: 11px; background: #fff; }
.teoc-client-logo img { width: 31px; height: 31px; object-fit: contain; display: block; }
.teoc-client-nav { display: flex; align-items: center; gap: 6px; padding: 5px; background: #f6f8fb; border: 1px solid #e7ebf2; border-radius: 12px; }
.teoc-client-nav a { padding: 9px 14px; border-radius: 8px; color: #536174; text-decoration: none; font-size: 13px; font-weight: 700; transition: .15s ease; }
.teoc-client-nav a:hover { color: #174fe8; background: #fff; }
.teoc-client-nav a.is-active { color: #174fe8; background: #fff; box-shadow: 0 1px 4px rgba(15, 35, 65, .08); }
.teoc-client-user { justify-self: end; display: flex; align-items: center; gap: 14px; }
.teoc-client-user > span { display: grid; text-align: right; line-height: 1.1; }
.teoc-client-user strong { font-size: 13px; }
.teoc-client-user small { margin-top: 4px; color: #8490a2; font-size: 11px; }
.teoc-client-user > a { color: #496079; font-size: 12px; font-weight: 700; text-decoration: none; padding: 8px 10px; border: 1px solid #e1e7ef; border-radius: 8px; }
.teoc-client-main { width: min(1320px, calc(100% - 48px)); margin: 0 auto; flex: 1; padding: 42px 0 56px; }
.teoc-client-hero, .teoc-client-page-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.teoc-client-eyebrow { color: #2457ff; font-size: 11px; line-height: 1; text-transform: uppercase; letter-spacing: .12em; font-weight: 850; }
.teoc-client-hero h1, .teoc-client-page-head h1 { margin: 7px 0 7px; font-size: clamp(31px, 3vw, 44px); line-height: 1.04; letter-spacing: -.045em; color: #0d1b2f; }
.teoc-client-hero p, .teoc-client-page-head p { margin: 0; color: #6d7b8e; font-size: 14px; line-height: 1.6; }
.teoc-client-primary, .teoc-client-secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 43px; padding: 10px 17px; border-radius: 10px; font: inherit; font-size: 13px; font-weight: 800; text-decoration: none; cursor: pointer; }
.teoc-client-primary { border: 1px solid #2457ff; background: #2457ff; color: #fff; box-shadow: 0 8px 18px rgba(36,87,255,.16); }
.teoc-client-primary:hover { background: #1948df; border-color: #1948df; }
.teoc-client-secondary { border: 1px solid #dce3ec; background: #fff; color: #34475f; }
.teoc-client-metrics { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin-bottom: 24px; }
.teoc-client-metric { min-height: 124px; padding: 24px; display: grid; align-content: center; gap: 8px; background: #fff; border: 1px solid #e1e7ef; border-radius: 16px; box-shadow: 0 7px 26px rgba(20,43,78,.045); }
.teoc-client-metric span { color: #768397; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .045em; }
.teoc-client-metric strong { color: #10203a; font-size: 28px; line-height: 1; letter-spacing: -.03em; }
.teoc-client-panel { background: #fff; border: 1px solid #e1e7ef; border-radius: 16px; padding: 24px; box-shadow: 0 7px 26px rgba(20,43,78,.045); }
.teoc-client-panel h2 { margin: 0 0 20px; font-size: 18px; color: #10203a; letter-spacing: -.02em; }
.teoc-client-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.teoc-client-panel-head h2 { margin: 0 0 4px; }
.teoc-client-panel-head p { margin: 0; color: #8490a2; font-size: 12px; }
.teoc-client-panel-head > a { color: #2457ff; font-size: 12px; font-weight: 800; text-decoration: none; }
.teoc-client-count { display: inline-grid; place-items: center; min-width: 30px; height: 26px; padding: 0 9px; border-radius: 999px; background: #eef4ff; color: #2457ff; font-size: 12px; font-weight: 850; }
.teoc-client-table-wrap { overflow-x: auto; }
.teoc-client-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.teoc-client-table th { padding: 11px 13px; border-bottom: 1px solid #e6ebf2; color: #718096; font-size: 10px; text-transform: uppercase; letter-spacing: .06em; text-align: left; }
.teoc-client-table td { padding: 15px 13px; border-bottom: 1px solid #edf1f5; vertical-align: middle; color: #405167; }
.teoc-client-table tbody tr:last-child td { border-bottom: 0; }
.teoc-client-table td strong { color: #14243a; display: block; font-weight: 750; }
.teoc-client-table td small { color: #8a96a7; display: block; margin-top: 4px; font-size: 11px; }
.teoc-client-badge { display: inline-flex; align-items: center; min-height: 25px; padding: 4px 9px; border-radius: 999px; background: #edf2f7; color: #526276; font-size: 11px; font-weight: 800; white-space: nowrap; }
.teoc-client-status-active, .teoc-client-status-renewed, .teoc-client-status-resolved { background: #e7f8ed; color: #15783b; }
.teoc-client-status-renewal_pending, .teoc-client-status-waiting_customer { background: #fff4d7; color: #9a6500; }
.teoc-client-status-expired, .teoc-client-status-cancelled, .teoc-client-status-closed { background: #f0f2f5; color: #697587; }
.teoc-client-status-open, .teoc-client-status-in_progress, .teoc-client-status-waiting_provider { background: #edf3ff; color: #2457ff; }
.teoc-client-support-grid, .teoc-client-account-grid { display: grid; grid-template-columns: minmax(300px, 430px) minmax(0, 1fr); gap: 20px; align-items: start; }
.teoc-client-form { display: grid; gap: 16px; }
.teoc-client-form label { display: grid; gap: 7px; }
.teoc-client-form label > span { color: #33465d; font-size: 12px; font-weight: 800; }
.teoc-client-form input, .teoc-client-form select, .teoc-client-form textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #d8e0ea; border-radius: 9px; background: #fff; color: #122033; font: inherit; font-size: 13px; outline: 0; }
.teoc-client-form textarea { resize: vertical; line-height: 1.55; }
.teoc-client-form input:focus, .teoc-client-form select:focus, .teoc-client-form textarea:focus { border-color: #2457ff; box-shadow: 0 0 0 3px rgba(36,87,255,.10); }
.teoc-client-form .teoc-client-primary { width: fit-content; min-width: 160px; }
.teoc-client-ticket-list { display: grid; border: 1px solid #e7ebf1; border-radius: 12px; overflow: hidden; }
.teoc-client-ticket-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px; border-bottom: 1px solid #edf1f5; color: inherit; text-decoration: none; transition: background .15s ease; }
.teoc-client-ticket-row:last-child { border-bottom: 0; }
.teoc-client-ticket-row:hover { background: #f8faff; }
.teoc-client-ticket-row > div { min-width: 0; display: grid; gap: 5px; }
.teoc-client-ticket-row strong { color: #17283e; font-size: 13px; overflow: hidden; text-overflow: ellipsis; }
.teoc-client-ticket-row small { color: #8a96a7; font-size: 11px; }
.teoc-client-ticket-meta { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-bottom: 18px; }
.teoc-client-ticket-meta > div { min-height: 82px; padding: 17px 19px; background: #fff; border: 1px solid #e1e7ef; border-radius: 13px; display: grid; align-content: center; gap: 7px; }
.teoc-client-ticket-meta span:first-child { color: #7b8798; font-size: 10px; text-transform: uppercase; letter-spacing: .06em; font-weight: 800; }
.teoc-client-ticket-meta strong { color: #17283e; font-size: 13px; }
.teoc-client-thread { display: grid; gap: 14px; }
.teoc-client-message { max-width: 82%; padding: 16px 18px; border-radius: 14px; border: 1px solid #e3e8ef; background: #f8fafc; color: #34475f; font-size: 13px; line-height: 1.65; }
.teoc-client-message.is-client { justify-self: end; background: #edf3ff; border-color: #d9e5ff; }
.teoc-client-message.is-staff { justify-self: start; background: #fff; }
.teoc-client-message-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 8px; }
.teoc-client-message-head strong { color: #10203a; font-size: 12px; }
.teoc-client-message-head time { color: #98a2b3; font-size: 10px; }
.teoc-client-reply { border-top: 1px solid #e7ebf1; margin-top: 24px; padding-top: 22px; }
.teoc-client-inline-note, .teoc-client-notice { padding: 12px 14px; border-radius: 9px; font-size: 12px; line-height: 1.5; }
.teoc-client-inline-note { margin-top: 20px; background: #f8fafc; border: 1px solid #e6ebf2; color: #65748a; }
.teoc-client-notice { margin-bottom: 20px; background: #eaf7ef; border: 1px solid #cfead9; color: #176d3c; font-weight: 700; }
.teoc-client-empty { min-height: 180px; display: grid; place-items: center; align-content: center; gap: 7px; color: #7d899a; text-align: center; }
.teoc-client-empty strong { color: #34475f; font-size: 14px; }
.teoc-client-empty span { font-size: 12px; }
.teoc-client-dl { margin: 0; display: grid; grid-template-columns: 140px 1fr; row-gap: 14px; column-gap: 20px; }
.teoc-client-dl dt { color: #7a8798; font-size: 12px; font-weight: 750; }
.teoc-client-dl dd { margin: 0; color: #20344b; font-size: 13px; }
.teoc-client-muted { margin: 22px 0 0; color: #8490a2; font-size: 12px; line-height: 1.6; }
.teoc-client-footer { width: min(1320px, calc(100% - 48px)); margin: 0 auto; min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid #e2e8f0; color: #8995a5; font-size: 11px; }
.teoc-client-unlinked { min-height: 100vh; display: grid; place-items: center; align-content: center; text-align: center; padding: 30px; color: #33475f; }
.teoc-client-unlinked img { width: 62px; margin-bottom: 20px; }
.teoc-client-unlinked h1 { margin: 0 0 8px; color: #10203a; }
.teoc-client-unlinked p { max-width: 520px; margin: 0 0 24px; color: #738196; line-height: 1.6; }
.teoc-client-unlinked .teoc-client-primary { width: fit-content; }
@media (max-width: 900px) {
    .teoc-client-topbar { grid-template-columns: 1fr auto; min-height: auto; padding: 14px 18px; }
    .teoc-client-nav { grid-column: 1 / -1; order: 3; width: 100%; overflow-x: auto; justify-content: flex-start; }
    .teoc-client-user > span { display: none; }
    .teoc-client-main { width: min(100% - 28px, 1320px); padding-top: 28px; }
    .teoc-client-support-grid, .teoc-client-account-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
    .teoc-client-hero, .teoc-client-page-head { align-items: flex-start; flex-direction: column; }
    .teoc-client-metrics, .teoc-client-ticket-meta { grid-template-columns: 1fr; }
    .teoc-client-metric { min-height: 96px; }
    .teoc-client-panel { padding: 18px; border-radius: 13px; }
    .teoc-client-message { max-width: 94%; }
    .teoc-client-dl { grid-template-columns: 1fr; gap: 4px; }
    .teoc-client-dl dd { margin-bottom: 10px; }
    .teoc-client-footer { width: min(100% - 28px, 1320px); flex-direction: column; justify-content: center; text-align: center; padding: 18px 0; }
}


/* Support lifecycle actions (v0.8.0) */
.teoc-client-page-actions { display:flex; align-items:center; justify-content:flex-end; gap:10px; flex-wrap:wrap; }
.teoc-client-page-actions form { margin:0; }
.teoc-client-close { color:#b42318; border-color:#f1c3bd; background:#fff; }
.teoc-client-close:hover { color:#8f1d14; border-color:#e9a8a0; background:#fff7f6; }
@media (max-width: 760px) {
    .teoc-client-page-actions { width:100%; justify-content:flex-start; }
}


/* v0.8.2 — compact support accordion + live conversation refresh */
.teoc-client-thread-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px;color:#17283e}
.teoc-client-thread-head>strong{font-size:14px}
.teoc-client-live-indicator{display:inline-flex;align-items:center;gap:6px;color:#7b8798;font-size:10px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}
.teoc-client-live-indicator i{width:7px;height:7px;border-radius:50%;background:#667085;box-shadow:0 0 0 3px rgba(102,112,133,.11)}
.teoc-client-thread{gap:9px;transition:box-shadow .2s ease}
.teoc-client-thread.is-live-updated{box-shadow:0 0 0 3px rgba(31,41,55,.08);border-radius:13px}
.teoc-client-message.teoc-client-message-accordion{max-width:100%;width:100%;padding:0;border-radius:13px;background:#fff;border:1px solid #e3e8ef;overflow:hidden}
.teoc-client-message.teoc-client-message-accordion.is-client{justify-self:stretch;background:#fcfcfd;border-left:3px solid #6b7280}
.teoc-client-message.teoc-client-message-accordion.is-staff{justify-self:stretch;background:#fff;border-left:3px solid #374151}
.teoc-client-message-accordion>summary{list-style:none;cursor:pointer;user-select:none}
.teoc-client-message-accordion>summary::-webkit-details-marker{display:none}
.teoc-client-message-accordion .teoc-client-message-head{margin:0;padding:12px 14px;background:#fff}
.teoc-client-message-accordion[open] .teoc-client-message-head{border-bottom:1px solid #edf1f5;background:#fafbfc}
.teoc-client-message-summary{display:flex;align-items:center;gap:12px;min-width:0;flex:1}
.teoc-client-message-summary strong{flex:0 0 auto;font-size:12px}
.teoc-client-message-summary small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#7b8798;font-size:11px}
.teoc-client-message-time{display:flex;align-items:center;gap:7px;flex:0 0 auto}
.teoc-client-message-time time{font-size:10px;color:#98a2b3}
.teoc-client-message-chevron{display:inline-block;color:#7b8798;font-size:15px;line-height:1;transition:transform .18s ease}
.teoc-client-message-accordion[open] .teoc-client-message-chevron{transform:rotate(180deg)}
.teoc-client-message-body{padding:15px 16px;color:#34475f;font-size:13px;line-height:1.65}
@media(max-width:700px){.teoc-client-message-head{align-items:flex-start}.teoc-client-message-summary{align-items:flex-start;flex-direction:column;gap:4px}.teoc-client-message-summary small{max-width:100%}}

/* v0.8.6 — per-reply ThinkEasy Support signature */
.teoc-client-message-signature{margin-top:18px;padding-top:14px;border-top:1px solid #e8edf3;color:#657182;font-size:13px;line-height:1.55}
.teoc-client-message-signature strong{color:#202428;font-weight:700}

/* v0.8.7 — client conversation polish */
.teoc-client-message.teoc-client-message-accordion.is-client,
.teoc-client-message.teoc-client-message-accordion.is-staff{
    border-left-width:1px;
    border-left-color:#e3e8ef;
    box-shadow:0 1px 2px rgba(15,23,42,.02);
}
.teoc-client-message.teoc-client-message-accordion{transition:border-color .18s ease,box-shadow .18s ease,background-color .18s ease}
.teoc-client-message.teoc-client-message-accordion:hover{border-color:#d3dbe5;box-shadow:0 2px 7px rgba(15,23,42,.03)}
.teoc-client-message.teoc-client-message-accordion[open]{border-color:#d7dfe8;box-shadow:0 2px 8px rgba(15,23,42,.03)}
.teoc-client-message-accordion[open] .teoc-client-message-head{background:#fbfcfd}
.teoc-client-message-signature{
    margin:18px 2px 2px;
    padding:13px 0 0;
    border-top:1px solid #e8edf3;
    color:#657182;
    font-size:13px;
    line-height:1.55;
}
.teoc-client-message-signature strong{color:#202428;font-weight:700}

/* 0.9.0 Support unread state */
.teoc-client-ticket-row.is-unread{background:#fafbfc}
.teoc-client-ticket-row.is-unread strong{font-weight:800}
.teoc-client-ticket-row>span{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.teoc-client-new{display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;background:#eef1f4;color:#303843;font-style:normal;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}


/* 0.9.1 Support identity hotfix */
.teoc-client-message-signature{display:block!important;visibility:visible!important;opacity:1!important;margin:18px 18px 2px!important;padding:14px 0 0!important;border-top:1px solid #e8edf3!important}
.teoc-client-message.is-staff .teoc-client-message-summary strong{color:#202428;font-weight:750}

/* === ThinkEasy Client Portal v1.0 additions === */
.teoc-client-kb-search{display:flex;gap:10px;margin-bottom:20px}.teoc-client-kb-search input{flex:1;min-width:0;padding:13px 14px;border:1px solid #dfe3e8;border-radius:10px;font-size:15px}.teoc-client-kb-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.teoc-client-kb-card{display:flex;flex-direction:column;gap:7px;min-height:130px;padding:17px;border:1px solid #e2e5e9;border-radius:14px;text-decoration:none;color:#23272e;background:#fff;transition:.15s ease}.teoc-client-kb-card:hover{transform:translateY(-1px);box-shadow:0 10px 28px rgba(15,23,42,.07);border-color:#cfd4db}.teoc-client-kb-card small{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:#818a97;font-weight:700}.teoc-client-kb-card strong{font-size:16px}.teoc-client-kb-card span{font-size:13px;line-height:1.55;color:#68717e}.teoc-kb-article{max-width:940px;margin:0 auto}.teoc-kb-article h1{font-size:30px}.teoc-kb-content{font-size:16px;line-height:1.75;color:#343a43}.teoc-kb-content h2,.teoc-kb-content h3{color:#1f232a;margin-top:1.6em}.teoc-kb-content pre{white-space:pre-wrap;padding:14px;background:#f5f6f8;border-radius:10px;overflow:auto}.teoc-client-message-body .teoc-message-attachments{display:flex;gap:7px;flex-wrap:wrap;margin:15px 0 0}.teoc-client-message-body .teoc-message-attachments a{display:flex;gap:7px;align-items:center;padding:8px 10px;border:1px solid #e0e4e8;border-radius:9px;text-decoration:none;color:#30353d;background:#fafafa}.teoc-client-message-body .teoc-message-attachments small{display:block;color:#8c939d;font-size:10px}.teoc-attachment-field{display:block;margin:12px 0}.teoc-attachment-field>span{display:block;font-weight:650;margin-bottom:7px}.teoc-attachment-field input[type=file]{display:block;width:100%;padding:11px;border:1px dashed #cfd5dc;border-radius:10px;background:#fafafa}.teoc-attachment-field small{font-weight:400;color:#858d98}
@media(max-width:900px){.teoc-client-kb-grid{grid-template-columns:1fr}.teoc-client-kb-search{display:grid}}

/* v1.0.1 — per-user EL/EN UI switch */
.teoc-client-language-switch{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border:1px solid #e2e6eb;border-radius:9px;background:#fff;color:#9aa1ab;font-size:11px;font-weight:750;line-height:1}
.teoc-client-language-switch a{color:#7f8792;text-decoration:none;letter-spacing:.04em}
.teoc-client-language-switch a:hover,.teoc-client-language-switch a:focus-visible{color:#245fd4}
.teoc-client-language-switch a.is-active{color:#171a20}
@media (max-width:780px){.teoc-client-language-switch{order:-1}}

/* === v1.0.3 — Knowledge Hub article responsive polish === */
.teoc-kb-article{
    max-width:1120px;
}
.teoc-kb-article>.teoc-kb-back{
    width:fit-content;
    min-height:38px;
    padding:8px 12px;
    margin:0 0 24px;
    gap:7px;
}
.teoc-kb-article>.teoc-kb-back::before{
    content:"←";
    display:inline-block;
    font-size:15px;
    line-height:1;
    transform:translateY(-1px);
}
.teoc-kb-article>.teoc-client-eyebrow{
    margin-bottom:10px;
}
.teoc-kb-article>h1{
    max-width:900px;
    margin-top:0;
}
.teoc-kb-article>.teoc-kb-content{
    max-width:940px;
}
@media(max-width:900px){
    .teoc-kb-article{
        max-width:none;
    }
    .teoc-kb-article>h1{
        font-size:clamp(25px,6vw,30px);
    }
}
@media(max-width:560px){
    .teoc-kb-article>.teoc-kb-back{
        min-height:36px;
        padding:7px 10px;
        margin-bottom:20px;
        font-size:12px;
    }
    .teoc-kb-content{
        font-size:15px;
        line-height:1.7;
    }
}

/* === v1.0.4 — Renewal policy & non-renewal request workflow === */
.teoc-renewal-policy-banner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    margin:0 0 18px;
    padding:20px 22px;
    border:1px solid #dfe5ec;
    border-radius:15px;
    background:#f8fafc;
}
.teoc-renewal-policy-copy{min-width:0;max-width:980px}
.teoc-renewal-policy-action{flex:0 0 auto}
.teoc-renewal-policy-banner h2{margin:4px 0 8px;font-size:20px;color:#17283e}
.teoc-renewal-policy-banner p{margin:0;color:#43546a;line-height:1.65}
.teoc-renewal-policy-banner .teoc-renewal-policy-help{margin-top:8px;color:#69778a;font-size:12px}
.teoc-client-renewal-cell{min-width:280px}
.teoc-client-renewal-cell>strong,.teoc-client-renewal-cell>small,.teoc-client-renewal-label{display:block}
.teoc-client-renewal-label{margin-bottom:3px;color:#5d6c80;font-size:10px;font-weight:800;letter-spacing:.055em;text-transform:uppercase}
.teoc-client-renewal-cell>small{margin-top:4px;color:#68778a}
.teoc-client-renewal-deadline{font-weight:700;color:#42536a!important}
.teoc-client-renewal-auto-note{max-width:390px;line-height:1.4}
.teoc-client-renewal-request-state{display:inline-flex;align-items:center;margin-top:9px;padding:5px 8px;border-radius:999px;font-size:11px;font-weight:750;line-height:1.2}
.teoc-client-renewal-request-state.is-on-time{background:#eaf7ef;color:#24623c}
.teoc-client-renewal-request-state.is-late{background:#fff3df;color:#8a5515}
.teoc-client-renewal-ticket{display:inline-block;margin:7px 0 0 8px;font-size:12px;font-weight:700}
.teoc-client-nonrenewal-form{margin-top:10px}
.teoc-client-nonrenewal-button{white-space:normal;text-align:center;line-height:1.3}

.teoc-renewal-request-body{min-height:100vh;margin:0;background:#f3f6fa;color:#17283e}
.teoc-renewal-request-shell{width:min(760px,calc(100% - 32px));margin:0 auto;padding:54px 0}
.teoc-renewal-request-brand{display:inline-flex;align-items:center;gap:10px;margin:0 0 18px;color:#17283e;text-decoration:none}
.teoc-renewal-request-brand img{width:42px;height:42px;object-fit:contain;border-radius:9px}
.teoc-renewal-request-card{padding:30px;border:1px solid #dfe5ec;border-radius:18px;background:#fff;box-shadow:0 14px 40px rgba(15,23,42,.06)}
.teoc-renewal-request-card h1{margin:5px 0 12px;font-size:30px;line-height:1.15}
.teoc-renewal-request-card>p{color:#4d5d70;line-height:1.7}
.teoc-renewal-request-meta{display:grid;grid-template-columns:minmax(150px,.45fr) 1fr;gap:0;margin:22px 0;padding:0;border:1px solid #e3e8ef;border-radius:12px;overflow:hidden}
.teoc-renewal-request-meta dt,.teoc-renewal-request-meta dd{margin:0;padding:11px 13px;border-bottom:1px solid #edf1f5}
.teoc-renewal-request-meta dt{background:#f8fafc;font-weight:750;color:#59697d}
.teoc-renewal-request-meta dd{font-weight:650;color:#1f2e42}
.teoc-renewal-request-meta dt:nth-last-of-type(1),.teoc-renewal-request-meta dd:last-child{border-bottom:0}
.teoc-renewal-request-warning{margin:18px 0;padding:13px 15px;border:1px solid #f3d9ad;background:#fff8eb;color:#745019;border-radius:11px;line-height:1.55}
.teoc-renewal-request-success{margin:18px 0;padding:14px 16px;border:1px solid #cfe8d8;background:#f1faf4;color:#285b3a;border-radius:11px;line-height:1.55}
.teoc-renewal-request-form{display:grid;gap:14px;margin-top:22px}
.teoc-renewal-request-form>label:not(.teoc-renewal-confirm)>span{display:block;margin-bottom:6px;font-size:12px;font-weight:750;color:#47566a}
.teoc-renewal-request-form input[type=text],.teoc-renewal-request-form input[type=email]{width:100%;box-sizing:border-box;padding:12px 13px;border:1px solid #d7dee7;border-radius:10px;background:#fff;font-size:15px}
.teoc-renewal-confirm{display:flex;align-items:flex-start;gap:10px;padding:14px;border:1px solid #dfe5ec;border-radius:11px;background:#f8fafc;line-height:1.55;color:#44546a}
.teoc-renewal-confirm input{margin-top:4px;flex:0 0 auto}
.teoc-renewal-request-button{justify-self:start;min-height:44px;padding:11px 18px}
@media(max-width:900px){
    .teoc-renewal-policy-banner{align-items:flex-start;flex-direction:column;gap:14px}
    .teoc-renewal-policy-action{width:100%}
    .teoc-renewal-policy-action .teoc-client-secondary{display:flex;justify-content:center;width:100%;box-sizing:border-box}
}
@media(max-width:760px){
    .teoc-client-renewal-cell{min-width:230px}
    .teoc-renewal-request-shell{width:min(100% - 22px,760px);padding:28px 0}
    .teoc-renewal-request-card{padding:22px 18px;border-radius:14px}
    .teoc-renewal-request-card h1{font-size:26px}
    .teoc-renewal-request-meta{grid-template-columns:1fr}
    .teoc-renewal-request-meta dt{border-bottom:0;padding-bottom:4px}
    .teoc-renewal-request-meta dd{padding-top:4px}
    .teoc-renewal-request-button{width:100%;justify-content:center}
}

/* ============================================================
 * v1.0.7 — Full Client Portal responsive UX pass
 * ============================================================ */

/* Generic resilience. */
.teoc-client-topbar > *,
.teoc-client-hero > *,
.teoc-client-page-head > *,
.teoc-client-panel-head > *,
.teoc-client-support-grid > *,
.teoc-client-account-grid > *,
.teoc-client-metrics > *,
.teoc-client-ticket-meta > *,
.teoc-renewal-policy-banner > *{ min-width:0; }

.teoc-client-nav{ min-width:0; }
.teoc-client-nav a{ white-space:nowrap; flex:0 0 auto; }
.teoc-client-user{ min-width:0; }
.teoc-client-user > span{ min-width:0; max-width:180px; }
.teoc-client-user strong,
.teoc-client-user small{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

.teoc-client-table-wrap{
    width:100%;
    max-width:100%;
    overflow-x:auto;
    overflow-y:hidden;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior-inline:contain;
    scrollbar-gutter:stable;
}
.teoc-client-table{ min-width:680px; }
.teoc-services-renewal-table{ min-width:820px; }

/* Reflow the header before it becomes cramped. */
@media(max-width:1200px){
    .teoc-client-topbar{
        grid-template-columns:minmax(0,1fr) auto;
        grid-template-rows:auto auto;
        min-height:auto;
        gap:10px 18px;
        padding:12px max(18px,calc((100vw - 1080px)/2));
    }
    .teoc-client-brand{ grid-column:1; grid-row:1; }
    .teoc-client-user{ grid-column:2; grid-row:1; }
    .teoc-client-nav{
        grid-column:1 / -1;
        grid-row:2;
        order:initial;
        width:100%;
        max-width:100%;
        overflow-x:auto;
        overflow-y:hidden;
        justify-content:flex-start;
        scrollbar-width:none;
        -webkit-overflow-scrolling:touch;
    }
    .teoc-client-nav::-webkit-scrollbar{ display:none; }
    .teoc-client-main{ width:min(1080px,calc(100% - 36px)); padding-top:34px; }
    .teoc-client-footer{ width:min(1080px,calc(100% - 36px)); }
    .teoc-client-support-grid,
    .teoc-client-account-grid{ grid-template-columns:minmax(280px,380px) minmax(0,1fr); gap:18px; }
    .teoc-client-kb-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media(max-width:1040px){
    .teoc-client-support-grid,
    .teoc-client-account-grid{ grid-template-columns:1fr; }
    .teoc-client-metrics{ grid-template-columns:repeat(2,minmax(0,1fr)); }
    .teoc-client-metrics .teoc-client-metric:last-child:nth-child(odd){ grid-column:1 / -1; }
    .teoc-client-main{ padding-bottom:44px; }
}

@media(max-width:820px){
    .teoc-client-topbar{ padding:11px 14px; gap:9px 12px; }
    .teoc-client-user > span{ display:none; }
    .teoc-client-nav{ padding:4px; gap:4px; }
    .teoc-client-nav a{ padding:8px 12px; font-size:12px; }
    .teoc-client-main{ width:min(100% - 28px,1080px); padding-top:26px; }
    .teoc-client-footer{ width:min(100% - 28px,1080px); }
    .teoc-client-hero,
    .teoc-client-page-head{ align-items:flex-start; flex-direction:column; gap:16px; margin-bottom:20px; }
    .teoc-client-hero .teoc-client-primary,
    .teoc-client-page-head .teoc-client-primary{ align-self:flex-start; }
    .teoc-client-hero h1,
    .teoc-client-page-head h1{ font-size:clamp(29px,7vw,38px); overflow-wrap:anywhere; }
    .teoc-client-panel{ padding:20px; }
    .teoc-client-panel-head{ flex-wrap:wrap; align-items:flex-start; gap:10px 14px; }
    .teoc-client-ticket-meta{ grid-template-columns:repeat(2,minmax(0,1fr)); }
    .teoc-client-page-actions{ justify-content:flex-start; }
    .teoc-client-kb-grid{ grid-template-columns:1fr; }
    .teoc-renewal-policy-banner{ padding:18px; }
}

@media(max-width:620px){
    .teoc-client-topbar{ grid-template-columns:minmax(0,1fr) auto; }
    .teoc-client-brand{ gap:9px; }
    .teoc-client-logo{ width:36px; height:36px; border-radius:10px; }
    .teoc-client-logo img{ width:28px; height:28px; }
    .teoc-client-brand strong{ font-size:14px; }
    .teoc-client-brand small{ font-size:10px; }
    .teoc-client-user{ gap:7px; }
    .teoc-client-user > a{ padding:7px 8px; font-size:11px; }
    .teoc-client-language-switch{ padding:5px 7px; }
    .teoc-client-main{ width:calc(100% - 22px); padding-top:22px; padding-bottom:36px; }
    .teoc-client-metrics{ grid-template-columns:1fr; gap:11px; }
    .teoc-client-metrics .teoc-client-metric:last-child:nth-child(odd){ grid-column:auto; }
    .teoc-client-metric{ min-height:94px; padding:19px; }
    .teoc-client-metric strong{ font-size:25px; }
    .teoc-client-panel{ padding:16px; border-radius:13px; }
    .teoc-client-panel-head{ display:block; }
    .teoc-client-panel-head > a,
    .teoc-client-panel-head > .teoc-client-count{ display:inline-flex; margin-top:10px; }
    .teoc-client-table{ min-width:640px; }
    .teoc-services-renewal-table{ min-width:760px; }
    .teoc-client-ticket-meta{ grid-template-columns:1fr; gap:10px; }
    .teoc-client-ticket-row{ align-items:flex-start; flex-direction:column; gap:10px; }
    .teoc-client-ticket-row>span{ justify-content:flex-start; }
    .teoc-client-message-head{ gap:10px; }
    .teoc-client-thread-head{ flex-wrap:wrap; }
    .teoc-client-page-actions{ width:100%; }
    .teoc-client-page-actions form,
    .teoc-client-page-actions .teoc-client-secondary,
    .teoc-client-page-actions .teoc-client-primary{ width:100%; }
    .teoc-client-page-actions button,
    .teoc-client-page-actions a{ width:100%; box-sizing:border-box; }
    .teoc-client-form .teoc-client-primary{ width:100%; }
    .teoc-client-kb-search{ display:grid; grid-template-columns:1fr; }
    .teoc-client-kb-search .teoc-client-primary{ width:100%; }
    .teoc-renewal-policy-banner{ padding:16px; border-radius:13px; }
    .teoc-renewal-policy-banner h2{ font-size:18px; }
    .teoc-client-footer{ width:calc(100% - 22px); }
}

@media(max-width:440px){
    .teoc-client-brand small{ display:none; }
    .teoc-client-user > a{ font-size:0; width:36px; height:36px; padding:0; }
    .teoc-client-user > a::before{ content:"↪"; display:block; font-size:17px; line-height:34px; text-align:center; }
    .teoc-client-nav a{ padding:8px 10px; }
    .teoc-client-main{ width:calc(100% - 18px); }
    .teoc-client-panel{ padding:14px; }
    .teoc-client-hero h1,
    .teoc-client-page-head h1{ font-size:28px; }
}

/* Login portal: reduce excessive dead space on stacked tablet/mobile layouts. */
@media(max-width:900px){
    .teoc-portal-shell{ padding-top:150px; gap:24px; }
    .teoc-portal-brand{ max-width:620px; }
}
@media(max-width:560px){
    .teoc-portal-shell{ padding-top:90px; }
    .teoc-portal-card{ width:100%; }
}


/* ============================================================
 * v1.0.9 — real mobile UX hardening
 * Avoid cramped horizontal navigation and desktop tables on phones.
 * ============================================================ */
body.teoc-client-portal-body{ overflow-x:hidden; }
.teoc-client-menu-toggle{
    display:none;
    align-items:center;
    justify-content:center;
    gap:3px;
    min-width:42px;
    height:38px;
    padding:0 10px;
    border:1px solid #e1e7ef;
    border-radius:9px;
    background:#fff;
    color:#40516b;
    font:inherit;
    cursor:pointer;
}
.teoc-client-menu-toggle>span{
    display:block;
    width:15px;
    height:2px;
    border-radius:2px;
    background:currentColor;
}
.teoc-client-menu-toggle b{ display:none; font-size:11px; }
.teoc-client-menu-toggle:focus-visible{ outline:3px solid rgba(36,87,255,.14); outline-offset:2px; border-color:#b8c9ee; }
.teoc-client-app.is-nav-open .teoc-client-menu-toggle>span:nth-child(1){ transform:translateY(5px) rotate(45deg); }
.teoc-client-app.is-nav-open .teoc-client-menu-toggle>span:nth-child(2){ opacity:0; }
.teoc-client-app.is-nav-open .teoc-client-menu-toggle>span:nth-child(3){ transform:translateY(-5px) rotate(-45deg); }
.teoc-client-menu-toggle>span{ transition:transform .16s ease,opacity .16s ease; }

.teoc-kb-content,
.teoc-client-panel,
.teoc-client-message-body,
.teoc-client-ticket-row strong,
.teoc-client-ticket-row small{ overflow-wrap:anywhere; }
.teoc-client-form input,
.teoc-client-form select,
.teoc-client-form textarea{ min-width:0; max-width:100%; }

@media(max-width:760px){
    .teoc-client-topbar{
        grid-template-columns:minmax(0,1fr) auto;
        grid-template-rows:auto auto;
        gap:9px 10px;
        padding:10px 12px;
    }
    .teoc-client-brand{ grid-column:1; grid-row:1; min-width:0; }
    .teoc-client-user{ grid-column:2; grid-row:1; justify-self:end; gap:6px; }
    .teoc-client-menu-toggle{ display:inline-flex; flex-direction:column; }
    .teoc-client-language-switch{ order:0; }
    .teoc-client-user>span{ display:none; }
    .teoc-client-user>a{ min-width:38px; min-height:38px; display:inline-flex; align-items:center; justify-content:center; }

    .teoc-client-nav{
        grid-column:1 / -1;
        grid-row:2;
        width:100%;
        max-width:100%;
        padding:7px;
        gap:6px;
        overflow:visible;
        background:#f6f8fb;
        border-radius:11px;
    }
    .teoc-client-app.is-nav-ready .teoc-client-nav{ display:none; }
    .teoc-client-app.is-nav-ready.is-nav-open .teoc-client-nav{
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
    .teoc-client-nav a{
        min-width:0;
        min-height:42px;
        display:flex;
        align-items:center;
        justify-content:flex-start;
        white-space:normal;
        line-height:1.25;
        padding:9px 11px;
        overflow-wrap:anywhere;
    }

    .teoc-client-hero .teoc-client-primary,
    .teoc-client-page-head .teoc-client-primary{ width:100%; box-sizing:border-box; }
    .teoc-kb-article>.teoc-kb-back{ width:100%; justify-content:flex-start; box-sizing:border-box; }
}

@media(max-width:680px){
    .teoc-client-table.teoc-mobile-cards,
    .teoc-client-table.teoc-mobile-cards tbody,
    .teoc-client-table.teoc-mobile-cards tr,
    .teoc-client-table.teoc-mobile-cards td{ display:block; width:100%; min-width:0; box-sizing:border-box; }
    .teoc-client-table.teoc-mobile-cards{ min-width:0!important; border-collapse:separate; border-spacing:0; }
    .teoc-client-table.teoc-mobile-cards thead{ display:none; }
    .teoc-client-table.teoc-mobile-cards tbody{ display:grid; gap:12px; }
    .teoc-client-table.teoc-mobile-cards tr{
        padding:4px 14px;
        border:1px solid #e3e9f1;
        border-radius:13px;
        background:#fff;
        box-shadow:0 2px 10px rgba(20,43,78,.035);
    }
    .teoc-client-table.teoc-mobile-cards td{
        display:grid;
        grid-template-columns:minmax(104px,.42fr) minmax(0,1fr);
        align-items:start;
        gap:12px;
        padding:12px 0;
        border-bottom:1px solid #edf1f5;
        text-align:left;
    }
    .teoc-client-table.teoc-mobile-cards td:last-child{ border-bottom:0; }
    .teoc-client-table.teoc-mobile-cards td::before{
        content:attr(data-label);
        color:#7a8798;
        font-size:10px;
        font-weight:850;
        line-height:1.35;
        letter-spacing:.04em;
        text-transform:uppercase;
    }
    .teoc-client-table.teoc-mobile-cards td>strong,
    .teoc-client-table.teoc-mobile-cards td>small,
    .teoc-client-table.teoc-mobile-cards td>span,
    .teoc-client-table.teoc-mobile-cards td>form,
    .teoc-client-table.teoc-mobile-cards td>a{ min-width:0; max-width:100%; }
    .teoc-client-table.teoc-mobile-cards .teoc-client-renewal-cell{ min-width:0; }
    .teoc-client-table.teoc-mobile-cards .teoc-client-nonrenewal-form{ margin-top:9px; }
    .teoc-client-table.teoc-mobile-cards .teoc-client-nonrenewal-button{ width:100%; }
    .teoc-client-table.teoc-mobile-cards .teoc-client-renewal-ticket{ margin-left:0; }
}

@media(max-width:520px){
    .teoc-client-topbar{ padding:9px 10px; }
    .teoc-client-logo{ width:34px; height:34px; }
    .teoc-client-logo img{ width:26px; height:26px; }
    .teoc-client-brand strong{ font-size:13px; }
    .teoc-client-brand small{ display:none; }
    .teoc-client-user{ gap:5px; }
    .teoc-client-language-switch{ min-height:34px; padding:5px 6px; }
    .teoc-client-user>a{ width:36px; height:36px; min-width:36px; min-height:36px; padding:0; font-size:0; }
    .teoc-client-user>a::before{ content:"↪"; font-size:17px; line-height:1; }
    .teoc-client-menu-toggle{ width:36px; min-width:36px; height:36px; padding:0 9px; }
    .teoc-client-app.is-nav-ready.is-nav-open .teoc-client-nav{ grid-template-columns:1fr; }
    .teoc-client-nav a{ min-height:40px; }
    .teoc-client-main{ width:calc(100% - 18px); padding-top:18px; }
    .teoc-client-panel{ padding:14px; }
    .teoc-client-hero,
    .teoc-client-page-head{ gap:13px; }
    .teoc-client-hero h1,
    .teoc-client-page-head h1{ font-size:27px; line-height:1.08; }
    .teoc-client-hero p,
    .teoc-client-page-head p{ font-size:13px; }
    .teoc-client-table.teoc-mobile-cards td{ grid-template-columns:1fr; gap:5px; padding:11px 0; }
    .teoc-client-table.teoc-mobile-cards td::before{ font-size:9px; }
    .teoc-kb-content{ font-size:14px; line-height:1.68; }
    .teoc-kb-content h2{ font-size:19px; line-height:1.3; }
}


/* v1.0.11 — richer service UX and editable portal identity */
.teoc-client-metric-link{
    position:relative;
    color:inherit;
    text-decoration:none;
    transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
.teoc-client-metric-link:hover,
.teoc-client-metric-link:focus-visible{
    transform:translateY(-2px);
    border-color:#c8d6ff;
    box-shadow:0 12px 28px rgba(36,87,255,.10);
}
.teoc-client-metric-arrow{
    position:absolute;
    right:20px;
    top:18px;
    color:#2457ff;
    font-size:18px;
    line-height:1;
}
.teoc-client-service-link,
.teoc-client-service-type-link{
    color:#173e9b;
    text-decoration:none;
}
.teoc-client-service-link:hover,
.teoc-client-service-type-link:hover,
.teoc-client-service-link:focus-visible,
.teoc-client-service-type-link:focus-visible{
    color:#2457ff;
    text-decoration:underline;
    text-underline-offset:3px;
}
.teoc-client-service-summary{
    max-width:440px;
    color:#6f7d90 !important;
    line-height:1.5;
    margin-top:6px !important;
}
.teoc-service-detail-head{
    align-items:flex-start;
}
.teoc-client-back-link{
    display:inline-flex;
    margin-bottom:18px;
    color:#51647d;
    font-size:12px;
    font-weight:800;
    text-decoration:none;
}
.teoc-client-back-link:hover{color:#2457ff;}
.teoc-service-detail-grid{
    display:grid;
    grid-template-columns:minmax(0,1.55fr) minmax(300px,.75fr);
    gap:20px;
    margin-bottom:24px;
}
.teoc-service-description p{
    margin:0;
    color:#405167;
    font-size:14px;
    line-height:1.8;
}
.teoc-client-account-edit{
    margin-top:22px;
    border-top:1px solid #e8edf3;
    padding-top:18px;
}
.teoc-client-account-edit summary{
    width:fit-content;
    cursor:pointer;
    color:#2457ff;
    font-size:13px;
    font-weight:800;
    list-style:none;
}
.teoc-client-account-edit summary::-webkit-details-marker{display:none;}
.teoc-client-account-edit summary::after{
    content:" +";
    font-weight:900;
}
.teoc-client-account-edit[open] summary::after{content:" −";}
.teoc-client-account-form{
    display:grid;
    gap:14px;
    max-width:560px;
    margin-top:18px;
    padding:18px;
    border-radius:12px;
    background:#f8faff;
    border:1px solid #e3e9f3;
}
.teoc-client-account-form label{
    display:grid;
    gap:7px;
}
.teoc-client-account-form label>span{
    color:#33465d;
    font-size:12px;
    font-weight:800;
}
.teoc-client-account-form input{
    width:100%;
    min-height:44px;
    padding:10px 12px;
    border:1px solid #d8e0ea;
    border-radius:9px;
    background:#fff;
    color:#122033;
    font:inherit;
    font-size:13px;
    box-sizing:border-box;
}
.teoc-client-account-form input:focus{
    outline:0;
    border-color:#2457ff;
    box-shadow:0 0 0 3px rgba(36,87,255,.10);
}
.teoc-client-account-form .teoc-client-muted{margin:0;}
.teoc-client-account-form .teoc-client-primary{width:fit-content;}

@media(max-width:900px){
    .teoc-service-detail-grid{grid-template-columns:1fr;}
}
@media(max-width:620px){
    .teoc-client-metric-arrow{right:16px;top:15px;}
    .teoc-client-service-summary{max-width:none;}
    .teoc-client-account-form{padding:14px;}
    .teoc-client-account-form .teoc-client-primary{width:100%;}
}

/* v1.0.12 — Client Account & Security Center */
.teoc-security-page-head{margin-bottom:26px}
.teoc-security-section{margin:0 0 28px}
.teoc-security-section-title{display:flex;align-items:center;gap:10px;margin:0 0 12px;padding:0 4px}
.teoc-security-section-title h2{margin:0;color:#10213a;font-size:18px;line-height:1.25}
.teoc-security-section-icon{width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;background:#eef3ff;color:#2457ff;font-weight:900}
.teoc-security-card{background:#fff;border:1px solid #dce4ee;border-radius:14px;padding:22px;box-shadow:0 8px 28px rgba(25,49,83,.035)}
.teoc-security-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}
.teoc-security-card-head>div{display:grid;gap:4px}
.teoc-security-card-head strong{font-size:15px;color:#10213a}
.teoc-security-card-head small{font-size:12px;color:#748298;line-height:1.45}
.teoc-security-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 28px;padding:4px 0 8px}
.teoc-security-info-grid>div{display:grid;gap:5px;min-width:0}
.teoc-security-info-grid span{font-size:11px;font-weight:800;color:#7a8798;text-transform:uppercase;letter-spacing:.035em}
.teoc-security-info-grid strong{font-size:14px;color:#17263b;overflow-wrap:anywhere}
.teoc-security-actions-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px;padding-top:18px;border-top:1px solid #edf1f5}
.teoc-security-action{min-width:0}
.teoc-security-action>summary{display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:8px 12px;border:1px solid #dce4ee;border-radius:9px;background:#fff;color:#173e9b;font-size:12px;font-weight:800;cursor:pointer;list-style:none;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}
.teoc-security-action>summary::-webkit-details-marker{display:none}
.teoc-security-action>summary:hover,.teoc-security-action>summary:focus-visible{border-color:#b8c8f8;background:#f8faff;box-shadow:0 4px 14px rgba(36,87,255,.07)}
.teoc-security-action[open]{width:100%}
.teoc-security-action[open]>summary{margin-bottom:12px}
.teoc-security-form{max-width:720px;margin-top:0}
.teoc-security-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.teoc-security-pending{max-width:720px;margin-top:4px;padding:18px;border:1px solid #dce4ee;border-radius:12px;background:#f8faff}
.teoc-security-pending>strong{display:block;margin-bottom:6px;color:#10213a}
.teoc-security-pending>p{margin:0 0 14px;color:#596a81;font-size:13px;line-height:1.55}
.teoc-security-inline-form{display:flex;align-items:center;gap:10px}
.teoc-security-inline-form input{width:180px;min-height:44px;padding:10px 12px;border:1px solid #d8e0ea;border-radius:9px;background:#fff;font:inherit;font-size:18px;font-weight:800;letter-spacing:.18em;text-align:center}
.teoc-security-resend-inline{margin-top:10px}
.teoc-link-button{appearance:none;border:0;background:none;padding:0;color:#2457ff;font:inherit;font-size:12px;font-weight:800;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.teoc-security-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.teoc-security-card-copy{margin:0;color:#596a81;font-size:13px;line-height:1.65}
.teoc-security-status{display:inline-flex;align-items:center;min-height:26px;padding:4px 9px;border-radius:999px;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.035em;white-space:nowrap}
.teoc-security-status.is-ok{background:#eaf8ef;color:#15803d}
.teoc-security-status.is-warn{background:#fff4dd;color:#9a6700}
.teoc-device-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.teoc-device-card{display:flex;gap:12px;min-width:0;padding:16px;border:1px solid #e2e8f0;border-radius:12px;background:#fbfcfe}
.teoc-device-card.is-current{border-color:#b9cafc;background:#f6f8ff}
.teoc-device-icon{width:34px;height:34px;flex:0 0 34px;display:inline-flex;align-items:center;justify-content:center;border-radius:9px;background:#eef2f7;color:#4f6078}
.teoc-device-card>div{display:grid;gap:3px;min-width:0}
.teoc-device-card strong{font-size:12px;color:#10213a}
.teoc-device-card small{font-size:10px;color:#7b8798;overflow-wrap:anywhere}
.teoc-device-card em{margin-top:3px;color:#2457ff;font-size:9px;font-style:normal;font-weight:900;letter-spacing:.04em}
.teoc-security-signout-form{margin-top:16px}
.teoc-security-activity-table{width:100%}
.teoc-security-activity-head,.teoc-security-activity-row{display:grid;grid-template-columns:1.15fr .75fr 1fr 1.2fr;gap:16px;align-items:center}
.teoc-security-activity-head{padding:0 12px 10px;color:#768398;font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.035em}
.teoc-security-activity-row{padding:12px;border-top:1px solid #edf1f5;color:#42536a;font-size:12px}
.teoc-security-activity-row strong{font-size:12px;color:#17263b}
.teoc-security-retention{margin:16px 0 0!important;padding-top:14px;border-top:1px solid #edf1f5}

/* Security verification gate */
.teoc-security-gate-body{min-height:100vh;background:#f3f6fb}
.teoc-security-gate{width:min(560px,calc(100% - 28px));margin:0 auto;padding:54px 0}
.teoc-security-gate-brand{display:flex;align-items:center;gap:10px;margin-bottom:18px;color:#10213a}
.teoc-security-gate-brand img{width:38px;height:38px;object-fit:contain;border:1px solid #dce4ee;border-radius:10px;background:#fff;padding:5px;box-sizing:border-box}
.teoc-security-gate-brand strong{font-size:15px}
.teoc-security-gate-brand span{margin-left:auto;color:#77859a;font-size:11px}
.teoc-security-gate-card{padding:28px;border:1px solid #dce4ee;border-radius:16px;background:#fff;box-shadow:0 20px 55px rgba(26,48,79,.10)}
.teoc-security-gate-card h1{margin:6px 0 10px;color:#0e1d33;font-size:28px;line-height:1.15}
.teoc-security-gate-card>p{margin:0 0 20px;color:#596a81;font-size:14px;line-height:1.65}
.teoc-security-icon{width:72px;height:72px;display:flex;align-items:center;justify-content:center;margin-bottom:18px;border-radius:22px;background:linear-gradient(145deg,#eaf0ff,#f7f9ff);box-shadow:inset 0 0 0 1px #dce6ff}.teoc-security-icon img{display:block;width:44px;height:44px;object-fit:contain}
.teoc-security-error{margin:0 0 14px;padding:10px 12px;border-radius:9px;background:#fff0f0;color:#a12828;font-size:12px;font-weight:700}
.teoc-security-code-form{display:grid;gap:15px}
.teoc-security-code-form>label:first-of-type{display:grid;gap:7px}
.teoc-security-code-form>label:first-of-type span{font-size:12px;font-weight:800;color:#33465d}
.teoc-security-code-form input[type="text"]{width:100%;min-height:50px;padding:10px 14px;border:1px solid #cfd9e6;border-radius:10px;font:inherit;font-size:21px;font-weight:850;letter-spacing:.22em;text-align:center;box-sizing:border-box}
.teoc-security-code-form input[type="text"]:focus{outline:0;border-color:#2457ff;box-shadow:0 0 0 3px rgba(36,87,255,.10)}
.teoc-security-check{display:flex;align-items:flex-start;gap:10px;cursor:pointer}
.teoc-security-check input{margin-top:3px}
.teoc-security-check span{display:grid;gap:3px}
.teoc-security-check strong{font-size:13px;color:#17263b}
.teoc-security-check small{font-size:11px;line-height:1.5;color:#77859a}
.teoc-security-code-form .teoc-client-primary{width:100%;justify-content:center}
.teoc-security-resend-form{margin:14px 0;text-align:center}
.teoc-security-gate-card>.teoc-secondary-link{display:block;text-align:center;font-size:12px}

@media(max-width:980px){
    .teoc-device-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
    .teoc-security-info-grid,.teoc-security-grid,.teoc-security-form-grid{grid-template-columns:1fr}
    .teoc-device-grid{grid-template-columns:1fr}
    .teoc-security-card{padding:18px}
    .teoc-security-card-head{gap:10px}
    .teoc-security-activity-head{display:none}
    .teoc-security-activity-row{grid-template-columns:1fr 1fr;gap:10px 14px;padding:14px 4px}
    .teoc-security-activity-row span,.teoc-security-activity-row strong{display:grid;gap:3px;min-width:0;overflow-wrap:anywhere}
    .teoc-security-activity-row span::before,.teoc-security-activity-row strong::before{content:attr(data-label);font-size:9px;color:#8490a0;text-transform:uppercase;letter-spacing:.04em;font-weight:850}
}
@media(max-width:520px){
    .teoc-security-section-title h2{font-size:16px}
    .teoc-security-card{padding:14px}
    .teoc-security-card-head{align-items:flex-start;flex-direction:column}
    .teoc-security-actions-row{display:grid;grid-template-columns:1fr}
    .teoc-security-action>summary{width:100%;box-sizing:border-box;justify-content:space-between}
    .teoc-security-inline-form{display:grid;grid-template-columns:1fr}
    .teoc-security-inline-form input{width:100%;box-sizing:border-box}
    .teoc-security-inline-form .teoc-client-primary{width:100%}
    .teoc-security-activity-row{grid-template-columns:1fr}
    .teoc-security-gate{padding:24px 0}
    .teoc-security-gate-card{padding:20px}
    .teoc-security-gate-card h1{font-size:24px}
}


/* === v1.0.13 — Company / billing profile & security activity polish === */
.teoc-company-info-grid .teoc-company-address{grid-column:span 1}
.teoc-company-info-grid a{color:var(--teoc-primary,#2457ff);text-decoration:none;overflow-wrap:anywhere}
.teoc-company-edit{margin-top:18px}
.teoc-security-field-wide{grid-column:1 / -1}
.teoc-security-activity-row strong{overflow-wrap:anywhere}
@media (min-width:1100px){.teoc-company-info-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.teoc-company-info-grid .teoc-company-address{grid-column:span 2}}
@media (max-width:720px){.teoc-security-field-wide{grid-column:auto}.teoc-company-info-grid .teoc-company-address{grid-column:auto}.teoc-company-edit summary{width:100%;box-sizing:border-box}}

/* === v1.0.14 — Knowledge Hub ↔ Support integration === */
.teoc-client-kb-assist{margin:14px 0 2px;padding:14px;border:1px solid #d9e2f0;border-radius:14px;background:#f8fbff}.teoc-client-kb-assist[hidden]{display:none}.teoc-client-kb-assist-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:8px}.teoc-client-kb-assist-head strong{display:block}.teoc-client-kb-assist-head span{display:block;color:#728096;font-size:12px;margin-top:2px}.teoc-client-kb-assist-copy{display:grid;gap:3px;margin-bottom:10px}.teoc-client-kb-assist-copy>strong{font-size:15px;color:#10244a}.teoc-client-kb-assist-copy>span{font-size:12px;color:#667085}.teoc-client-kb-assist-list{display:grid;gap:9px}.teoc-client-kb-assist-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;padding:12px;background:#fff;border:1px solid #e0e6ef;border-radius:12px}.teoc-client-kb-assist-item>div:first-child{min-width:0}.teoc-client-kb-assist-item small,.teoc-client-kb-assist-item strong,.teoc-client-kb-assist-item span{display:block}.teoc-client-kb-assist-item small{font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:#7a8799;font-weight:700}.teoc-client-kb-assist-item strong{margin-top:3px;font-size:14px;color:#10244a}.teoc-client-kb-assist-item span{margin-top:5px;font-size:12px;line-height:1.5;color:#667085}.teoc-client-kb-assist-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.teoc-client-kb-assist-item.is-solved{border-color:#b8dcc7;background:#f5fbf7}.teoc-client-kb-assist-status{min-height:18px;padding-top:8px;color:#52637a;font-size:12px}.teoc-kb-support-cta{margin-top:34px;padding:18px;border:1px solid #dbe3ee;border-radius:14px;background:#f8fbff}.teoc-kb-support-cta>div:first-child{display:grid;gap:4px}.teoc-kb-support-cta>div:first-child span{font-size:13px;color:#667085}.teoc-kb-support-cta>div:nth-child(2){display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.teoc-kb-support-cta p{margin:10px 0 0;color:#456a52;font-size:12px}.teoc-kb-support-cta.is-solved{border-color:#b8dcc7;background:#f5fbf7}
@media(max-width:760px){.teoc-client-kb-assist-item{grid-template-columns:1fr}.teoc-client-kb-assist-actions{justify-content:flex-start}.teoc-client-kb-assist-actions>*{width:100%;text-align:center}.teoc-kb-support-cta>div:nth-child(2){display:grid}.teoc-kb-support-cta>div:nth-child(2)>*{width:100%;text-align:center}}


/* === v1.0.15 — Support Knowledge suggestions layout fix === */
.teoc-client-kb-assist-results,
.teoc-client-kb-assist-list{
    min-width:0;
    width:100%;
}
.teoc-client-kb-assist-item{
    grid-template-columns:minmax(0,1fr);
    align-items:start;
}
.teoc-client-kb-assist-item>div:first-child{
    width:100%;
    min-width:0;
}
.teoc-client-kb-assist-item small,
.teoc-client-kb-assist-item strong,
.teoc-client-kb-assist-item span{
    white-space:normal;
    word-break:normal;
    overflow-wrap:break-word;
}
.teoc-client-kb-assist-actions{
    width:100%;
    min-width:0;
    justify-content:flex-start;
}
.teoc-client-kb-assist-actions .teoc-client-secondary{
    max-width:100%;
    white-space:normal;
}
@media(min-width:521px){
    .teoc-client-kb-assist-actions .teoc-client-secondary{
        width:auto;
        flex:0 1 auto;
    }
}
@media(max-width:520px){
    .teoc-client-kb-assist-actions{
        display:grid;
        grid-template-columns:1fr;
    }
    .teoc-client-kb-assist-actions .teoc-client-secondary{
        width:100%;
        box-sizing:border-box;
    }
}

/* v1.0.30 — subscription-gated Support + service activation */
.teoc-client-support-grid.is-history-only{grid-template-columns:minmax(280px,.72fr) minmax(0,1.28fr)}
.teoc-support-locked{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-height:230px;background:linear-gradient(145deg,#fff 0,#f8fbff 100%)}
.teoc-support-locked h2{margin:8px 0 8px;font-size:22px}
.teoc-support-locked p{max-width:48ch;margin:0 0 18px;color:#64748b;line-height:1.55}
.teoc-support-locked-inline{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.teoc-support-locked-inline a{font-weight:700}
.teoc-client-activation-panel{scroll-margin-top:110px}
.teoc-client-activation-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end;max-width:850px}
.teoc-client-activation-form label{margin:0}
.teoc-client-activation-form label>span{display:block;margin-bottom:6px;font-weight:700;font-size:12px}
.teoc-client-activation-form select{width:100%;min-height:44px;border:1px solid #d7e0eb;border-radius:10px;background:#fff;padding:0 12px}
.teoc-client-activation-form .teoc-client-primary{min-height:44px;white-space:nowrap}
.teoc-client-activation-panel>.teoc-client-muted{display:block;margin-top:10px}
@media(max-width:900px){
  .teoc-client-support-grid.is-history-only{grid-template-columns:1fr}
}
@media(max-width:680px){
  .teoc-client-activation-form{grid-template-columns:1fr}
  .teoc-client-activation-form .teoc-client-primary{width:100%}
  .teoc-support-locked{min-height:0}
}

/* ThinkEasy Bookings · Client Portal v1.0.47 */
.teoc-portal-booking-types{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.teoc-portal-booking-type{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:12px;padding:15px;border:1px solid #e3e8ef;border-radius:14px;background:#fafbfd;text-decoration:none;color:#26374f}.teoc-portal-booking-type:hover{background:#f4f7fa;border-color:#d9e1eb}.teoc-portal-booking-type>.dashicons{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:11px;background:#edf2f7;color:#52637a}.teoc-portal-booking-type strong{display:block;font-size:13px}.teoc-portal-booking-type small{display:block;margin-top:4px;color:#7c899b;font-size:11px;line-height:1.4}.teoc-portal-booking-type>b{font-size:11px;color:#68778b}.teoc-portal-booking-list{display:flex;flex-direction:column}.teoc-portal-booking-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 0;border-bottom:1px solid #edf1f5}.teoc-portal-booking-row:last-child{border-bottom:0}.teoc-portal-booking-row h3{margin:7px 0 3px;font-size:14px}.teoc-portal-booking-row p{margin:0;color:#788699;font-size:11px}.teoc-portal-booking-row.is-past{opacity:.78}.teoc-portal-booking-history{margin-top:16px}.teoc-portal-booking-history summary{cursor:pointer;font-weight:800;color:#2c3e55}.teoc-portal-booking-history summary span{color:#8a96a5;font-weight:600}.teoc-status-pill.is-pending{background:#fff3d8;color:#8a6115}.teoc-status-pill.is-confirmed{background:#e8f5ed;color:#23633b}@media(max-width:760px){.teoc-portal-booking-types{grid-template-columns:1fr}.teoc-portal-booking-row{align-items:flex-start;flex-direction:column}.teoc-portal-booking-row .teoc-client-button{width:100%;justify-content:center}}


/* v1.0.49 — Bookings CTA + responsive portal polish */
.teoc-booking-primary-cta{flex:0 0 auto;align-self:flex-start;white-space:nowrap}
.teoc-booking-unavailable .teoc-client-empty{display:flex;flex-direction:column;align-items:flex-start;gap:8px;text-align:left}
.teoc-booking-unavailable .teoc-client-empty .teoc-client-secondary{margin-top:4px}
@media(max-width:900px){
    .teoc-client-section-head{align-items:flex-start!important;flex-wrap:wrap!important}
    .teoc-booking-primary-cta{width:100%;justify-content:center;box-sizing:border-box}
    .teoc-portal-booking-type{grid-template-columns:42px minmax(0,1fr);}
    .teoc-portal-booking-type>b{grid-column:2;justify-self:start}
}
@media(max-width:560px){
    .teoc-portal-booking-type{padding:13px;gap:10px}
    .teoc-portal-booking-row{gap:10px}
}

/* ========================================================================== 
 * ThinkEasy Client Portal Design System v1.0.53
 * Approved premium portal direction: simple, spacious, action-first.
 * ========================================================================== */
:root{
    --teoc-p-navy:#071a33;
    --teoc-p-navy-2:#0d2b52;
    --teoc-p-ink:#10233f;
    --teoc-p-muted:#72829a;
    --teoc-p-line:#dfe7f1;
    --teoc-p-bg:#f4f7fb;
    --teoc-p-card:#fff;
    --teoc-p-soft:#eef3f9;
    --teoc-p-accent:#0f62fe;
    --teoc-p-accent-soft:#eaf2ff;
    --teoc-p-success:#137a4c;
    --teoc-p-success-soft:#e8f7f0;
    --teoc-p-warn:#946000;
    --teoc-p-warn-soft:#fff6df;
    --teoc-p-radius:22px;
    --teoc-p-shadow:0 18px 45px rgba(15,35,63,.075);
}
body.teoc-client-portal-body{
    background:var(--teoc-p-bg);
    color:var(--teoc-p-ink);
}
.teoc-client-topbar{
    min-height:72px;
    grid-template-columns:minmax(180px,1fr) auto minmax(250px,1fr);
    gap:20px;
    padding:0 max(28px,calc((100vw - 1460px)/2));
    background:rgba(255,255,255,.95);
    backdrop-filter:blur(16px);
    -webkit-backdrop-filter:blur(16px);
    border-bottom:1px solid var(--teoc-p-line);
    box-shadow:0 3px 18px rgba(16,35,63,.025);
}
.teoc-client-brand{gap:11px}
.teoc-client-logo{
    width:42px;height:42px;border-radius:12px;border-color:var(--teoc-p-line);
    box-shadow:0 8px 20px rgba(15,35,63,.06)
}
.teoc-client-logo img{width:32px;height:32px}
.teoc-client-brand strong{font-size:18px;letter-spacing:-.015em}
.teoc-client-brand small{font-size:12px;color:#8290a3}
.teoc-client-nav{
    gap:4px;padding:5px;border-radius:15px;background:#f6f8fb;border-color:var(--teoc-p-line)
}
.teoc-client-nav a{
    min-height:38px;display:flex;align-items:center;padding:8px 13px;border-radius:10px;
    color:#4d5d73;font-size:12px;font-weight:780;white-space:nowrap
}
.teoc-client-nav a:hover{background:#fff;color:var(--teoc-p-accent)}
.teoc-client-nav a.is-active{
    background:#fff;color:var(--teoc-p-accent);box-shadow:0 4px 14px rgba(15,35,63,.07)
}
.teoc-client-user{gap:9px}
.teoc-client-user-avatar{
    width:38px;height:38px;border-radius:50%;display:grid;place-items:center;flex:0 0 auto;
    background:linear-gradient(145deg,#dfe7f2,#f9fbfd);border:1px solid var(--teoc-p-line);
    color:#53647b;font-size:12px;font-weight:850;text-transform:uppercase
}
.teoc-client-user-copy{max-width:145px}
.teoc-client-user-copy strong,.teoc-client-user-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.teoc-client-signout{border-radius:10px!important;padding:9px 12px!important}
.teoc-client-language-switch{border-radius:10px;background:#fff;border-color:var(--teoc-p-line)}

.teoc-client-main{
    width:min(1320px,calc(100% - 56px));
    padding:36px 0 64px;
}
.teoc-client-footer{
    width:min(1320px,calc(100% - 56px));min-height:70px;border-top-color:var(--teoc-p-line);color:#8795a8
}

/* Global typography and surfaces */
.teoc-client-eyebrow{color:#5e89ff;font-size:11px;letter-spacing:.13em;font-weight:900}
.teoc-client-page-head,.teoc-client-section-head{
    display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin:0 0 22px
}
.teoc-client-page-head h1,.teoc-client-section-head h1{
    margin:8px 0 7px;color:var(--teoc-p-ink);font-size:clamp(32px,3.15vw,42px);line-height:1.06;letter-spacing:-.04em
}
.teoc-client-page-head p,.teoc-client-section-head p{margin:0;color:var(--teoc-p-muted);font-size:16px;line-height:1.7;max-width:780px}
.teoc-client-panel,.teoc-client-card,.teoc-security-card{
    background:var(--teoc-p-card);border:1px solid var(--teoc-p-line);border-radius:var(--teoc-p-radius);
    box-shadow:0 8px 28px rgba(15,35,63,.045)
}
.teoc-client-panel,.teoc-client-card{padding:24px}
.teoc-client-panel + .teoc-client-panel,.teoc-client-card + .teoc-client-card{margin-top:16px}
.teoc-client-panel h2,.teoc-client-card h2{color:var(--teoc-p-ink);letter-spacing:-.02em}
.teoc-client-panel-head,.teoc-client-card-head{margin-bottom:16px}
.teoc-client-panel-head h2,.teoc-client-card-head h2{font-size:22px}
.teoc-client-panel-head p,.teoc-client-card-head p{font-size:14px;line-height:1.65;color:var(--teoc-p-muted)}
.teoc-client-panel-head>a,.teoc-client-card-head>a{color:var(--teoc-p-accent);font-weight:800}
.teoc-client-primary,.teoc-client-button-primary{
    min-height:44px;border-radius:12px!important;padding:11px 16px!important;
    background:var(--teoc-p-accent)!important;border-color:var(--teoc-p-accent)!important;
    box-shadow:0 10px 24px rgba(15,98,254,.20)!important
}
.teoc-client-secondary,.teoc-client-button-secondary{
    min-height:42px;border-radius:11px!important;border-color:#d9e2ed!important;background:#fff!important;color:#34475f!important
}
.teoc-client-secondary:hover,.teoc-client-button-secondary:hover{background:#f8fafc!important;border-color:#cbd6e4!important}
.teoc-client-empty{
    padding:30px;border:1px dashed #d7e0eb;border-radius:16px;background:#fbfcfe;color:var(--teoc-p-muted);text-align:center
}
.teoc-client-empty strong{color:#31445e}
.teoc-client-notice{margin:0 0 18px;border:1px solid #d9e5ff;background:#f1f6ff;color:#24456f;border-radius:13px;padding:13px 15px}

/* Approved dark premium overview hero */
.teoc-client-page-overview .teoc-client-hero{
    position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1.45fr) auto;align-items:end;gap:28px;
    margin:0 0 18px;padding:34px 36px;border-radius:28px;
    background:linear-gradient(135deg,var(--teoc-p-navy),var(--teoc-p-navy-2) 76%);
    box-shadow:var(--teoc-p-shadow)
}
.teoc-client-page-overview .teoc-client-hero::before,
.teoc-client-page-overview .teoc-client-hero::after{
    content:"";position:absolute;border:1px solid rgba(255,255,255,.11);border-radius:50%;pointer-events:none
}
.teoc-client-page-overview .teoc-client-hero::before{width:360px;height:360px;right:-125px;top:-210px}
.teoc-client-page-overview .teoc-client-hero::after{width:250px;height:250px;right:105px;bottom:-215px}
.teoc-client-hero-copy,.teoc-client-hero-actions{position:relative;z-index:1}
.teoc-client-page-overview .teoc-client-hero h1{margin:10px 0 10px;color:#fff;font-size:clamp(34px,3.35vw,46px);letter-spacing:-.045em}
.teoc-client-page-overview .teoc-client-hero p{max-width:760px;color:#c8d5e7;font-size:16px;line-height:1.75}
.teoc-client-page-overview .teoc-client-hero .teoc-client-eyebrow{color:#88adff}
.teoc-client-hero-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.teoc-client-page-overview .teoc-client-primary{background:#fff!important;border-color:#fff!important;color:var(--teoc-p-navy)!important;box-shadow:none!important}
.teoc-client-secondary-on-dark{background:rgba(255,255,255,.08)!important;border-color:rgba(255,255,255,.18)!important;color:#fff!important}
.teoc-client-secondary-on-dark:hover{background:rgba(255,255,255,.14)!important;color:#fff!important}

/* Overview KPI cards */
.teoc-client-metrics{
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:15px;margin:0 0 18px
}
.teoc-client-metric{
    position:relative;min-height:128px;padding:20px;border-radius:20px;border-color:var(--teoc-p-line);
    box-shadow:0 8px 24px rgba(15,35,63,.04);transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease
}
.teoc-client-metric-link:hover{transform:translateY(-2px);border-color:#cbd8e8;box-shadow:0 14px 32px rgba(15,35,63,.07)}
.teoc-client-metric span{font-size:11px;letter-spacing:.075em;color:#7d8ca1}
.teoc-client-metric strong{font-size:30px;line-height:1.08;color:var(--teoc-p-ink);overflow-wrap:anywhere}
.teoc-client-metric-arrow{position:absolute;right:18px;top:18px;color:var(--teoc-p-accent);font-size:16px}
.teoc-client-overview-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,.65fr);gap:18px;align-items:start}
.teoc-client-overview-main,.teoc-client-overview-side{min-width:0}
.teoc-client-quick-actions{display:grid;gap:10px}
.teoc-client-quick-actions>a{
    display:grid;gap:4px;padding:14px 15px;border:1px solid #e8edf4;border-radius:14px;background:#fbfcfe;text-decoration:none;
    transition:.16s ease
}
.teoc-client-quick-actions>a:hover{background:#f4f8ff;border-color:#d7e3f7;transform:translateY(-1px)}
.teoc-client-quick-actions strong{font-size:15px;color:var(--teoc-p-ink)}
.teoc-client-quick-actions span{font-size:13px;line-height:1.5;color:var(--teoc-p-muted)}

/* Renewal policy becomes a calm information block, not a wall of text. */
.teoc-client-page-overview .teoc-renewal-policy-banner,
.teoc-client-page-services .teoc-renewal-policy-banner{
    border:1px solid #dce6f2;border-radius:20px;background:linear-gradient(145deg,#f8fbff,#fff);box-shadow:none;padding:20px 22px;margin-bottom:16px
}
.teoc-renewal-policy-banner h2{font-size:21px;color:var(--teoc-p-ink)}
.teoc-renewal-policy-banner p{font-size:15px;color:#53657c;line-height:1.7}

/* Tables and list pages */
.teoc-client-table-wrap{border-radius:14px;overflow:auto}
.teoc-client-table{min-width:680px}
.teoc-client-table th{padding:13px 14px;background:#f8fafc;color:#8491a3;border-bottom-color:#e7edf4;font-size:12.5px}
.teoc-client-table td{padding:17px 14px;color:#45566c;font-size:14px;line-height:1.55}
.teoc-client-table tbody tr{transition:background .14s ease}
.teoc-client-table tbody tr:hover{background:#fbfdff}
.teoc-client-table td strong{color:var(--teoc-p-ink)}
.teoc-client-badge{border-radius:999px;padding:5px 9px;font-size:10px}
.teoc-client-status-active,.teoc-client-status-renewed,.teoc-client-status-resolved{background:var(--teoc-p-success-soft);color:var(--teoc-p-success)}
.teoc-client-status-renewal_pending,.teoc-client-status-waiting_customer{background:var(--teoc-p-warn-soft);color:var(--teoc-p-warn)}
.teoc-client-status-open,.teoc-client-status-in_progress,.teoc-client-status-waiting_provider{background:var(--teoc-p-accent-soft);color:var(--teoc-p-accent)}

/* Services */
.teoc-client-page-services .teoc-client-panel{margin-bottom:16px}
.teoc-service-detail-grid{gap:18px}
.teoc-service-detail-head .teoc-client-back-link{display:inline-flex;margin-bottom:13px;color:#58708e;font-size:13px;font-weight:800;text-decoration:none}
.teoc-service-description p{color:#53657c;line-height:1.8;font-size:15px}
.teoc-client-dl{row-gap:12px}
.teoc-client-activation-panel{background:linear-gradient(145deg,#fff,#f9fbfe)}
.teoc-client-activation-form select,.teoc-client-form input,.teoc-client-form select,.teoc-client-form textarea,
.teoc-security-form input,.teoc-security-form select,.teoc-security-form textarea{
    border-color:#d8e2ed;border-radius:11px;min-height:45px;background:#fff
}
.teoc-client-activation-form select:focus,.teoc-client-form input:focus,.teoc-client-form select:focus,.teoc-client-form textarea:focus,
.teoc-security-form input:focus,.teoc-security-form select:focus,.teoc-security-form textarea:focus{
    border-color:#9bbcff;box-shadow:0 0 0 4px rgba(15,98,254,.08);outline:0
}

/* Support */
.teoc-client-support-grid{grid-template-columns:minmax(320px,.78fr) minmax(0,1.22fr);gap:18px}
.teoc-client-ticket-list{border-color:#e4eaf2;border-radius:16px;background:#fff;overflow:hidden}
.teoc-client-ticket-row{padding:18px 18px}
.teoc-client-ticket-row:hover{background:#f7faff}
.teoc-client-ticket-meta{gap:12px}
.teoc-client-ticket-meta>div{border-radius:15px;border-color:var(--teoc-p-line);box-shadow:0 6px 20px rgba(15,35,63,.035)}
.teoc-client-message{border-radius:16px;padding:17px 19px;line-height:1.72;font-size:15px}
.teoc-client-message.is-client{background:#edf4ff;border-color:#d8e6ff}
.teoc-client-message.is-staff{background:#fff;border-color:#e1e8f0;box-shadow:0 5px 18px rgba(15,35,63,.03)}

/* Bookings */
.teoc-client-page-bookings .teoc-client-section{display:block}
.teoc-client-page-bookings .teoc-client-section-head{margin-bottom:18px}
.teoc-client-page-bookings .teoc-client-card{margin-bottom:16px}
.teoc-portal-booking-types{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.teoc-portal-booking-type{
    grid-template-columns:48px minmax(0,1fr) auto;padding:18px;border-color:#e2e9f2;border-radius:16px;background:#fbfcfe;transition:.16s ease;gap:14px;align-items:center
}
.teoc-portal-booking-type:hover{background:#f5f8ff;border-color:#d2def0;transform:translateY(-1px)}
.teoc-portal-booking-icon{display:flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:14px;background:var(--teoc-p-accent-soft);color:var(--teoc-p-accent);box-shadow:inset 0 0 0 1px rgba(36,87,255,.08)}
.teoc-portal-booking-icon svg{width:22px;height:22px;display:block}
.teoc-portal-booking-type strong{display:block;font-size:16px;line-height:1.35}
.teoc-portal-booking-type small{display:block;margin-top:5px;color:#718198;font-size:13px;line-height:1.55}
.teoc-portal-booking-type>b{font-size:13px;color:#5b6d84;white-space:nowrap}
.teoc-portal-booking-row{padding:16px 0}
.teoc-portal-booking-row h3{color:var(--teoc-p-ink);font-size:17px;margin:6px 0 4px}
.teoc-portal-booking-row p{margin:0;color:#788699;font-size:13px;line-height:1.55}
.teoc-portal-booking-history{border-radius:18px}

/* Knowledge */
.teoc-client-kb-search{padding:4px;border-radius:14px;background:#f7f9fc;border:1px solid #e6ecf3}
.teoc-client-kb-search input{border:0;background:transparent;box-shadow:none!important;outline:0!important}
.teoc-client-kb-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.teoc-client-kb-card{min-height:150px;padding:19px;border-color:var(--teoc-p-line);border-radius:18px;background:#fff;box-shadow:0 6px 22px rgba(15,35,63,.03)}
.teoc-client-kb-card:hover{transform:translateY(-2px);border-color:#cfdbeb;box-shadow:0 14px 30px rgba(15,35,63,.07)}
.teoc-client-kb-card small{color:#6b8fd7}
.teoc-client-kb-card strong{color:var(--teoc-p-ink);font-size:17px}
.teoc-client-kb-card span{color:var(--teoc-p-muted);font-size:14px;line-height:1.55}
.teoc-kb-article{max-width:980px}
.teoc-kb-article h1{color:var(--teoc-p-ink);font-size:clamp(28px,3vw,38px)}

/* Account / security */
.teoc-security-page-head{margin-bottom:22px}
.teoc-security-section{margin-bottom:20px}
.teoc-security-section-title{margin:0 0 10px;padding:0 2px}
.teoc-security-section-title h2{font-size:19px;color:var(--teoc-p-ink)}
.teoc-security-section-icon{background:var(--teoc-p-accent-soft);color:var(--teoc-p-accent);border-radius:10px}
.teoc-security-card{border-radius:20px;padding:22px;border-color:var(--teoc-p-line);box-shadow:0 8px 28px rgba(15,35,63,.04)}
.teoc-security-info-grid{gap:16px 22px}
.teoc-security-info-grid>div{padding:12px 14px;background:#fafbfd;border:1px solid #edf1f5;border-radius:13px}
.teoc-security-actions-row{margin-top:16px;padding-top:16px}
.teoc-security-action>summary{border-radius:10px;color:#244b91;background:#fff}
.teoc-security-grid{gap:15px}
.teoc-device-card{border-radius:14px!important}
.teoc-security-activity-row{border-top-color:#edf1f5}

/* Footer */
.teoc-client-footer{padding:4px 0 24px}

/* Tablet */
@media(max-width:1120px){
    .teoc-client-topbar{grid-template-columns:auto 1fr auto;padding:10px 22px;min-height:70px;gap:14px}
    .teoc-client-nav{grid-column:1/-1;grid-row:2;width:100%;overflow-x:auto;justify-content:flex-start;scrollbar-width:none}
    .teoc-client-nav::-webkit-scrollbar{display:none}
    .teoc-client-user-copy{display:none}
    .teoc-client-main{width:min(100% - 40px,1320px);padding-top:28px}
    .teoc-client-footer{width:min(100% - 40px,1320px)}
    .teoc-client-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
    .teoc-client-overview-grid{grid-template-columns:1fr}
    .teoc-client-overview-side{display:grid;grid-template-columns:1fr}
    .teoc-client-support-grid{grid-template-columns:1fr}
    .teoc-client-kb-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Mobile */
@media(max-width:760px){
    .teoc-client-topbar{display:flex;align-items:center;flex-wrap:wrap;padding:10px 14px;gap:10px}
    .teoc-client-brand{margin-right:auto}
    .teoc-client-user-avatar,.teoc-client-user-copy{display:none}
    .teoc-client-language-switch{margin-left:auto}
    .teoc-client-signout{display:none!important}
    .teoc-client-menu-toggle{display:inline-flex!important;order:4;margin-left:0}
    .teoc-client-nav{display:none;order:5;width:100%;flex-direction:column;align-items:stretch;padding:7px;margin:0;border-radius:14px;overflow:visible}
    .teoc-client-app.is-nav-open .teoc-client-nav{display:flex}
    .teoc-client-nav a{width:100%;justify-content:flex-start;padding:11px 13px}
    .teoc-client-main{width:calc(100% - 28px);padding:20px 0 44px}
    .teoc-client-footer{width:calc(100% - 28px);padding-bottom:18px}
    .teoc-client-page-overview .teoc-client-hero{grid-template-columns:1fr;padding:26px 22px;border-radius:22px;gap:20px}
    .teoc-client-page-overview .teoc-client-hero h1{font-size:32px}
    .teoc-client-hero-actions{justify-content:flex-start}
    .teoc-client-hero-actions>a{width:100%;justify-content:center;box-sizing:border-box}
    .teoc-client-metrics{grid-template-columns:1fr;gap:11px}
    .teoc-client-metric{min-height:104px;padding:17px}
    .teoc-client-metric strong{font-size:25px}
    .teoc-client-page-head,.teoc-client-section-head{align-items:flex-start;flex-direction:column;margin-bottom:18px}
    .teoc-client-page-head h1,.teoc-client-section-head h1{font-size:32px}
    .teoc-client-panel,.teoc-client-card,.teoc-security-card{padding:18px;border-radius:18px}
    .teoc-client-panel-head,.teoc-client-card-head{align-items:flex-start;flex-direction:column;gap:8px}
    .teoc-client-table{min-width:0}
    .teoc-mobile-cards{display:block}
    .teoc-portal-booking-types,.teoc-client-kb-grid{grid-template-columns:1fr}
    .teoc-client-activation-form{grid-template-columns:1fr}
    .teoc-client-activation-form .teoc-client-primary{width:100%}
    .teoc-security-info-grid,.teoc-security-grid,.teoc-security-form-grid{grid-template-columns:1fr}
}

/* v1.0.54 — larger portal typography and booking icon fallback */
.teoc-client-nav a{min-height:40px;padding:9px 14px;border-radius:10px;font-size:13.5px;font-weight:780}
.teoc-client-brand strong{font-size:18px}
.teoc-client-brand small{font-size:12px}
.teoc-client-user-copy strong{font-size:14px}
.teoc-client-user-copy small{font-size:12px}
.teoc-client-eyebrow{font-size:11px}
.teoc-client-page-head h1,.teoc-client-section-head h1{font-size:clamp(32px,3.15vw,42px)}
.teoc-client-page-head p,.teoc-client-section-head p{font-size:16px;line-height:1.7;max-width:780px}
.teoc-client-panel,.teoc-client-card{padding:24px}
.teoc-client-panel-head h2,.teoc-client-card-head h2{font-size:22px}
.teoc-client-panel-head p,.teoc-client-card-head p{font-size:14px;line-height:1.65}
.teoc-client-page-overview .teoc-client-hero h1{font-size:clamp(34px,3.35vw,46px)}
.teoc-client-page-overview .teoc-client-hero p{font-size:16px;line-height:1.75;max-width:760px}
.teoc-client-metric span{font-size:11px}
.teoc-client-metric strong{font-size:30px}
.teoc-client-quick-actions strong{font-size:15px}
.teoc-client-quick-actions span{font-size:13px;line-height:1.5}
.teoc-renewal-policy-banner h2{font-size:21px}
.teoc-renewal-policy-banner p{font-size:15px;line-height:1.7}
.teoc-client-table th{font-size:12.5px}
.teoc-client-table td{font-size:14px;line-height:1.55}
.teoc-service-detail-head .teoc-client-back-link{font-size:13px}
.teoc-service-description p{font-size:15px;line-height:1.8}
.teoc-client-ticket-row{padding:18px}
.teoc-client-message{padding:17px 19px;font-size:15px;line-height:1.72}
.teoc-portal-booking-type{grid-template-columns:48px minmax(0,1fr) auto;gap:14px;padding:18px;align-items:center}
.teoc-portal-booking-icon{display:flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:14px;background:var(--teoc-p-accent-soft);color:var(--teoc-p-accent);box-shadow:inset 0 0 0 1px rgba(36,87,255,.08)}
.teoc-portal-booking-icon svg{width:22px;height:22px;display:block}
.teoc-portal-booking-type strong{display:block;font-size:16px;line-height:1.35}
.teoc-portal-booking-type small{display:block;margin-top:5px;color:#718198;font-size:13px;line-height:1.55}
.teoc-portal-booking-type>b{font-size:13px;color:#5b6d84;white-space:nowrap}
.teoc-portal-booking-row h3{font-size:17px;margin:6px 0 4px}
.teoc-portal-booking-row p{font-size:13px;line-height:1.55}
.teoc-client-kb-card strong{font-size:17px}
.teoc-client-kb-card span{font-size:14px;line-height:1.55}
.teoc-security-section-title h2{font-size:19px}
@media(max-width:760px){
  .teoc-client-page-overview .teoc-client-hero h1{font-size:32px}
  .teoc-client-page-head h1,.teoc-client-section-head h1{font-size:32px}
  .teoc-client-page-head p,.teoc-client-section-head p{font-size:15px}
  .teoc-client-metric strong{font-size:25px}
  .teoc-client-panel,.teoc-client-card,.teoc-security-card{padding:18px;border-radius:18px}
}

/* v1.0.55 — align live Client Portal with the approved HTML prototype */
.teoc-portal-dashboard-grid{
    display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,.75fr);gap:18px;margin-top:18px;align-items:start
}
.teoc-portal-attention-list{display:grid;gap:0}
.teoc-portal-attention-row{
    display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:13px;align-items:center;
    padding:15px 0;border-bottom:1px solid #edf1f6;text-decoration:none;color:inherit
}
.teoc-portal-attention-row:last-child{border-bottom:0}
.teoc-portal-attention-row:hover strong{color:var(--teoc-p-accent)}
.teoc-portal-attention-row.is-static{cursor:default}
.teoc-portal-attention-icon{
    width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:#f0f4f9;
    color:#496078;font-size:15px;font-weight:900
}
.teoc-portal-attention-icon.is-warning{background:#fff4de;color:#9d6800}
.teoc-portal-attention-icon.is-info{background:#eaf2ff;color:var(--teoc-p-accent)}
.teoc-portal-attention-icon.is-success{background:#e8f7f0;color:#0f8a5f}
.teoc-portal-attention-row strong{display:block;font-size:15px;line-height:1.4;color:var(--teoc-p-ink)}
.teoc-portal-attention-row small{display:block;margin-top:4px;font-size:13px;line-height:1.5;color:var(--teoc-p-muted)}
.teoc-portal-attention-row em{
    display:inline-flex;align-items:center;border-radius:999px;padding:6px 9px;background:#eef3f9;color:#5d6c80;
    font-size:11px;font-style:normal;font-weight:850;white-space:nowrap
}
.teoc-portal-activity-card{min-height:100%}
.teoc-portal-timeline{display:grid;gap:16px}
.teoc-portal-timeline-item{display:grid;grid-template-columns:12px minmax(0,1fr);gap:10px;align-items:start}
.teoc-portal-timeline-item i{width:8px;height:8px;border-radius:50%;background:var(--teoc-p-accent);margin-top:6px;box-shadow:0 0 0 4px #eaf2ff}
.teoc-portal-timeline-item strong{display:block;font-size:14px;line-height:1.45;color:var(--teoc-p-ink)}
.teoc-portal-timeline-item span{display:block;margin-top:4px;font-size:12px;color:var(--teoc-p-muted)}
.teoc-portal-overview-bottom{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:18px;align-items:start}
.teoc-portal-service-snapshot{display:grid}
.teoc-portal-service-row{
    display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid #edf1f6;
    text-decoration:none;color:inherit
}
.teoc-portal-service-row:last-child{border-bottom:0}
.teoc-portal-service-row strong{display:block;font-size:15px;color:var(--teoc-p-ink)}
.teoc-portal-service-row span{display:block;margin-top:4px;font-size:13px;color:var(--teoc-p-muted)}
.teoc-portal-next-meeting{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:13px;padding:6px 0}
.teoc-portal-meeting-icon{width:40px;height:40px;border-radius:12px;background:var(--teoc-p-accent-soft);color:var(--teoc-p-accent);display:grid;place-items:center;font-weight:900}
.teoc-portal-next-meeting strong{display:block;font-size:15px;color:var(--teoc-p-ink)}
.teoc-portal-next-meeting small{display:block;margin-top:4px;font-size:13px;color:var(--teoc-p-muted)}

/* Services: card-first presentation from the approved prototype, no cramped table layout. */
.teoc-portal-service-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:16px;margin-bottom:18px}
.teoc-portal-service-card{
    background:#fff;border:1px solid var(--teoc-p-line);border-radius:20px;padding:22px;
    box-shadow:0 8px 26px rgba(15,35,63,.04);transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease
}
.teoc-portal-service-card:hover{transform:translateY(-2px);border-color:#d1ddeb;box-shadow:0 14px 34px rgba(15,35,63,.07)}
.teoc-portal-service-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.teoc-portal-service-card h2{margin:10px 0 5px;font-size:22px;color:var(--teoc-p-ink);letter-spacing:-.025em}
.teoc-portal-service-card p{margin:0;color:var(--teoc-p-muted);font-size:14px;line-height:1.6;max-width:700px}
.teoc-portal-service-type{flex:0 0 auto;padding:7px 10px;border-radius:999px;background:#f1f5f9;color:#51647c;font-size:12px;font-weight:800}
.teoc-portal-service-meta{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:20px;padding-top:18px;border-top:1px solid #edf1f6}
.teoc-portal-service-meta>div{padding:12px 13px;border-radius:13px;background:#fafbfd;border:1px solid #eef2f6}
.teoc-portal-service-meta small{display:block;margin-bottom:5px;color:#8592a4;font-size:10.5px;text-transform:uppercase;letter-spacing:.06em;font-weight:850}
.teoc-portal-service-meta strong{font-size:14px;color:var(--teoc-p-ink)}
.teoc-portal-service-card-actions{display:flex;justify-content:flex-end;margin-top:16px}

/* Keep the renewal-policy block on Services only; Overview follows the lighter approved prototype. */
.teoc-client-page-overview .teoc-renewal-policy-banner{display:none}

@media(max-width:1000px){
  .teoc-portal-dashboard-grid,.teoc-portal-overview-bottom{grid-template-columns:1fr}
}
@media(max-width:760px){
  .teoc-portal-attention-row{grid-template-columns:40px minmax(0,1fr);align-items:start}
  .teoc-portal-attention-row em{grid-column:2;justify-self:start}
  .teoc-portal-next-meeting{grid-template-columns:40px minmax(0,1fr)}
  .teoc-portal-next-meeting .teoc-client-secondary{grid-column:2;width:100%;justify-content:center}
  .teoc-portal-service-grid{grid-template-columns:1fr}
  .teoc-portal-service-card-head{flex-direction:column}
  .teoc-portal-service-meta{grid-template-columns:1fr}
  .teoc-portal-service-card-actions .teoc-client-secondary{width:100%;justify-content:center}
}

/* v1.0.56 — quieter executive overview: fewer boxed surfaces, more breathing room */
.teoc-client-page-overview .teoc-portal-summary-strip{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:0;
    margin:18px 0 22px;
    overflow:hidden;
    background:#fff;
    border:1px solid var(--teoc-p-line);
    border-radius:22px;
    box-shadow:0 10px 30px rgba(15,35,63,.045);
}
.teoc-client-page-overview .teoc-portal-summary-strip .teoc-client-metric{
    min-height:118px;
    margin:0;
    padding:22px 24px;
    border:0;
    border-right:1px solid #edf1f6;
    border-radius:0;
    background:transparent;
    box-shadow:none;
}
.teoc-client-page-overview .teoc-portal-summary-strip .teoc-client-metric:last-child{border-right:0}
.teoc-client-page-overview .teoc-portal-summary-strip .teoc-client-metric-link:hover{
    transform:none;
    background:#f8fbff;
    box-shadow:none;
}
.teoc-client-page-overview .teoc-portal-summary-strip .teoc-client-metric span{font-size:11px}
.teoc-client-page-overview .teoc-portal-summary-strip .teoc-client-metric strong{font-size:28px}

.teoc-portal-home-workspace{
    display:grid;
    grid-template-columns:minmax(0,1.55fr) minmax(280px,.72fr);
    gap:0;
    padding:0;
    overflow:hidden;
    margin-top:0;
}
.teoc-portal-home-attention,
.teoc-portal-home-activity{padding:24px 26px;min-width:0}
.teoc-portal-home-activity{
    border-left:1px solid #edf1f6;
    background:linear-gradient(180deg,#fbfcfe 0%,#fff 100%);
}
.teoc-portal-home-workspace .teoc-client-panel-head{margin-bottom:14px}
.teoc-portal-home-workspace .teoc-client-panel-head h2{font-size:21px}
.teoc-portal-home-workspace .teoc-client-panel-head p{font-size:13px}

.teoc-portal-home-bottom{
    display:grid;
    grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);
    gap:0;
    padding:0;
    overflow:hidden;
    margin-top:18px;
}
.teoc-portal-home-services,
.teoc-portal-home-meetings{padding:24px 26px;min-width:0}
.teoc-portal-home-meetings{
    border-left:1px solid #edf1f6;
    background:linear-gradient(180deg,#fbfcfe 0%,#fff 100%);
}
.teoc-portal-home-bottom .teoc-client-panel-head{margin-bottom:12px}
.teoc-portal-home-bottom .teoc-client-empty{
    padding:20px 16px;
    background:transparent;
    border-color:#dfe6ef;
}

@media(max-width:1000px){
    .teoc-client-page-overview .teoc-portal-summary-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
    .teoc-client-page-overview .teoc-portal-summary-strip .teoc-client-metric:nth-child(2){border-right:0}
    .teoc-client-page-overview .teoc-portal-summary-strip .teoc-client-metric:nth-child(-n+2){border-bottom:1px solid #edf1f6}
    .teoc-portal-home-workspace,.teoc-portal-home-bottom{grid-template-columns:1fr}
    .teoc-portal-home-activity,.teoc-portal-home-meetings{border-left:0;border-top:1px solid #edf1f6}
}
@media(max-width:760px){
    .teoc-client-page-overview .teoc-portal-summary-strip{grid-template-columns:1fr;border-radius:18px}
    .teoc-client-page-overview .teoc-portal-summary-strip .teoc-client-metric{
        min-height:92px;border-right:0!important;border-bottom:1px solid #edf1f6!important;padding:18px 20px
    }
    .teoc-client-page-overview .teoc-portal-summary-strip .teoc-client-metric:last-child{border-bottom:0!important}
    .teoc-portal-home-attention,.teoc-portal-home-activity,.teoc-portal-home-services,.teoc-portal-home-meetings{padding:20px}
}

/* v1.0.58 — Domain Finder provider compatibility fix */
.teoc-client-activation-form{display:block;max-width:100%;}
.teoc-client-activation-select-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end;max-width:900px}
.teoc-client-activation-select-row>label{margin:0}
.teoc-client-activation-select-row .teoc-client-primary{min-height:45px}
.teoc-domain-finder{margin-top:22px;border:1px solid #dbe5f0;border-radius:18px;background:linear-gradient(145deg,#fbfdff 0,#f6f9fd 100%);padding:22px;box-shadow:inset 0 1px 0 rgba(255,255,255,.88)}
.teoc-domain-finder-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:20px}
.teoc-domain-finder-head h3{margin:3px 0 6px;color:#172b46;font-size:25px;line-height:1.18;letter-spacing:-.02em}
.teoc-domain-finder-head p{margin:0;max-width:690px;color:#64748b;font-size:14px;line-height:1.65}
.teoc-domain-kicker{display:block;color:#537097;font-size:10px;font-weight:850;letter-spacing:.16em}
.teoc-domain-live-badge{display:inline-flex;align-items:center;gap:7px;flex:0 0 auto;padding:8px 10px;border:1px solid #d8e2ee;border-radius:999px;background:#f3f7fb;color:#526b89;font-size:11px;font-weight:800;white-space:nowrap}
.teoc-domain-live-badge i{width:7px;height:7px;border-radius:50%;background:#6f89a8;box-shadow:0 0 0 4px rgba(111,137,168,.12)}
.teoc-domain-live-badge.is-loading{border-color:#d8e2ee;background:#f3f7fb;color:#526b89}
.teoc-domain-live-badge.is-loading i{background:#6f89a8;box-shadow:0 0 0 4px rgba(111,137,168,.12)}
.teoc-domain-live-badge.is-ok{border-color:#d7e5dd;background:#f0f8f3;color:#32704a}
.teoc-domain-live-badge.is-ok i{background:#41a663;box-shadow:0 0 0 4px rgba(65,166,99,.12)}
.teoc-domain-live-badge.is-error{border-color:#ead9dc;background:#fff5f6;color:#9a3e47}
.teoc-domain-live-badge.is-error i{background:#bf5962;box-shadow:0 0 0 4px rgba(191,89,98,.11)}
.teoc-domain-search-row{display:grid;grid-template-columns:minmax(0,1fr) 150px auto;gap:10px;align-items:end}
.teoc-domain-search-row label{margin:0}
.teoc-domain-search-row label>span{display:block;margin-bottom:6px;color:#53647a;font-size:11px;font-weight:800}
.teoc-domain-search-row input,.teoc-domain-search-row select{width:100%;height:48px;box-sizing:border-box;border:1px solid #cad7e6;border-radius:11px;background:#fff;color:#172b46;padding:0 13px;font-size:15px;box-shadow:0 1px 2px rgba(15,35,63,.02)}
.teoc-domain-search-row input:focus,.teoc-domain-search-row select:focus{outline:0;border-color:#8eaff6;box-shadow:0 0 0 4px rgba(36,87,255,.08)}
.teoc-domain-search-button{height:48px;min-width:132px}
.teoc-domain-search-status{min-height:22px;padding-top:8px;color:#64748b;font-size:12px;font-weight:650}
.teoc-domain-search-status.is-loading{color:#526b8d}
.teoc-domain-search-status.is-success{color:#2f7048}
.teoc-domain-search-status.is-error{color:#a33c45}
.teoc-domain-result{margin:8px 0 18px}
.teoc-domain-result-main{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:13px;align-items:center;padding:15px 16px;border:1px solid #dce5ef;border-radius:14px;background:#fff}
.teoc-domain-result-main.is-available{border-color:#cfe3d6;background:#fbfffc}
.teoc-domain-result-main.is-unavailable{border-color:#ead9dc;background:#fffdfd}
.teoc-domain-result-icon{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;font-size:20px;font-weight:900}
.teoc-domain-result-main.is-available .teoc-domain-result-icon{background:#e9f6ee;color:#2f7048}
.teoc-domain-result-main.is-unavailable .teoc-domain-result-icon{background:#faecee;color:#a33c45}
.teoc-domain-result-copy strong{display:block;color:#152c48;font-size:17px;line-height:1.2}
.teoc-domain-result-copy span{display:block;margin-top:3px;font-size:12px;font-weight:800}
.teoc-domain-result-main.is-available .teoc-domain-result-copy span{color:#2f7048}
.teoc-domain-result-main.is-unavailable .teoc-domain-result-copy span{color:#a33c45}
.teoc-domain-result-copy small{display:block;margin-top:5px;color:#7a899b;font-size:11px;line-height:1.45}
.teoc-domain-add{min-height:38px;white-space:nowrap}
.teoc-domain-alternatives{margin-top:12px;padding:14px 15px;border:1px solid #e1e8f0;border-radius:14px;background:#fff}
.teoc-domain-alternatives>strong{display:block;margin-bottom:7px;color:#52647a;font-size:11px;text-transform:uppercase;letter-spacing:.06em}
.teoc-domain-alternative-list{display:flex;flex-direction:column}
.teoc-domain-alternative{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #edf1f5}
.teoc-domain-alternative:last-child{border-bottom:0}
.teoc-domain-alternative>span{display:flex;align-items:center;gap:8px;min-width:0;color:#223b59}
.teoc-domain-alternative i{display:flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:#e9f6ee;color:#2f7048;font-style:normal;font-size:12px;font-weight:900}
.teoc-domain-alternative strong{font-size:14px;overflow-wrap:anywhere}
.teoc-domain-shortlist{margin-top:18px;border-top:1px solid #dfe7f0;padding-top:18px}
.teoc-domain-shortlist-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:9px}
.teoc-domain-shortlist-head strong{display:block;color:#172b46;font-size:16px}
.teoc-domain-shortlist-head span:not(.teoc-domain-count){display:block;margin-top:3px;color:#708096;font-size:12px;line-height:1.5}
.teoc-domain-count{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:28px;padding:0 8px;border-radius:999px;background:#eaf1fb;color:#456383;font-size:12px;font-weight:850}
.teoc-domain-shortlist-items{display:flex;flex-direction:column}
.teoc-domain-empty{padding:13px 0;color:#8895a6;font-size:13px}
.teoc-domain-favorite{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid #e6edf4}
.teoc-domain-favorite:last-child{border-bottom:0}
.teoc-domain-favorite>span{display:flex;align-items:center;gap:9px;min-width:0}
.teoc-domain-favorite i{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;background:#e9f6ee;color:#2f7048;font-style:normal;font-size:12px;font-weight:900}
.teoc-domain-favorite strong{color:#213a58;font-size:14px;overflow-wrap:anywhere}
.teoc-domain-remove{border:0;background:transparent;color:#6e7f94;cursor:pointer;padding:7px 0;font:inherit;font-size:12px;font-weight:750}
.teoc-domain-remove:hover{color:#a33c45}
.teoc-domain-remove:disabled{opacity:.55;cursor:default}
.teoc-domain-manual-note{display:flex;align-items:flex-start;gap:10px;margin-top:17px;padding:13px 14px;border:1px solid #dce6f2;border-radius:13px;background:#f5f8fc;color:#5e7188}
.teoc-domain-manual-note>span{display:flex;align-items:center;justify-content:center;flex:0 0 auto;width:22px;height:22px;border-radius:50%;background:#e5edf8;color:#536d8f;font-size:12px;font-weight:900}
.teoc-domain-manual-note p{margin:0;font-size:12px;line-height:1.55}
.teoc-domain-manual-note strong{color:#314b69}
.teoc-domain-submit-row{display:flex;align-items:center;gap:14px;margin-top:16px}
.teoc-domain-submit-row .teoc-client-primary{min-height:44px}
.teoc-domain-submit-row .teoc-client-primary:disabled{opacity:.52;cursor:not-allowed;box-shadow:none}
.teoc-domain-submit-row small{color:#7b8a9c;font-size:11px;line-height:1.45}

@media(max-width:760px){
    .teoc-client-activation-select-row{grid-template-columns:1fr}
    .teoc-client-activation-select-row .teoc-client-primary{width:100%}
    .teoc-domain-finder{padding:18px;margin-top:18px}
    .teoc-domain-finder-head{display:block}
    .teoc-domain-live-badge{margin-top:12px}
    .teoc-domain-search-row{grid-template-columns:minmax(0,1fr) 110px}
    .teoc-domain-search-button{grid-column:1/-1;width:100%}
    .teoc-domain-result-main{grid-template-columns:38px minmax(0,1fr)}
    .teoc-domain-result-main .teoc-domain-add{grid-column:1/-1;width:100%}
    .teoc-domain-alternative{align-items:flex-start;flex-direction:column}
    .teoc-domain-alternative .teoc-domain-add{width:100%}
    .teoc-domain-submit-row{align-items:stretch;flex-direction:column}
    .teoc-domain-submit-row .teoc-client-primary{width:100%}
}
@media(max-width:460px){
    .teoc-domain-search-row{grid-template-columns:1fr}
    .teoc-domain-search-button{grid-column:auto}
    .teoc-domain-tld-field{max-width:none}
    .teoc-domain-favorite{align-items:flex-start}
}

/* v1.0.61 — client-visible domain request tracking */
.teoc-domain-requests-panel{margin-top:18px}
.teoc-domain-request-list{display:flex;flex-direction:column;border-top:1px solid #e8eef5}
.teoc-domain-request-row{padding:18px 0;border-bottom:1px solid #e8eef5}
.teoc-domain-request-row:last-child{border-bottom:0;padding-bottom:0}
.teoc-domain-request-row-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.teoc-domain-request-row-head>div{min-width:0}
.teoc-domain-request-row-head small{display:block;margin-bottom:5px;color:#7b8a9c;font-size:11px;font-weight:750;letter-spacing:.02em}
.teoc-domain-request-row-head strong{display:block;color:#172b46;font-size:16px;line-height:1.45;overflow-wrap:anywhere}
.teoc-domain-request-status{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-height:30px;padding:0 11px;border-radius:999px;border:1px solid #dbe4ee;background:#f4f7fa;color:#52657d;font-size:11px;font-weight:850;white-space:nowrap}
.teoc-domain-request-status.is-progress{border-color:#d8e3f8;background:#f2f6ff;color:#345f9e}
.teoc-domain-request-status.is-waiting{border-color:#eadfbf;background:#fff9e9;color:#7f6221}
.teoc-domain-request-status.is-completed{border-color:#cfe3d6;background:#f0f8f3;color:#2f7048}
.teoc-domain-request-status.is-cancelled{border-color:#ead9dc;background:#fff5f6;color:#9a3e47}
.teoc-domain-request-quote{display:flex;align-items:baseline;justify-content:space-between;gap:18px;margin-top:14px;padding:13px 15px;border:1px solid #dce6f2;border-radius:13px;background:#f8fafc}
.teoc-domain-request-quote span{color:#6b7d92;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.07em}
.teoc-domain-request-quote strong{color:#10243f;font-size:18px;line-height:1.3;text-align:right}
.teoc-domain-request-note{margin:13px 0 0;color:#52657c;font-size:13px;line-height:1.65}
.teoc-domain-request-footer{display:flex;align-items:center;gap:7px;margin-top:12px;color:#8794a4;font-size:11px}
.teoc-domain-request-footer strong{color:#6f7f91;font-size:11px}
.teoc-domain-request-list.is-compact .teoc-domain-request-row{padding:15px 0}
.teoc-domain-request-list.is-compact .teoc-domain-request-note{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

@media(max-width:760px){
    .teoc-domain-request-row-head{flex-direction:column;gap:9px}
    .teoc-domain-request-status{align-self:flex-start}
    .teoc-domain-request-quote{align-items:flex-start;flex-direction:column;gap:5px}
    .teoc-domain-request-quote strong{text-align:left}
}

/* v1.0.77 — Client-facing premium visual refresh.
 * The shared ThinkEasy landscape now belongs to the customer experience too:
 * Overview KPIs live inside the visual hero and Account gets a proper profile hero.
 */
.teoc-client-page-overview .teoc-client-hero-visual{
    display:block;
    min-height:390px;
    padding:0;
    overflow:hidden;
    position:relative;
    isolation:isolate;
    border:1px solid rgba(255,255,255,.16);
    border-radius:30px;
    background:
        linear-gradient(90deg,rgba(3,18,39,.94) 0%,rgba(5,33,69,.84) 46%,rgba(5,33,69,.48) 100%),
        var(--teoc-client-portal-bg) var(--teoc-client-portal-bg-position)/cover no-repeat;
    box-shadow:0 24px 65px rgba(10,32,65,.18);
}
.teoc-client-page-overview .teoc-client-hero-visual::before{
    width:520px;height:520px;right:-205px;top:-320px;
    border-color:rgba(255,255,255,.13);
}
.teoc-client-page-overview .teoc-client-hero-visual::after{
    width:330px;height:330px;right:145px;bottom:-285px;
    border-color:rgba(255,255,255,.10);
}
.teoc-client-hero-main{
    position:relative;z-index:2;
    display:grid;
    grid-template-columns:minmax(0,1.45fr) auto;
    align-items:end;
    gap:30px;
    padding:42px 42px 28px;
}
.teoc-client-page-overview .teoc-client-hero-visual h1{
    max-width:820px;
    font-size:clamp(37px,3.6vw,50px);
    text-shadow:0 2px 24px rgba(0,0,0,.13);
}
.teoc-client-page-overview .teoc-client-hero-visual p{
    max-width:760px;
    color:rgba(234,241,250,.82);
    font-size:16px;
}
.teoc-client-page-overview .teoc-client-hero-visual .teoc-client-eyebrow{color:#91b6ff}
.teoc-client-page-overview .teoc-client-hero-kpis{
    position:relative;z-index:2;
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:0;
    margin:18px 24px 24px;
    border:1px solid rgba(255,255,255,.15);
    border-radius:20px;
    overflow:hidden;
    background:rgba(5,25,52,.46);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
}
.teoc-client-page-overview .teoc-client-hero-kpis .teoc-client-metric{
    min-height:112px;
    padding:20px 22px;
    margin:0;
    border:0;
    border-right:1px solid rgba(255,255,255,.12);
    border-radius:0;
    background:transparent;
    box-shadow:none;
}
.teoc-client-page-overview .teoc-client-hero-kpis .teoc-client-metric:last-child{border-right:0}
.teoc-client-page-overview .teoc-client-hero-kpis .teoc-client-metric-link:hover{
    transform:none;
    background:rgba(255,255,255,.07);
    box-shadow:none;
}
.teoc-client-page-overview .teoc-client-hero-kpis .teoc-client-metric span{
    color:rgba(216,228,244,.66);
    font-size:10.5px;
}
.teoc-client-page-overview .teoc-client-hero-kpis .teoc-client-metric strong{
    color:#fff;
    font-size:27px;
    text-shadow:0 1px 12px rgba(0,0,0,.12);
}
.teoc-client-page-overview .teoc-client-hero-kpis .teoc-client-metric-arrow{color:#9bbdff}

/* The remaining overview surfaces stay operational and calm, but feel attached to the hero. */
.teoc-client-page-overview .teoc-portal-home-workspace,
.teoc-client-page-overview .teoc-portal-home-bottom{
    border-radius:24px;
    border-color:#dfe7f1;
    box-shadow:0 12px 36px rgba(15,35,63,.052);
}
.teoc-client-page-overview .teoc-portal-home-activity,
.teoc-client-page-overview .teoc-portal-home-meetings{
    background:linear-gradient(160deg,#f8fbff 0%,#fff 72%);
}

/* Account / profile hero — this is the customer profile, not the admin Customer 360. */
.teoc-client-page-account .teoc-security-profile-hero{
    position:relative;
    isolation:isolate;
    overflow:hidden;
    margin:0 0 28px;
    padding:36px 38px 24px;
    border:1px solid rgba(255,255,255,.15);
    border-radius:30px;
    color:#fff;
    background:
        linear-gradient(90deg,rgba(3,18,39,.95) 0%,rgba(5,33,69,.82) 48%,rgba(5,33,69,.46) 100%),
        var(--teoc-client-portal-bg) var(--teoc-client-portal-bg-position)/cover no-repeat;
    box-shadow:0 24px 65px rgba(10,32,65,.17);
}
.teoc-client-page-account .teoc-security-profile-hero::before,
.teoc-client-page-account .teoc-security-profile-hero::after{
    content:"";
    position:absolute;
    z-index:-1;
    border:1px solid rgba(255,255,255,.11);
    border-radius:50%;
    pointer-events:none;
}
.teoc-client-page-account .teoc-security-profile-hero::before{width:430px;height:430px;right:-165px;top:-265px}
.teoc-client-page-account .teoc-security-profile-hero::after{width:280px;height:280px;right:115px;bottom:-245px}
.teoc-security-profile-hero-main{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:28px;
}
.teoc-security-profile-identity{
    display:flex;
    align-items:center;
    gap:19px;
    min-width:0;
}
.teoc-security-profile-avatar{
    width:72px;
    height:72px;
    display:grid;
    place-items:center;
    flex:0 0 auto;
    border:1px solid rgba(255,255,255,.20);
    border-radius:21px;
    background:rgba(255,255,255,.13);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
    color:#fff;
    font-size:23px;
    font-weight:900;
    text-transform:uppercase;
}
.teoc-client-page-account .teoc-security-profile-hero .teoc-client-eyebrow{color:#91b6ff}
.teoc-client-page-account .teoc-security-profile-hero h1{
    margin:7px 0 7px;
    color:#fff;
    font-size:clamp(34px,3.35vw,46px);
    line-height:1.04;
    letter-spacing:-.045em;
}
.teoc-client-page-account .teoc-security-profile-hero p{
    margin:0;
    max-width:720px;
    color:rgba(232,240,250,.78);
    font-size:15px;
    line-height:1.7;
}
.teoc-security-profile-role{
    display:inline-flex;
    align-items:center;
    min-height:34px;
    padding:7px 12px;
    flex:0 0 auto;
    border:1px solid rgba(255,255,255,.16);
    border-radius:999px;
    background:rgba(255,255,255,.10);
    color:#fff;
    font-size:11px;
    font-weight:850;
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
}
.teoc-security-profile-facts{
    display:grid;
    grid-template-columns:1.25fr 1fr .72fr .62fr;
    gap:0;
    margin-top:28px;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.15);
    border-radius:18px;
    background:rgba(4,24,50,.44);
    backdrop-filter:blur(16px);
    -webkit-backdrop-filter:blur(16px);
}
.teoc-security-profile-facts>div{
    min-width:0;
    padding:17px 19px;
    border-right:1px solid rgba(255,255,255,.11);
}
.teoc-security-profile-facts>div:last-child{border-right:0}
.teoc-security-profile-facts span{
    display:block;
    margin-bottom:5px;
    color:rgba(215,227,243,.61);
    font-size:10px;
    font-weight:850;
    letter-spacing:.065em;
    text-transform:uppercase;
}
.teoc-security-profile-facts strong{
    display:block;
    overflow:hidden;
    color:#fff;
    font-size:14px;
    font-weight:780;
    text-overflow:ellipsis;
    white-space:nowrap;
}
/* v1.0.105 — client-visible Account Activity on Profile. */
.teoc-account-activity-card{background:linear-gradient(145deg,#fff,#fbfcff)}
.teoc-account-activity-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:12px;
}
.teoc-account-activity-stat{
    min-width:0;
    padding:18px;
    border:1px solid #e2e8f0;
    border-radius:15px;
    background:#f8fafc;
}
.teoc-account-activity-stat span{
    display:block;
    margin-bottom:8px;
    color:#718096;
    font-size:10px;
    font-weight:850;
    letter-spacing:.055em;
    text-transform:uppercase;
}
.teoc-account-activity-stat strong{
    display:block;
    overflow-wrap:anywhere;
    color:#10213a;
    font-size:21px;
    line-height:1.18;
    letter-spacing:-.025em;
}
.teoc-account-activity-stat small{
    display:block;
    margin-top:7px;
    color:#8794a6;
    font-size:11px;
    line-height:1.45;
}
.teoc-account-activity-note{margin:16px 0 0!important;line-height:1.6}
@media(max-width:820px){
    .teoc-account-activity-grid{grid-template-columns:1fr}
    .teoc-account-activity-stat{padding:15px 16px}
}

.teoc-security-profile-actions-card{
    background:linear-gradient(145deg,#fff,#f9fbfe);
}
.teoc-security-profile-actions-card .teoc-security-actions-row{margin-top:4px}

@media(max-width:1000px){
    .teoc-client-hero-main{grid-template-columns:1fr;align-items:start}
    .teoc-client-hero-actions{justify-content:flex-start}
    .teoc-client-page-overview .teoc-client-hero-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
    .teoc-client-page-overview .teoc-client-hero-kpis .teoc-client-metric:nth-child(2){border-right:0}
    .teoc-client-page-overview .teoc-client-hero-kpis .teoc-client-metric:nth-child(-n+2){border-bottom:1px solid rgba(255,255,255,.11)}
    .teoc-security-profile-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
    .teoc-security-profile-facts>div:nth-child(2){border-right:0}
    .teoc-security-profile-facts>div:nth-child(-n+2){border-bottom:1px solid rgba(255,255,255,.11)}
}
@media(max-width:760px){
    .teoc-client-page-overview .teoc-client-hero-visual{min-height:0;border-radius:23px}
    .teoc-client-hero-main{padding:28px 22px 18px;gap:20px}
    .teoc-client-page-overview .teoc-client-hero-visual h1{font-size:32px}
    .teoc-client-page-overview .teoc-client-hero-kpis{grid-template-columns:1fr;margin:10px 14px 14px;border-radius:16px}
    .teoc-client-page-overview .teoc-client-hero-kpis .teoc-client-metric{
        min-height:82px;padding:15px 17px;border-right:0!important;border-bottom:1px solid rgba(255,255,255,.11)!important
    }
    .teoc-client-page-overview .teoc-client-hero-kpis .teoc-client-metric:last-child{border-bottom:0!important}
    .teoc-client-page-account .teoc-security-profile-hero{padding:26px 21px 16px;border-radius:23px}
    .teoc-security-profile-hero-main{display:block}
    .teoc-security-profile-role{margin:18px 0 0 91px}
    .teoc-security-profile-facts{grid-template-columns:1fr;margin-top:20px;border-radius:16px}
    .teoc-security-profile-facts>div{padding:14px 16px;border-right:0!important;border-bottom:1px solid rgba(255,255,255,.11)!important}
    .teoc-security-profile-facts>div:last-child{border-bottom:0!important}
}
@media(max-width:520px){
    .teoc-security-profile-identity{align-items:flex-start;gap:14px}
    .teoc-security-profile-avatar{width:58px;height:58px;border-radius:17px;font-size:19px}
    .teoc-client-page-account .teoc-security-profile-hero h1{font-size:29px}
    .teoc-security-profile-role{margin-left:72px}
}

/* v1.0.78 — one premium Client Portal design system for every customer and every tab.
 * Shared templates only: no per-user theme branches and no workflow changes.
 */
body.teoc-client-portal-body{
    background:
        radial-gradient(circle at 14% -8%,rgba(48,105,185,.09),transparent 34%),
        radial-gradient(circle at 88% 2%,rgba(85,139,211,.07),transparent 29%),
        #f3f6fa;
}

/* All primary customer tabs inherit the same visual identity as Overview/Profile. */
.teoc-client-main:not(.teoc-client-page-overview):not(.teoc-client-page-account) > .teoc-client-page-head,
.teoc-client-page-bookings > .teoc-client-section > .teoc-client-section-head{
    position:relative;
    isolation:isolate;
    min-height:238px;
    overflow:hidden;
    align-items:flex-end;
    margin:0 0 22px;
    padding:34px 38px;
    border:1px solid rgba(255,255,255,.15);
    border-radius:28px;
    color:#fff;
    background:
        linear-gradient(90deg,rgba(3,18,39,.95) 0%,rgba(5,33,69,.84) 50%,rgba(5,33,69,.48) 100%),
        var(--teoc-client-portal-bg) var(--teoc-client-portal-bg-position)/cover no-repeat;
    box-shadow:0 22px 58px rgba(10,32,65,.16);
}
.teoc-client-main:not(.teoc-client-page-overview):not(.teoc-client-page-account) > .teoc-client-page-head::before,
.teoc-client-main:not(.teoc-client-page-overview):not(.teoc-client-page-account) > .teoc-client-page-head::after,
.teoc-client-page-bookings > .teoc-client-section > .teoc-client-section-head::before,
.teoc-client-page-bookings > .teoc-client-section > .teoc-client-section-head::after{
    content:"";
    position:absolute;
    z-index:-1;
    border:1px solid rgba(255,255,255,.11);
    border-radius:50%;
    pointer-events:none;
}
.teoc-client-main:not(.teoc-client-page-overview):not(.teoc-client-page-account) > .teoc-client-page-head::before,
.teoc-client-page-bookings > .teoc-client-section > .teoc-client-section-head::before{
    width:430px;height:430px;right:-165px;top:-270px;
}
.teoc-client-main:not(.teoc-client-page-overview):not(.teoc-client-page-account) > .teoc-client-page-head::after,
.teoc-client-page-bookings > .teoc-client-section > .teoc-client-section-head::after{
    width:280px;height:280px;right:125px;bottom:-238px;
}
.teoc-client-main:not(.teoc-client-page-overview):not(.teoc-client-page-account) > .teoc-client-page-head .teoc-client-eyebrow,
.teoc-client-page-bookings > .teoc-client-section > .teoc-client-section-head .teoc-client-eyebrow{color:#91b6ff}
.teoc-client-main:not(.teoc-client-page-overview):not(.teoc-client-page-account) > .teoc-client-page-head h1,
.teoc-client-page-bookings > .teoc-client-section > .teoc-client-section-head h1{
    color:#fff;
    font-size:clamp(35px,3.4vw,47px);
    text-shadow:0 2px 22px rgba(0,0,0,.13);
}
.teoc-client-main:not(.teoc-client-page-overview):not(.teoc-client-page-account) > .teoc-client-page-head p,
.teoc-client-page-bookings > .teoc-client-section > .teoc-client-section-head p{
    max-width:760px;
    color:rgba(232,240,250,.80);
    font-size:15px;
}
.teoc-client-main:not(.teoc-client-page-overview):not(.teoc-client-page-account) > .teoc-client-page-head .teoc-client-primary,
.teoc-client-page-bookings > .teoc-client-section > .teoc-client-section-head .teoc-client-primary{
    background:#fff!important;
    border-color:#fff!important;
    color:#0a2850!important;
    box-shadow:none!important;
}
.teoc-client-main:not(.teoc-client-page-overview):not(.teoc-client-page-account) > .teoc-client-page-head .teoc-client-secondary,
.teoc-client-page-bookings > .teoc-client-section > .teoc-client-section-head .teoc-client-secondary{
    background:rgba(255,255,255,.10)!important;
    border-color:rgba(255,255,255,.20)!important;
    color:#fff!important;
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
}

/* One common operational surface language below every hero. */
.teoc-client-main:not(.teoc-client-page-overview) .teoc-client-panel,
.teoc-client-page-bookings .teoc-client-card,
.teoc-client-page-knowledge .teoc-client-kb-card,
.teoc-client-page-account .teoc-security-card{
    background:linear-gradient(145deg,rgba(255,255,255,.985),rgba(247,250,254,.965));
    border-color:#dde6f0;
    box-shadow:0 10px 30px rgba(15,35,63,.048);
}

/* Services: no more old two/three-column wall of white cards. */
.teoc-client-page-services .teoc-portal-service-grid{
    grid-template-columns:1fr;
    gap:12px;
}
.teoc-client-page-services .teoc-portal-service-card{
    display:grid;
    grid-template-columns:minmax(0,1.35fr) minmax(300px,.82fr) auto;
    align-items:center;
    gap:22px;
    padding:21px 23px;
    border-radius:19px;
    background:linear-gradient(120deg,#fff 0%,#f8fbff 68%,#f3f7fc 100%);
}
.teoc-client-page-services .teoc-portal-service-card:hover{
    transform:translateY(-1px);
    box-shadow:0 14px 34px rgba(15,35,63,.065);
}
.teoc-client-page-services .teoc-portal-service-card-head{min-width:0}
.teoc-client-page-services .teoc-portal-service-card h2{font-size:20px}
.teoc-client-page-services .teoc-portal-service-meta{
    margin:0;
    padding:0;
    border:0;
    grid-template-columns:repeat(2,minmax(0,1fr));
}
.teoc-client-page-services .teoc-portal-service-meta>div{
    min-height:66px;
    padding:11px 12px;
    background:rgba(255,255,255,.74);
    border-color:#e6edf5;
}
.teoc-client-page-services .teoc-portal-service-card-actions{margin:0}
.teoc-client-page-services .teoc-client-activation-panel,
.teoc-client-page-services .teoc-renewal-policy-banner{
    background:linear-gradient(145deg,#fbfdff,#f3f7fc);
    border-color:#d9e4f0;
}

/* Support becomes one calm workspace rather than an old split-column screen. */
.teoc-client-page-support .teoc-client-support-grid,
.teoc-client-page-support .teoc-client-support-grid.is-history-only{
    grid-template-columns:1fr;
    gap:16px;
}
.teoc-client-page-support .teoc-client-ticket-list{
    border-color:#e1e8f1;
    background:rgba(255,255,255,.64);
}
.teoc-client-page-support .teoc-client-ticket-row{padding:18px 16px}
.teoc-client-page-support .teoc-client-ticket-meta{
    gap:0;
    overflow:hidden;
    padding:0;
    border:1px solid #dfe7f1;
    border-radius:18px;
    background:linear-gradient(145deg,#fff,#f8fbff);
    box-shadow:0 9px 28px rgba(15,35,63,.045);
}
.teoc-client-page-support .teoc-client-ticket-meta>div{
    min-height:88px;
    border:0;
    border-right:1px solid #e8edf4;
    border-radius:0;
    background:transparent;
}
.teoc-client-page-support .teoc-client-ticket-meta>div:last-child{border-right:0}

/* Appointments and Knowledge keep functional cards but use the same quieter premium surfaces. */
.teoc-client-page-bookings .teoc-portal-booking-type,
.teoc-client-page-knowledge .teoc-client-kb-card{
    background:linear-gradient(145deg,#fff,#f7faff);
    border-color:#dfe7f1;
}
.teoc-client-page-bookings .teoc-portal-booking-type:hover,
.teoc-client-page-knowledge .teoc-client-kb-card:hover{
    border-color:#cfddeb;
    box-shadow:0 12px 30px rgba(15,35,63,.06);
}

/* Signed-in booking pages inherit the same configured visual source. Public/anonymous and embeds are untouched. */
body.teoc-booking-public-body.is-client-portal .teoc-booking-client-app{
    background:
        radial-gradient(circle at 18% -8%,rgba(48,105,185,.08),transparent 34%),
        #f3f6fa;
}
body.teoc-booking-public-body.is-client-portal .teoc-booking-public-intro{
    background:
        linear-gradient(90deg,rgba(3,18,39,.95),rgba(5,33,69,.72)),
        var(--teoc-client-portal-bg) var(--teoc-client-portal-bg-position)/cover no-repeat;
}
body.teoc-booking-public-body.is-client-portal .teoc-booking-public-card,
body.teoc-booking-public-body.is-client-portal .teoc-booking-manage-card{
    border-color:#dce5ef;
    box-shadow:0 18px 48px rgba(15,35,63,.09);
}

@media(max-width:1040px){
    .teoc-client-page-services .teoc-portal-service-card{
        grid-template-columns:1fr;
        align-items:start;
        gap:16px;
    }
    .teoc-client-page-services .teoc-portal-service-card-actions{justify-content:flex-start}
}
@media(max-width:760px){
    .teoc-client-main:not(.teoc-client-page-overview):not(.teoc-client-page-account) > .teoc-client-page-head,
    .teoc-client-page-bookings > .teoc-client-section > .teoc-client-section-head{
        min-height:0;
        padding:27px 22px;
        border-radius:23px;
        gap:18px;
    }
    .teoc-client-main:not(.teoc-client-page-overview):not(.teoc-client-page-account) > .teoc-client-page-head h1,
    .teoc-client-page-bookings > .teoc-client-section > .teoc-client-section-head h1{font-size:32px}
    .teoc-client-page-services .teoc-portal-service-meta{grid-template-columns:1fr}
    .teoc-client-page-support .teoc-client-ticket-meta{grid-template-columns:1fr}
    .teoc-client-page-support .teoc-client-ticket-meta>div{
        border-right:0;
        border-bottom:1px solid #e8edf4;
    }
    .teoc-client-page-support .teoc-client-ticket-meta>div:last-child{border-bottom:0}
}

/* v1.0.80 — Client Portal expired-service visibility */
.teoc-portal-expired-panel{margin:18px 0;padding:24px 26px;border:1px solid #f0d9ad;border-radius:20px;background:linear-gradient(180deg,#fffdf8 0%,#fffaf0 100%);box-shadow:0 10px 28px rgba(40,51,70,.045)}
.teoc-portal-expired-panel h2{margin:5px 0 6px;color:#11223d;font-size:21px}.teoc-portal-expired-panel>p{margin:0 0 17px;color:#6c7889;line-height:1.6}
.teoc-portal-expired-list{display:grid;gap:10px}.teoc-portal-expired-service{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:15px 17px;background:#fff;border:1px solid #eadfca;border-radius:14px;text-decoration:none;color:inherit}
.teoc-portal-expired-service strong{display:block;color:#152640;font-size:14px}.teoc-portal-expired-service span{display:block;margin-top:4px;color:#7a8798;font-size:12px}.teoc-portal-expired-service small{display:block;margin-top:7px;color:#6b5a3d;font-size:12px;line-height:1.5}.teoc-portal-expired-service .teoc-portal-expired-action{margin-top:9px;font-weight:800;color:#2e4f75}.teoc-portal-expired-service em{flex:0 0 auto;font-style:normal;font-size:11px;font-weight:800;padding:7px 10px;border-radius:999px;background:#fff2d8;color:#93610d}
@media(max-width:700px){.teoc-portal-expired-panel{padding:20px 18px}.teoc-portal-expired-service{align-items:flex-start;flex-direction:column}.teoc-portal-expired-service em{align-self:flex-start}}

/* ========================================================================== 
 * v1.0.90 — Client Portal left navigation shell
 * Desktop: fixed premium sidebar. Tablet: compact icon rail. Mobile: top drawer.
 * Visual/navigation change only; portal permissions and workflows are unchanged.
 * ========================================================================== */
:root{
    --teoc-client-sidebar-width:272px;
    --teoc-client-sidebar-compact:88px;
}

@media(min-width:761px){
    .teoc-client-app{
        min-height:100vh;
        padding-left:var(--teoc-client-sidebar-width);
    }
    .teoc-client-topbar{
        position:fixed;
        inset:0 auto 0 0;
        z-index:40;
        width:var(--teoc-client-sidebar-width);
        min-height:100vh;
        height:100vh;
        display:flex;
        flex-direction:column;
        align-items:stretch;
        gap:20px;
        padding:24px 18px 18px;
        overflow-y:auto;
        overflow-x:hidden;
        background:linear-gradient(180deg,#071a33 0%,#0a2447 100%);
        border:0;
        border-right:1px solid rgba(255,255,255,.07);
        box-shadow:12px 0 34px rgba(7,26,51,.08);
        backdrop-filter:none;
        -webkit-backdrop-filter:none;
    }
    .teoc-client-brand{
        width:100%;
        min-width:0;
        display:flex;
        align-items:center;
        gap:12px;
        padding:0 8px 18px;
        color:#fff;
        border-bottom:1px solid rgba(255,255,255,.10);
    }
    .teoc-client-brand strong{color:#fff;font-size:18px}
    .teoc-client-brand small{color:#9eb0c9;font-size:11px}
    .teoc-client-logo{
        flex:0 0 auto;
        width:43px;
        height:43px;
        border:1px solid rgba(255,255,255,.18);
        border-radius:13px;
        background:#fff;
        box-shadow:0 10px 26px rgba(0,0,0,.16);
    }
    .teoc-client-logo img{width:32px;height:32px}

    .teoc-client-nav{
        width:100%;
        min-width:0;
        display:flex;
        flex-direction:column;
        align-items:stretch;
        gap:6px;
        padding:0;
        overflow:visible;
        background:transparent;
        border:0;
        border-radius:0;
    }
    .teoc-client-nav a{
        position:relative;
        width:100%;
        min-height:48px;
        display:flex;
        align-items:center;
        justify-content:flex-start;
        gap:11px;
        padding:8px 10px;
        border-radius:13px;
        color:#c5d0e1;
        font-size:13px;
        font-weight:760;
        line-height:1.25;
        white-space:normal;
        box-shadow:none;
        transition:background .16s ease,color .16s ease,transform .16s ease;
    }
    .teoc-client-nav a::before{
        content:"•";
        flex:0 0 32px;
        width:32px;
        height:32px;
        display:grid;
        place-items:center;
        border-radius:9px;
        background:rgba(255,255,255,.07);
        color:#b8c7dc;
        font-size:15px;
        font-weight:800;
        line-height:1;
    }
    .teoc-client-nav a[data-tab="overview"]::before{content:"⌂"}
    .teoc-client-nav a[data-tab="services"]::before{content:"▦"}
    .teoc-client-nav a[data-tab="support"]::before{content:"✦"}
    .teoc-client-nav a[data-tab="bookings"]::before{content:"◉"}
    .teoc-client-nav a[data-tab="knowledge"]::before{content:"▤"}
    .teoc-client-nav a[data-tab="billing"]::before{content:"€"}
    .teoc-client-nav a[data-tab="account"]::before{content:"⚙"}
    .teoc-client-nav a:hover{
        color:#fff;
        background:rgba(255,255,255,.075);
        transform:translateX(1px);
    }
    .teoc-client-nav a.is-active{
        color:#071a33;
        background:#fff;
        box-shadow:0 9px 24px rgba(0,0,0,.16);
    }
    .teoc-client-nav a.is-active::before{
        background:#eaf2ff;
        color:#0f62fe;
    }
    .teoc-client-nav-label{min-width:0;overflow-wrap:anywhere}

    .teoc-client-user{
        width:100%;
        min-width:0;
        margin-top:auto;
        padding:14px 10px 4px;
        display:grid;
        grid-template-columns:40px minmax(0,1fr);
        grid-template-rows:auto auto auto;
        align-items:center;
        justify-items:stretch;
        gap:10px 9px;
        border-top:1px solid rgba(255,255,255,.10);
    }
    .teoc-client-menu-toggle{display:none!important}
    .teoc-client-user-avatar{
        grid-column:1;
        grid-row:1;
        width:38px;
        height:38px;
        background:rgba(255,255,255,.96);
        border-color:rgba(255,255,255,.12);
        color:#0a2447;
    }
    .teoc-client-user-copy{
        grid-column:2;
        grid-row:1;
        display:grid!important;
        max-width:none!important;
        text-align:left!important;
    }
    .teoc-client-user-copy strong{color:#fff;font-size:13px}
    .teoc-client-user-copy small{color:#9eb0c9;font-size:10.5px}
    .teoc-client-language-switch{
        grid-column:1 / -1;
        grid-row:2;
        justify-self:start;
        min-height:32px;
        padding:6px 9px;
        background:rgba(255,255,255,.07);
        border-color:rgba(255,255,255,.10);
        color:#8fa3bf;
    }
    .teoc-client-language-switch a{color:#aebdd0}
    .teoc-client-language-switch a:hover,.teoc-client-language-switch a:focus-visible{color:#fff}
    .teoc-client-language-switch a.is-active{color:#fff}
    .teoc-client-signout{
        grid-column:1 / -1;
        grid-row:3;
        width:100%;
        min-height:38px;
        display:inline-flex;
        align-items:center;
        justify-content:center;
        margin:0;
        padding:8px 10px!important;
        color:#c5d0e1!important;
        background:rgba(255,255,255,.05);
        border-color:rgba(255,255,255,.10)!important;
        border-radius:10px!important;
    }
    .teoc-client-signout:hover{color:#fff!important;background:rgba(255,255,255,.09)}

    .teoc-client-main{
        width:min(1460px,calc(100% - 64px));
        padding:34px 0 64px;
    }
    .teoc-client-footer{
        width:min(1460px,calc(100% - 64px));
    }

    /* Signed-in booking pages use the same left navigation shell. */
    .teoc-booking-client-app{
        padding-left:var(--teoc-client-sidebar-width);
    }
}

/* Compact tablet rail: preserve the same IA without consuming content width. */
@media(min-width:761px) and (max-width:1120px){
    .teoc-client-app,
    .teoc-booking-client-app{padding-left:var(--teoc-client-sidebar-compact)}
    .teoc-client-topbar{
        width:var(--teoc-client-sidebar-compact);
        padding:18px 10px 14px;
        gap:16px;
    }
    .teoc-client-brand{
        justify-content:center;
        padding:0 0 15px;
    }
    .teoc-client-brand>span:last-child{display:none}
    .teoc-client-logo{width:44px;height:44px}
    .teoc-client-nav{gap:7px}
    .teoc-client-nav a{
        min-height:48px;
        justify-content:center;
        padding:8px;
    }
    .teoc-client-nav a::before{
        flex-basis:36px;
        width:36px;
        height:36px;
        border-radius:10px;
    }
    .teoc-client-nav-label{display:none}
    .teoc-client-user{
        display:flex;
        flex-direction:column;
        align-items:center;
        gap:8px;
        padding:13px 0 2px;
    }
    .teoc-client-user-copy{display:none!important}
    .teoc-client-language-switch{grid-column:auto;grid-row:auto;justify-self:auto;padding:5px 6px;font-size:10px}
    .teoc-client-signout{
        width:40px;
        min-width:40px;
        height:38px;
        min-height:38px;
        padding:0!important;
        font-size:0!important;
    }
    .teoc-client-signout::before{content:"↪";font-size:16px;line-height:1}
    .teoc-client-main{width:min(100% - 40px,1320px)}
    .teoc-client-footer{width:min(100% - 40px,1320px)}
}

/* Mobile remains a compact top bar with an accessible drawer. */
@media(max-width:760px){
    .teoc-client-app,
    .teoc-booking-client-app{
        padding-left:0;
    }
    .teoc-client-topbar{
        position:sticky;
        inset:auto;
        top:0;
        z-index:40;
        width:auto;
        min-height:64px;
        height:auto;
        display:flex;
        flex-direction:row;
        flex-wrap:wrap;
        align-items:center;
        gap:9px;
        padding:10px 14px;
        overflow:visible;
        background:rgba(255,255,255,.97);
        border:0;
        border-bottom:1px solid var(--teoc-p-line);
        box-shadow:0 5px 18px rgba(15,35,63,.05);
        backdrop-filter:blur(14px);
        -webkit-backdrop-filter:blur(14px);
    }
    .teoc-client-brand{
        width:auto;
        max-width:calc(100% - 150px);
        margin-right:auto;
        padding:0;
        color:#10203a;
        border:0;
    }
    .teoc-client-brand strong{color:#10203a;font-size:14px}
    .teoc-client-brand small{display:block;color:#8290a3;font-size:10px}
    .teoc-client-logo{
        width:38px;
        height:38px;
        border-color:var(--teoc-p-line);
        box-shadow:none;
    }
    .teoc-client-logo img{width:28px;height:28px}
    .teoc-client-user{
        width:auto;
        min-width:0;
        margin:0;
        padding:0;
        display:flex;
        flex-direction:row;
        align-items:center;
        gap:7px;
        border:0;
    }
    .teoc-client-user-avatar,.teoc-client-user-copy,.teoc-client-signout{display:none!important}
    .teoc-client-language-switch{
        order:0;
        min-height:36px;
        padding:5px 7px;
        background:#fff;
        border-color:var(--teoc-p-line);
    }
    .teoc-client-language-switch a{color:#7f8792}
    .teoc-client-language-switch a.is-active{color:#171a20}
    .teoc-client-menu-toggle{
        order:1;
        display:inline-flex!important;
        flex-direction:column;
        width:38px;
        min-width:38px;
        height:36px;
        padding:0 10px;
        color:#40516b;
        background:#fff;
        border-color:var(--teoc-p-line);
    }
    .teoc-client-nav{
        order:5;
        display:none;
        width:100%;
        max-width:none;
        flex:0 0 100%;
        flex-direction:column;
        align-items:stretch;
        gap:5px;
        margin:0;
        padding:7px;
        overflow:visible;
        background:#f6f8fb;
        border:1px solid var(--teoc-p-line);
        border-radius:14px;
    }
    .teoc-client-app.is-nav-ready.is-nav-open .teoc-client-nav,
    .teoc-client-app.is-nav-open .teoc-client-nav{display:flex}
    .teoc-client-nav a{
        width:100%;
        min-height:44px;
        display:flex;
        align-items:center;
        justify-content:flex-start;
        gap:9px;
        padding:7px 10px;
        color:#44556c;
        border-radius:10px;
        background:transparent;
        box-shadow:none;
    }
    .teoc-client-nav a::before{
        content:"•";
        flex:0 0 30px;
        width:30px;
        height:30px;
        display:grid;
        place-items:center;
        border-radius:8px;
        background:#edf2f8;
        color:#687a91;
        font-size:14px;
        line-height:1;
    }
    .teoc-client-nav a[data-tab="overview"]::before{content:"⌂"}
    .teoc-client-nav a[data-tab="services"]::before{content:"▦"}
    .teoc-client-nav a[data-tab="support"]::before{content:"✦"}
    .teoc-client-nav a[data-tab="bookings"]::before{content:"◉"}
    .teoc-client-nav a[data-tab="knowledge"]::before{content:"▤"}
    .teoc-client-nav a[data-tab="billing"]::before{content:"€"}
    .teoc-client-nav a[data-tab="account"]::before{content:"⚙"}
    .teoc-client-nav a.is-active{
        color:#0f62fe;
        background:#fff;
        box-shadow:0 4px 12px rgba(15,35,63,.06);
    }
    .teoc-client-nav a.is-active::before{background:#eaf2ff;color:#0f62fe}
    .teoc-client-nav-label{display:inline;min-width:0}
    .teoc-client-main{width:calc(100% - 28px);padding:20px 0 44px}
    .teoc-client-footer{width:calc(100% - 28px)}
}

/* ========================================================================== 
 * v1.0.100 — Client Knowledge Hub UX
 * Presentation/browsing enhancement only. Knowledge visibility, article data,
 * support suggestions, permissions and supplier-safety boundaries are unchanged.
 * ========================================================================== */
.teoc-client-page-knowledge .teoc-kb-page-head{
    align-items:center;
}
.teoc-client-page-knowledge .teoc-kb-page-head-actions{
    display:flex;
    align-items:center;
    justify-content:flex-end;
}
.teoc-client-page-knowledge .teoc-kb-summary-strip{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:0;
    margin:0 0 18px;
    overflow:hidden;
    border:1px solid #dfe7f1;
    border-radius:20px;
    background:linear-gradient(145deg,#fff,#f8fbff);
    box-shadow:0 8px 26px rgba(15,35,63,.04);
}
.teoc-client-page-knowledge .teoc-kb-summary-strip>div{
    display:grid;
    gap:5px;
    min-height:88px;
    padding:18px 22px;
    border-right:1px solid #e8edf4;
}
.teoc-client-page-knowledge .teoc-kb-summary-strip>div:last-child{border-right:0}
.teoc-client-page-knowledge .teoc-kb-summary-strip span{
    color:#8190a5;
    font-size:11px;
    font-weight:800;
    letter-spacing:.075em;
    text-transform:uppercase;
}
.teoc-client-page-knowledge .teoc-kb-summary-strip strong{
    color:var(--teoc-p-ink);
    font-size:25px;
    line-height:1.1;
}
.teoc-client-page-knowledge .teoc-kb-browser{
    padding:24px;
    border-radius:22px;
}
.teoc-client-page-knowledge .teoc-client-kb-search-v2{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto auto;
    align-items:center;
    gap:8px;
    margin:0 0 26px;
    padding:6px;
    border:1px solid #dce5ef;
    border-radius:16px;
    background:#f7f9fc;
}
.teoc-client-page-knowledge .teoc-kb-search-field{
    display:grid;
    grid-template-columns:34px minmax(0,1fr);
    align-items:center;
    min-width:0;
}
.teoc-client-page-knowledge .teoc-kb-search-field>span{
    display:grid;
    place-items:center;
    width:34px;
    color:#718198;
    font-size:20px;
    line-height:1;
}
.teoc-client-page-knowledge .teoc-client-kb-search-v2 input{
    min-width:0;
    min-height:44px;
    padding:0 8px 0 0;
    border:0;
    outline:0;
    background:transparent;
    color:var(--teoc-p-ink);
    font-size:15px;
    box-shadow:none!important;
}
.teoc-client-page-knowledge .teoc-kb-section-title{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:18px;
    margin:0 0 14px;
}
.teoc-client-page-knowledge .teoc-kb-section-title .teoc-client-eyebrow{
    margin-bottom:5px;
}
.teoc-client-page-knowledge .teoc-kb-section-title h2{
    margin:0;
    color:var(--teoc-p-ink);
    font-size:20px;
    line-height:1.25;
}
.teoc-client-page-knowledge .teoc-kb-topic-block{
    margin-bottom:28px;
}
.teoc-client-page-knowledge .teoc-kb-topic-chips{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
}
.teoc-client-page-knowledge .teoc-kb-topic-chip{
    display:inline-flex;
    align-items:center;
    gap:8px;
    min-height:38px;
    padding:7px 11px 7px 13px;
    border:1px solid #dfe7f1;
    border-radius:999px;
    background:#fff;
    color:#53657c;
    font-size:12px;
    font-weight:750;
    text-decoration:none;
    transition:.16s ease;
}
.teoc-client-page-knowledge .teoc-kb-topic-chip:hover{
    transform:translateY(-1px);
    border-color:#c9d8ea;
    color:#244b91;
    box-shadow:0 7px 18px rgba(15,35,63,.05);
}
.teoc-client-page-knowledge .teoc-kb-topic-chip b{
    display:grid;
    place-items:center;
    min-width:23px;
    height:23px;
    padding:0 6px;
    border-radius:999px;
    background:#eef3f9;
    color:#657993;
    font-size:10px;
}
.teoc-client-page-knowledge .teoc-kb-topic-chip.is-active{
    border-color:#173967;
    background:#0b274c;
    color:#fff;
}
.teoc-client-page-knowledge .teoc-kb-topic-chip.is-active b{
    background:rgba(255,255,255,.13);
    color:#fff;
}
.teoc-client-page-knowledge .teoc-kb-featured{
    margin:0 0 30px;
    padding:20px;
    border:1px solid #dce6f2;
    border-radius:20px;
    background:linear-gradient(145deg,#f7fbff,#fff);
}
.teoc-client-page-knowledge .teoc-client-kb-grid-featured{
    grid-template-columns:repeat(3,minmax(0,1fr));
}
.teoc-client-page-knowledge .teoc-client-kb-grid-library{
    grid-template-columns:repeat(3,minmax(0,1fr));
}
.teoc-client-page-knowledge .teoc-client-kb-card-v2{
    position:relative;
    min-height:202px;
    padding:20px;
    gap:9px;
    border:1px solid #dfe7f1;
    border-radius:18px;
    background:#fff;
    box-shadow:0 7px 24px rgba(15,35,63,.035);
    overflow:hidden;
}
.teoc-client-page-knowledge .teoc-client-kb-card-v2:before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:3px;
    opacity:0;
    background:linear-gradient(90deg,#0f62fe,#6b8fd7);
    transition:.16s ease;
}
.teoc-client-page-knowledge .teoc-client-kb-card-v2:hover:before{opacity:1}
.teoc-client-page-knowledge .teoc-client-kb-card-v2.is-featured{
    min-height:220px;
    background:linear-gradient(145deg,#fff,#f8fbff);
}
.teoc-client-page-knowledge .teoc-kb-card-top{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:2px;
}
.teoc-client-page-knowledge .teoc-kb-card-icon{
    display:grid;
    place-items:center;
    width:38px;
    height:38px;
    flex:0 0 38px;
    border:1px solid #d8e4f3;
    border-radius:11px;
    background:#eef5ff;
    color:#3466a7;
}
.teoc-client-page-knowledge .teoc-kb-card-icon svg{width:19px;height:19px}
.teoc-client-page-knowledge .teoc-client-kb-card-v2 small{
    color:#6680a3;
    font-size:10px;
    font-weight:800;
    letter-spacing:.065em;
    line-height:1.35;
    text-transform:uppercase;
}
.teoc-client-page-knowledge .teoc-client-kb-card-v2 strong{
    color:var(--teoc-p-ink);
    font-size:17px;
    line-height:1.35;
}
.teoc-client-page-knowledge .teoc-client-kb-card-v2>span{
    color:#68798e;
    font-size:13px;
    line-height:1.6;
}
.teoc-client-page-knowledge .teoc-client-kb-card-v2 em{
    display:flex;
    align-items:center;
    gap:6px;
    margin-top:auto;
    padding-top:9px;
    color:#31598d;
    font-size:12px;
    font-style:normal;
    font-weight:800;
}
.teoc-client-page-knowledge .teoc-client-kb-card-v2 em b{
    transition:transform .16s ease;
}
.teoc-client-page-knowledge .teoc-client-kb-card-v2:hover em b{transform:translateX(3px)}
.teoc-client-page-knowledge .teoc-kb-section-title-row{
    margin-top:2px;
}
.teoc-client-page-knowledge .teoc-kb-result-count{
    display:inline-flex;
    align-items:center;
    min-height:31px;
    padding:5px 10px;
    border-radius:999px;
    background:#f1f5fa;
    color:#667a94;
    font-size:11px;
    font-weight:800;
}
.teoc-client-page-knowledge .teoc-kb-empty{
    padding:34px 20px;
}
.teoc-client-page-knowledge .teoc-kb-empty .teoc-client-secondary{
    margin-top:12px;
}
.teoc-client-page-knowledge .teoc-kb-featured-only-note{
    margin:0;
    color:#718198;
    font-size:13px;
}

/* Article view */
.teoc-client-page-knowledge .teoc-kb-article-layout{
    display:grid;
    grid-template-columns:minmax(0,1.55fr) minmax(270px,.52fr);
    gap:18px;
    align-items:start;
}
.teoc-client-page-knowledge .teoc-kb-article-v2{
    max-width:none;
    margin:0;
    padding:30px;
    border-radius:22px;
}
.teoc-client-page-knowledge .teoc-kb-article-v2 .teoc-kb-back{
    display:inline-flex;
    margin-bottom:23px;
}
.teoc-client-page-knowledge .teoc-kb-article-meta-row{
    display:flex;
    gap:7px;
    flex-wrap:wrap;
    margin-bottom:12px;
}
.teoc-client-page-knowledge .teoc-kb-article-meta-row span{
    display:inline-flex;
    align-items:center;
    min-height:29px;
    padding:5px 9px;
    border-radius:999px;
    background:#eef4fb;
    color:#58708e;
    font-size:10px;
    font-weight:800;
    letter-spacing:.045em;
    text-transform:uppercase;
}
.teoc-client-page-knowledge .teoc-kb-article-v2 h1{
    margin:0 0 12px;
    color:var(--teoc-p-ink);
    font-size:clamp(29px,3vw,42px);
    line-height:1.12;
    letter-spacing:-.026em;
}
.teoc-client-page-knowledge .teoc-kb-article-lead{
    margin:0 0 25px;
    padding-bottom:22px;
    border-bottom:1px solid #e7edf4;
    color:#65758a;
    font-size:16px;
    line-height:1.7;
}
.teoc-client-page-knowledge .teoc-kb-article-v2 .teoc-kb-content{
    color:#39495e;
    font-size:15px;
    line-height:1.8;
}
.teoc-client-page-knowledge .teoc-kb-article-v2 .teoc-kb-content h2,
.teoc-client-page-knowledge .teoc-kb-article-v2 .teoc-kb-content h3{
    color:var(--teoc-p-ink);
}
.teoc-client-page-knowledge .teoc-kb-article-side{
    display:grid;
    gap:16px;
    position:sticky;
    top:24px;
}
.teoc-client-page-knowledge .teoc-kb-related,
.teoc-client-page-knowledge .teoc-kb-help-card{
    padding:20px;
    border-radius:19px;
}
.teoc-client-page-knowledge .teoc-kb-related .teoc-client-card-head{
    margin-bottom:12px;
}
.teoc-client-page-knowledge .teoc-kb-related .teoc-client-card-head h2,
.teoc-client-page-knowledge .teoc-kb-help-card h2{
    margin:3px 0 0;
    color:var(--teoc-p-ink);
    font-size:18px;
}
.teoc-client-page-knowledge .teoc-kb-related-list{
    display:grid;
    gap:8px;
}
.teoc-client-page-knowledge .teoc-kb-related-list a{
    position:relative;
    display:block;
    padding:12px 34px 12px 12px;
    border:1px solid #e8edf4;
    border-radius:12px;
    background:#fbfcfe;
    text-decoration:none;
    transition:.16s ease;
}
.teoc-client-page-knowledge .teoc-kb-related-list a:hover{
    border-color:#d4dfed;
    background:#f5f9ff;
}
.teoc-client-page-knowledge .teoc-kb-related-list strong{
    display:block;
    color:var(--teoc-p-ink);
    font-size:13px;
    line-height:1.35;
}
.teoc-client-page-knowledge .teoc-kb-related-list span{
    display:block;
    margin-top:4px;
    color:#748399;
    font-size:11px;
    line-height:1.45;
}
.teoc-client-page-knowledge .teoc-kb-related-list b{
    position:absolute;
    right:12px;
    top:50%;
    transform:translateY(-50%);
    color:#5e7ca4;
}
.teoc-client-page-knowledge .teoc-kb-help-card{
    background:linear-gradient(145deg,#0b274c,#123966);
    border-color:#173f70;
    color:#fff;
}
.teoc-client-page-knowledge .teoc-kb-help-card .teoc-client-eyebrow{color:#9cc0ff}
.teoc-client-page-knowledge .teoc-kb-help-card h2{color:#fff}
.teoc-client-page-knowledge .teoc-kb-help-card p{
    margin:8px 0 16px;
    color:#c3d0df;
    font-size:13px;
    line-height:1.6;
}
.teoc-client-page-knowledge .teoc-kb-help-card .teoc-client-primary{
    width:100%;
    background:#fff!important;
    border-color:#fff!important;
    color:#0b274c!important;
}

@media(max-width:1180px){
    .teoc-client-page-knowledge .teoc-client-kb-grid-featured,
    .teoc-client-page-knowledge .teoc-client-kb-grid-library{grid-template-columns:repeat(2,minmax(0,1fr))}
    .teoc-client-page-knowledge .teoc-kb-article-layout{grid-template-columns:1fr}
    .teoc-client-page-knowledge .teoc-kb-article-side{position:static;grid-template-columns:1fr 1fr}
}
@media(max-width:760px){
    .teoc-client-page-knowledge .teoc-kb-page-head-actions{width:100%;justify-content:flex-start}
    .teoc-client-page-knowledge .teoc-kb-summary-strip{grid-template-columns:1fr}
    .teoc-client-page-knowledge .teoc-kb-summary-strip>div{min-height:0;border-right:0;border-bottom:1px solid #e8edf4}
    .teoc-client-page-knowledge .teoc-kb-summary-strip>div:last-child{border-bottom:0}
    .teoc-client-page-knowledge .teoc-kb-browser{padding:18px}
    .teoc-client-page-knowledge .teoc-client-kb-search-v2{grid-template-columns:1fr;padding:8px}
    .teoc-client-page-knowledge .teoc-client-kb-search-v2 .teoc-client-primary,
    .teoc-client-page-knowledge .teoc-client-kb-search-v2 .teoc-client-secondary{width:100%;text-align:center}
    .teoc-client-page-knowledge .teoc-kb-search-field{min-height:44px}
    .teoc-client-page-knowledge .teoc-client-kb-grid-featured,
    .teoc-client-page-knowledge .teoc-client-kb-grid-library{grid-template-columns:1fr}
    .teoc-client-page-knowledge .teoc-kb-featured{padding:15px}
    .teoc-client-page-knowledge .teoc-kb-section-title-row{align-items:flex-start;flex-direction:column;gap:9px}
    .teoc-client-page-knowledge .teoc-kb-article-v2{padding:22px 18px}
    .teoc-client-page-knowledge .teoc-kb-article-side{grid-template-columns:1fr}
}


/* v1.0.101 — Overview self-service priority */
.teoc-client-page-overview .teoc-portal-home-knowledge .teoc-client-panel-head p{max-width:420px}
.teoc-client-page-overview .teoc-portal-home-kb-list{display:grid;gap:10px}
.teoc-client-page-overview .teoc-portal-home-kb-row{
    display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;
    padding:14px 15px;border:1px solid #e1e8f0;border-radius:14px;background:#fff;
    color:inherit;text-decoration:none;transition:.16s ease;
}
.teoc-client-page-overview .teoc-portal-home-kb-row:hover{
    border-color:#ccd9e8;background:#f8fbff;transform:translateY(-1px);
}
.teoc-client-page-overview .teoc-portal-home-kb-row strong{
    display:block;color:var(--teoc-p-ink);font-size:13.5px;line-height:1.4;
}
.teoc-client-page-overview .teoc-portal-home-kb-row small{
    display:block;margin-top:4px;color:#718198;font-size:11.5px;line-height:1.35;
}
.teoc-client-page-overview .teoc-portal-home-kb-row b{color:#5f7fa6;font-size:17px}


/* v1.0.116 — Policies & Agreements client reference */
.teoc-policies-page-head{margin-bottom:18px}
.teoc-policy-legal-panel,.teoc-policy-guidance-panel{margin-bottom:18px}
.teoc-policy-document-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.teoc-policy-document-card{position:relative;display:grid;grid-template-columns:42px minmax(0,1fr) 20px;grid-template-rows:auto auto;gap:4px 12px;align-items:start;padding:18px;border:1px solid #dfe7f0;border-radius:16px;background:#fff;color:#0b1f3a;text-decoration:none;transition:.2s ease}
.teoc-policy-document-card:hover{transform:translateY(-2px);border-color:#bfd0e4;box-shadow:0 12px 28px rgba(15,23,42,.07)}
.teoc-policy-document-icon{grid-row:1/3;display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#eef4fb;color:#174b86;font-size:22px;font-weight:800}
.teoc-policy-document-card strong{font-size:15px;line-height:1.35}
.teoc-policy-document-card span:not(.teoc-policy-document-icon){font-size:12px;line-height:1.55;color:#6b7b8d}
.teoc-policy-document-card b{grid-column:3;grid-row:1/3;align-self:center;color:#6e83a0;font-size:18px}
.teoc-policy-article-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.teoc-policy-article-card{display:flex;min-height:170px;flex-direction:column;padding:18px;border:1px solid #e1e8f0;border-radius:15px;background:#f9fbfd;color:#0b1f3a;text-decoration:none;transition:.2s ease}
.teoc-policy-article-card:hover{transform:translateY(-2px);border-color:#c5d4e5;background:#fff}
.teoc-policy-article-card>span{font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#66809f}
.teoc-policy-article-card>strong{margin-top:8px;font-size:17px;line-height:1.35}
.teoc-policy-article-card>p{margin:8px 0 16px;color:#66788e;font-size:13px;line-height:1.55}
.teoc-policy-article-card>b{margin-top:auto;color:#1f5fa8;font-size:12px}
.teoc-policy-help{display:flex;align-items:center;justify-content:space-between;gap:24px}
.teoc-policy-help h2{margin:5px 0 6px}
.teoc-policy-help p{margin:0;max-width:780px;color:#66788e}
@media(max-width:980px){.teoc-policy-document-grid{grid-template-columns:1fr}.teoc-policy-article-grid{grid-template-columns:1fr}.teoc-policy-help{align-items:flex-start;flex-direction:column}}


/* v1.0.119 — Support Agent dual-context Client View */
.teoc-client-context-banner{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 18px;padding:12px 16px;border:1px solid #c8d7ef;border-radius:12px;background:#f4f8ff;color:#18355d;font-size:13px;line-height:1.45}
.teoc-client-context-banner strong{font-weight:800;color:#0b2a52}
.teoc-client-context-banner span{color:#5d6f89;text-align:right}
.is-support-client-view .teoc-client-back-support{border-color:#9db4d6;background:#eef4fc;color:#0b2a52}
@media(max-width:760px){.teoc-client-context-banner{display:block}.teoc-client-context-banner span{display:block;margin-top:4px;text-align:left}}


/* Communication audit trail v1.2.27 */
.teoc-communication-list{display:grid;gap:10px}.teoc-communication-row{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:15px 16px;border:1px solid var(--teoc-client-border,#e5e9ef);border-radius:12px;text-decoration:none;color:inherit;background:#fff}.teoc-communication-row:hover{border-color:#cfd6e2}.teoc-communication-row span{display:grid;gap:3px}.teoc-communication-row small{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:#788397}.teoc-communication-row strong{font-size:14px}.teoc-communication-row em{font-style:normal;font-size:12px;color:#788397}.teoc-communication-row b{font-size:11px;padding:6px 9px;border-radius:999px;background:#eef3fb;color:#315a9d;white-space:nowrap}.teoc-communication-meta{padding:12px 0 16px;color:#667085;font-size:12px}.teoc-communication-snapshot{border:1px solid #e5e9ef;border-radius:12px;overflow:hidden;background:#fff;margin:0 0 18px}.teoc-communication-snapshot iframe{display:block;width:100%;min-height:650px;border:0;background:#fff}@media(max-width:720px){.teoc-communication-row{align-items:flex-start}.teoc-communication-row b{margin-top:2px}.teoc-communication-snapshot iframe{min-height:720px}}

/* Client Portal — ThinkEasy Windows Support download v1.4.0 */
.teoc-client-remote-support{position:relative;overflow:hidden;margin-bottom:18px;border-color:#dce5f4!important;background:linear-gradient(145deg,#fff 0%,#f8faff 100%)!important}
.teoc-client-remote-support:before{content:"";position:absolute;right:-90px;top:-120px;width:240px;height:240px;border-radius:50%;background:radial-gradient(circle,rgba(36,87,255,.10),rgba(36,87,255,0) 68%);pointer-events:none}
.teoc-client-remote-head{position:relative;display:grid;grid-template-columns:46px minmax(0,1fr) auto;gap:14px;align-items:start}
.teoc-client-remote-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:#2457ff;color:#fff;font-size:22px;font-weight:900;box-shadow:0 10px 24px rgba(36,87,255,.2)}
.teoc-client-remote-head .teoc-client-eyebrow{display:block;margin-bottom:4px;color:#2457ff;font-size:10px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.teoc-client-remote-head h2{margin:0!important;font-size:21px!important}
.teoc-client-remote-head p{max-width:760px;margin:7px 0 0;color:#66758a;font-size:13px;line-height:1.6}
.teoc-client-remote-badge{display:inline-flex;align-items:center;min-height:28px;padding:5px 10px;border-radius:999px;background:#fff3d8;color:#8b6208;font-size:10px;font-weight:850;white-space:nowrap}
.teoc-client-remote-badge.is-running{background:#eaf3ff;color:#245b97}
.teoc-client-remote-badge.is-ready{background:#eaf8ef;color:#247049}
.teoc-client-remote-device{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:18px}
.teoc-client-remote-device>div{padding:13px 14px;border:1px solid #e2e8f1;border-radius:12px;background:rgba(255,255,255,.82)}
.teoc-client-remote-device small{display:block;color:#8490a0;font-size:9px;font-weight:900;letter-spacing:.06em}
.teoc-client-remote-device strong{display:block;margin-top:4px;color:#1c3049;font-size:13px}
.teoc-client-remote-device span{display:block;margin-top:3px;color:#748195;font-size:11px}
.teoc-client-remote-actions{position:relative;display:flex;align-items:center;gap:13px;flex-wrap:wrap;margin-top:20px}
.teoc-client-remote-actions .teoc-client-primary{min-width:220px}
.teoc-client-remote-actions>span{color:#7b8797;font-size:11px}
.teoc-client-remote-steps{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:18px}
.teoc-client-remote-steps>div{display:grid;grid-template-columns:30px 1fr;grid-template-rows:auto auto;column-gap:9px;align-items:center;padding:12px;border:1px solid #e3e8f0;border-radius:12px;background:#fff}
.teoc-client-remote-steps>div>span{grid-row:1/3;display:grid;place-items:center;width:29px;height:29px;border-radius:50%;background:#edf2ff;color:#2457ff;font-size:10px;font-weight:900}
.teoc-client-remote-steps strong{color:#293d55;font-size:11px}
.teoc-client-remote-steps small{margin-top:2px;color:#788599;font-size:9.5px;line-height:1.35;overflow-wrap:anywhere}
.teoc-client-remote-privacy{position:relative;margin-top:14px;padding-top:13px;border-top:1px solid #e6ebf2;color:#8490a0;font-size:10.5px;line-height:1.55}
@media(max-width:760px){.teoc-client-remote-head{grid-template-columns:42px 1fr}.teoc-client-remote-badge{grid-column:1/-1;width:fit-content}.teoc-client-remote-device,.teoc-client-remote-steps{grid-template-columns:1fr}.teoc-client-remote-actions{align-items:stretch;flex-direction:column}.teoc-client-remote-actions .teoc-client-primary{width:100%;min-width:0}.teoc-client-remote-actions>span{text-align:center}}
