:root{--portal-bg:#f3f7fc;--portal-card:#fff;--portal-text:#10213b;--portal-muted:#667792;--portal-line:#dce6f1;--portal-blue:#0b63f6;--portal-dark:#061a3a}
*{box-sizing:border-box}.portal-body{margin:0;background:var(--portal-bg);color:var(--portal-text);font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif}.portal-shell{min-height:100vh;display:grid;grid-template-columns:260px 1fr}.portal-nav{position:sticky;top:0;height:100vh;padding:24px 18px;background:var(--portal-dark);color:#fff}.portal-nav .portal-logo{display:block;width:170px;filter:brightness(0) invert(1);margin:4px 10px 32px}.portal-nav nav{display:grid;gap:7px}.portal-nav nav a{display:flex;gap:10px;align-items:center;padding:12px 14px;border-radius:11px;color:#bcd0ed;text-decoration:none;font-weight:650}.portal-nav nav a:hover,.portal-nav nav a.active{background:rgba(255,255,255,.1);color:#fff}.portal-nav .nav-bottom{position:absolute;left:18px;right:18px;bottom:22px}.portal-content{min-width:0}.portal-topbar{height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 32px;background:#fff;border-bottom:1px solid var(--portal-line)}.portal-topbar strong{display:block}.portal-topbar small{color:var(--portal-muted)}.portal-main-page{padding:30px 32px 60px;max-width:1450px}.page-title{display:flex;justify-content:space-between;gap:20px;align-items:end;margin-bottom:24px}.page-title h1{margin:0;font-size:2rem}.page-title p{margin:6px 0 0;color:var(--portal-muted)}.metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px}.metric{padding:20px;border:1px solid var(--portal-line);border-radius:16px;background:#fff}.metric span{display:block;color:var(--portal-muted);font-size:.82rem}.metric strong{display:block;margin-top:8px;font-size:1.45rem}.panel{padding:22px;border:1px solid var(--portal-line);border-radius:17px;background:#fff;margin-bottom:20px}.panel h2,.panel h3{margin-top:0}.dashboard-grid{display:grid;grid-template-columns:1.3fr .7fr;gap:20px}.cards-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.course-card,.download-card,.ticket-card{padding:18px;border:1px solid var(--portal-line);border-radius:15px;background:#fff}.course-card h3,.download-card h3{margin:8px 0}.course-card p,.download-card p{color:var(--portal-muted);font-size:.9rem}.progress{height:9px;background:#e8eef6;border-radius:10px;overflow:hidden}.progress i{display:block;height:100%;background:var(--portal-blue)}.badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eaf2ff;color:var(--portal-blue);font-size:.72rem;font-weight:800}.badge.pending,.badge.open{background:#fff5d8;color:#8b6400}.badge.inactive,.badge.canceled,.badge.expired,.badge.overdue{background:#ffe8e8;color:#a52d2d}.badge.active,.badge.paid,.badge.closed{background:#e6f8ee;color:#1f7a49}.portal-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:0 16px;border:0;border-radius:10px;background:var(--portal-blue);color:#fff;text-decoration:none;font-weight:750;cursor:pointer}.portal-btn.secondary{background:#edf4ff;color:var(--portal-blue)}.portal-btn.danger{background:#ffe8e8;color:#a52d2d}.portal-btn.small{min-height:34px;padding:0 11px;font-size:.82rem}.portal-form label{display:block;margin-bottom:14px;font-weight:700;font-size:.84rem}.portal-form input,.portal-form select,.portal-form textarea{display:block;width:100%;margin-top:6px;padding:12px 13px;border:1px solid #ccd9e8;border-radius:10px;background:#fff;font:inherit}.portal-form textarea{min-height:120px;resize:vertical}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-grid .full{grid-column:1/-1}.alert{padding:13px 15px;border-radius:11px;margin:0 0 16px}.alert-error{background:#ffe9e9;color:#972c2c}.alert-success{background:#e5f8ed;color:#1c7244}.alert-info{background:#eaf3ff;color:#1756a9}.table-wrap{overflow:auto}.data-table{width:100%;border-collapse:collapse}.data-table th,.data-table td{padding:12px 10px;border-bottom:1px solid var(--portal-line);text-align:left;white-space:nowrap}.data-table th{font-size:.76rem;text-transform:uppercase;color:var(--portal-muted)}.lesson-layout{display:grid;grid-template-columns:1fr 330px;gap:20px}.video-frame{width:100%;aspect-ratio:16/9;border:0;border-radius:15px;background:#07172e}.lesson-list{display:grid;gap:8px}.lesson-list a{display:block;padding:12px;border:1px solid var(--portal-line);border-radius:10px;text-decoration:none;color:var(--portal-text)}.lesson-list a.active{border-color:var(--portal-blue);background:#edf5ff}.message{padding:14px;border-radius:12px;background:#f1f5fa;margin-bottom:10px}.message.admin{background:#eaf3ff}.message small{display:block;color:var(--portal-muted);margin-bottom:5px}.setup-wrap{min-height:100vh;padding:40px 16px;display:grid;place-items:center}.setup-card{width:min(850px,100%);padding:34px;border-radius:20px;background:#fff;border:1px solid #dce6f1}.setup-card>img{width:190px}.setup-card h1{margin-bottom:5px}.setup-card>p{color:var(--portal-muted)}.setup-card h3{margin:28px 0 12px}.admin-actions{display:flex;flex-wrap:wrap;gap:8px}.empty{padding:26px;text-align:center;color:var(--portal-muted);border:1px dashed var(--portal-line);border-radius:14px}.mobile-menu{display:none}
@media(max-width:1050px){.metric-grid{grid-template-columns:repeat(2,1fr)}.cards-grid{grid-template-columns:repeat(2,1fr)}.dashboard-grid,.lesson-layout{grid-template-columns:1fr}}
@media(max-width:760px){.portal-shell{display:block}.portal-nav{position:static;height:auto}.portal-nav nav{grid-template-columns:1fr 1fr}.portal-nav .nav-bottom{position:static;margin-top:12px}.portal-topbar{padding:0 18px}.portal-main-page{padding:22px 16px 50px}.metric-grid,.cards-grid,.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.page-title{display:block}.portal-nav .portal-logo{margin-bottom:16px}}
.assistant-shell{background:#fff;border:1px solid var(--portal-line);border-radius:18px;overflow:hidden}.assistant-messages{min-height:430px;max-height:620px;overflow:auto;padding:24px;background:#f7faff}.chat-bubble{max-width:78%;padding:14px 16px;border-radius:16px;margin:0 0 12px;white-space:pre-wrap;line-height:1.5}.chat-bubble.assistant{background:#fff;border:1px solid var(--portal-line);border-bottom-left-radius:5px}.chat-bubble.user{margin-left:auto;background:var(--portal-blue);color:#fff;border-bottom-right-radius:5px}.chat-bubble a{display:inline-block;margin-top:8px;font-weight:700}.assistant-actions{display:flex;gap:10px;align-items:center;padding:14px 20px;border-top:1px solid var(--portal-line)}.assistant-compose{display:grid;grid-template-columns:1fr auto;gap:12px;padding:18px;border-top:1px solid var(--portal-line)}.assistant-compose textarea{width:100%;border:1px solid #ccd9e8;border-radius:12px;padding:12px;font:inherit;resize:vertical}.assistant-compose .portal-btn{align-self:end}.form-group{margin-bottom:14px}.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}@media(max-width:760px){.assistant-compose{grid-template-columns:1fr}.chat-bubble{max-width:94%}.grid-2,.grid-3{grid-template-columns:1fr}}
/* Interface minimalista da base de conhecimento */
.compact-title{align-items:center}.slim-panel{padding:12px 14px}.kb-toolbar{display:grid;grid-template-columns:minmax(260px,1fr) 210px auto 44px;gap:10px;align-items:center}.search-field{display:flex;align-items:center;gap:8px;border:1px solid var(--portal-line);border-radius:11px;padding:0 12px;background:#fff}.search-field span{color:var(--portal-muted);font-size:1.2rem}.search-field input,.kb-toolbar select{width:100%;height:42px;border:0;background:transparent;font:inherit;outline:none}.kb-toolbar select{border:1px solid var(--portal-line);border-radius:11px;padding:0 12px}.icon-button{width:42px;height:42px;border:1px solid var(--portal-line);border-radius:11px;background:#fff;cursor:pointer;font-size:1rem}.list-panel{padding:0;overflow:hidden}.list-heading{padding:18px 20px;border-bottom:1px solid var(--portal-line)}.list-heading h2{margin:0;font-size:1.05rem}.list-heading span{display:block;margin-top:3px;color:var(--portal-muted);font-size:.82rem}.clean-list{display:grid}.clean-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 20px;border-bottom:1px solid var(--portal-line)}.clean-row:last-child{border-bottom:0}.clean-row:hover{background:#f9fbfe}.row-main{min-width:0}.row-title{font-weight:750;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.row-meta{display:flex;flex-wrap:wrap;gap:12px;margin-top:5px;color:var(--portal-muted);font-size:.78rem}.row-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}.text-button{border:0;background:none;color:var(--portal-blue);font:inherit;font-weight:700;cursor:pointer;padding:5px}.danger-text{color:#ad3131}.inline-form{display:inline}.status-dot.inactive{color:#ad3131}.modal-open{overflow:hidden}.modal-backdrop{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:20px;background:rgba(5,20,43,.48);backdrop-filter:blur(3px)}.modal-backdrop[hidden]{display:none}.modal-card{width:min(620px,100%);max-height:90vh;overflow:auto;border-radius:18px;background:#fff;border:1px solid var(--portal-line);box-shadow:0 24px 70px rgba(5,20,43,.22)}.modal-wide{width:min(760px,100%)}.modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:20px 22px;border-bottom:1px solid var(--portal-line)}.modal-head h2{margin:0;font-size:1.15rem}.modal-head p{margin:4px 0 0;color:var(--portal-muted);font-size:.85rem}.modal-close{border:0;background:none;color:var(--portal-muted);font-size:1.7rem;line-height:1;cursor:pointer}.compact-form{padding:20px 22px}.compact-form textarea{min-height:110px}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.category-list{max-height:360px;overflow:auto}.category-row{display:flex;align-items:center;gap:8px;padding:11px 20px;border-bottom:1px solid var(--portal-line)}.category-edit-form{display:grid;grid-template-columns:1fr 70px auto auto;gap:8px;align-items:center;flex:1}.category-edit-form input{height:38px;border:1px solid var(--portal-line);border-radius:9px;padding:0 10px;font:inherit}.mini-check{font-size:.78rem;white-space:nowrap}.new-category-form{border-top:1px solid var(--portal-line)}
/* Suporte Técnico em formato de conversa */
.support-page-head{display:flex;align-items:center;justify-content:space-between;gap:16px;max-width:760px;margin:0 auto 16px}.support-page-head h1{margin:0;font-size:1.65rem}.support-page-head p{margin:5px 0 0;color:var(--portal-muted)}.support-status{display:flex;align-items:center;gap:7px;color:#28754b;font-size:.82rem;font-weight:750}.support-status i{width:8px;height:8px;border-radius:50%;background:#2fbd70}.support-chat-card{width:min(760px,100%);margin:0 auto;border:1px solid var(--portal-line);border-radius:17px;overflow:hidden;background:#fff;box-shadow:0 8px 28px rgba(15,39,72,.06)}.support-chat-header{display:flex;align-items:center;gap:11px;padding:13px 16px;border-bottom:1px solid var(--portal-line)}.support-avatar{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--portal-blue);color:#fff;font-weight:800}.support-chat-header strong,.support-chat-header small{display:block}.support-chat-header small{margin-top:2px;color:var(--portal-muted);font-size:.76rem}.compact-chat{height:420px;min-height:0;max-height:none;padding:18px;background:#eef2f5;background-image:radial-gradient(rgba(30,64,104,.05) 1px,transparent 1px);background-size:18px 18px}.chat-bubble{position:relative;max-width:74%;padding:9px 11px 18px;margin-bottom:8px;border-radius:10px;line-height:1.42;font-size:.92rem;box-shadow:0 1px 2px rgba(10,30,55,.08)}.chat-bubble.assistant{border:0;background:#fff;border-bottom-left-radius:3px}.chat-bubble.user{background:#d9fdd3;color:#18311e;border-bottom-right-radius:3px}.chat-bubble time{position:absolute;right:8px;bottom:4px;color:#7f8b99;font-size:.62rem}.chat-bubble.user time{color:#5f7964}.chat-bubble a{color:var(--portal-blue)}.compact-actions{padding:9px 14px;justify-content:center;background:#fff;font-size:.82rem}.chat-choice{border:1px solid var(--portal-line);border-radius:999px;background:#fff;padding:6px 13px;font-weight:700;cursor:pointer}.chat-choice.positive{border-color:#b9e5c8;color:#28754b}.chat-email-button{border:0;border-radius:9px;background:#edf4ff;color:var(--portal-blue);padding:9px 13px;font-weight:750;cursor:pointer}.chat-status{height:0;position:relative;z-index:2;padding-left:16px;color:var(--portal-muted);font-size:.72rem}.whatsapp-compose{display:flex;align-items:flex-end;gap:9px;padding:10px 12px;background:#f7f9fb;border-top:1px solid var(--portal-line)}.whatsapp-compose textarea{min-height:42px;max-height:110px;margin:0;padding:11px 14px;border:1px solid var(--portal-line);border-radius:22px;background:#fff;resize:none;overflow-y:auto}.whatsapp-compose button{flex:0 0 42px;width:42px;height:42px;border:0;border-radius:50%;background:var(--portal-blue);color:#fff;font-size:1rem;cursor:pointer}.whatsapp-compose button:disabled{opacity:.6}.support-note{max-width:760px;margin:12px auto 0;color:var(--portal-muted);font-size:.78rem;text-align:center}
@media(max-width:760px){.kb-toolbar{grid-template-columns:1fr}.clean-row{align-items:flex-start}.row-title{white-space:normal}.category-edit-form{grid-template-columns:1fr 64px}.category-edit-form .mini-check,.category-edit-form .text-button{grid-column:auto}.support-page-head{align-items:flex-start}.support-status{display:none}.compact-chat{height:390px;padding:12px}.chat-bubble{max-width:88%}.modal-backdrop{padding:10px}.modal-card{max-height:95vh}.category-row{align-items:flex-start;flex-wrap:wrap}}

/* ===== Redesign leve, moderno e vivo ===== */
.support-layout{max-width:940px;margin:0 auto;padding:8px 0 36px}.support-intro{text-align:center;margin:0 auto 22px;max-width:620px}.support-kicker{display:inline-flex;padding:6px 10px;border-radius:999px;background:#eaf2ff;color:#0b63f6;font-size:.7rem;font-weight:850;letter-spacing:.1em}.support-intro h1{margin:10px 0 7px;font-size:clamp(1.65rem,3vw,2.35rem);letter-spacing:-.035em}.support-intro p{margin:0;color:var(--portal-muted);font-size:.96rem;line-height:1.55}.support-mini-info{display:inline-flex;align-items:center;gap:7px;margin-top:12px;color:#536985;font-size:.78rem}.online-dot{width:8px;height:8px;border-radius:50%;background:#25d366;box-shadow:0 0 0 4px rgba(37,211,102,.12)}
.wa-chat{width:min(430px,100%);margin:0 auto;border:1px solid #d9e4ef;border-radius:20px;overflow:hidden;background:#f5f1eb;box-shadow:0 18px 50px rgba(26,55,90,.12)}.wa-header{height:66px;display:flex;align-items:center;gap:11px;padding:0 15px;background:linear-gradient(135deg,#075e54,#128c7e);color:#fff}.wa-avatar{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#0d7166;font-weight:900;border:2px solid rgba(255,255,255,.45)}.wa-title{display:flex;flex-direction:column;line-height:1.15}.wa-title strong{font-size:.94rem}.wa-title small{margin-top:4px;font-size:.72rem;color:rgba(255,255,255,.8)}.wa-shield{margin-left:auto;width:27px;height:27px;display:grid;place-items:center;border-radius:50%;background:rgba(255,255,255,.14);font-weight:900}.wa-messages{height:440px;min-height:440px;max-height:440px;overflow-y:auto;padding:14px 12px 18px;background-color:#efeae2;background-image:radial-gradient(circle at 18px 18px,rgba(7,94,84,.035) 1.4px,transparent 1.5px),radial-gradient(circle at 46px 44px,rgba(7,94,84,.025) 1.2px,transparent 1.3px);background-size:64px 64px}.wa-day{width:max-content;margin:0 auto 12px;padding:4px 9px;border-radius:7px;background:rgba(255,255,255,.9);box-shadow:0 1px 2px rgba(0,0,0,.07);color:#66756f;font-size:.68rem}.wa-messages .chat-bubble{position:relative;display:block;width:max-content;max-width:82%;min-width:72px;margin:0 0 7px;padding:7px 9px 17px;border:0;border-radius:8px;box-shadow:0 1px 1px rgba(0,0,0,.12);font-size:.86rem;line-height:1.38;white-space:pre-wrap}.wa-messages .chat-bubble.assistant{background:#fff;border-top-left-radius:2px}.wa-messages .chat-bubble.user{margin-left:auto;background:#d9fdd3;color:#17211d;border-top-right-radius:2px}.wa-messages .chat-bubble span{display:block}.wa-messages .chat-bubble time{position:absolute;right:7px;bottom:4px;color:#75807b;font-size:.6rem;line-height:1}.wa-messages .chat-bubble.user time{color:#5f7566}.wa-messages .chat-bubble a{display:inline-flex;margin-top:7px;padding:6px 8px;border-radius:7px;background:#edf7f5;color:#08776a;text-decoration:none;font-size:.74rem}.wa-inline-actions{display:flex;align-items:center;gap:6px;padding:8px 12px;background:#fff;border-top:1px solid #e2e8e5;font-size:.73rem;color:#60716a}.wa-inline-actions button{border:1px solid #cfe0db;background:#fff;color:#08776a;border-radius:999px;padding:5px 10px;font:inherit;font-weight:750;cursor:pointer}.wa-inline-actions button:hover{background:#edf8f5}.wa-inline-actions .wa-email-action{width:100%;border-radius:9px;padding:8px 10px;background:#eaf7f4}.wa-typing{min-height:0;padding:0 14px;background:#fff;color:#789089;font-size:.68rem}.wa-typing:not(:empty){padding-top:5px}.wa-compose{display:grid;grid-template-columns:1fr 42px;gap:8px;align-items:end;padding:9px 10px;background:#f0f2f5;border-top:1px solid #dce2df}.wa-compose textarea{display:block;width:100%;min-height:40px;max-height:92px;margin:0;padding:10px 13px;border:0;border-radius:20px;background:#fff;box-shadow:inset 0 0 0 1px #e1e6e4;font:inherit;font-size:.85rem;resize:none;outline:none}.wa-compose textarea:focus{box-shadow:inset 0 0 0 2px rgba(18,140,126,.25)}.wa-compose button{width:42px;height:42px;border:0;border-radius:50%;display:grid;place-items:center;background:#0b8f7f;color:#fff;cursor:pointer;box-shadow:0 5px 12px rgba(11,143,127,.24)}.wa-compose button:disabled{opacity:.55}.wa-compose svg{width:20px;height:20px;fill:currentColor}.support-footnote{max-width:470px;margin:13px auto 0;text-align:center;color:#75869d;font-size:.72rem;line-height:1.45}

/* Base de conhecimento: organizada, leve e com personalidade */
.kb-page-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px;padding:20px 22px;border-radius:18px;background:linear-gradient(125deg,#0b63f6,#2e82ff);color:#fff;box-shadow:0 13px 34px rgba(11,99,246,.18)}.kb-page-hero h1{margin:0 0 5px;font-size:1.55rem;letter-spacing:-.025em}.kb-page-hero p{margin:0;color:rgba(255,255,255,.8);font-size:.86rem}.kb-page-hero .portal-btn{background:#fff;color:#0b63f6;box-shadow:0 6px 16px rgba(0,0,0,.1)}.kb-page-hero .portal-btn.secondary{background:rgba(255,255,255,.14);color:#fff;border:1px solid rgba(255,255,255,.25)}.kb-control-bar{display:grid;grid-template-columns:minmax(230px,1fr) 190px auto auto;gap:9px;align-items:center;margin-bottom:14px;padding:10px;border:1px solid #e0e8f1;border-radius:15px;background:#fff;box-shadow:0 7px 24px rgba(21,52,88,.055)}.kb-search{position:relative}.kb-search svg{position:absolute;left:12px;top:50%;width:17px;transform:translateY(-50%);fill:#7890aa}.kb-search input,.kb-control-bar select{height:40px;width:100%;border:1px solid #dde7f0;border-radius:10px;background:#f9fbfd;padding:0 12px;font:inherit;font-size:.84rem;outline:none}.kb-search input{padding-left:38px}.kb-search input:focus,.kb-control-bar select:focus{border-color:#80b0ff;box-shadow:0 0 0 3px rgba(11,99,246,.08);background:#fff}.kb-mini-btn{height:40px;border:1px solid #dce6f1;border-radius:10px;background:#fff;color:#34516f;padding:0 13px;font:inherit;font-size:.8rem;font-weight:750;cursor:pointer}.kb-mini-btn:hover{border-color:#9fc2f8;background:#f3f8ff;color:#0b63f6}.kb-list-shell{border:1px solid #e0e8f1;border-radius:16px;background:#fff;overflow:hidden;box-shadow:0 8px 28px rgba(21,52,88,.055)}.kb-list-top{display:flex;align-items:center;justify-content:space-between;padding:14px 17px;border-bottom:1px solid #edf1f5}.kb-list-top strong{font-size:.9rem}.kb-list-top span{font-size:.72rem;color:#7b8ba0}.kb-answer-list{display:grid}.kb-answer-row{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:11px;align-items:center;padding:13px 16px;border-bottom:1px solid #edf1f5;transition:.18s ease}.kb-answer-row:last-child{border-bottom:0}.kb-answer-row:hover{background:#f8fbff}.kb-answer-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:#edf4ff;color:#0b63f6;font-weight:900}.kb-answer-title{font-size:.86rem;font-weight:750;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.kb-answer-meta{display:flex;flex-wrap:wrap;gap:5px;margin-top:5px}.kb-pill{display:inline-flex;align-items:center;padding:3px 7px;border-radius:999px;background:#f0f4f8;color:#60748c;font-size:.64rem}.kb-pill.blue{background:#e9f2ff;color:#0b63f6}.kb-pill.off{background:#fff0f0;color:#b64747}.kb-row-actions{display:flex;gap:5px}.kb-action-btn{height:31px;border:1px solid #dde6ef;border-radius:8px;background:#fff;color:#48637f;padding:0 9px;font:inherit;font-size:.71rem;font-weight:750;cursor:pointer}.kb-action-btn:hover{border-color:#a7c7f6;color:#0b63f6;background:#f5f9ff}.kb-action-btn.delete:hover{border-color:#f1b6b6;color:#b73535;background:#fff7f7}.kb-empty{padding:38px 20px;text-align:center;color:#7c8da1}.modal-backdrop[hidden]{display:none!important}.modal-backdrop{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;padding:18px;background:rgba(6,26,58,.55);backdrop-filter:blur(5px)}.modal-card{width:min(540px,100%);max-height:88vh;overflow:auto;padding:0;border-radius:18px;background:#fff;box-shadow:0 28px 80px rgba(4,21,45,.28)}.modal-card.modal-wide{width:min(680px,100%)}.modal-head{position:sticky;top:0;z-index:2;display:flex;align-items:flex-start;justify-content:space-between;padding:18px 20px 14px;border-bottom:1px solid #edf1f5;background:#fff}.modal-head h2{margin:0;font-size:1.08rem}.modal-head p{margin:4px 0 0;color:#77899e;font-size:.75rem}.modal-close{width:34px;height:34px;border:0;border-radius:9px;background:#f0f4f8;color:#55708b;font-size:1.35rem;cursor:pointer}.compact-form{padding:17px 20px 20px}.compact-form label{margin-bottom:11px;font-size:.75rem}.compact-form input,.compact-form select,.compact-form textarea{margin-top:5px;padding:10px 11px;border-radius:9px;font-size:.84rem}.compact-form textarea{min-height:100px}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:13px}.category-list{padding:10px 18px 0}.category-row{display:flex;align-items:center;gap:7px;padding:8px 0;border-bottom:1px solid #edf1f5}.category-edit-form{display:grid;grid-template-columns:minmax(130px,1fr) 65px auto auto;gap:6px;align-items:center;flex:1}.category-edit-form input[type=text],.category-edit-form input:not([type]){min-width:0;height:35px;border:1px solid #dce6ef;border-radius:8px;padding:0 9px}.category-edit-form input[type=number]{width:65px;height:35px;border:1px solid #dce6ef;border-radius:8px;padding:0 7px}.mini-check{font-size:.7rem;color:#62758b;white-space:nowrap}.new-category-form{border-top:1px solid #edf1f5;margin-top:10px}
@media(max-width:760px){.support-layout{padding-top:0}.support-intro{margin-bottom:16px}.wa-chat{border-radius:16px}.wa-messages{height:390px;min-height:390px;max-height:390px}.kb-page-hero{display:block;padding:18px}.kb-page-hero .admin-actions{margin-top:14px}.kb-control-bar{grid-template-columns:1fr 1fr}.kb-search{grid-column:1/-1}.kb-answer-row{grid-template-columns:34px minmax(0,1fr)}.kb-row-actions{grid-column:2}.category-edit-form{grid-template-columns:1fr 58px}.category-edit-form .mini-check,.category-edit-form .text-button{grid-row:2}.category-row{align-items:flex-start}}

/* Logotipo oficial Notapps no Portal e Administração */
.portal-nav .portal-logo {
  width: 190px;
  max-width: calc(100% - 20px);
  height: auto;
  max-height: 58px;
  object-fit: contain;
  object-position: left center;
  filter: none !important;
}
@media (max-width: 760px) {
  .portal-nav .portal-logo { width: 170px; }
}
