:root{color:#1f2937;font-synthesis:none;text-rendering:optimizelegibility;background:#f4f6f8;font-family:Inter,ui-sans-serif,system-ui,sans-serif}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0}.page{place-items:center;min-height:100vh;padding:24px;display:grid}.card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;width:min(760px,100%);padding:40px;box-shadow:0 16px 48px #0f172a14}.eyebrow{letter-spacing:.08em;text-transform:uppercase;margin-bottom:12px;font-size:.8rem;font-weight:700;display:inline-block}h1{margin:0 0 20px;font-size:clamp(2rem,5vw,3rem)}p{line-height:1.6}form{gap:16px;display:grid}label{gap:6px;font-weight:600;display:grid}input,select,textarea{width:100%;font:inherit;background:#fff;border:1px solid #cbd5e1;border-radius:8px;padding:11px 12px}textarea{resize:vertical}button{font:inherit;cursor:pointer;border:0;border-radius:8px;margin-top:12px;padding:11px 16px;font-weight:700}button.link{text-align:left;background:0 0;padding-left:0;font-weight:600}.error,.warning{color:#991b1b}.success{color:#166534;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:8px;padding:12px 16px}button:disabled{cursor:default;opacity:.6}.context-list{gap:10px;display:grid}.tenant-list{gap:12px;margin-top:28px;display:grid}.tenant-row{border:1px solid #e5e7eb;border-radius:10px;justify-content:space-between;align-items:center;gap:16px;padding:16px;display:flex}.tenant-row p{margin:4px 0 0}.actions{flex-wrap:wrap;gap:8px;display:flex}.actions button{margin-top:0}.admin-card{width:min(1040px,100%)}.admin-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px;margin:24px 0;display:grid}.resource-section{border:1px solid #e5e7eb;border-radius:12px;padding:18px}.resource-section h2{margin-top:0}.inline-form{grid-template-columns:1fr auto;align-items:end;margin-bottom:16px}.inline-form button{margin-top:0}.resource-list{gap:8px;display:grid}.resource-row{border-bottom:1px solid #eef2f7;gap:4px;padding:10px 0;display:grid}.resource-row:last-child{border-bottom:0}@media (width<=640px){.inline-form{grid-template-columns:1fr}}.tickets-card{width:min(1100px,100%)}.page-heading{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.page-heading h1{margin-bottom:4px}.ticket-panel{border-top:1px solid #e5e7eb;margin-top:24px;padding-top:20px}.ticket-panel h2{margin:0 0 16px;font-size:1.2rem}.filters-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;display:grid}.ticket-list{gap:10px;display:grid}.ticket-row{text-align:left;background:#fff;border:1px solid #e5e7eb;justify-content:space-between;align-items:center;gap:16px;width:100%;margin:0;padding:14px 16px;display:flex}.ticket-row span:first-child{gap:5px;display:grid}.ticket-row small{color:#64748b;font-weight:500}.ticket-meta{text-align:right;white-space:nowrap;gap:4px;display:grid}.pagination{justify-content:center;align-items:center;gap:12px;margin-top:18px;display:flex}.pagination button{margin-top:0}.pagination button:disabled{cursor:default;opacity:.45}.ticket-detail-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;display:grid}.ticket-detail-grid div{gap:4px;display:grid}.ticket-description{white-space:pre-wrap}.history-list{gap:10px;display:grid}.history-list article{border-bottom:1px solid #eef2f7;justify-content:space-between;gap:16px;padding-bottom:10px;display:flex}@media (width<=640px){.page-heading,.ticket-row,.history-list article{flex-direction:column;align-items:stretch}.ticket-meta{text-align:left}}.ticket-actions{flex-wrap:wrap;gap:10px;display:flex}.ticket-actions button{margin-top:0}.ticket-actions button:disabled,.assignment-form button:disabled{cursor:default;opacity:.5}.action-help{margin:12px 0 0;font-size:.9rem}.assignment-form{grid-template-columns:repeat(2,minmax(0,1fr)) auto;align-items:end}.assignment-form button{margin-top:0}@media (width<=760px){.assignment-form{grid-template-columns:1fr}}.attendance-config-section{margin-bottom:16px}.attendance-config-form{grid-template-columns:minmax(180px,.6fr) minmax(180px,.4fr) auto;align-items:end}.attendance-config-form button{margin-top:0}.checkbox-label{align-items:center;gap:10px;min-height:43px;display:flex}.checkbox-label input[type=checkbox]{width:auto}@media (width<=760px){.attendance-config-form{grid-template-columns:1fr}}.conversation-heading{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.conversation-heading h2{margin-bottom:4px}.conversation-heading p{margin:0}.conversation-heading .link{margin-top:0}.conversation-list{gap:12px;display:grid}.conversation-item{background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:14px 16px}.conversation-item p{white-space:pre-wrap;margin:10px 0 0}.conversation-meta{justify-content:space-between;gap:16px;display:flex}.internal-note{background:#f8fafc;border-style:dashed}.conversation-form{border-top:1px solid #eef2f7;margin-top:18px;padding-top:18px}.conversation-form button{justify-self:start;margin-top:0}.internal-form{border-top-style:dashed}.conversation-warning{margin:18px 0 0}@media (width<=640px){.conversation-heading,.conversation-meta{flex-direction:column;align-items:stretch}}.attachment-list{gap:10px;display:grid}.attachment-row{border-bottom:1px solid #eef2f7;justify-content:space-between;align-items:center;gap:16px;padding:12px 0;display:flex}.attachment-row:last-child{border-bottom:0}.attachment-row>div:first-child{gap:4px;min-width:0;display:grid}.attachment-row strong{overflow-wrap:anywhere}.attachment-form{border-top:1px solid #eef2f7;grid-template-columns:minmax(260px,1fr) minmax(160px,.35fr) auto;align-items:end;margin-top:18px;padding-top:18px}.attachment-form button{margin-top:0}.global-attachment-config{margin:20px 0}@media (width<=760px){.attachment-row{flex-direction:column;align-items:stretch}.attachment-form{grid-template-columns:1fr}}.notifications-card{width:min(920px,100%)}.notifications-heading{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.notifications-heading h1{margin-bottom:4px}.notifications-heading p{margin-top:0}.notification-list{gap:12px;margin-top:24px;display:grid}.notification-row{border:1px solid #e5e7eb;border-radius:10px;justify-content:space-between;align-items:center;gap:20px;padding:16px;display:flex}.notification-row p{margin:6px 0}.notification-unread{border-width:2px}@media (width<=700px){.notifications-heading,.notification-row{flex-direction:column;align-items:stretch}}.setup-guide{background:#eff6ff;border:1px solid #93c5fd;border-radius:16px;margin:24px 0 30px;padding:24px}.setup-guide h2{color:#1e3a8a;margin:0 0 8px}.setup-guide p{color:#334155;margin:0 0 18px}.setup-steps{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;display:grid}.setup-step{text-align:left;color:#172554;background:#fff;border:1px solid #bfdbfe;flex-direction:column;align-items:flex-start;gap:8px;min-height:168px;margin:0;display:flex}.setup-step:hover{background:#f8fbff;border-color:#2563eb}.setup-step strong{font-size:1rem}.setup-step small{color:#475569;font-weight:500;line-height:1.5}.setup-step em{color:#92400e;margin-top:auto;font-size:.8rem;font-style:normal;font-weight:750}.setup-step-number{color:#fff;background:#2563eb;border-radius:50%;place-items:center;width:31px;height:31px;font-weight:800;display:grid}.setup-concluida{background:#f0fdf4;border-color:#86efac}.setup-concluida .setup-step-number{background:#15803d}.setup-concluida em{color:#166534}.setup-pendente{background:#fff7ed;border-color:#fdba74}.setup-pendente .setup-step-number{background:#c2410c}.setup-pendente em{color:#9a3412}@media (width<=640px){.setup-guide{padding:16px}.setup-steps{grid-template-columns:1fr}.setup-step{min-height:0}}:root{color:#172554;background:#eef4fc}body{background:radial-gradient(circle at 10% 0,#dbeafe 0%,#0000 36%),#f1f5f9}.page{padding:clamp(16px,3vw,40px)}.card{border-color:#bfdbfe;border-radius:22px;box-shadow:0 20px 65px #1e40af1a}.eyebrow{color:#1d4ed8}h1{color:#0f2557;letter-spacing:-.035em}h2{color:#1e3a8a}button{color:#fff;background:#2563eb;border:1px solid #0000;margin-top:0;transition:transform .14s,box-shadow .14s,background-color .14s}button:hover:not(:disabled){background:#1d4ed8;box-shadow:0 5px 13px #2563eb33}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:2px;outline:3px solid #93c5fd}button:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}.btn{text-align:center;border-radius:10px;margin:0;padding:11px 16px}.btn-primary{color:#fff;background:#2563eb}.btn-primary:hover:not(:disabled){background:#1d4ed8}.btn-secondary,button.link{color:#1e293b;background:#e2e8f0;border:1px solid #94a3b8}.btn-secondary:hover:not(:disabled),button.link:hover:not(:disabled){background:#cbd5e1}.btn-success{color:#fff;background:#15803d}.btn-success:hover:not(:disabled){background:#166534}.btn-warning{color:#fff;background:#c2410c}.btn-warning:hover:not(:disabled){background:#9a3412}.btn-danger{color:#fff;background:#b91c1c}.btn-danger:hover:not(:disabled){background:#991b1b}button.link{border-radius:10px;padding:10px 15px}.actions,.home-actions{flex-wrap:wrap;align-items:center;gap:12px;margin-top:18px;display:flex}.actions button,.home-actions button{margin:0}.profile-form{background:#eff6ff;border:1px solid #93c5fd;border-radius:14px;margin:18px 0;padding:20px}.profile-form button{justify-self:start}.muted{color:#475569}.resource-section{background:#fff;border-color:#cbd5e1;box-shadow:0 3px 14px #0f172a0a}.resource-section h2{margin-bottom:8px}.resource-row{padding:13px 0}.tenant-row{background:#f8fbff;border-color:#bfdbfe}.notification-row{background:#fff;border-color:#cbd5e1}.notification-unread{background:#eff6ff;border-color:#3b82f6}.notifications-card>button.link{margin-bottom:22px}.error.notice{background:#fef2f2;border:1px solid #fca5a5;border-radius:10px;padding:12px 16px}@media (width<=640px){.card{padding:23px 17px}.home-actions>button{flex:150px}.context-switch-button span:last-child{display:none}.context-switch-button{padding:8px 10px}}.status-badge{border:1px solid #0000;border-radius:99px;align-items:center;padding:3px 10px;font-size:.77rem;font-weight:800;line-height:1.4;display:inline-flex}.status-active{color:#166534;background:#dcfce7;border-color:#86efac}.status-inactive{color:#334155;background:#e2e8f0;border-color:#cbd5e1}.status-pending{color:#92400e;background:#fef3c7;border-color:#fcd34d}.notification-title{color:#1e3a8a;margin-top:9px;font-size:1.06rem;display:block}.selection-editor{background:#eff6ff;border:1px solid #93c5fd;border-radius:14px;grid-column:1/-1;margin:14px 0;padding:18px}.selection-editor h3{color:#1e3a8a;margin:0}.selection-editor p{margin:0}.selection-options{gap:8px;max-height:350px;display:grid;overflow-y:auto}.selection-option{cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:10px;align-items:flex-start;gap:12px;padding:10px 12px;display:flex}.selection-option:hover{border-color:#3b82f6}.selection-option input{flex-shrink:0;width:20px;height:20px;margin:2px 0 0}.selection-option span{gap:3px;display:grid}.selection-option small{color:#475569;font-weight:500}.selection-editor .actions{margin-top:4px}.empty-state{text-align:center;background:#f8fafc;border-radius:10px;padding:16px}:root{--navy:#102a66;--blue:#2563eb;--blue-700:#1d4ed8;--line:#d7e4f5;--panel:#fff;--soft:#f7faff;--muted:#66789a}body{color:#14213d;background:#f5f8fc}.auth-page{background:radial-gradient(circle at 8% 8%,#eaf3ff 0 15%,#0000 16%),radial-gradient(circle at 92% 12%,#eef6ff 0 18%,#0000 19%),#f8fbff;place-items:center;min-height:100vh;padding:32px;display:grid}.auth-card{background:#fff;border:1px solid #cfe0f7;border-radius:26px;grid-template-columns:.92fr 1.08fr;width:min(1160px,100%);min-height:700px;display:grid;overflow:hidden;box-shadow:0 24px 70px #2563eb1a}.auth-brand-panel{background:linear-gradient(145deg,#f7fbff,#eef6ff);flex-direction:column;gap:30px;padding:72px 58px;display:flex}.auth-brand{color:var(--navy);align-items:center;gap:16px;font-size:1.75rem;display:flex}.brand-mark{color:#fff;background:linear-gradient(145deg,#3b82f6,#1d4ed8);border-radius:14px;place-items:center;width:48px;height:48px;display:grid;box-shadow:0 10px 24px #2563eb3d}.auth-brand-panel>p{color:#536789;max-width:420px;margin:0;font-size:1.15rem}.auth-benefits{gap:24px;margin-top:8px;display:grid}.auth-benefits>div{grid-template-columns:52px 1fr;align-items:start;gap:16px;display:grid}.auth-benefits>div>span{width:52px;height:52px;color:var(--blue);background:#e1edff;border-radius:50%;place-items:center;font-size:1.25rem;display:grid}.auth-benefits p{color:#66789a;margin:0}.auth-benefits strong{color:var(--navy);margin-bottom:4px;display:block}.auth-brand-panel>small{color:#6b7d9e;margin-top:auto;line-height:1.55}.auth-brand-panel>small strong{color:var(--navy);display:block}.auth-form-panel{align-self:center;padding:82px 72px}.auth-form-panel h1{margin:0 0 8px;font-size:3rem}.auth-form-panel>.muted{margin:0 0 36px;font-size:1.08rem}.input-with-icon{position:relative}.input-with-icon>span{color:#60749b;position:absolute;top:50%;left:16px;transform:translateY(-50%)}.input-with-icon input{background:#fbfdff;border-radius:12px;min-height:54px;padding:15px 16px 15px 46px}.auth-submit{border-radius:12px;justify-content:center;align-items:center;gap:12px;width:100%;min-height:54px;margin-top:6px;display:flex}.auth-divider{color:#7a8aa8;align-items:center;gap:16px;margin:28px 0;font-weight:700;display:flex}.auth-divider:before,.auth-divider:after{content:"";background:#d9e3f0;flex:1;height:1px}.auth-forgot{width:68%;color:var(--blue-700);background:#fff;border:1px solid #cbd8e8;border-radius:11px;margin:0 auto;display:block}.auth-forgot:hover:not(:disabled){color:var(--navy);background:#f5f9ff}.auth-footer{color:#7b8ca8;margin-top:24px}.portal-shell{background:#f8fbff;grid-template:"top top"72px"side content"minmax(0,1fr)/240px minmax(0,1fr);min-height:100vh;display:grid}.portal-topbar{z-index:20;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#fffffff5;border-bottom:1px solid #e1e9f4;grid-area:top;justify-content:space-between;align-items:center;padding:0 30px;display:flex;position:sticky;top:0}.brand-button{color:var(--navy);background:0 0;border:0;align-items:center;gap:12px;padding:0;font-size:1.02rem;display:flex}.brand-button:hover:not(:disabled){box-shadow:none;background:0 0}.brand-button .brand-mark{border-radius:11px;width:38px;height:38px;font-size:.9rem}.portal-user-summary{color:var(--navy);align-items:center;gap:12px;display:flex}.top-notification{width:38px;height:38px;color:var(--navy);background:#fff;border:1px solid #dce6f3;border-radius:50%;padding:0}.topbar-divider{background:#e1e9f4;width:1px;height:34px}.context-switch-button{color:#31527f;box-shadow:none;background:#fff;border:1px solid #d7e3f2;border-radius:10px;align-items:center;gap:7px;margin:0;padding:8px 11px;font-size:.86rem;font-weight:700;display:flex}.context-switch-button:hover:not(:disabled){color:#1749b6;box-shadow:none;background:#f5f9ff;transform:none}.avatar-small{background:var(--blue);color:#fff;border-radius:50%;place-items:center;width:40px;height:40px;font-weight:800;display:grid}.top-user-text{gap:2px;display:grid}.top-user-text small{color:#7585a1}.portal-sidebar{background:#fbfdff;border-right:1px solid #e1e9f4;grid-area:side;padding:24px 12px}.portal-sidebar nav{gap:8px;display:grid}.sidebar-item{color:#425579;text-align:left;background:0 0;border:0;border-radius:10px;align-items:center;gap:12px;width:100%;min-height:44px;margin:0;padding:10px 14px;display:flex}.sidebar-item:hover:not(:disabled),.sidebar-active{color:#1557d8;box-shadow:none;background:#eaf2ff}.sidebar-item>span:first-child{text-align:center;width:24px;font-size:1.05rem}.sidebar-submenu{border-left:2px solid #e0e8f3;gap:2px;margin:4px 0 6px 24px;padding-left:14px;display:grid}.sidebar-submenu button{color:#66789a;text-align:left;background:0 0;border:0;border-radius:8px;margin:0;padding:9px 10px;font-weight:600}.sidebar-submenu button:hover:not(:disabled){color:#164bb5;box-shadow:none;background:#eef4ff}.sidebar-help{margin-top:14px}.portal-content{grid-area:content;min-width:0;padding:34px clamp(24px,3vw,44px) 48px}.home-dashboard{width:min(1120px,100%);margin:0 auto}.home-dashboard>h1{margin-bottom:10px;font-size:clamp(2.5rem,5vw,4.6rem);line-height:1.02}.home-intro{color:#66789a;max-width:760px;margin:0 0 32px;font-size:1.05rem}.profile-summary-card{background:#fff;border:1px solid #d6e3f3;border-radius:18px;grid-template-columns:126px minmax(0,1fr) auto;align-items:start;gap:34px;padding:34px;display:grid;box-shadow:0 8px 24px #1f468c0d}.profile-avatar{color:#fff;background:linear-gradient(145deg,#3b82f6,#1d4ed8);border:8px solid #edf5ff;border-radius:50%;place-items:center;width:112px;height:112px;font-size:2rem;font-weight:800;display:grid}.profile-summary-data{gap:22px;display:grid}.profile-summary-data>div{gap:5px;display:grid}.profile-summary-data span{color:#70809d;font-size:.9rem}.profile-summary-data strong,.profile-summary-data p{color:var(--navy);margin:0;font-size:1.05rem}.context-chip{background:#e8f1ff;border-radius:999px;width:max-content;padding:8px 14px;color:#1756cb!important}.profile-edit-button{align-self:start}.home-action-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0;display:grid}.home-action-card{color:#1749b6;text-align:left;background:#fff;border:1px solid #d9e4f2;border-radius:12px;grid-template-columns:34px 1fr auto;align-items:center;gap:10px;min-height:64px;margin:0;padding:12px 14px;display:grid;box-shadow:0 2px 8px #1f468c08}.home-action-card:hover:not(:disabled){color:#0d3f9c;background:#f8fbff;transform:translateY(-1px);box-shadow:0 5px 14px #1f468c12}.home-action-card.primary{color:#fff;background:linear-gradient(145deg,#3479f3,#2867dc);border-color:#3473e8}.home-action-card.danger{color:#b42323;background:#fff;border-color:#ecd7d7}.action-icon{width:32px;height:32px;color:inherit;background:#edf4ff;border-radius:50%;place-items:center;font-size:1rem;display:grid}.primary .action-icon{background:#ffffff24}.danger .action-icon{background:#fee7e7}.home-help-card{background:linear-gradient(135deg,#edf5ff,#f7fbff);border-radius:18px;grid-template-columns:70px 1fr 180px;align-items:center;gap:18px;min-height:180px;padding:28px 34px;display:grid;overflow:hidden}.help-icon{color:#2861ce;background:#dceaff;border-radius:50%;place-items:center;width:58px;height:58px;font-size:1.2rem;display:grid}.home-help-card h2{margin:2px 0 5px}.home-help-card p{color:#66789a;margin:0}.help-art{color:#fff;letter-spacing:8px;background:linear-gradient(145deg,#3b82f6,#1d4ed8);border-radius:28px 28px 28px 8px;justify-self:end;place-items:center;width:140px;height:90px;font-size:2rem;display:grid}.notifications-view{background:#fff;border:1px solid #d6e3f3;border-radius:18px;width:min(1120px,100%);min-height:700px;margin:0 auto;padding:34px}.notifications-toolbar{justify-content:space-between;align-items:flex-start;gap:24px;display:flex}.notifications-toolbar h1{margin:0 0 4px;font-size:3rem}.notifications-toolbar p{margin:0}.notification-filter{white-space:nowrap;align-items:center;gap:10px;margin-top:40px;display:flex}.notification-filter input{width:18px;height:18px}.notification-empty-state{text-align:center;color:#637594;align-content:center;place-items:center;gap:14px;min-height:500px;display:grid}.empty-bell{color:#6ba0f7;background:#eff6ff;border-radius:50%;place-items:center;width:190px;height:190px;font-size:5rem;display:grid}.notification-empty-state h2{color:var(--navy);margin:8px 0 0;font-size:1.6rem}.notification-empty-state p{max-width:620px;margin:0}.notification-empty-state button{margin-top:8px}.admin-view{width:min(1180px,100%);margin:0 auto}.admin-page-heading{justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:24px;display:flex}.admin-page-heading h1{margin:8px 0 4px;font-size:clamp(2.2rem,4vw,3.2rem)}.admin-page-heading p{margin:0}.admin-breadcrumb{color:#3270da;font-size:.88rem;font-weight:700}.admin-breadcrumb span{color:#93a4bd;margin:0 5px}.admin-back-button{white-space:nowrap;margin-top:24px}.admin-view .setup-guide{margin:0 0 18px;padding:22px}.admin-view .attendance-config-section{grid-template-columns:minmax(280px,1fr) auto;align-items:center;gap:20px;margin:0 0 18px;padding:20px 22px;display:grid}.admin-view .attendance-config-section>h2{margin:0 0 4px}.admin-view .attendance-config-section>p{margin:0}.admin-view .attendance-config-form{grid-area:1/2/span 2;grid-template-columns:auto 150px auto}.admin-grid{grid-template-columns:repeat(6,minmax(0,1fr));align-items:stretch;gap:16px;margin:0}.admin-grid>.resource-section{border-radius:16px;grid-column:span 2;min-width:0;padding:20px}.admin-grid>.resource-section:nth-last-child(-n+2){grid-column:span 3}.resource-section{border-color:#d8e4f2}.resource-section h2{margin:0 0 4px;font-size:1.18rem}.section-note{color:#6d7f9d;margin:0 0 16px;font-size:.9rem;line-height:1.45}.inline-form,.invite-form{background:#f7faff;border:1px solid #e1eaf5;border-radius:12px;padding:14px}.inline-form{grid-template-columns:minmax(0,1fr) auto}.invite-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.invite-form button{grid-column:1/-1;justify-self:end}.resource-list{gap:0}.resource-row{gap:8px;padding:13px 0}.resource-row>.actions{justify-content:flex-end;margin-top:6px}.resource-title{justify-content:space-between;align-items:center;gap:12px;display:flex}.pending-invites{background:#fffbeb;border:1px solid #fde68a;border-radius:12px;margin:14px 0;padding:14px}.editor-inline,.role-fields{background:#f8fbff;border:1px solid #dce8f6;border-radius:12px;margin-top:12px;padding:14px}.selection-editor{margin-top:12px}.status-badge{flex:none}@media (width<=980px){.portal-shell{grid-template:"top""side""content"1fr/1fr}.portal-sidebar{border-bottom:1px solid #e1e9f4;border-right:0;padding:10px 14px;overflow-x:auto}.portal-sidebar nav{gap:8px;display:flex}.sidebar-item{white-space:nowrap;width:auto}.sidebar-submenu{display:none}.profile-summary-card{grid-template-columns:90px 1fr}.profile-avatar{width:84px;height:84px}.profile-edit-button{grid-column:1/-1;justify-self:start}.home-action-grid,.admin-grid{grid-template-columns:1fr 1fr}.admin-grid>.resource-section,.admin-grid>.resource-section:nth-last-child(-n+2){grid-column:span 1}}@media (width<=720px){.auth-page{padding:14px}.auth-card{grid-template-columns:1fr;min-height:auto}.auth-brand-panel{display:none}.auth-form-panel{padding:36px 24px}.auth-forgot{width:100%}.portal-topbar{padding:0 16px}.top-user-text{display:none}.portal-content{padding:24px 14px 36px}.home-dashboard>h1{font-size:2.45rem}.profile-summary-card{grid-template-columns:1fr;padding:24px}.profile-avatar{width:76px;height:76px}.home-action-grid{grid-template-columns:1fr}.home-help-card{grid-template-columns:56px 1fr}.help-art{display:none}.notifications-view{min-height:600px;padding:24px 18px}.notifications-toolbar,.admin-page-heading{flex-direction:column}.notification-filter,.admin-back-button{margin-top:0}.admin-view .attendance-config-section{grid-template-columns:1fr}.admin-view .attendance-config-form{grid-area:auto/1;grid-template-columns:1fr}.admin-grid,.invite-form{grid-template-columns:1fr}.invite-form button{grid-column:1;justify-self:stretch}}.admin-grid>.resource-section{flex-direction:column;align-self:stretch;min-width:0;height:100%;display:flex}.admin-grid>:is(#empresas,#solucoes,#equipes){min-height:320px}.admin-grid>:is(#empresas,#solucoes,#equipes)>.section-note{min-height:2.85em}.admin-grid>:is(#empresas,#solucoes,#equipes)>.inline-form{grid-template-columns:minmax(0,1fr) auto;align-items:end;min-height:104px}.admin-grid>:is(#empresas,#solucoes,#equipes)>.resource-list,.admin-grid>:is(#empresas,#solucoes,#equipes)>.resource-list>.resource-row:last-child{flex-direction:column;flex:1;display:flex}.admin-grid>:is(#empresas,#solucoes,#equipes)>.resource-list>.resource-row:last-child>.actions{margin-top:auto;padding-top:14px}.admin-grid>:is(#usuarios,#papeis){min-height:450px}.admin-grid>:is(#usuarios,#papeis)>.section-note{min-height:3em}.admin-grid>:is(#usuarios,#papeis)>:is(.invite-form,.inline-form){min-height:205px;margin-bottom:16px}.admin-grid>#usuarios>.invite-form{align-content:space-between}.admin-grid>#papeis>.inline-form{grid-template-rows:auto 1fr;grid-template-columns:minmax(0,1fr) minmax(130px,.65fr)}.admin-grid>#papeis>.inline-form>button{grid-column:1/-1;align-self:end}.admin-grid>#usuarios>.resource-list,.admin-grid>#usuarios>.resource-list>.resource-row:last-child{flex-direction:column;flex:1;display:flex}.admin-grid>#usuarios>.resource-list>.resource-row:last-child>.actions{margin-top:auto;padding-top:14px}.admin-grid>#papeis>.resource-list{flex:1}.admin-grid>#papeis .resource-row{grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px 12px;display:grid}.admin-grid>#papeis .resource-row>.resource-title{flex-wrap:wrap;grid-area:1/1;justify-content:flex-start}.admin-grid>#papeis .resource-row>.muted{grid-area:2/1;margin:0}.admin-grid>#papeis .resource-row>.actions{grid-area:1/2/span 2;align-self:center;margin:0}.admin-grid>#papeis .resource-row>:is(.role-fields,.selection-editor){grid-column:1/-1}@media (width<=720px){.admin-grid>:is(#empresas,#solucoes,#equipes,#usuarios,#papeis),.admin-grid>:is(#empresas,#solucoes,#equipes,#usuarios,#papeis)>.section-note,.admin-grid>:is(#usuarios,#papeis)>:is(.invite-form,.inline-form){min-height:0}.admin-grid>#papeis .resource-row{grid-template-columns:minmax(0,1fr)}.admin-grid>#papeis .resource-row>.actions{grid-area:auto/1;justify-content:flex-end;margin-top:8px}}.tickets-workspace,.ticket-detail-workspace,.help-page{width:100%;max-width:1480px;margin:0 auto}.workspace-header{justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:24px;display:flex}.workspace-header h1{margin:0 0 8px}.workspace-header p{color:#5c6f91;max-width:760px;margin:0;font-size:1.04rem}.ticket-surface,.ticket-detail-hero{background:#fff;border:1px solid #d8e4f3;border-radius:18px;margin-bottom:20px;padding:24px;box-shadow:0 5px 20px #1f407a0d}.active-ticket-banner{background:linear-gradient(135deg,#eff6ff,#f8fbff);border:1px solid #93c5fd;border-radius:18px;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:18px;margin-bottom:20px;padding:20px 22px;display:grid}.active-ticket-icon{color:#fff;background:#2563eb;border-radius:50%;place-items:center;width:48px;height:48px;font-size:1.35rem;font-weight:900;display:grid}.active-ticket-copy .eyebrow{margin-bottom:5px}.active-ticket-copy h2{margin:0 0 5px;font-size:1.2rem}.active-ticket-copy p{color:#536789;margin:0}.surface-heading{grid-template-columns:42px minmax(0,1fr);align-items:start;gap:14px;margin-bottom:20px;display:grid}.surface-heading.compact{grid-template-columns:1fr;margin-bottom:16px}.surface-heading h2{margin:0 0 5px;font-size:1.22rem}.surface-heading p{color:#66789a;margin:0}.surface-number{color:#1756cb;background:#e7f0ff;border-radius:50%;place-items:center;width:36px;height:36px;font-weight:850;display:grid}.friendly-ticket-form{gap:18px}.friendly-ticket-form label{color:#183567;gap:7px}.friendly-ticket-form label small{color:#71809a;font-weight:500;line-height:1.4}.friendly-ticket-form input,.friendly-ticket-form select,.friendly-ticket-form textarea{background:#fbfdff;border-color:#c9d8ea;border-radius:11px;min-height:48px}.friendly-ticket-form textarea{min-height:132px}.ticket-submit{justify-self:start;min-width:210px;min-height:50px}.ticket-empty-warning{color:#784b00;background:#fff9ed;border:1px solid #f4cf8b;border-radius:12px;padding:16px 18px}.ticket-empty-warning p{color:#805d22;margin:5px 0 0}.ticket-filter-box{background:#f9fbfe;border:1px solid #d8e4f3;border-radius:12px;margin:4px 0 20px}.ticket-filter-box summary{cursor:pointer;color:#31527f;padding:13px 16px;font-weight:750}.ticket-filter-box[open] summary{border-bottom:1px solid #e2eaf4}.ticket-filter-box .filters-grid{padding:16px}.ticket-results-heading{justify-content:space-between;align-items:center;gap:14px;margin:8px 0 12px;display:flex}.ticket-results-heading h3{color:#17366e;margin:0}.filter-active-label{color:#1756cb;background:#eaf2ff;border-radius:999px;padding:5px 10px;font-size:.8rem;font-weight:750}.ticket-row-card{background:#fff;border:1px solid #d9e3f0;border-radius:14px;overflow:hidden}.ticket-row-card.ticket-row-active{border-left:5px solid #2563eb;box-shadow:0 4px 14px #2563eb0f}.ticket-row-main{color:#162b52;text-align:left;background:#fff;border:0;border-radius:0;justify-content:space-between;align-items:center;gap:20px;width:100%;min-height:108px;margin:0;padding:16px 18px;display:flex}.ticket-row-main:hover:not(:disabled){color:#102a66;box-shadow:none;background:#f8fbff;transform:none}.ticket-row-copy{gap:4px;min-width:0;display:grid}.ticket-row-copy strong{overflow-wrap:anywhere;font-size:1.05rem}.ticket-row-copy small{color:#6b7c98;font-weight:500}.ticket-protocol{color:#1d5ed6;letter-spacing:.03em;font-size:.78rem;font-weight:850}.ticket-row-status{color:#637592;justify-items:end;gap:7px;min-width:150px;display:grid}.ticket-status{border-radius:999px;align-items:center;width:max-content;padding:5px 10px;font-size:.78rem;font-weight:850;display:inline-flex}.status-aberto{color:#1d4ed8;background:#dbeafe}.status-em_analise{color:#6d28d9;background:#ede9fe}.status-em_atendimento{color:#166534;background:#dcfce7}.status-aguardando_retorno{color:#92400e;background:#fef3c7}.status-resolvido{color:#166534;background:#dcfce7}.status-cancelado{color:#991b1b;background:#fee2e2}.status-encerrado{color:#475569;background:#e2e8f0}.ticket-open-link{color:#1756cb;font-size:.88rem;font-weight:800}.ticket-detail-workspace{gap:0;display:grid}.detail-back-button{width:max-content;margin-bottom:18px}.ticket-detail-hero{padding:28px}.ticket-detail-title{margin-bottom:24px}.detail-title-line{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:8px;display:flex}.ticket-detail-title h1{margin:0 0 7px;font-size:clamp(2rem,4vw,3rem)}.ticket-detail-title p{color:#5d6f8d;margin:0;font-size:1.04rem}.ticket-detail-grid{border-top:1px solid #e6edf6;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));padding-top:20px}.ticket-detail-grid div{background:#f8fbff;border-radius:10px;min-height:62px;padding:10px 12px}.ticket-detail-grid strong{color:#17366e;overflow-wrap:anywhere}.ticket-actions-surface{border-color:#e2e8f0}.ticket-actions{margin-top:0}.ticket-actions button:not(.btn-danger){color:#fff;background:#2563eb}.ticket-description{color:#243b64;background:#f8fbff;border-radius:12px;margin:0;padding:16px;line-height:1.7}.ticket-detail-columns{grid-template-columns:minmax(0,1.35fr) minmax(340px,.65fr);align-items:start;gap:20px;display:grid}.ticket-detail-columns .ticket-surface{margin-bottom:20px}.conversation-heading{margin-bottom:14px}.conversation-heading .link{white-space:nowrap;padding:8px 11px;font-size:.86rem}.conversation-form textarea{min-height:112px}.attachment-form{grid-template-columns:1fr}.attachment-form button{justify-self:start}.history-list article{align-items:center;padding:11px 0}.help-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.help-card{background:#fff;border:1px solid #d8e4f3;border-radius:16px;grid-template-columns:44px minmax(0,1fr);gap:14px;padding:22px;display:grid}.help-card h2{margin:0 0 6px;font-size:1.1rem}.help-card p{color:#66789a;margin:0}.help-step{color:#1756cb;background:#e8f1ff;border-radius:50%;place-items:center;width:36px;height:36px;font-weight:850;display:grid}.help-status-guide{background:#fff;border:1px solid #d8e4f3;border-radius:16px;margin-top:18px;padding:24px}.help-status-guide h2{margin-top:0}.help-status-list{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px 18px;display:grid}.help-status-list p{color:#5f718e;margin:0}@media (width<=980px){.ticket-detail-columns{grid-template-columns:1fr}}@media (width<=720px){.workspace-header,.active-ticket-banner,.ticket-row-main{flex-direction:column;grid-template-columns:1fr;align-items:stretch}.active-ticket-banner{display:flex}.active-ticket-icon{flex:none}.ticket-row-status{justify-items:start;min-width:0}.help-grid{grid-template-columns:1fr}.ticket-surface,.ticket-detail-hero{padding:18px}.ticket-submit{width:100%}}.inline-feedback{width:100%;margin:6px 0 0;line-height:1.45}.admin-action-form .inline-feedback,.invite-form .inline-feedback,.attendance-config-form .inline-feedback{grid-column:1/-1}.selection-editor .inline-feedback,.editor-inline .inline-feedback{margin-top:2px}.admin-accordion-list{gap:12px;margin-top:18px;display:grid}.admin-accordion-section.resource-section{background:#fff;border-radius:16px;min-height:0;padding:0;overflow:hidden}.admin-accordion-trigger{color:#17366e;text-align:left;width:100%;box-shadow:none;background:#fff;border:0;border-radius:0;justify-content:space-between;align-items:center;gap:18px;margin:0;padding:17px 20px;display:flex}.admin-accordion-trigger:hover:not(:disabled){box-shadow:none;color:#17366e;background:#f8fbff;transform:none}.admin-accordion-open .admin-accordion-trigger{background:#f3f7fd;border-bottom:1px solid #dbe6f3}.admin-accordion-copy{gap:4px;min-width:0;display:grid}.admin-accordion-copy strong{font-size:1.08rem}.admin-accordion-copy small{color:#687b9a;font-size:.88rem;font-weight:550}.admin-accordion-chevron{color:#1756cb;background:#e8f1ff;border-radius:50%;flex:0 0 34px;place-items:center;width:34px;height:34px;font-size:1.25rem;font-weight:800;display:grid}.admin-accordion-content{padding:20px}.admin-accordion-content>.section-note:first-child{margin-top:0}.admin-accordion-section{scroll-margin-top:88px}.admin-view .attendance-config-section{box-shadow:none;background:0 0;border:0;margin:0;padding:0}.setup-step-open{outline-offset:2px;outline:2px solid #2563eb}@media (width<=720px){.admin-accordion-trigger{padding:15px 16px}.admin-accordion-content{padding:16px}}
