/* Tema oficial SEU/Palato. Layout próprio inspirado nas referências aprovadas. */
/* Visão geral: mesmos destinos e permissões da navegação. */
.home-shortcuts{margin:0 0 28px}.home-shortcuts>.section-label{margin-bottom:12px}.home-shortcuts>.section-label h2{font-size:14px;color:var(--muted)}.home-shortcut-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.home-shortcut-grid .home-shortcut{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-width:0;min-height:190px;padding:22px 30px 22px 22px;border:1px solid var(--line);border-radius:var(--radius);background:#fff;color:var(--ink);text-decoration:none;white-space:normal}.home-shortcut:hover{border-color:var(--accent)}.home-shortcut:focus-visible{outline:2px solid var(--accent);outline-offset:4px}.home-shortcut-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:9px;background:var(--paper);color:var(--accent)}.home-shortcut-icon .ui-icon{width:28px;height:28px}.home-shortcut strong{font-size:19px;line-height:1.3}.home-shortcut-description{font-size:14px;line-height:1.5;color:var(--muted);padding-right:8px}.home-shortcut-arrow{position:absolute;right:14px;top:55%;font-size:26px;color:var(--muted)}.home-overview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-bottom:24px;align-items:stretch}.home-overview-grid>.card{min-width:0;margin:0;padding:22px}.home-overview-card>.section-label{border-bottom:1px solid var(--line);padding-bottom:16px;margin-bottom:12px}.home-overview-card h2{font-size:22px}.home-overview-card h3{font-size:12px;color:var(--muted);margin:16px 0 8px}.home-overview-card h3 span{font-weight:400}.home-overview-card .agenda-entry{min-width:0}.home-pending{gap:12px;align-items:center}.home-pending>div{flex:1;min-width:0;overflow-wrap:anywhere}.home-pending small{display:block;color:var(--muted);margin-top:5px}.home-pending>.badge{flex-shrink:0;font-size:11px}.home-overview-card .protocol-stats{margin-top:20px}.home-overview-card .protocol-stats strong{font-size:20px}.home-secondary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:start}.home-secondary-grid>.card{min-width:0;margin:0}.home-secondary-grid .my-memberships{padding:20px}.shell-nav>.shell-label:first-child{margin-top:0}
@media(max-width:1200px){.home-shortcut-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-shortcut-grid .home-shortcut{min-height:175px}.home-secondary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-pending{flex-wrap:wrap}.home-pending>.badge{margin-left:32px}}
@media(max-width:900px){.home-overview-grid{grid-template-columns:1fr}}
@media(max-width:520px){.home-shortcut-grid,.home-secondary-grid{grid-template-columns:1fr;gap:14px}.home-shortcut-grid .home-shortcut{min-height:150px}.home-overview-grid>.card{padding:18px}.home-overview-card h2{font-size:19px}}
.tenant-theme-bliti {
  --accent:#6410C9;
  --accent-dark:#4E0CA1;
  --brand-highlight:#FFD900;
}
.tenant-theme-inmeq {
  --accent:#0b2f6b;
  --accent-dark:#082451;
  --brand-highlight:#d3e3ff;
  --paper:#f3f5f8;
  --line:#e9eef5;
}
.tenant-theme-inmeq .shell-sidebar { background:#0b2f6b; }
.tenant-theme-inmeq .shell-tenant {
  background:transparent;
  border-color:#5473a2;
  padding:10px;
}
.tenant-theme-inmeq .shell-tenant:hover { border-color:#d3e3ff; }
.tenant-theme-inmeq .shell-tenant img { width:156px; max-width:100%; height:56px; }
.tenant-theme-inmeq .shell-nav a[aria-current] { border-color:#d3e3ff; }
.tenant-logo-preview { display:block; width:160px; max-width:100%; height:80px; object-fit:contain; object-position:left center; }
.shell-tenant .tenant-brand-name { color:#fff; font-weight:700; }
:root{--accent:#e60032;--accent-dark:#bc0029;--ink:#202124;--muted:#696b70;--line:#e7e7e9;--paper:#f5f5f6;--radius:11px;--shell-width:244px}
[hidden]{display:none!important}.ui-icon{width:20px;height:20px;flex-shrink:0}body{font-size:14px}button,a.button{border-radius:7px;font-size:12px;padding:10px 16px}button.primary,.button.primary{background:var(--accent)}.card{box-shadow:0 2px 3px #00000002}.workspace-shell .page{margin-left:var(--shell-width);max-width:1800px;padding:32px 38px;min-height:calc(100vh - 145px)}
.shell-sidebar{position:fixed;inset:0 auto 0 0;width:var(--shell-width);background:#111214;color:#fff;padding:30px 18px 22px;display:flex;flex-direction:column;overflow-y:auto;z-index:5}.shell-brand{display:flex;gap:12px;align-items:center;text-decoration:none;color:#fff;padding:0 8px 27px}.shell-monogram{background:var(--accent);border-radius:8px;padding:11px 8px;font-weight:800;font-size:18px;letter-spacing:-1px}.shell-brand strong{display:block;font-size:12px}.shell-brand small{display:block;color:#aaaeb5;font-size:9px;line-height:1.6;margin-top:4px}.shell-tenant{border:1px solid #343538;background:#1b1c1f;border-radius:8px;padding:17px;margin-bottom:25px}.shell-tenant img{display:block;width:103px;height:53px;object-fit:contain}.shell-nav{display:flex;flex-direction:column;gap:5px;padding:0;border:0;background:none;flex-wrap:nowrap}.shell-label{color:#989ba3;font-size:9px;font-weight:650;letter-spacing:1.4px;margin:0 12px 8px}.shell-label.section-gap{margin-top:22px}.shell-nav a{display:flex;align-items:center;gap:12px;color:#b8bbc2;padding:11px 12px;border-radius:7px;font-size:13px;font-weight:400}.shell-nav a:hover{background:#242529;color:#fff}.shell-nav a[aria-current]{background:#292a2e;border-left:2px solid var(--accent);padding-left:10px;color:white}.shell-nav a[aria-current] .ui-icon{color:var(--brand-highlight, #ff3157)}.shell-signature{margin-top:auto;padding:24px 12px 0;color:#aaaeb5;font-size:10px}.shell-signature strong{color:white}
.shell-header{margin-left:var(--shell-width);height:78px;background:#fff;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 38px;gap:20px}.shell-breadcrumb{font-size:12px;font-weight:600}.shell-account{display:flex;align-items:center;gap:12px;font-size:12px;min-width:0}.shell-account>span:nth-child(2){max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shell-account form{margin:0}.shell-avatar{width:35px;height:35px;border-radius:9px;background:#ededee;display:grid;place-items:center;font-size:12px;font-weight:600}.workspace-shell>.shell-footer,.workspace-shell>.demo-banner{margin-left:var(--shell-width)}.shell-footer{padding:18px 38px}.auth-shell .top{border-bottom:3px solid var(--accent)}.eyebrow{color:#74767d;font-size:9px;letter-spacing:1.5px}h1{font-size:30px}.workspace-shell .page h1{margin-bottom:9px}
.org-heading{margin-bottom:25px}.org-heading p{font-size:13px;margin:0}.org-overview{background:#fff;border:1px solid var(--line);border-radius:11px;padding:24px 26px;display:grid;grid-template-columns:1.2fr 1fr;gap:24px;align-items:center;margin-bottom:25px}.org-kicker{font-size:9px;font-weight:700;letter-spacing:1.4px;color:#74767b;margin-bottom:10px}.org-overview h2{font-size:19px;font-weight:600;margin-bottom:7px}.org-overview p{font-size:12px;color:var(--muted);margin:0;max-width:440px}.org-flow{display:flex;justify-content:flex-end;align-items:center;gap:12px}.org-flow span{display:flex;flex-direction:column;align-items:center;gap:9px;font-size:10px;color:#5b5d63}.org-flow .ui-icon{width:42px;height:42px;padding:10px;border:1px solid var(--line);border-radius:10px;background:#fafafa;color:#333}.org-flow span:first-child .ui-icon{background:#1c1d20;color:white;border-color:#1c1d20}.org-flow b{flex:0 0 12px;height:1px;background:#d6d7da;font-size:0;margin-bottom:22px}.org-navigation{display:flex;gap:28px;border-bottom:1px solid #ddd;margin-bottom:22px;padding-top:7px;flex-wrap:wrap}.org-tab-wrap{position:relative;padding-left:12px}.org-tab{display:block;padding-bottom:15px;text-decoration:none;font-size:13px;color:#696b70;border-bottom:2px solid transparent}.org-tab[aria-current]{color:#202124;border-bottom-color:var(--accent);font-weight:600}.org-tab>span{font-size:10px;background:#e9e9ec;border-radius:4px;padding:2px 6px;margin-left:6px}.org-help{position:absolute;left:0;top:-4px}.org-help summary{font:italic 500 10px/16px Georgia,serif;list-style:none;cursor:pointer;color:#777;width:12px;text-align:center}.org-help summary::-webkit-details-marker{display:none}.org-help summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.org-help>div{position:absolute;left:0;top:24px;width:280px;max-width:calc(100vw - 40px);padding:18px;background:white;border:1px solid var(--line);border-top:3px solid var(--accent);border-radius:9px;box-shadow:0 12px 32px #0002;z-index:10}.org-help p{font-size:12px;line-height:1.8;margin:8px 0 0;color:var(--muted)}
.org-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:18px;margin-bottom:24px}.org-metric{background:#fff;border:1px solid var(--line);border-radius:10px;padding:20px;display:flex;justify-content:space-between;gap:10px}.org-metric span{font-size:11px;color:var(--muted)}.org-metric strong{display:block;font-size:29px;font-weight:600;line-height:1.2;margin:12px 0 7px}.org-metric small{font-size:10px}.org-metric>.ui-icon{width:35px;height:35px;padding:8px;border-radius:8px;background:#f5f5f6;color:#777}.org-panel{background:white;border:1px solid var(--line);border-radius:11px;margin-bottom:24px;scroll-margin-top:18px}.org-panel-heading{padding:23px 24px 0;display:flex;align-items:center;justify-content:space-between;gap:22px}.org-panel-heading h2{font-size:15px;margin-bottom:5px}.org-panel-heading p{font-size:11px;color:var(--muted);max-width:580px;margin:0}.org-panel-heading .button{white-space:nowrap;text-decoration:none}.org-toolbar{display:flex;gap:15px;padding:20px 24px;align-items:center;justify-content:space-between}.org-search{display:flex;align-items:center;gap:9px;border:1px solid var(--line);background:#fafafa;border-radius:7px;max-width:340px;flex:1;padding:0 12px;color:#85878b}.org-search .ui-icon{width:16px}.org-search input{border:0;background:transparent;margin:0;padding:10px 0;font-size:12px}.org-filter{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--muted);font-weight:400}.org-filter select{margin:0;width:auto;padding:9px;font-size:12px;border-color:var(--line)}.org-table-scroll{overflow-x:auto}.org-panel table{white-space:nowrap}.org-panel thead{background:#fafafa;border-top:1px solid var(--line)}.org-panel th{font-size:9px;text-transform:uppercase;letter-spacing:.5px;padding:13px 24px}.org-panel td{padding:19px 24px;vertical-align:middle;font-size:12px}.org-panel tbody tr:last-child td{border-bottom:0}.org-panel tbody tr:hover{background:#fafafa}.org-entity{display:flex;align-items:center;gap:12px}.org-entity strong{font-size:13px;font-weight:600}.org-entity small{display:block;font-size:10px;margin-top:4px}.org-entity-icon{width:38px;height:38px;background:#f6f6f7;border-radius:9px;color:#74767d;display:grid;place-items:center}.org-status{display:inline-flex;align-items:center;gap:6px;border-radius:5px;background:#eef7f2;color:#246a51;padding:4px 8px;font-size:10px;font-weight:600}.org-status:before{content:'';width:5px;height:5px;border-radius:50%;background:currentColor}.org-status.inactive{background:#f1f2f5;color:#666b73}.org-actions{display:flex;align-items:center;gap:14px}.org-actions a{color:#4d5057;font-size:11px;text-decoration:none}.org-actions form{margin:0}.org-actions button{font-size:10px;padding:5px 8px}.org-panel-footer{display:flex;justify-content:space-between;gap:15px;border-top:1px solid var(--line);padding:14px 24px;font-size:10px;color:var(--muted)}.org-no-results{padding:25px;text-align:center;color:var(--muted)}.org-memberships{margin-top:24px}.org-memberships .org-panel-heading{padding:0}.org-back{display:inline-block;font-size:12px;color:var(--muted);text-decoration:none;margin-bottom:24px}.structure-form{margin-left:0;max-width:760px}.structure-form h1{font-size:25px}.structure-form>p{font-size:12px}.structure-form form{margin-top:25px}.structure-form input,.structure-form select{border-color:#dfe0e3;background:#fdfdfd}.org-form-actions{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--line);padding-top:20px;margin-top:24px}.org-form-actions a{text-decoration:none}.day-card .eyebrow{color:#ddd}.badge,.schedule-note{background:#f4f4f5}
@media(max-width:1100px){:root{--shell-width:220px}.workspace-shell .page{padding:25px 24px}.shell-header{padding:0 24px}.org-overview{padding:22px;gap:15px}.org-flow{gap:8px}.org-panel-heading{flex-wrap:wrap}.shell-account>span:nth-child(2){max-width:160px}}
@media(max-width:760px){:root{--shell-width:0px}.shell-sidebar{position:static;width:100%;padding:15px 18px}.shell-brand{padding:0}.shell-tenant,.shell-signature,.shell-label{display:none}.shell-nav{flex-direction:row;flex-wrap:nowrap;overflow-x:auto;margin-top:15px;gap:6px}.shell-nav a{white-space:nowrap;padding:8px;font-size:12px}.shell-nav a[aria-current]{border-left:0;border-bottom:2px solid var(--accent);padding-left:8px}.shell-nav .ui-icon{width:16px;height:16px}.shell-header{height:60px;padding:0 18px}.shell-account>span:nth-child(2){display:none}.workspace-shell .page{padding:24px 17px}.org-overview{grid-template-columns:1fr;padding:20px}.org-flow{justify-content:flex-start;gap:6px}.org-overview h2{font-size:18px}.org-navigation{gap:20px}.org-metrics{grid-template-columns:1fr 1fr;gap:10px}.org-metric{padding:15px}.org-toolbar{flex-wrap:wrap;padding:18px}.org-search{max-width:none;flex-basis:100%}.org-panel-heading{padding:20px 18px 0}.org-panel th,.org-panel td{padding-left:18px;padding-right:18px}.org-panel-footer{padding:14px 18px}.org-help>div{position:fixed;top:25vh;left:20px;width:calc(100vw - 40px)}.structure-form{padding:22px 18px}.shell-footer{padding:18px}.org-form-actions{flex-wrap:wrap}.org-panel-heading .button{font-size:11px}}
.asset-tabs{display:flex;gap:20px;flex-wrap:wrap;margin:20px 0;background:none}.asset-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px;margin-top:24px}.table-scroll{overflow:auto}

.asset-thumbnail{width:64px;height:64px;object-fit:contain;margin-bottom:12px}

/* Client identity leads navigation; product signature stays discreet in the footer. */
.shell-tenant{display:flex;justify-content:center;align-items:center}.shell-tenant img{margin-inline:auto}.shell-product-signature{display:flex;flex-direction:column;align-items:center;gap:8px;margin-left:auto}.shell-product-signature img{display:block;width:72px;height:auto;max-height:32px;object-fit:contain;mix-blend-mode:multiply;opacity:.8}.shell-footer{align-items:flex-end}@media(max-width:760px){.shell-tenant{display:flex;border:0;padding:4px;margin-bottom:10px;background:none}.shell-tenant img{height:40px;width:90px}}

/* Summary cards open the matching authorized organization section. */
a.org-metric{color:var(--ink);text-decoration:none;cursor:pointer}
a.org-metric:hover{border-color:#b6b7bc;box-shadow:0 3px 10px #00000008}
a.org-metric:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
a.org-metric[aria-current]{border-color:var(--accent)}

/* Categorias no mesmo painel da organização. */
.org-category {border-bottom:1px solid var(--border, #ddd); padding:16px 24px;}
.org-category summary {cursor:pointer; font-weight:600; padding:6px 0;}
.org-category ul {padding-left:24px;}
.org-category li {padding:8px 0;}
.org-category a:focus-visible,.org-category summary:focus-visible {outline:2px solid #d9003b; outline-offset:4px;}

/* Logo e caminho de navegação usam os destinos autorizados do menu. */
a.shell-tenant{color:#fff;text-decoration:none}
a.shell-tenant:hover{border-color:#777}
a.shell-tenant:focus-visible,.shell-breadcrumb a:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
.shell-breadcrumb{min-width:0;padding:0;border:0;background:none;display:block}
.shell-breadcrumb ol{list-style:none;display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;padding:0;margin:0}
.shell-breadcrumb li{display:flex;align-items:center;gap:12px;min-width:0;overflow-wrap:anywhere}
.shell-breadcrumb li+li:before{content:'/';color:#aaa}
.shell-breadcrumb a{color:var(--muted);text-decoration:none;padding:0}
.shell-breadcrumb a:hover{color:var(--accent);text-decoration:underline}
.shell-breadcrumb [aria-current]{color:var(--ink)}
.shell-header{height:auto;min-height:78px;padding-block:16px}
.shell-account{flex-shrink:0}
@media(max-width:760px){.shell-header{min-height:60px;padding-block:12px;gap:12px}.shell-breadcrumb ol{gap:4px 8px}.shell-breadcrumb li{gap:8px}.shell-breadcrumb{font-size:11px}}

.palette-editor { margin-block:1rem; padding:1rem; border:1px solid var(--line); border-radius:8px; }
.palette-controls { display:grid; grid-template-columns:repeat(auto-fit,minmax(7rem,1fr)); gap:1rem; margin-top:1rem; }
.palette-color { display:grid; justify-items:start; gap:.35rem; }
.palette-color input[type="color"] { width:3rem; height:3rem; padding:2px; cursor:pointer; }
.palette-preview { display:flex; flex-wrap:wrap; gap:1rem; align-items:center; padding:1rem; background:var(--paper); border:1px solid var(--line); border-radius:8px; }
.palette-preview-menu { display:grid; gap:.5rem; padding:.7rem; color:#fff; background:var(--tenant-dark,#111214); border-radius:6px; }
.palette-preview-menu strong { padding:.25rem .4rem; border-inline-start:3px solid var(--brand-highlight,#fff); }
.palette-preview-button { padding:.55rem .8rem; color:#fff; background:var(--accent); border-radius:6px; }
