:root{color-scheme:light dark;--lc-bg:#f4f7f6;--lc-surface:#fff;--lc-text:#203238;--lc-muted:#63757b;--lc-border:#dce5e2;--lc-green:#087b63;--lc-soft:#e4f5ec;--lc-header:#10262b;--lc-gold:#ba9141;--lc-error:#9e2929;--lc-error-bg:#fff1ee}
*{box-sizing:border-box}body.lc-page{margin:0;min-width:280px;background:var(--lc-bg);color:var(--lc-text);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;line-height:1.5}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #40ae9b;outline-offset:3px}[hidden]{display:none!important}a{color:var(--lc-green)}h1,h2,p{margin:0}h1{font-size:clamp(1.75rem,5vw,2.5rem);line-height:1.2;letter-spacing:-.035em}h2{font-size:1.2rem;line-height:1.3}small{font-size:.86rem}.lc-entry{max-width:570px;padding:clamp(24px,5vw,48px) 24px;margin:0 auto}.lc-brand{display:flex;align-items:center;gap:16px;margin:22px 0 36px;font-size:1.2rem;font-weight:650}.lc-brand img,.lc-brand-small img{object-fit:contain;background:#10262b;border-radius:18px;padding:8px}.lc-eyebrow{font-size:.74rem;font-weight:750;letter-spacing:.12em;color:var(--lc-green);margin-bottom:10px}.lc-intro{color:var(--lc-muted);margin-top:14px;margin-bottom:28px}.lc-roles{display:grid;gap:14px}.lc-role{display:grid;grid-template-columns:44px 1fr 20px;gap:12px;align-items:center;color:inherit;text-decoration:none;background:var(--lc-surface);border:1px solid var(--lc-border);border-radius:18px;padding:22px 18px;transition:border-color .15s,background .15s}.lc-role strong{display:block;font-size:1.07rem;margin-bottom:5px}.lc-role small{display:block;color:var(--lc-muted);line-height:1.45}.lc-role:hover{border-color:var(--lc-green)}.lc-role-primary{background:var(--lc-soft);border-color:#8fcab6}.lc-role-icon{display:grid;place-items:center;color:var(--lc-green);font-size:1.7rem}.lc-footer{text-align:center;color:var(--lc-muted);font-size:.82rem;margin-top:32px}.lc-back{display:inline-block;padding:8px 0;text-decoration:none;font-size:.9rem}.lc-form{display:grid;gap:18px}.lc-form label{display:grid;gap:7px;font-size:.9rem;font-weight:600}.lc-form input,.lc-form select,.lc-form textarea{width:100%;padding:14px 15px;min-height:50px;border:1px solid var(--lc-border);border-radius:12px;background:var(--lc-surface);color:var(--lc-text);font-size:1rem;font-weight:400}.lc-form textarea{min-height:130px;resize:vertical}.lc-password{display:flex;position:relative}.lc-password input{padding-right:87px}.lc-password button{position:absolute;right:5px;top:5px;bottom:5px;border:0;border-radius:8px;color:var(--lc-green);background:transparent;padding:0 12px;font-size:.85rem}.lc-hint{font-size:.84rem;color:var(--lc-muted);font-weight:400}.lc-button{display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:48px;padding:12px 20px;border:1px solid var(--lc-border);border-radius:12px;background:var(--lc-surface);color:var(--lc-text);font-weight:650;text-decoration:none;line-height:1.35}.lc-primary{background:var(--lc-green);border-color:var(--lc-green);color:white}.lc-text-button{border:0;background:transparent;color:var(--lc-green);padding:10px;font-weight:600;min-height:44px}.lc-icon-button{border:1px solid var(--lc-border);border-radius:12px;background:var(--lc-surface);color:var(--lc-text);width:44px;height:44px;font-size:1.5rem;flex-shrink:0}.lc-error{color:var(--lc-error);background:var(--lc-error-bg);border-radius:10px;padding:13px;font-size:.9rem}.lc-notice{padding:14px 16px;background:var(--lc-soft);border:1px solid var(--lc-border);border-radius:12px;margin:0 0 18px;font-size:.9rem}.lc-loading{max-width:600px;margin:25vh auto;text-align:center;color:var(--lc-muted)}.lc-topbar{background:var(--lc-header);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px max(20px,calc((100vw - 920px)/2));padding-top:max(12px,env(safe-area-inset-top))}.lc-brand-small{display:flex;align-items:center;gap:10px;color:inherit;text-decoration:none;font-weight:650;white-space:nowrap}.lc-topbar .lc-text-button{color:#a2e3d2}.lc-content{max-width:960px;padding:28px 20px max(40px,env(safe-area-inset-bottom));margin:auto}.lc-page-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:24px}.lc-page-heading h1{overflow-wrap:anywhere;font-size:1.9rem}.lc-account-card{padding:24px;border:1px solid var(--lc-border);border-radius:18px;background:var(--lc-surface);margin-bottom:20px}.lc-account-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}.lc-status{display:inline-block;font-size:.8rem;border-radius:7px;background:var(--lc-soft);color:var(--lc-green);padding:5px 9px}.lc-status[data-state="expired"],.lc-status[data-state="overdue"]{color:var(--lc-error);background:var(--lc-error-bg)}.lc-facts{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:0}.lc-facts dt{font-size:.82rem;color:var(--lc-muted)}.lc-facts dd{margin:4px 0 0;font-weight:650;overflow-wrap:anywhere}.lc-account-card>.lc-hint{margin-top:18px}.lc-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}.lc-action{display:flex;flex-direction:column;gap:6px;text-align:left;border:1px solid var(--lc-border);border-radius:15px;background:var(--lc-surface);color:var(--lc-text);padding:20px;min-height:110px}.lc-action strong{font-size:1rem}.lc-action span{font-size:.86rem;color:var(--lc-muted)}.lc-action-primary{background:var(--lc-green);border-color:var(--lc-green);color:#fff}.lc-action-primary span{color:#e6f8f1}.lc-section{margin-top:30px}.lc-section h2{margin-bottom:14px}.lc-list{display:grid;gap:10px}.lc-list-item{border:1px solid var(--lc-border);border-radius:14px;padding:18px;background:var(--lc-surface)}.lc-list-top{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}.lc-list-item p{margin-top:7px;overflow-wrap:anywhere}.lc-list-item .lc-button{margin-top:14px;min-height:42px;padding:10px 16px;font-size:.9rem}.lc-empty{color:var(--lc-muted);font-size:.92rem;padding:20px;border:1px dashed var(--lc-border);border-radius:12px}.lc-dialog{width:calc(100% - 32px);max-width:560px;border:1px solid var(--lc-border);border-radius:20px;background:var(--lc-surface);color:var(--lc-text);padding:24px;max-height:calc(100dvh - 40px);overflow:auto}.lc-dialog::backdrop{background:rgba(4,19,23,.62)}.lc-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:20px}.lc-dialog-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.lc-dialog-actions>*{flex:1}.lc-plan-options{display:grid;gap:10px;margin-top:14px}.lc-plan-option{display:flex;align-items:center;gap:12px;padding:16px;border:1px solid var(--lc-border);border-radius:12px}.lc-plan-option:has(input:checked){border-color:var(--lc-green);background:var(--lc-soft)}.lc-plan-option input{accent-color:var(--lc-green);width:20px;height:20px}.lc-plan-option strong,.lc-plan-option small{display:block}.lc-plan-option small{color:var(--lc-muted)}.lc-payment-link{overflow-wrap:anywhere}.lc-ticket-status{margin-top:8px}.lc-dialog .lc-facts{margin:20px 0}.lc-pending-note{font-size:.86rem;color:var(--lc-muted);margin-top:14px}.lc-inline-heading{margin-bottom:12px}.lc-inline-alert{margin-top:14px}.lc-entry [id$="turnstile"]{max-width:100%;overflow:hidden}
@media(max-width:430px){.lc-entry{padding:22px 18px}.lc-brand{margin:16px 0 28px}.lc-role{padding:18px 14px;grid-template-columns:32px 1fr 16px}.lc-content{padding:24px 16px 36px}.lc-actions{gap:10px}.lc-action{padding:16px;min-height:125px}.lc-account-card{padding:20px}.lc-dialog{padding:20px}.lc-topbar{padding-left:16px;padding-right:16px}.lc-facts{gap:16px}.lc-page-heading h1{font-size:1.6rem}}
@media(prefers-color-scheme:dark){:root{--lc-bg:#101d21;--lc-surface:#192a30;--lc-text:#e9f1ef;--lc-muted:#a7b8bd;--lc-border:#33494e;--lc-green:#75ddbd;--lc-soft:#203f37;--lc-error:#ffb3a6;--lc-error-bg:#492e2b}.lc-primary,.lc-action-primary{background:#12816a;border-color:#12816a;color:white}.lc-role-primary{border-color:#3f8069}.lc-role-icon{color:#75ddbd}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.lc-thread{display:grid;gap:12px}.lc-message{max-width:95%;padding:14px 16px;border-radius:14px;background:var(--lc-soft);border:1px solid var(--lc-border);overflow-wrap:anywhere}.lc-message[data-from="customer"]{justify-self:end}.lc-message[data-from="team"]{justify-self:start;background:var(--lc-bg)}.lc-message strong{font-size:.85rem;color:var(--lc-green)}.lc-message p{white-space:pre-wrap;margin:7px 0}.lc-message small{color:var(--lc-muted)}
.lc-admin-link{color:var(--lc-muted);font-size:.8rem;text-underline-offset:4px;display:inline-block;padding:12px}
.lc-account-list{margin-bottom:20px}.lc-account-list>.lc-list-top{margin-bottom:12px}.lc-account-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}.lc-account-option{display:flex;align-items:center;gap:12px;padding:16px;text-align:left;min-height:80px;border:1px solid var(--lc-border);border-radius:14px;color:var(--lc-text);background:var(--lc-surface)}.lc-account-option[aria-pressed="true"]{border-color:var(--lc-green);background:var(--lc-soft)}.lc-account-option span{flex:1;min-width:0}.lc-account-option strong,.lc-account-option small{display:block;overflow-wrap:anywhere}.lc-account-option small{color:var(--lc-muted);margin-top:4px}.lc-account-option .lc-server-dot{width:9px;height:9px;flex:0 0 9px;border-radius:50%;background:var(--lc-green)}.lc-account-option[data-server="tvs"] .lc-server-dot{background:#b785d1}.lc-account-option[data-server="rush"] .lc-server-dot{background:#dc7f90}
@media(max-width:430px){.lc-account-options{grid-template-columns:1fr}.lc-account-option{min-height:76px}.lc-page-heading{margin-bottom:18px}}
.lc-admin-link,.lc-back{min-height:44px}
.lc-message small{display:block}
/* Full-height customer conversation. These rules do not alter payment/request dialogs. */
.lc-chat-dialog[open]{display:flex;flex-direction:column;width:calc(100% - 32px);max-width:720px;height:min(800px,calc(100dvh - 40px));max-height:calc(100dvh - 40px);padding:0;overflow:hidden;background:var(--lc-bg)}
.lc-chat-dialog>header{flex:none;min-height:64px;margin:0;padding:12px 18px;gap:12px;background:var(--lc-header);color:#fff;border-bottom:1px solid var(--lc-border)}
.lc-chat-dialog>header h2{font-size:1.06rem;order:1;flex:1}.lc-chat-dialog>header .lc-icon-button{order:0;border:0;background:transparent;color:#fff;font-size:1.6rem}
.lc-chat-dialog .lc-chat-body{display:flex;flex:1;min-height:0;flex-direction:column;overflow:hidden}
.lc-chat-context{flex:none;padding:8px 18px 0;color:var(--lc-muted);font-size:.78rem;overflow-wrap:anywhere}.lc-chat-context:empty{display:none}
.lc-chat-status{flex:none;padding:6px 18px 10px;color:var(--lc-muted);font-size:.78rem;line-height:1.35;border-bottom:1px solid var(--lc-border)}
.lc-chat-history{display:flex;flex:1;min-height:0;flex-direction:column;gap:9px;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:18px 16px;scrollbar-gutter:stable;background:radial-gradient(circle at 8px 8px,color-mix(in srgb,var(--lc-border) 55%,transparent) 1px,transparent 1px) 0 0/22px 22px}
.lc-chat-bubble{align-self:flex-start;max-width:86%;min-width:70px;padding:10px 12px 6px;border:1px solid var(--lc-border);border-radius:0 15px 15px 15px;background:var(--lc-surface);overflow-wrap:anywhere;box-shadow:0 1px 1px #00000008}
.lc-chat-bubble[data-from="customer"]{align-self:flex-end;border-radius:15px 0 15px 15px;background:var(--lc-soft);border-color:color-mix(in srgb,var(--lc-green) 20%,var(--lc-border))}
.lc-chat-bubble p{white-space:pre-wrap;font-size:.97rem;line-height:1.45;margin:0}.lc-chat-message-time{display:block;text-align:right;font-size:.68rem;color:var(--lc-muted);margin:5px 0 0;line-height:1.4}
.lc-chat-media{display:block;max-width:100%;max-height:45dvh;margin:6px 0;border-radius:8px}.lc-chat-bubble audio{width:min(290px,65vw);height:44px}.lc-chat-bubble video{width:100%;min-width:180px}.lc-chat-empty{align-self:center;max-width:290px;margin:auto;padding:18px;text-align:center;background:var(--lc-surface);border:1px solid var(--lc-border);border-radius:15px;color:var(--lc-muted);font-size:.9rem}
.lc-chat-compose{position:relative;display:flex;flex:none;flex-direction:column;gap:9px;margin:0;padding:10px 12px max(10px,env(safe-area-inset-bottom));border-top:1px solid var(--lc-border);background:var(--lc-surface)}
.lc-chat-compose-row{display:flex;align-items:flex-end;gap:8px;min-width:0}.lc-chat-input{display:block;flex:1;min-width:0;width:100%;min-height:44px;max-height:144px;margin:0;padding:10px 14px;border:1px solid var(--lc-border);border-radius:23px;background:var(--lc-bg);color:var(--lc-text);font:inherit;font-size:16px;line-height:22px;resize:none;overflow-y:auto;scrollbar-width:thin}
.lc-chat-icon,.lc-chat-send{display:grid;place-items:center;flex:none;width:44px;height:44px;min-height:44px;border:0;border-radius:50%;padding:0;background:transparent;color:var(--lc-green);font:inherit;font-size:1.55rem;line-height:1}
.lc-chat-send{background:#12816a;color:#fff;font-size:1.2rem}.lc-chat-icon:disabled,.lc-chat-send:disabled{opacity:.4;cursor:default}.lc-chat-error{padding:10px 12px;border-radius:10px;background:var(--lc-error-bg);color:var(--lc-error);font-size:.85rem;line-height:1.4;overflow-wrap:anywhere}
.lc-chat-attach-menu{position:absolute;z-index:3;bottom:calc(100% + 6px);left:12px;width:240px;max-width:calc(100% - 24px);display:grid;gap:3px;padding:8px;border:1px solid var(--lc-border);border-radius:15px;background:var(--lc-surface);box-shadow:0 8px 30px #0003}
.lc-chat-attachment-option{min-height:46px;padding:10px 14px;border:0;border-radius:8px;background:transparent;color:var(--lc-text);text-align:left;font:inherit;font-size:.94rem}.lc-chat-attachment-option:hover{background:var(--lc-soft)}
.lc-chat-preview{display:flex;align-items:center;flex-wrap:wrap;gap:10px;max-height:34dvh;overflow:auto;padding:10px 12px;border:1px solid var(--lc-border);border-radius:12px;background:var(--lc-bg)}
.lc-chat-preview-media{display:block;max-width:100%;max-height:170px;border-radius:8px;object-fit:contain}.lc-chat-preview audio{width:100%;height:45px}.lc-chat-preview-info{flex:1;min-width:0}.lc-chat-preview-info strong{display:block;font-size:.86rem;overflow-wrap:anywhere;font-weight:600}.lc-chat-preview-info small{display:block;color:var(--lc-muted);font-size:.76rem;margin-top:3px}
.lc-chat-recording{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-height:54px;padding:7px 10px;border:1px solid var(--lc-border);border-radius:12px;background:var(--lc-bg)}.lc-chat-record-dot{color:#d34040;font-size:1rem}.lc-chat-record-time{flex:1;font-size:.86rem;font-variant-numeric:tabular-nums}.lc-chat-control{min-height:40px;padding:8px 11px;border:1px solid var(--lc-border);border-radius:9px;background:var(--lc-surface);color:var(--lc-text);font:inherit;font-size:.85rem}
@media(max-width:640px){.lc-chat-dialog[open]{position:fixed;inset:auto 0 auto 0;top:var(--lc-chat-top,0px);width:100%;max-width:none;height:var(--lc-chat-height,100dvh);max-height:var(--lc-chat-height,100dvh);margin:0;border:0;border-radius:0}.lc-chat-dialog>header{padding-top:max(10px,env(safe-area-inset-top));padding-left:6px;padding-right:16px;min-height:60px}.lc-chat-dialog .lc-chat-body{padding:0}.lc-chat-context{padding-left:16px;padding-right:16px}.lc-chat-status{padding-left:16px;padding-right:16px}.lc-chat-history{padding:14px 10px;gap:8px;scrollbar-gutter:auto}.lc-chat-bubble{max-width:88%;padding:9px 11px 5px}.lc-chat-compose{padding-left:8px;padding-right:8px}.lc-chat-compose-row{gap:5px}.lc-chat-icon,.lc-chat-send{width:42px;height:44px}.lc-chat-preview{max-height:28dvh}.lc-chat-preview-media{max-height:130px}}

.lc-chat-icon svg,.lc-chat-send svg,.lc-chat-dialog>header .lc-icon-button svg,.lc-chat-attachment-option svg{display:block;width:24px;height:24px;flex:none;pointer-events:none}.lc-chat-microphone,.lc-chat-send{width:48px;height:48px;background:#12816a;color:#fff}.lc-chat-attachment-option{display:flex;align-items:center;gap:12px}.lc-chat-attachment-option svg{color:var(--lc-green)}
.lc-chat-microphone{touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.lc-chat-microphone[data-holding="true"]{background:#0b6552;box-shadow:0 0 0 7px #12816a26}.lc-chat-microphone[data-cancel="true"]{background:#b13434;box-shadow:0 0 0 7px #b1343426}.lc-chat-record-hint{font-size:.78rem;color:var(--lc-muted);flex-basis:100%}.lc-chat-body{position:relative}.lc-chat-camera{position:absolute;z-index:8;inset:0;display:flex;min-height:0;flex-direction:column;background:var(--lc-bg);padding:12px;gap:12px}.lc-chat-camera-heading{display:flex;align-items:center;gap:14px;flex:none}.lc-chat-camera video{display:block;flex:1;min-height:0;width:100%;object-fit:contain;background:#080e10;border-radius:12px}.lc-chat-camera-info{font-size:.85rem;color:var(--lc-muted)}.lc-chat-camera-actions{display:flex;align-items:center;justify-content:center;gap:12px;flex:none;padding-bottom:env(safe-area-inset-bottom)}
@media(max-width:640px){.lc-chat-microphone,.lc-chat-send{width:48px;height:48px}.lc-chat-compose-row{align-items:center}.lc-chat-icon:not(.lc-chat-microphone){width:44px}.lc-chat-control,.lc-list-item .lc-button{min-height:44px}.lc-content{padding-bottom:max(36px,env(safe-area-inset-bottom))}.lc-chat-compose{padding-left:max(8px,env(safe-area-inset-left));padding-right:max(8px,env(safe-area-inset-right))}}
.lc-content-search{display:grid;gap:16px;min-width:0}.lc-content-search-form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px}.lc-content-search-form label{display:grid;gap:8px;font-size:.9rem;font-weight:600;min-width:0}.lc-content-search-form input{width:100%;min-width:0;min-height:48px;font-size:16px;padding:12px;border:1px solid var(--lc-border);border-radius:12px;background:var(--lc-bg);color:var(--lc-text)}.lc-content-filters{display:flex;gap:8px}.lc-content-filter{flex:1;min-height:44px;padding:8px 12px;background:var(--lc-surface);color:var(--lc-text);border:1px solid var(--lc-border);border-radius:24px}.lc-content-filter[aria-pressed="true"]{color:var(--lc-green);background:var(--lc-soft);border-color:var(--lc-green)}.lc-content-search-status{font-size:.9rem;color:var(--lc-muted);overflow-wrap:anywhere}.lc-content-search-status:empty{display:none}.lc-content-results{display:grid;gap:10px}.lc-content-result{display:flex;align-items:center;gap:12px;min-width:0;width:100%;padding:12px;border:1px solid var(--lc-border);border-radius:14px;background:var(--lc-surface);color:var(--lc-text);text-align:left}.lc-content-result:hover{background:var(--lc-soft);border-color:var(--lc-green)}.lc-content-poster{display:block;width:62px;height:93px;flex:none;object-fit:cover;border-radius:8px;background:var(--lc-bg)}.lc-content-no-poster{display:grid;place-items:center;text-align:center;font-size:.72rem;color:var(--lc-muted);border:1px solid var(--lc-border)}.lc-content-result-info{display:grid;gap:5px;flex:1;min-width:0;overflow-wrap:anywhere}.lc-content-result-info small{font-size:.78rem;color:var(--lc-muted)}.lc-content-result-arrow{font-size:1.6rem;color:var(--lc-green)}.lc-content-selected{display:flex;gap:16px;align-items:center;min-width:0}.lc-content-selected .lc-content-poster{width:86px;height:129px}.lc-content-selected>div{min-width:0;overflow-wrap:anywhere}.lc-content-selected h3{margin:0 0 6px;font-size:1.2rem;line-height:1.3}.lc-content-selected a{display:inline-flex;align-items:center;min-height:44px;font-size:.86rem}.lc-content-overview{font-size:.92rem;line-height:1.55;overflow-wrap:anywhere}.lc-tmdb-credit{font-size:.75rem;color:var(--lc-muted);border-top:1px solid var(--lc-border);padding-top:4px}.lc-tmdb-credit summary{cursor:pointer;min-height:44px;display:flex;align-items:center}.lc-tmdb-credit img{display:block;margin-bottom:8px}.lc-tmdb-credit p{margin-top:8px}.lc-tmdb-credit a{display:inline-block;padding:8px 0;min-height:44px}
@media(max-width:430px){.lc-content-search-form{grid-template-columns:minmax(0,1fr)}.lc-content-search-form .lc-button{width:100%}.lc-content-result{gap:10px;padding:10px}.lc-content-result .lc-content-poster{width:54px;height:81px}.lc-content-selected{gap:12px}.lc-content-selected .lc-content-poster{width:72px;height:108px}}

/* Compact customer sign-in; account, payment and chat screens keep their behavior. */
body:has(#customer-login:not([hidden])){background:radial-gradient(circle at top left,#e7edf7,transparent 55%),#f5f6f8;}
#customer-login{--lc-surface:#fff;--lc-text:#202226;--lc-muted:#626771;--lc-border:#d9dde4;--lc-green:#466cdf;color:var(--lc-text);width:calc(100% - 24px);max-width:420px;min-width:0;margin:24px auto;padding:20px;border:1px solid var(--lc-border);border-radius:20px;background:var(--lc-surface);box-shadow:0 16px 50px #00000014;}
#customer-login .lc-back{font-size:12px;color:var(--lc-muted);padding:0;display:flex;align-items:center;min-height:36px;}
#customer-login .lc-brand{gap:12px;margin:8px 0 12px;font-size:13px;}
#customer-login .lc-brand img{width:48px;height:48px;padding:5px;border-radius:14px;}
#customer-login h1{font-size:24px;line-height:1.2;}
#customer-login .lc-intro{font-size:13px;line-height:1.4;margin:8px 0 14px;}
#customer-login .lc-form{gap:10px;min-width:0;}
#customer-login label{font-size:13px;gap:5px;min-width:0;}
#customer-login input{min-width:0;min-height:44px;padding:10px 12px;font-size:16px;}
#customer-login .lc-hint{font-size:12px;line-height:1.4;}
#customer-login #customer-security-status:empty{display:none;}
#customer-login .lc-primary{background:#466cdf;border-color:#466cdf;color:white;min-height:44px;padding:10px 16px;}
#customer-login :is(input,button,a):focus-visible{outline-color:#466cdf;}
@media(prefers-color-scheme:dark){
 body:has(#customer-login:not([hidden])){background:radial-gradient(circle at top left,#132631,transparent 55%),#141518;}
 #customer-login{--lc-surface:#202226;--lc-text:#f1f2f4;--lc-muted:#b1b6bf;--lc-border:#383c44;}
 #customer-login input{background:#282b30;}
}
@media(max-height:700px){#customer-login{margin:12px auto;padding:16px;}#customer-login .lc-brand{margin:4px 0 8px;}#customer-login .lc-intro{margin:6px 0 10px;}#customer-login .lc-form{gap:8px;}}
@media(max-width:350px){#customer-login{width:calc(100% - 16px);padding:12px;}#customer-login h1{font-size:22px;}}

body:has(#customer-login:not([hidden])){min-height:100svh;background-repeat:no-repeat;}

/* Customer shortcuts: decorative icons never replace the action label. */
.lc-actions{gap:14px}.lc-action{position:relative;overflow:hidden;align-items:flex-start;gap:9px;border-radius:20px;transition:background .18s,border-color .18s}.lc-action strong{line-height:1.3}.lc-action>span:not(.lc-action-icon){line-height:1.45}.lc-action-icon{display:grid;place-items:center;flex:none;width:44px;height:44px;margin-bottom:5px;border-radius:14px;background:var(--lc-soft);color:var(--lc-green)}.lc-action-icon svg{width:27px;height:27px}.lc-action-primary .lc-action-icon{background:rgba(255,255,255,.16);color:inherit}#customer-change-plan .lc-action-icon{background:rgba(105,155,224,.15);color:#84afe7}#customer-content-request .lc-action-icon{background:rgba(181,140,220,.15);color:#bc9ce0}.lc-action:focus-visible{outline:3px solid #80cce3;outline-offset:3px}.lc-push-invite{margin:0 0 22px;padding:20px;border:1px solid var(--lc-border);border-radius:20px;background:var(--lc-soft)}.lc-push-invite strong{font-size:1.05rem}.lc-push-invite p{margin:8px 0 14px;color:var(--lc-muted);line-height:1.5}.lc-push-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.lc-push-actions button{min-height:44px}.lc-order-timeline{border-left:2px solid var(--lc-border);padding-left:14px}.lc-order-timeline .lc-message{max-width:100%;margin:0 0 12px;background:var(--lc-surface);border:1px solid var(--lc-border);border-radius:12px}.lc-order-timeline .lc-message strong{color:var(--lc-green)}
@media(max-width:430px){.lc-action{padding:16px;min-height:172px}.lc-actions{gap:12px}.lc-action strong{font-size:.95rem}.lc-action-icon{width:40px;height:40px}.lc-push-invite{padding:16px}}
@media(prefers-reduced-motion:reduce){.lc-action{transition:none}}

.lc-action-wide{grid-column:1/-1;min-height:96px;flex-direction:row;align-items:center;gap:16px}.lc-action-wide .lc-action-icon{margin:0}.lc-action-copy{display:grid;gap:5px;flex:1}.lc-action-copy strong{color:var(--lc-text)}.lc-wizard-progress{display:flex;list-style:none;gap:6px;padding:0;margin:0 0 22px;counter-reset:step}.lc-wizard-progress li{flex:1;min-width:0;font-size:.75rem;color:var(--lc-muted);padding:10px 4px;border-bottom:3px solid var(--lc-border)}.lc-wizard-progress li[aria-current]{color:var(--lc-green);border-color:var(--lc-green);font-weight:700}.lc-wizard-options{display:grid;gap:12px;margin:20px 0}.lc-wizard-options button{min-height:48px}.lc-install-guide{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;padding:16px;border:1px solid var(--lc-border);border-radius:14px;background:var(--lc-soft)}

/* Compact account filters between the heading and Linx ID. */
.lc-accounts-heading{gap:8px}.lc-accounts-heading h2{margin:0;font-size:1.05rem}.lc-accounts-heading #customer-profile-id{margin:0 0 0 auto;font-size:.75rem}.lc-account-tabs{display:inline-flex;gap:2px;padding:2px;border:1px solid var(--lc-border);border-radius:9px;background:var(--lc-surface)}.lc-account-tabs button{border:0;border-radius:6px;background:transparent;color:var(--lc-muted);font:inherit;font-size:.75rem;font-weight:600;padding:7px 10px;min-height:32px;cursor:pointer}.lc-account-tabs button[aria-pressed="true"]{background:var(--lc-soft);color:var(--lc-green)}.lc-account-tabs button:focus-visible{outline:2px solid var(--lc-green);outline-offset:2px}.lc-account-tabs button:disabled{opacity:.6;cursor:wait}@media(max-width:380px){.lc-accounts-heading #customer-profile-id{flex-basis:100%;margin-left:0}.lc-account-tabs{margin-left:auto}}

/* Password is fetched only by the eye action and cleared when leaving the card. */
.lc-password-control{display:flex;align-items:center;gap:10px;min-height:36px;margin:0}
.lc-password-value{overflow-wrap:anywhere;min-width:0}
.lc-password-toggle{display:inline-flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;height:40px;padding:8px;border:0;border-radius:10px;background:transparent;color:inherit;cursor:pointer}
.lc-password-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.lc-password-toggle:hover,.lc-password-toggle:focus-visible{background:rgba(255,255,255,.08);outline:2px solid currentColor;outline-offset:1px}
.lc-password-toggle:disabled{opacity:.5;cursor:wait}

/* Shared access geometry. Identical block in both entry stylesheets. */
body:is(:has(.entry-screen),:has(#login-screen:not([hidden])),:has(#customer-login:not([hidden]))){--access-gutter:12px;--access-pad:20px;--access-top:16px;}
#login-screen.access-shell,.entry-screen.access-shell{display:flex;align-items:center;justify-content:flex-start;gap:0;min-height:100svh;padding:var(--access-top) max(var(--access-gutter),env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(var(--access-gutter),env(safe-area-inset-left));}
#login-screen .access-card,.entry-screen .access-card,#customer-login.access-card{box-sizing:border-box;width:100%;max-width:420px;min-width:0;margin:0;padding:var(--access-pad);border-radius:20px;}
#customer-login.access-card{width:calc(100% - 2 * var(--access-gutter));margin:var(--access-top) auto max(24px,env(safe-area-inset-bottom));}
#login-screen .access-card .access-back,.entry-screen .access-back-slot,#customer-login .access-back{display:flex;align-items:center;height:36px;min-height:36px;margin:0;padding:0;color:inherit;opacity:.72;font-size:12px;line-height:18px;text-decoration:none;}
#login-screen .access-card .access-brand,.entry-screen .access-brand,#customer-login .access-brand{display:flex;align-items:center;justify-content:flex-start;gap:12px;height:48px;margin:8px 0 16px;font-size:13px;font-weight:650;line-height:20px;}
#login-screen .access-card .access-logo,.entry-screen .access-logo,#customer-login .access-logo{display:block;flex:0 0 48px;width:48px;height:48px;max-width:48px;margin:0;padding:0;border:0;border-radius:12px;object-fit:contain;background:#10262b;}
#login-screen .access-card .access-brand .theme-toggle{margin-left:auto;flex:none;}
#login-screen .access-card .access-title,.entry-screen .access-title,#customer-login .access-title{font-size:24px;font-weight:750;line-height:1.2;letter-spacing:-.6px;margin:0 0 8px;}
#login-screen .access-card .access-intro,.entry-screen .access-intro,#customer-login .access-intro{font-size:13px;line-height:20px;min-height:40px;margin:0 0 16px;color:var(--lc-muted,var(--lc-muted));}
@media(min-width:700px){body:is(:has(.entry-screen),:has(#login-screen:not([hidden])),:has(#customer-login:not([hidden]))){--access-top:40px;--access-pad:24px;}}
@media(max-width:350px){body:is(:has(.entry-screen),:has(#login-screen:not([hidden])),:has(#customer-login:not([hidden]))){--access-gutter:8px;--access-pad:12px;}#login-screen .access-card .access-title,.entry-screen .access-title,#customer-login .access-title{font-size:22px;}}

/* Prevent collapsing top margins and reserve the same scrollbar space on every access page. */
html:is(:has(.entry-screen),:has(#login-screen:not([hidden])),:has(#customer-login:not([hidden]))){scrollbar-gutter:stable;}
body:is(:has(.entry-screen),:has(#login-screen:not([hidden])),:has(#customer-login:not([hidden]))){display:flow-root;}

/* Center a common access frame, keeping its header stable between roles. */
body:is(:has(.entry-screen),:has(#login-screen:not([hidden])),:has(#customer-login:not([hidden]))){--access-frame:680px;--access-vertical:16px;}
#login-screen.access-shell,.entry-screen.access-shell{min-height:100svh;justify-content:flex-start;padding-top:max(var(--access-vertical),env(safe-area-inset-top));padding-bottom:max(var(--access-vertical),env(safe-area-inset-bottom));}
#login-screen .access-card,.entry-screen .access-card,#customer-login.access-card{min-height:min(var(--access-frame),calc(100svh - 2 * var(--access-vertical)));margin-block:auto;}
body:has(#customer-login:not([hidden])){box-sizing:border-box;display:flex;flex-direction:column;min-height:100svh;padding:max(var(--access-vertical),env(safe-area-inset-top)) max(var(--access-gutter),env(safe-area-inset-right)) max(var(--access-vertical),env(safe-area-inset-bottom)) max(var(--access-gutter),env(safe-area-inset-left));}
#customer-login.access-card{flex:none;width:100%;margin:auto;}
.entry-screen .access-card{display:flex;flex-direction:column;}
.entry-screen .access-card .access-back-slot,.entry-screen .access-card .access-brand{flex:none;}
.entry-screen .access-card .entry-roles{margin-block:auto;}
.entry-screen .access-card .entry-admin{margin-bottom:0;}
@media(min-width:700px){body:is(:has(.entry-screen),:has(#login-screen:not([hidden])),:has(#customer-login:not([hidden]))){--access-frame:720px;}}
@media(max-width:350px){body:is(:has(.entry-screen),:has(#login-screen:not([hidden])),:has(#customer-login:not([hidden]))){--access-frame:640px;}}
/* Customer surfaces follow the CRM neutral palette and blue actions.
   Provider accents remain confined to account identity. */
:root{--lc-bg:#f5f5f7;--lc-surface:#fff;--lc-text:#202126;--lc-muted:#626874;--lc-border:#e0e2e7;--lc-green:#466cdf;--lc-soft:#eef1fc;--lc-header:#142732;--lc-focus:#24728e;--lc-shadow:0 2px 4px #10232f08,0 12px 32px #10232f0d;color-scheme:light;}
:root[data-theme="dark"]{--lc-bg:#141518;--lc-surface:#202226;--lc-text:#f3f4f6;--lc-muted:#b7bdc7;--lc-border:#3a3e46;--lc-green:#91a9ff;--lc-soft:#282f46;--lc-header:#0e2029;--lc-focus:#7ccde1;--lc-shadow:0 2px 5px #00000017,0 12px 32px #0000001f;--lc-error:#ffb3a6;--lc-error-bg:#492e2b;color-scheme:dark;}
:root[data-theme="light"]{--lc-error:#9e2929;--lc-error-bg:#fff1ee;}
.lc-page{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',system-ui,sans-serif;}
.lc-page :is(button,a,input,select,textarea):focus-visible{outline-color:var(--lc-focus);}
.lc-page .lc-primary,.lc-page .lc-action-primary,.lc-page .lc-chat-send{background:#466cdf;border-color:#466cdf;color:#fff;}
.lc-page .lc-action-primary span{color:#fff;}
.lc-topbar{position:sticky;top:0;z-index:40;min-height:72px;gap:12px;padding:10px max(16px,calc((100vw - 928px)/2));padding-top:max(10px,env(safe-area-inset-top));background:var(--lc-header);border-bottom:1px solid #ffffff12;box-shadow:0 4px 16px #00000012;}
.lc-brand-small{gap:9px;font-size:15px;min-width:0;}.lc-brand-small img{width:40px;height:40px;padding:0;border-radius:10px;background:transparent;}
.lc-topbar-actions{display:flex;align-items:center;gap:5px;flex:none;}
.lc-header-button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:52px;min-height:48px;padding:5px 7px;background:transparent;border:1px solid transparent;border-radius:12px;color:#e9edf4;font-size:11px;line-height:1.2;}
.lc-header-button svg{width:21px;height:21px;flex:none}.lc-header-button:hover{background:#ffffff10;border-color:#ffffff18;}
#customer-notices-count:empty{display:none}#customer-notices-count:not(:empty){border-radius:9px;color:#fff;background:#466cdf;padding:1px 4px;font-size:10px;}
.lc-content{padding-top:22px}.lc-page-heading{margin-bottom:18px}.lc-page-heading h1{font-size:1.65rem;}
#customer-account-server{color:var(--provider-ink,var(--lc-muted));}.lc-page-heading h1[data-provider]{color:var(--provider-ink,var(--lc-text));}
.lc-account-option{border-radius:16px;box-shadow:var(--lc-shadow)}
.lc-account-option .lc-server-dot{background:var(--provider-accent,var(--lc-muted))!important;}
.lc-account-option[aria-pressed="true"]{border-color:var(--provider-line,var(--lc-border));background:var(--provider-soft,var(--lc-soft));}
.lc-account-option[data-provider] strong{color:var(--provider-ink,var(--lc-text));}
.lc-account-tools{padding:20px;border:1px solid var(--lc-border);border-radius:20px;background:var(--lc-surface);box-shadow:var(--lc-shadow);}
.lc-account-tools .lc-account-card{padding:0 0 20px;margin:0;border:0;border-radius:0;background:transparent;border-top:3px solid var(--provider-accent,var(--lc-border));padding-top:16px;}
.lc-account-head{margin-bottom:20px}.lc-account-head>strong{font-size:1.1rem;}
.lc-status{background:var(--lc-soft);color:var(--lc-green)}.lc-status[data-state="active"]{color:#087d38;background:#eaf7ee;}
:root[data-theme="dark"] .lc-status[data-state="active"]{color:#8ce3a7;background:#173a2b;}
.lc-actions-title{font-size:.9rem;color:var(--lc-muted);padding-top:18px;margin:0 0 12px;border-top:1px solid var(--lc-border);font-weight:600;}
.lc-actions{gap:10px}.lc-actions .lc-action{min-height:112px;padding:14px;border-radius:14px;gap:6px;box-shadow:none;}
.lc-actions .lc-action strong{font-size:.95rem;line-height:1.3;}.lc-actions .lc-action>span:not(.lc-action-icon){font-size:.78rem;line-height:1.4;}
.lc-actions .lc-action-icon{width:34px;height:34px;margin:0 0 3px;border-radius:10px;background:var(--lc-soft);color:var(--lc-green);}.lc-actions .lc-action-icon svg{width:23px;height:23px;}
.lc-actions .lc-action-primary .lc-action-icon{background:#ffffff22;color:#fff;}
#customer-change-plan .lc-action-icon,#customer-content-request .lc-action-icon{background:var(--lc-soft);color:var(--lc-green);}
.lc-actions .lc-action-wide{min-height:76px;gap:12px}.lc-action-copy{flex:1;min-width:0;}
.lc-section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.lc-section-heading h2{margin:0;font-size:1.12rem}.lc-section-heading .lc-text-button{font-size:.78rem;padding:8px 0;white-space:nowrap;}
.lc-section{scroll-margin-top:100px}.lc-list-item{background:var(--lc-surface);border-radius:16px;box-shadow:var(--lc-shadow)}.lc-empty{padding:18px;border:1px dashed var(--lc-border);border-radius:14px;color:var(--lc-muted);font-size:.88rem;}
.lc-history-list{display:grid;gap:12px;}.lc-push-modal{max-width:390px;padding:28px;box-shadow:var(--lc-shadow);}.lc-push-modal h2{font-size:1.25rem;margin-bottom:12px;}.lc-push-modal p{color:var(--lc-muted);line-height:1.5;margin:0 0 22px}.lc-push-modal .lc-push-actions{display:grid;gap:8px}.lc-push-modal .lc-push-actions button{width:100%;}
@media(max-width:430px){.lc-content{padding:20px 14px 32px}.lc-account-tools{padding:16px}.lc-actions .lc-action{min-height:106px;padding:12px}.lc-actions .lc-action>span:not(.lc-action-icon):not(.lc-action-copy){display:none}.lc-actions .lc-action-wide{min-height:76px}.lc-actions .lc-action strong{font-size:.9rem}.lc-topbar{gap:6px}.lc-topbar-actions{gap:0}.lc-header-button{min-width:49px;padding:5px}.lc-brand-small{font-size:14px;gap:7px}}
@media(max-width:350px){.lc-topbar{padding-left:10px;padding-right:10px}.lc-brand-small img{width:32px;height:32px}.lc-brand-small{font-size:12px}.lc-header-button{min-width:46px;font-size:10px}.lc-section-heading{gap:6px}.lc-section-heading h2{font-size:1rem}.lc-section-heading .lc-text-button{font-size:.72rem}}

.lc-account-option:disabled{opacity:1;cursor:default;}

/* Compact selected access; details belong to the account dialog. */
.lc-access-overview{margin:0 0 20px;padding:4px 0 0}.lc-access-top{display:flex;align-items:center;justify-content:space-between;gap:16px}.lc-access-top h1{margin:4px 0 0}#customer-access-open{display:flex;align-items:center;gap:12px;border:0;padding:0;background:transparent;color:inherit;font:inherit;cursor:pointer;text-align:left}.lc-access-chevron{font-size:24px;color:var(--lc-muted,#a8afb8)}#customer-access-facts .lc-facts{margin:14px 0 4px;gap:12px 24px}#customer-access-facts dd{font-size:16px}#customer-access-details{padding:6px 0;margin:0;color:var(--lc-muted,#a8afb8);font-size:13px}.lc-access-actions{display:grid;gap:10px;margin-top:18px}.lc-access-actions .lc-button{width:100%;min-height:46px}.lc-access-guide{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;padding:16px;border:1px solid var(--lc-border,#34383f);border-radius:14px;background:var(--lc-field,#26282c)}#customer-dialog-body>#customer-summary{margin:0;padding:18px 0 0;border-radius:0;border-left:0;border-right:0;border-bottom:0;box-shadow:none;background:transparent}#customer-dialog-body>#customer-summary>.lc-account-head{margin-bottom:16px}#customer-dialog-body>#customer-summary .lc-facts{margin-top:0}#customer-accounts-section{margin-top:24px}.lc-account-tools .lc-action-section{border-top:0;padding-top:0;margin-top:0}#customer-access-open:focus-visible{outline:2px solid #5579f2;outline-offset:5px;border-radius:5px}

#customer-account-login[data-provider]{color:var(--provider-ink,var(--lc-text));}#customer-dialog-body>#customer-summary{border-top:3px solid var(--provider-accent,var(--lc-border));}

/* Account overview heads the same card as its actions. */
#customer-main.lc-content{padding-top:14px}.lc-account-tools>.lc-access-overview{padding:0 0 16px;margin:0 0 16px;border-bottom:1px solid var(--lc-border)}.lc-brand-label{display:flex;flex-direction:column;gap:2px;min-width:0;line-height:1.3}.lc-brand-label .lc-profile-subtitle{display:block;color:#b5bec8;font-size:.7rem;font-weight:400;letter-spacing:0;white-space:nowrap}.lc-profile-subtitle:empty{display:none}.lc-access-top>div{min-width:0}#customer-account-login{overflow-wrap:anywhere}#customer-access-open{max-width:100%}.lc-access-chevron{flex:none}@media(max-width:350px){.lc-brand-label .lc-profile-subtitle{font-size:.62rem}.lc-brand-small{gap:5px}}

.lc-brand-label{overflow:hidden}.lc-brand-label .lc-profile-subtitle{max-width:100%;overflow:hidden;text-overflow:ellipsis}

/* Official provider marks accompany account identity at each scale. */
.lc-provider-logo{display:block;flex:none;width:32px;height:32px;object-fit:contain;border-radius:8px;border:1px solid var(--lc-border)}.lc-provider-logo-large{width:48px;height:48px;border-radius:12px}.lc-provider-logo-tiny{width:24px;height:24px;border-radius:6px}.lc-provider-main{display:flex;align-items:center;gap:12px;min-width:0}.lc-provider-main-copy{min-width:0}.lc-provider-main .lc-eyebrow{margin-bottom:5px}#customer-provider-logo{flex:none}.lc-provider-identity{display:flex;align-items:center;gap:9px;min-width:0}.lc-provider-identity>span{min-width:0;overflow-wrap:anywhere}.lc-account-option>.lc-provider-logo{width:36px;height:36px}.lc-account-option>span{min-width:0}.lc-account-head>.lc-provider-identity{flex:1}@media(max-width:380px){.lc-provider-main{gap:8px}.lc-provider-logo-large{width:38px;height:38px;border-radius:9px}.lc-access-top{gap:8px}.lc-provider-main h1{font-size:1.65rem}}

/* Invoice status is independent of the selected provider's brand color. */
.lc-invoice-status[data-invoice-state="paid"]{color:#087d38;background:#eaf7ee}
.lc-invoice-status[data-invoice-state="pending"],.lc-invoice-status[data-invoice-state="review"]{color:#765000;background:#fff2c6}
.lc-invoice-status[data-invoice-state="cancelled"]{color:#b42318;background:#fee4e2}
:root[data-theme="dark"] .lc-invoice-status[data-invoice-state="paid"]{color:#8ce3a7;background:#173a2b}
:root[data-theme="dark"] .lc-invoice-status[data-invoice-state="pending"],:root[data-theme="dark"] .lc-invoice-status[data-invoice-state="review"]{color:#f5d477;background:#463817}
:root[data-theme="dark"] .lc-invoice-status[data-invoice-state="cancelled"]{color:#ffaaa3;background:#4a2528}

.lc-install-link{color:var(--lc-green);text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere;font-weight:600}.lc-install-link:focus-visible{outline:2px solid currentColor;outline-offset:3px;border-radius:3px}

/* Savings are live text in a compact stamp, so prices stay current and accessible. */
.lc-plan-option{cursor:pointer;min-width:0;gap:12px;}
.lc-plan-option input{flex:0 0 20px;}
.lc-plan-copy{flex:1;min-width:0;overflow-wrap:anywhere;}
.lc-plan-copy>strong{font-size:1rem;line-height:1.3;}
.lc-plan-copy>small{font-size:.82rem;margin-top:5px;line-height:1.4;}
.lc-savings-stamp{position:relative;isolation:isolate;display:flex;flex:0 0 124px;flex-direction:column;align-items:center;justify-content:center;gap:0;padding:13px 8px;color:#fff;background:linear-gradient(145deg,#4368db,#283e94);border:1px solid #8ea5ff;border-radius:12px;box-shadow:0 3px 10px #111a3d33;text-align:center;line-height:1.15;}
.lc-savings-stamp:before{content:"";position:absolute;inset:4px;border:1px dashed #c6d2ff99;border-radius:8px;pointer-events:none;}
.lc-plan-option .lc-savings-percent{font-size:1.5rem;font-weight:850;letter-spacing:-.7px;line-height:1.1;}
.lc-savings-label{font-size:.56rem;letter-spacing:.9px;font-weight:750;margin-top:3px;}
.lc-savings-caption{font-size:.66rem;margin-top:9px;color:#e1e7ff;}
.lc-savings-value{font-size:.91rem;font-weight:800;margin-top:2px;}
@media(max-width:480px){.lc-plan-option{padding:12px;gap:9px}.lc-savings-stamp{flex-basis:100px;padding:12px 7px}.lc-plan-option .lc-savings-percent{font-size:1.3rem}.lc-plan-copy>strong{font-size:.94rem}.lc-plan-copy>small{font-size:.76rem}.lc-savings-value{font-size:.83rem}}
@media(max-width:350px){.lc-plan-option{flex-wrap:wrap}.lc-plan-copy{flex-basis:calc(100% - 30px)}.lc-savings-stamp{margin-left:29px;flex-basis:124px}}

/* One CRM theme preference on entry, customer login and the customer toolbar. */
.linx-theme-sun{display:none;} :root[data-theme="dark"] .linx-theme-sun{display:block;} :root[data-theme="dark"] .linx-theme-moon{display:none;}
.lc-login-theme{margin-left:auto;color:var(--lc-text);border-color:var(--lc-border);min-width:42px;min-height:42px;}
.lc-topbar .lc-brand-small{min-width:0;}
@media(max-width:430px){.lc-topbar{padding-left:12px;padding-right:12px;gap:6px}.lc-topbar-actions{gap:0}.lc-header-button{min-width:42px;padding:5px 3px;font-size:10px}.lc-topbar .lc-brand-small{gap:6px;font-size:13px}.lc-topbar .lc-brand-small img{width:32px;height:32px}.lc-brand-label .lc-profile-subtitle{font-size:.6rem}}
@media(max-width:350px){.lc-topbar{padding-left:8px;padding-right:8px;gap:4px}.lc-header-button{min-width:38px;font-size:9px}.lc-topbar .lc-brand-small{font-size:12px;gap:4px}.lc-topbar .lc-brand-small img{width:28px;height:28px}.lc-brand-label .lc-profile-subtitle{font-size:.55rem}}

#customer-turnstile:not([hidden]){display:grid;justify-items:center;width:100%;min-width:0;overflow:visible;}
@media(max-width:400px){#customer-login.access-card{padding-inline:12px;}}

/* Shared compact device picker for existing access and additional users. */
.lc-device-choice.lc-button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-width:0;min-height:52px;padding:10px 14px;text-align:left;white-space:normal;background:var(--lc-bg);border:1px solid var(--lc-border);color:var(--lc-text);box-shadow:none;}
.lc-device-copy{display:flex;flex-direction:column;gap:3px;min-width:0;}
.lc-device-copy strong{font-size:15px;line-height:1.3;}
.lc-device-copy small{font-size:12px;font-weight:400;line-height:1.4;color:var(--lc-muted);}
.lc-device-arrow{flex:none;font-size:22px;line-height:1;color:var(--lc-muted);}
.lc-device-choice.lc-button:hover{background:var(--lc-soft);border-color:var(--lc-green);}
.lc-device-choice.lc-button:focus-visible{outline:3px solid var(--lc-green);outline-offset:2px;}
.lc-device-choice.lc-button:active{background:var(--lc-soft);}

/* Installation guide: theme-aware reading surface and predictable navigation. */
.lc-access-guide{background:var(--lc-bg);color:var(--lc-text);margin-top:16px;font-size:.95rem;line-height:1.65;}
.lc-access-guide a{color:var(--lc-green);text-decoration:underline;overflow-wrap:anywhere;}
.lc-guide-context{color:var(--lc-muted);font-size:.82rem;margin:0 0 14px;}
.lc-guide-question{font-weight:600;}
.lc-guide-usage{margin:14px 0 0;padding:12px 14px;border-radius:12px;background:var(--lc-soft);color:var(--lc-text);font-size:.86rem;line-height:1.5;}
.lc-guide-navigation{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:22px;padding-top:18px;border-top:1px solid var(--lc-border);}
.lc-guide-navigation .lc-button{min-width:0;width:100%;font-size:.85rem;padding:10px;white-space:normal;}
.lc-guide-navigation .lc-button:only-child{grid-column:1/-1;}
.lc-guide-help{margin-top:12px;}.lc-guide-help .lc-button{width:100%;font-size:.9rem;}

.lc-guide-navigation>.lc-button:last-child:nth-child(odd){grid-column:1/-1;}

/* App identities remain readable in both portal themes. */
.lc-app-identity{display:flex;align-items:center;gap:12px;min-width:0;text-align:left;color:var(--lc-text)}
.lc-app-logo{width:48px;height:48px;flex:0 0 48px;object-fit:contain;border-radius:10px;background:#fff}
.lc-app-choice{width:100%;min-height:68px;padding:10px 14px;justify-content:flex-start}
.lc-app-choice .lc-app-logo{width:40px;height:40px;flex-basis:40px}
.lc-app-choice strong{font-size:1rem;line-height:1.3}
.lc-app-identity+.lc-access-guide,.lc-app-identity+.lc-install-guide{margin-top:12px}

.lc-app-placeholder{display:grid;place-items:center;color:var(--lc-muted);background:var(--lc-bg);font-size:.65rem}

/* Compact customer-login country picker. Shared CRM country metadata stays local. */
.linx-phone-compact{--phone-bg:var(--linx-soft,#f3f4f7);--phone-ink:var(--linx-ink,#20242d);--phone-line:var(--linx-line,#cdd2da);--phone-muted:var(--linx-muted,#596575);display:grid!important;grid-template-columns:108px minmax(0,1fr)!important;gap:6px 8px!important;position:relative;min-width:0;align-items:start;font-size:14px;color:var(--phone-ink)}
:root[data-theme="dark"] .linx-phone-compact{--phone-bg:var(--linx-soft,#292c32);--phone-ink:var(--linx-ink,#f1f3f6);--phone-line:var(--linx-line,#484d57);--phone-muted:var(--linx-muted,#adb5c1)}
.linx-phone-compact [hidden]{display:none!important}
.linx-phone-compact>.linx-phone-heading{grid-column:1/-1;margin:0!important;font-weight:600;font-size:13px}
.linx-phone-compact .linx-phone-country{position:static;min-width:0}
.linx-phone-compact .linx-phone-national{min-width:0}
.linx-phone-compact .linx-country-trigger,.linx-phone-compact input[type="tel"],.linx-phone-compact input[type="search"]{box-sizing:border-box;width:100%;min-width:0;height:44px!important;min-height:44px;margin:0!important;padding:10px!important;border:1px solid var(--phone-line)!important;border-radius:12px;background:var(--phone-bg)!important;color:var(--phone-ink)!important;font:inherit;font-size:16px!important;box-shadow:none}
.linx-phone-compact .linx-country-trigger{white-space:nowrap;text-align:center;cursor:pointer;font-size:14px!important}
.linx-phone-compact .linx-phone-national>.help,.linx-phone-compact .linx-phone-error{display:block;font-size:11px;line-height:1.4;margin-top:5px;color:var(--phone-muted)}
.linx-phone-compact .linx-phone-error{color:#c94a4a}
.linx-phone-compact .linx-country-panel{position:absolute!important;z-index:30;left:0;right:0;top:72px;margin:0;padding:10px;border:1px solid var(--phone-line);border-radius:14px;background:var(--phone-bg);box-shadow:0 12px 32px #0004}
.linx-phone-compact .linx-country-list{max-height:230px;max-height:min(230px,35dvh);overflow-y:auto;overscroll-behavior:contain;margin-top:8px}
.linx-phone-compact .linx-country-region{font-size:11px;color:var(--phone-muted);padding:8px}
.linx-phone-compact .linx-country-option{display:block;width:100%;text-align:left;padding:10px 8px;min-height:42px;border:0;border-radius:8px;background:transparent;color:var(--phone-ink);font:inherit;font-size:14px;cursor:pointer;box-shadow:none}
.linx-phone-compact .linx-country-option.is-active,.linx-phone-compact .linx-country-option:hover{background:#526fe322}
.linx-phone-compact button:focus-visible,.linx-phone-compact input:focus-visible{outline:2px solid var(--linx-primary,#466cdf);outline-offset:2px}
@media(max-width:350px){.linx-phone-compact{grid-template-columns:98px minmax(0,1fr)!important}}

/* App-specific MAC instructions, shared by installation and extra access. */
.lc-mac-help{margin:14px 0;padding:14px 16px;border:1px solid var(--lc-border);border-radius:14px;background:var(--lc-surface);color:var(--lc-text)}
.lc-mac-help-steps{white-space:pre-line;margin:8px 0 0;line-height:1.65;font-size:.92rem;color:inherit}

/* Device brands share a compact neutral surface in both themes. */
.lc-device-logo{display:flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:40px;border-radius:9px;background:#fff;overflow:hidden;}
.lc-device-logo img{display:block;width:36px;height:32px;object-fit:contain;}
.lc-device-copy{flex:1;}

/* Notification invitation follows the customer action icon style. */
.lc-push-heading{display:flex;align-items:center;gap:12px;margin-bottom:16px;}
.lc-push-heading h2{margin:0;line-height:1.25;}
.lc-push-bell{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border-radius:14px;background:var(--lc-soft);color:var(--lc-green);}
.lc-push-bell svg{display:block;width:26px;height:26px;}

/* Direct Android download, shared by existing-access and trial installation. */
.lc-access-guide .lc-download-app,.lc-install-guide .lc-download-app{display:inline-flex;max-width:100%;margin:10px 0;white-space:normal;text-decoration:none;font-size:.95rem;overflow-wrap:anywhere}

/* Recognizable Downloader icon and numbered TV installation steps. */
.lc-downloader-guide{white-space:normal;margin-top:18px}
.lc-downloader-heading{display:block;margin-bottom:12px}
.lc-downloader-steps{margin:0;padding-left:24px;display:grid;gap:16px}
.lc-downloader-steps li{padding-left:4px}
.lc-downloader-steps li::marker{color:var(--lc-text);font-weight:700}
.lc-downloader-step-text{margin:0;white-space:normal}
.lc-downloader-app{display:flex;align-items:center;gap:12px;padding:12px;margin-top:12px;border:1px solid var(--lc-border);border-radius:12px;background:var(--lc-surface);color:var(--lc-text)}
.lc-downloader-app img{width:56px;height:56px;flex-shrink:0;object-fit:contain;border-radius:12px}
.lc-downloader-app strong,.lc-downloader-app small{display:block;overflow-wrap:anywhere}
.lc-downloader-app strong{font-size:.95rem;line-height:1.35}
.lc-downloader-app small{color:var(--lc-muted);font-size:.8rem;margin-top:4px}


/* Linx Center: operation dialogs. Loaded after linx-design.css.
   Deliberately excludes login, continuous chat, attachment viewer and command palette. */
body :is(#dialog.dialog,#customer-dialog.lc-dialog:not(.lc-chat-dialog),#customer-push-invite.lc-dialog,.private-notices-dialog,.content-requests-dialog,.linx-notifications,.panel-purchase-dialog,.chat-modal-backdrop>.chat-dialog,.fb-modal){
  --dialog-surface:var(--linx-surface,var(--lc-surface,#fff));--dialog-soft:var(--linx-soft,var(--lc-soft,#f0f1f4));
  --dialog-ink:var(--linx-ink,var(--lc-text,#202126));--dialog-muted:var(--linx-muted,var(--lc-muted,#626874));
  --dialog-line:var(--linx-line,var(--lc-border,#e0e2e7));--dialog-focus:var(--linx-focus,var(--lc-focus,#24728e));
  --dialog-primary:#466cdf;--dialog-primary-hover:#365bc8;--dialog-gap:20px;--dialog-pad:24px;
  /* Legacy modules read these names outside #workspace as well. */
  --surface:var(--dialog-surface);--surface-soft:var(--dialog-soft);--panel:var(--dialog-surface);
  --panel-2:var(--dialog-soft);--border:var(--dialog-line);--line:var(--dialog-line);
  --text:var(--dialog-ink);--ink:var(--dialog-ink);--muted:var(--dialog-muted);
  --accent:var(--dialog-primary);--primary:var(--dialog-primary);--brand:var(--dialog-primary);
  --chat-bg:var(--dialog-surface);--chat-surface:var(--dialog-soft);--chat-line:var(--dialog-line);
  --chat-ink:var(--dialog-ink);--chat-muted:var(--dialog-muted);--chat-accent:var(--dialog-primary);--chat-accent-hover:var(--dialog-primary-hover);
  --fb-paper:var(--dialog-surface);--fb-line:var(--dialog-line);--fb-ink:var(--dialog-ink);
  --fb-accent:var(--dialog-primary);--fb-tint:var(--dialog-soft);
  box-sizing:border-box;color:var(--dialog-ink);background:var(--dialog-surface);
  border:1px solid var(--dialog-line);border-radius:var(--linx-sheet-radius,24px);
  font-family:var(--linx-font,system-ui,sans-serif);font-size:14px;line-height:1.55;
  max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);
  margin:auto;box-shadow:var(--linx-floating-shadow,0 20px 64px #0003);
  overflow-wrap:anywhere;overscroll-behavior:contain;
}
body :is(#dialog.dialog,#customer-dialog.lc-dialog:not(.lc-chat-dialog),#customer-push-invite.lc-dialog,.private-notices-dialog,.content-requests-dialog,.linx-notifications,.panel-purchase-dialog,.chat-modal-backdrop>.chat-dialog,.fb-modal) :is(input,select,textarea,button,a,summary){box-sizing:border-box;max-width:100%}
body :is(#dialog.dialog,#customer-dialog.lc-dialog:not(.lc-chat-dialog),#customer-push-invite.lc-dialog,.private-notices-dialog,.content-requests-dialog,.linx-notifications,.panel-purchase-dialog,.fb-modal)::backdrop{background:rgb(9 18 28 /56%);backdrop-filter:blur(5px)}

/* A single stable header/body contract, including fichas opened from Atendimento. */
body #dialog.dialog{width:min(800px,calc(100vw - 32px));padding:0;overflow:hidden}
body #dialog.dialog[open],body #customer-dialog.lc-dialog:not(.lc-chat-dialog)[open],body .private-notices-dialog[open],body .content-requests-dialog[open],body .panel-purchase-dialog[open],body .fb-modal[open]{display:flex;flex-direction:column}
body #customer-dialog.lc-dialog:not(.lc-chat-dialog){width:min(620px,calc(100vw - 32px));padding:0;overflow:hidden}
body #customer-push-invite.lc-dialog{width:min(480px,calc(100vw - 32px))}
body :is(#dialog.dialog,#customer-dialog.lc-dialog:not(.lc-chat-dialog),.private-notices-dialog,.content-requests-dialog,.chat-modal-backdrop>.chat-dialog,.fb-modal)>:is(header,.dialog-header,.chat-dialog-head,.fb-modal-head){
  display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex:none;
  position:relative;top:auto;z-index:2;margin:0;padding:var(--dialog-pad);
  max-height:min(34dvh,220px);overflow:auto;border-bottom:1px solid var(--dialog-line);
  background:var(--dialog-surface);color:var(--dialog-ink);
}
body :is(#dialog.dialog,#customer-dialog.lc-dialog:not(.lc-chat-dialog),.private-notices-dialog,.content-requests-dialog,.chat-modal-backdrop>.chat-dialog,.fb-modal)>:is(header,.dialog-header,.chat-dialog-head,.fb-modal-head)>div{min-width:0;flex:1}
body :is(#dialog.dialog,#customer-dialog.lc-dialog:not(.lc-chat-dialog),#customer-push-invite.lc-dialog,.private-notices-dialog,.content-requests-dialog,.linx-notifications,.chat-modal-backdrop>.chat-dialog,.fb-modal) :is(.dialog-header h2,header>h2,.chat-dialog-head h3,.fb-modal-head h2){margin:0;font-size:22px;font-weight:700;line-height:1.35;letter-spacing:-.4px;color:var(--dialog-ink)}
body #dialog.dialog .dialog-header .eyebrow{margin:0 0 6px;color:var(--dialog-muted);font-size:11px;line-height:1.5;letter-spacing:1px}
body .chat-modal-backdrop>.chat-dialog .chat-dialog-head p{margin:7px 0 0;font-size:13px;line-height:1.5}
body #dialog.dialog #dialog-body,body #customer-dialog.lc-dialog:not(.lc-chat-dialog)>#customer-dialog-body,body .chat-modal-backdrop>.chat-dialog>.chat-dialog-body,body .fb-modal>.fb-modal-body,body .content-requests-dialog>.content-requests-detail{
  flex:1 1 auto;min-height:0;min-width:0;overflow:auto;overscroll-behavior:contain;
  padding:var(--dialog-pad);scroll-padding-block:24px;scrollbar-width:thin;-webkit-overflow-scrolling:touch;
}
body #dialog.dialog #dialog-alert,body .chat-modal-backdrop>.chat-dialog>.chat-dialog-alert{flex:none;max-height:22dvh;overflow:auto;margin:16px var(--dialog-pad) 0;border-radius:12px}
body #dialog.dialog #dialog-body>form>.action-row.end:last-child{position:static;bottom:auto;margin:24px 0 0;padding:18px 0 0;border-top:1px solid var(--dialog-line);background:transparent}
body #dialog:has(.recharge-form,.reseller-plan-form){width:min(920px,calc(100vw - 32px))}

/* Close controls use the same touch target and never squeeze the heading. */
body #dialog.dialog #close-dialog,
body #customer-dialog.lc-dialog:not(.lc-chat-dialog)>header>#customer-dialog-close,
body .private-notices-dialog>header>button,
body .chat-modal-backdrop>.chat-dialog>.chat-dialog-head>.chat-icon-button,
body .fb-modal>.fb-modal-head>button{
  display:inline-flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;
  min-width:44px;min-height:44px;margin:0;padding:10px;border:1px solid var(--dialog-line);
  border-radius:var(--linx-control-radius,12px);background:var(--dialog-soft);color:var(--dialog-ink);
  font-size:24px;line-height:1;text-decoration:none;
}

/* Form controls: neutral surfaces, legible help and consistent spacing. */
body :is(#dialog.dialog,#customer-dialog.lc-dialog:not(.lc-chat-dialog),.private-notices-dialog,.content-requests-dialog,.linx-notifications,.panel-purchase-dialog,.chat-modal-backdrop>.chat-dialog,.fb-modal) :is(form,fieldset,.form-grid,.field,.form-field,.chat-field,.fb-field,.purchase-field){min-width:0;max-width:100%}
body :is(#dialog.dialog,#customer-dialog.lc-dialog:not(.lc-chat-dialog),.content-requests-dialog,.panel-purchase-dialog,.chat-modal-backdrop>.chat-dialog,.fb-modal) :is(.field,.form-field,.chat-field,.fb-field,.purchase-field){gap:7px;font-size:13px;line-height:1.5}
body :is(#dialog.dialog,#customer-dialog.lc-dialog:not(.lc-chat-dialog),.content-requests-dialog,.panel-purchase-dialog,.chat-modal-backdrop>.chat-dialog,.fb-modal) :is(label,.field-label,.chat-label){color:var(--dialog-ink);font-size:13px;line-height:1.5}
body :is(#dialog.dialog,#customer-dialog.lc-dialog:not(.lc-chat-dialog),.content-requests-dialog,.panel-purchase-dialog,.chat-modal-backdrop>.chat-dialog,.fb-modal) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=hidden]),select,textarea){
  min-width:0;max-width:100%;min-height:44px;padding:11px 13px;
  border:1px solid var(--dialog-line);border-radius:var(--linx-control-radius,12px);
  background:var(--dialog-soft);color:var(--dialog-ink);font:inherit;font-size:14px;line-height:1.5;
  scroll-margin-block:24px;
}
body :is(#dialog.dialog,#customer-dialog.lc-dialog:not(.lc-chat-dialog),.content-requests-dialog,.panel-purchase-dialog,.chat-modal-backdrop>.chat-dialog,.fb-modal) textarea{resize:vertical;min-height:112px}
body :is(#dialog.dialog,#customer-dialog.lc-dialog:not(.lc-chat-dialog),.content-requests-dialog,.panel-purchase-dialog,.chat-modal-backdrop>.chat-dialog,.fb-modal) :is(.helper,.help,.field-help,.form-help,.chat-help,.purchase-footnote,.field small,.form-field small,.fb-field small,.purchase-field small,.lc-help){display:block;margin-top:6px;font-size:12px;line-height:1.6;color:var(--dialog-muted);font-weight:400;overflow-wrap:anywhere}
body :is(#dialog.dialog,#customer-dialog.lc-dialog:not(.lc-chat-dialog),.content-requests-dialog,.panel-purchase-dialog,.chat-modal-backdrop>.chat-dialog,.fb-modal) :is(input,textarea)::placeholder{color:var(--dialog-muted);opacity:1}
body :is(#dialog.dialog,#customer-dialog.lc-dialog:not(.lc-chat-dialog),.content-requests-dialog,.panel-purchase-dialog,.chat-modal-backdrop>.chat-dialog,.fb-modal) input[type=file]::file-selector-button{min-height:44px;max-width:100%;margin-right:10px;border:1px solid var(--dialog-line);border-radius:8px;padding:8px 12px;background:var(--dialog-surface);color:var(--dialog-ink);font:inherit;white-space:normal}

/* Neutral secondary actions and the established CRM blue for primary actions. */
body :is(#dialog.dialog,#customer-dialog.lc-dialog:not(.lc-chat-dialog),#customer-push-invite.lc-dialog,.private-notices-dialog,.content-requests-dialog,.linx-notifications,.panel-purchase-dialog,.chat-modal-backdrop>.chat-dialog,.fb-modal) :is(.button,.tab,.lc-button,.lc-text-button,.chat-button,.chat-text-button,.fb-button){
  min-height:44px;max-width:100%;border-radius:var(--linx-control-radius,12px);padding:11px 15px;
  font-family:inherit;font-size:14px;line-height:1.45;font-weight:600;white-space:normal;
  text-align:center;text-decoration:none;overflow-wrap:anywhere;
}
body :is(#dialog.dialog,#customer-dialog.lc-dialog:not(.lc-chat-dialog),#customer-push-invite.lc-dialog,.private-notices-dialog,.content-requests-dialog,.linx-notifications,.panel-purchase-dialog,.chat-modal-backdrop>.chat-dialog,.fb-modal) :is(.button.secondary,.button.ghost,.button.text,.lc-button:not(.lc-primary),.lc-text-button,.chat-button:not(.chat-button-accent),.chat-text-button,.fb-button:not(.fb-primary)){
  border:1px solid var(--dialog-line);background:var(--dialog-soft);color:var(--dialog-ink);
}
body :is(#dialog.dialog,#customer-dialog.lc-dialog:not(.lc-chat-dialog),#customer-push-invite.lc-dialog,.private-notices-dialog,.content-requests-dialog,.linx-notifications,.panel-purchase-dialog,.chat-modal-backdrop>.chat-dialog,.fb-modal) :is(.button.primary,.lc-primary,.chat-button-accent,.fb-primary){background:var(--dialog-primary);border:1px solid var(--dialog-primary);color:#fff!important}
body :is(#dialog.dialog,#customer-dialog.lc-dialog:not(.lc-chat-dialog),#customer-push-invite.lc-dialog,.private-notices-dialog,.content-requests-dialog,.linx-notifications,.panel-purchase-dialog,.chat-modal-backdrop>.chat-dialog,.fb-modal) :is(.button.primary,.lc-primary,.chat-button-accent,.fb-primary):hover:not(:disabled){background:var(--dialog-primary-hover);border-color:var(--dialog-primary-hover)}
body :is(#dialog.dialog,#customer-dialog.lc-dialog:not(.lc-chat-dialog),#customer-push-invite.lc-dialog,.private-notices-dialog,.content-requests-dialog,.linx-notifications,.panel-purchase-dialog,.chat-modal-backdrop>.chat-dialog,.fb-modal) :is(button,a,input,select,textarea,summary):focus-visible{outline:3px solid var(--dialog-focus);outline-offset:3px}
body :is(#dialog.dialog,#customer-dialog.lc-dialog:not(.lc-chat-dialog),#customer-push-invite.lc-dialog,.private-notices-dialog,.content-requests-dialog,.linx-notifications,.panel-purchase-dialog,.chat-modal-backdrop>.chat-dialog,.fb-modal) :is(button,input,select,textarea):disabled{cursor:not-allowed;opacity:.55}
body :is(#dialog.dialog,#customer-dialog.lc-dialog:not(.lc-chat-dialog),.content-requests-dialog,.panel-purchase-dialog,.chat-modal-backdrop>.chat-dialog,.fb-modal) :is(.action-row,.lc-actions,.purchase-actions){display:flex;flex-wrap:wrap;align-items:center;gap:10px}
body :is(#dialog.dialog,#customer-dialog.lc-dialog:not(.lc-chat-dialog),.content-requests-dialog,.panel-purchase-dialog,.chat-modal-backdrop>.chat-dialog,.fb-modal) :is(.action-row,.lc-actions,.purchase-actions)>:is(button,.button,.lc-button){min-width:0}

/* Semantic shared sections added by the operation renderers. */
body #dialog.dialog .crm-dialog-form{display:grid;gap:18px;margin:0;min-width:0}
body #dialog.dialog .crm-dialog-form>label{margin:0}
body #dialog.dialog .crm-dialog-form>.crm-dialog-actions{margin-top:6px}
body :is(#dialog.dialog,#customer-dialog.lc-dialog:not(.lc-chat-dialog),.private-notices-dialog,.content-requests-dialog,.chat-modal-backdrop>.chat-dialog,.fb-modal) .crm-dialog-section{min-width:0}
body :is(#dialog.dialog,#customer-dialog.lc-dialog:not(.lc-chat-dialog),.private-notices-dialog,.content-requests-dialog,.chat-modal-backdrop>.chat-dialog,.fb-modal) .crm-dialog-section+.crm-dialog-section{margin-top:18px;padding-top:18px;border-top:1px solid var(--dialog-line)}
body :is(#dialog.dialog,#customer-dialog.lc-dialog:not(.lc-chat-dialog),.private-notices-dialog,.content-requests-dialog,.chat-modal-backdrop>.chat-dialog,.fb-modal) .crm-dialog-section-title{margin:0 0 12px;font-size:16px;line-height:1.45;font-weight:700;color:var(--dialog-ink)}
body :is(#dialog.dialog,#customer-dialog.lc-dialog:not(.lc-chat-dialog),.private-notices-dialog,.content-requests-dialog,.chat-modal-backdrop>.chat-dialog,.fb-modal) :is(.crm-dialog-actions,.crm-dialog-navigation){display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:20px 0 0;min-width:0}
body :is(#dialog.dialog,#customer-dialog.lc-dialog:not(.lc-chat-dialog),.private-notices-dialog,.content-requests-dialog,.chat-modal-backdrop>.chat-dialog,.fb-modal) :is(.crm-dialog-actions,.crm-dialog-navigation)>:is(button,a){min-width:0;min-height:44px;text-decoration:none;max-width:100%}
body :is(#dialog.dialog,#customer-dialog.lc-dialog:not(.lc-chat-dialog),.private-notices-dialog,.content-requests-dialog,.chat-modal-backdrop>.chat-dialog,.fb-modal) .crm-dialog-navigation{padding-top:18px;border-top:1px solid var(--dialog-line)}
body :is(#dialog.dialog,#customer-dialog.lc-dialog:not(.lc-chat-dialog),.private-notices-dialog,.content-requests-dialog,.chat-modal-backdrop>.chat-dialog,.fb-modal) .crm-dialog-navigation>:is(button,a){display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 15px;border:1px solid var(--dialog-line);border-radius:12px;background:var(--dialog-soft);color:var(--dialog-ink);font:inherit;font-weight:600;line-height:1.45;white-space:normal}
body :is(#dialog.dialog,#customer-dialog.lc-dialog:not(.lc-chat-dialog),.private-notices-dialog,.content-requests-dialog,.chat-modal-backdrop>.chat-dialog,.fb-modal) .crm-dialog-summary{min-width:0;padding:16px;border:1px solid var(--dialog-line);border-radius:16px;background:var(--dialog-soft);color:var(--dialog-ink)}
body :is(#dialog.dialog,#customer-dialog.lc-dialog:not(.lc-chat-dialog),.private-notices-dialog,.content-requests-dialog,.chat-modal-backdrop>.chat-dialog,.fb-modal) .crm-dialog-meta{margin:8px 0 0;color:var(--dialog-muted);font-size:12px;line-height:1.6;overflow-wrap:anywhere}
body :is(#dialog.dialog,#customer-dialog.lc-dialog:not(.lc-chat-dialog),.private-notices-dialog,.content-requests-dialog,.chat-modal-backdrop>.chat-dialog,.fb-modal) .crm-dialog-history{display:grid;gap:12px;min-width:0;margin-top:20px;padding-top:20px;border-top:1px solid var(--dialog-line)}
body :is(#dialog.dialog,#customer-dialog.lc-dialog:not(.lc-chat-dialog),.private-notices-dialog,.content-requests-dialog,.chat-modal-backdrop>.chat-dialog,.fb-modal) .crm-dialog-disclosure{min-width:0;margin-top:16px;border:1px solid var(--dialog-line);border-radius:14px;padding:0 16px;background:var(--dialog-surface)}
body :is(#dialog.dialog,#customer-dialog.lc-dialog:not(.lc-chat-dialog),.private-notices-dialog,.content-requests-dialog,.chat-modal-backdrop>.chat-dialog,.fb-modal) .crm-dialog-disclosure>summary{min-height:48px;padding:13px 0;font-size:14px;font-weight:600;color:var(--dialog-ink);cursor:pointer;line-height:1.5}
body :is(#dialog.dialog,#customer-dialog.lc-dialog:not(.lc-chat-dialog),.private-notices-dialog,.content-requests-dialog,.chat-modal-backdrop>.chat-dialog,.fb-modal) .crm-dialog-disclosure[open]{padding-bottom:16px}

/* The first return action belongs directly below the heading, without an empty divider. */
body #dialog.dialog #dialog-body>.crm-dialog-navigation:first-child,
body #customer-dialog.lc-dialog:not(.lc-chat-dialog)>#customer-dialog-body>.crm-dialog-navigation:first-child,
body .chat-modal-backdrop>.chat-dialog>.chat-dialog-body>.crm-dialog-navigation:first-child,
body .fb-modal>.fb-modal-body>.crm-dialog-navigation:first-child{margin-top:0;padding-top:0;border-top:0}

/* Shared data and long identifiers must fit the dialog rather than its viewport. */
body #dialog.dialog :is(.detail-grid,.form-grid){grid-template-columns:repeat(2,minmax(0,1fr));min-width:0}
body #dialog.dialog :is(.data-field,.detail-hero,.direct-message-recipient,.direct-message-preview){min-width:0;max-width:100%;color:var(--dialog-ink)}
body #dialog.dialog :is(.data-field small,.data-field strong,.detail-meta,.payment-link,.pix-code,.quote-line,.direct-message-recipient strong){overflow-wrap:anywhere;min-width:0}
body #dialog.dialog :is(.panel-result,.panel-operation,.direct-message-recipient,.direct-message-preview){border-color:var(--dialog-line);background:var(--dialog-soft)}
body #dialog.dialog .direct-message-recipient strong{color:var(--dialog-ink)}
body #dialog.dialog .direct-message-choices{min-width:0}
body #dialog.dialog .tabs{gap:5px;padding:5px;border:1px solid var(--dialog-line);border-radius:13px;background:var(--dialog-soft);overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin}
body #dialog.dialog .tab{flex:none;border:0;padding:11px 14px;color:var(--dialog-muted);background:transparent;white-space:nowrap}
body #dialog.dialog .tab.active{background:var(--dialog-surface);color:var(--dialog-ink);box-shadow:0 1px 4px #0001}

/* Customer instruction steps retain their content and provider/app identity. */
body #customer-dialog.lc-dialog:not(.lc-chat-dialog) :is(.lc-access-guide,.lc-install-guide){background:var(--dialog-soft);color:var(--dialog-ink);border-color:var(--dialog-line);padding:18px;border-radius:16px}
body #customer-dialog.lc-dialog:not(.lc-chat-dialog) .lc-guide-navigation{gap:10px;margin-top:22px;padding-top:18px;border-color:var(--dialog-line)}
body #customer-dialog.lc-dialog:not(.lc-chat-dialog) :is(.lc-guide-navigation,.lc-access-actions)>:is(.lc-button,.lc-text-button){width:100%;min-height:44px;border:1px solid var(--dialog-line);background:var(--dialog-soft);color:var(--dialog-ink);text-decoration:none}
body #customer-push-invite.lc-dialog{padding:28px;overflow:auto}

/* Content request detail uses the same section and scroll contract. */
body .content-requests-dialog{padding:0;overflow:hidden}
body .content-requests-dialog>header>button{min-height:44px;flex:none}
body .content-requests-dialog .content-requests-detail blockquote{border-left-color:var(--dialog-primary);background:var(--dialog-soft);color:var(--dialog-ink)}

/* Own inbox: fixed heading/footer, only the list scrolls. */
body .private-notices-dialog{padding:0;overflow:hidden;width:min(620px,calc(100vw - 32px))}
body .private-notices-dialog>p{flex:none;margin:18px var(--dialog-pad) 0;color:var(--dialog-muted);font-size:13px}
body .private-notices-dialog>.private-notices-list{flex:1 1 auto;min-height:0;overflow:auto;margin:0;padding:18px var(--dialog-pad);scrollbar-width:thin;overscroll-behavior:contain}
body .private-notices-dialog>footer{flex:none;padding:16px var(--dialog-pad);border-top:1px solid var(--dialog-line);background:var(--dialog-surface)}
body .private-notices-dialog>footer>button{width:100%}
body .private-notices-dialog .private-notice{border-color:var(--dialog-line);background:var(--dialog-soft);color:var(--dialog-ink)}
body .linx-notifications{padding:var(--dialog-pad);overflow:auto}
body .linx-notifications>h2{position:sticky;top:calc(-1 * var(--dialog-pad));z-index:2;margin:calc(-1 * var(--dialog-pad)) calc(-1 * var(--dialog-pad)) 16px;padding:var(--dialog-pad);border-bottom:1px solid var(--dialog-line);background:var(--dialog-surface);font-size:22px;line-height:1.35;color:var(--dialog-ink)}
body .linx-notifications .notification-actions{position:static;margin-top:20px;padding-top:16px;border-top:1px solid var(--dialog-line);background:var(--dialog-surface)}
body .linx-notifications :is(.notification-bulk,.notification-device-controls){flex-wrap:wrap;gap:10px}
body .linx-notifications :is(.notification-bulk,.notification-device-controls)>button{flex:1 1 110px;min-width:0}
body .linx-notifications .notification-device{background:var(--dialog-soft);border-color:var(--dialog-line)}
body .linx-notifications .notification-device.is-current{border-color:var(--dialog-primary)}
body .linx-notifications .notification-current{color:var(--dialog-primary)}

/* Panel purchase keeps the provider tint in its identity header, not action colors. */
body .panel-purchase-dialog{padding:0;position:fixed;overflow:hidden}
body .panel-purchase-dialog>.purchase-close{position:absolute;top:16px;right:16px;float:none;margin:0;z-index:3;border-radius:12px;border-color:var(--dialog-line);background:var(--dialog-soft);color:var(--dialog-ink)}
body .panel-purchase-dialog>div,body .panel-purchase-dialog .panel-purchase{display:flex;flex-direction:column;flex:1 1 auto;min-height:0;min-width:0;overflow:hidden}
body .panel-purchase-dialog .purchase-header{flex:none;max-height:34dvh;overflow:auto;padding:24px 76px 22px 24px}
body .panel-purchase-dialog .purchase-header h2{font-size:22px;line-height:1.35;letter-spacing:-.4px}
body .panel-purchase-dialog .purchase-body{flex:1 1 auto;min-height:0;overflow:auto;padding:var(--dialog-pad);scrollbar-width:thin;overscroll-behavior:contain}
body .panel-purchase-dialog .purchase-error{flex:none;max-height:22dvh;overflow:auto}
body .panel-purchase-dialog .button.primary{background:var(--dialog-primary);border-color:var(--dialog-primary);color:#fff}
body .chat-modal-backdrop>.chat-dialog{height:auto;padding:0;max-width:min(720px,calc(100vw - 32px));max-height:calc(100dvh - 32px);border:1px solid var(--dialog-line);border-radius:24px;box-shadow:var(--linx-floating-shadow);overflow:hidden}
body .chat-modal-backdrop>.chat-dialog :is(.chat-button,.chat-text-button){font-size:14px!important}
body .fb-modal{padding:0;overflow:hidden}
body .fb-modal .fb-modal-body>.fb-button{margin:5px 0}

@media(max-width:600px){
  body :is(#dialog.dialog,#customer-dialog.lc-dialog:not(.lc-chat-dialog),#customer-push-invite.lc-dialog,.private-notices-dialog,.content-requests-dialog,.linx-notifications,.panel-purchase-dialog,.chat-modal-backdrop>.chat-dialog,.fb-modal){--dialog-pad:18px;--dialog-gap:16px;max-width:calc(100vw - 20px);max-height:calc(100dvh - 20px);border-radius:20px}
  body #dialog.dialog{width:calc(100vw - 20px)}
  body #dialog.dialog #dialog-body,body #customer-dialog.lc-dialog:not(.lc-chat-dialog)>#customer-dialog-body{padding:18px 18px max(20px,env(safe-area-inset-bottom));scroll-padding-block:20px}
  body :is(#dialog.dialog,#customer-dialog.lc-dialog:not(.lc-chat-dialog),.private-notices-dialog,.content-requests-dialog,.chat-modal-backdrop>.chat-dialog,.fb-modal)>:is(header,.dialog-header,.chat-dialog-head,.fb-modal-head){padding:18px;gap:12px}
  body :is(#dialog.dialog,#customer-dialog.lc-dialog:not(.lc-chat-dialog),.private-notices-dialog,.content-requests-dialog,.chat-modal-backdrop>.chat-dialog,.fb-modal) :is(.dialog-header h2,header>h2,.chat-dialog-head h3,.fb-modal-head h2){font-size:20px}
  body :is(#dialog.dialog,#customer-dialog.lc-dialog:not(.lc-chat-dialog),.content-requests-dialog,.panel-purchase-dialog,.chat-modal-backdrop>.chat-dialog,.fb-modal) :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:16px}
  body :is(#dialog.dialog,#customer-dialog.lc-dialog:not(.lc-chat-dialog),.private-notices-dialog,.content-requests-dialog,.chat-modal-backdrop>.chat-dialog,.fb-modal) :is(.crm-dialog-actions,.crm-dialog-navigation,.action-row)>:is(button,a){flex:1 1 140px;min-width:0}
  body #dialog.dialog :is(.detail-grid,.form-grid){grid-template-columns:minmax(0,1fr);gap:14px}
  body #dialog.dialog .contact-record-actions>.button{flex:1 1 140px}
  body .chat-modal-backdrop>.chat-dialog{max-width:calc(100vw - 20px);height:auto;max-height:calc(100dvh - 20px);border:1px solid var(--dialog-line);border-radius:20px}
  body .panel-purchase-dialog .purchase-header{padding:20px 72px 20px 18px}
  body .panel-purchase-dialog .purchase-header h2,body .linx-notifications>h2{font-size:20px}
  body .panel-purchase-dialog .purchase-close{top:14px;right:14px}
  body .private-notices-dialog>p{margin-top:14px}
  body #customer-dialog.lc-dialog:not(.lc-chat-dialog) .lc-guide-navigation{grid-template-columns:minmax(0,1fr)}
}
@media(max-height:500px){
  body :is(#dialog.dialog,#customer-dialog.lc-dialog:not(.lc-chat-dialog),.private-notices-dialog,.content-requests-dialog,.panel-purchase-dialog,.chat-modal-backdrop>.chat-dialog,.fb-modal){max-height:calc(100dvh - 12px)}
  body :is(#dialog.dialog,#customer-dialog.lc-dialog:not(.lc-chat-dialog),.private-notices-dialog,.content-requests-dialog,.chat-modal-backdrop>.chat-dialog,.fb-modal)>:is(header,.dialog-header,.chat-dialog-head,.fb-modal-head){padding:12px 16px;max-height:38dvh}
  body #dialog.dialog #dialog-body{padding:16px}
}
@media(prefers-reduced-motion:reduce){
  body :is(#dialog.dialog,#customer-dialog.lc-dialog:not(.lc-chat-dialog),#customer-push-invite.lc-dialog,.private-notices-dialog,.content-requests-dialog,.linx-notifications,.panel-purchase-dialog,.chat-modal-backdrop>.chat-dialog,.fb-modal) :is(button,a,input,select,textarea){transition:none;scroll-behavior:auto}
}
@media(forced-colors:active){
  body :is(#dialog.dialog,#customer-dialog.lc-dialog:not(.lc-chat-dialog),.private-notices-dialog,.content-requests-dialog,.linx-notifications,.panel-purchase-dialog,.chat-modal-backdrop>.chat-dialog,.fb-modal){border-color:CanvasText}
}

/* Dense facts, consistent whether opened from a directory or Atendimento. */
body #dialog.dialog .detail-grid>.data-field{padding:10px 12px;border:1px solid var(--dialog-line);border-radius:12px;background:var(--dialog-soft)}
body #dialog.dialog .data-field small{font-size:12px;line-height:1.5;margin-bottom:4px;color:var(--dialog-muted)}
body #dialog.dialog .data-field strong{font-size:14px;line-height:1.5;color:var(--dialog-ink)}
body #dialog.dialog #dialog-body>.crm-dialog-navigation:first-child{margin-bottom:18px}
@media (max-width:600px){body #dialog.dialog .detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}
@media (max-width:359px){body #dialog.dialog .detail-grid{grid-template-columns:minmax(0,1fr)}}

body #dialog.dialog .crm-dialog-summary+.crm-dialog-section{margin-top:18px}

/* Keep content review readable on tablets as well as wide desktops. */
body .content-requests-dialog{width:min(620px,calc(100vw - 32px))}

/* Short acknowledgements above the installation wizard, in both themes. */
.lc-feedback-dialog{width:min(440px,calc(100vw - 32px));max-height:calc(100dvh - 48px);padding:24px;border:1px solid var(--lc-border);border-radius:20px;background:var(--lc-surface);color:var(--lc-text);overflow:auto}
.lc-feedback-dialog h2{margin:0 0 16px;font-size:1.25rem;line-height:1.3}
.lc-feedback-dialog p{margin:0;line-height:1.6;overflow-wrap:anywhere}
.lc-feedback-actions{display:grid;margin-top:24px}
.lc-feedback-dialog::backdrop{background:rgba(0,0,0,.55)}

.lc-flow-choices{display:grid;gap:.38rem;margin-block:.6rem .25rem}
.lc-flow-choices button{min-height:44px;padding:.55rem .85rem;border:1px solid currentColor;border-radius:.75rem;background:transparent;color:inherit;font:inherit;font-weight:600;text-align:start;cursor:pointer;overflow-wrap:anywhere}
.lc-flow-choices button:hover,.lc-flow-choices button:focus-visible{background:rgba(143,116,52,.13)}
.lc-flow-choices button:focus-visible{outline:2px solid currentColor;outline-offset:2px}

.lc-operator-avatar{display:block;width:28px;height:28px;border-radius:50%;object-fit:contain;margin:0 0 5px;flex-shrink:0}
