@font-face{font-family:Nunito;src:url("fonts/nunito-variable.ttf") format("truetype");font-weight:200 1000;font-style:normal;font-display:swap}
:root{--sgq-sidebar:268px;--sgq-topbar:70px;--bg:#f3f7f6;--surface:#fff;--surface-2:#f7faf9;--text:#17352f;--muted:#6f8580;--line:#dbe6e3;--brand:#08745f;--brand-strong:#075749;--brand-deep:#073f36;--brand-dark:#052f29;--brand-2:#e6f5f1;--accent:#d99b3d;--danger:#bd4e57;--shadow:0 16px 42px rgba(12,64,54,.08);font-family:Nunito,"Segoe UI",sans-serif}
html[data-theme=dark]{--bg:#111916;--surface:#19231f;--surface-2:#202e29;--text:#e5f1ed;--muted:#96aaa3;--line:#31423c;--brand:#52bca3;--brand-strong:#42aa91;--brand-deep:#172822;--brand-dark:#101c18;--brand-2:#203c34;--shadow:0 18px 48px rgba(0,0,0,.28)}
html,body{font-family:Nunito,"Segoe UI",sans-serif}body{display:block;min-height:100vh;background:var(--bg);color:var(--text)}button,input,select,textarea{font-family:inherit}

/* Estrutura de navegação do SGO. */
.sidebar{position:fixed;inset:0 auto 0 0;z-index:40;width:var(--sgq-sidebar);padding:0;display:flex;flex-direction:column;color:#fff;background:linear-gradient(180deg,var(--brand-dark) 0%,var(--brand-deep) 48%,#075344 100%);box-shadow:8px 0 30px rgba(4,39,32,.08);transition:width .22s ease,transform .22s ease}
.sidebar-head{height:var(--sgq-topbar);padding:0 10px 0 20px;display:flex;align-items:center;border-bottom:1px solid rgba(255,255,255,.1)}
.brand{min-width:0;flex:1;padding:0;display:flex;align-items:center;gap:11px}.brand-mark{position:relative;width:37px;height:37px;flex:0 0 37px;border:2px solid rgba(255,255,255,.92);border-radius:50%;background:rgba(255,255,255,.06)}.brand-mark::before,.brand-mark::after,.brand-mark i::before,.brand-mark i::after{content:"";position:absolute;width:7px;height:7px;border-radius:50%;background:#fff}.brand-mark::before{left:7px;top:7px}.brand-mark::after{right:7px;top:7px}.brand-mark i::before{left:7px;bottom:7px}.brand-mark i::after{right:7px;bottom:7px}.brand-mark i{position:absolute;inset:10px;border:1.5px solid rgba(255,255,255,.85);transform:rotate(45deg)}.brand strong{font-size:26px;font-weight:900;letter-spacing:.08em;line-height:1}.brand small{margin-top:2px;color:#b9d6cf;font-size:10px;font-weight:700;letter-spacing:.09em;text-transform:uppercase}
#sidebar-collapse{width:42px;height:42px;display:grid;place-content:center;gap:4px;border:0;border-radius:10px;color:#fff;background:rgba(255,255,255,.1);cursor:pointer}#sidebar-collapse:hover{background:rgba(255,255,255,.17)}#sidebar-collapse span{width:15px;height:1.5px;border-radius:2px;background:#fff}
.menu-search{height:39px;margin:13px 12px 4px;padding:0 11px;display:flex;align-items:center;gap:8px;border:1px solid rgba(255,255,255,.12);border-radius:9px;background:rgba(255,255,255,.09)}.menu-search span{color:#b5d0c9;font-size:17px}.menu-search input{width:100%;min-width:0;border:0;outline:0;color:#fff;background:transparent;font-size:13px}.menu-search input::placeholder{color:#aac5be}
.sidebar nav{display:block;flex:1;min-height:0;padding:6px 12px 16px;overflow:auto}.nav-group{margin-top:2px}.nav-label{padding:13px 11px 5px;color:#86afa5;font-size:10px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.sidebar nav button,.sidebar nav a{width:100%;min-height:41px;margin:2px 0;padding:9px 11px;display:flex;align-items:center;gap:11px;border:0;border-radius:9px;color:#d4e5e1;background:transparent;text-align:left;text-decoration:none;font-size:14px;font-weight:500;cursor:pointer;transition:.15s}.sidebar nav button b,.sidebar nav a b{font-weight:600}.sidebar nav button:hover,.sidebar nav button.active,.sidebar nav a:hover{color:#fff;background:rgba(255,255,255,.12)}.sidebar nav button.active{box-shadow:inset 3px 0 0 #6bd8ba}.sidebar nav span{width:22px;flex:0 0 22px;color:#a7cec4;font-size:17px;text-align:center}.sidebar nav .active span{color:#82e5ca}
.local-badge{margin:0 12px 14px;padding:14px 12px;display:flex;align-items:center;gap:10px;border:1px solid rgba(255,255,255,.1);border-radius:10px;background:rgba(255,255,255,.06)}.local-badge i{width:8px;height:8px;flex:0 0 8px;background:#6ee3b7}.local-badge strong{font-size:11px}.local-badge small{color:#9fc0b8;font-size:10px}

main{min-width:0;margin-left:var(--sgq-sidebar);transition:margin .22s ease}main>header{position:fixed;z-index:30;top:0;right:0;left:var(--sgq-sidebar);height:var(--sgq-topbar);padding:0 22px;display:flex;align-items:center;justify-content:space-between;border:0;border-bottom:1px solid rgba(255,255,255,.1);color:#fff;background:linear-gradient(90deg,var(--brand-deep),#075f4e);transition:left .22s ease}.header-context{display:flex;align-items:center;gap:13px}.crumb{color:#fff;line-height:1.15}.crumb small{display:block;margin-bottom:4px;color:#9fc6bc;font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.crumb div{font-size:13px}.crumb b{color:#6a9b8e}.crumb span{color:#fff;font-weight:800}.header-actions{gap:6px}.header-actions button,#menu{width:42px;height:42px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.08);border-radius:10px;color:#fff;background:rgba(255,255,255,.1)}.header-actions button:hover,#menu:hover{background:rgba(255,255,255,.18)}.header-actions .tour-launcher{width:auto!important;padding:0 12px;display:flex;gap:7px}.tour-launcher span{width:20px;height:20px;display:grid;place-items:center;border:1px solid currentColor;border-radius:50%;font-size:12px}.tour-launcher b{font-size:12px}.status{margin-right:8px;padding:6px 9px;border-radius:99px;color:#bed8d1;background:rgba(255,255,255,.07);font-size:10px;font-weight:700}.status.ok{color:#9aebd4}.status.bad{color:#ffc0c5}.user-profile{margin-left:4px;padding:4px 7px;display:flex;align-items:center;gap:9px;border-radius:10px}.user-profile:hover{background:rgba(255,255,255,.08)}.avatar{width:36px;height:36px;border:2px solid rgba(255,255,255,.3);border-radius:50%;color:#fff;background:linear-gradient(145deg,#28a98b,#0a6c59);box-shadow:0 5px 14px rgba(0,0,0,.16);font-size:11px}.user-profile strong,.user-profile small{display:block}.user-profile strong{max-width:145px;overflow:hidden;color:#fff;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.user-profile small{margin-top:2px;color:#abd0c7;font-size:9px;text-transform:uppercase}.user-profile>span{color:#9dc4ba;font-size:14px}#menu{display:none}

.content{max-width:1480px;margin:0 auto;padding:96px 34px 46px}.page-head{min-height:132px;margin:0 0 18px;padding:22px 25px;display:flex;align-items:center;justify-content:space-between;gap:22px;border:1px solid var(--line);border-radius:16px;background:linear-gradient(110deg,var(--surface) 0%,color-mix(in srgb,var(--brand-2) 45%,var(--surface)) 100%);box-shadow:0 8px 24px rgba(12,66,55,.045)}.page-head>div:first-child{position:relative;padding-left:76px}.page-head>div:first-child::before{content:"";position:absolute;left:0;top:50%;width:56px;height:56px;transform:translateY(-50%);border:1px solid color-mix(in srgb,var(--brand) 28%,var(--line));border-radius:17px;background:var(--brand-2);box-shadow:inset 0 0 0 8px color-mix(in srgb,var(--surface) 32%,transparent)}.page-head>div:first-child::after{content:"";position:absolute;left:20px;top:50%;width:16px;height:16px;transform:translateY(-50%) rotate(45deg);border:3px solid var(--brand);border-radius:3px}.eyebrow{color:var(--brand);font-size:10px;font-weight:900;letter-spacing:.13em}.page-head h1{margin:4px 0 5px;color:var(--text);font-family:Nunito,"Segoe UI",sans-serif;font-size:27px;font-weight:850;letter-spacing:-.025em;line-height:1.1}.page-head p{max-width:760px;color:var(--muted);font-size:12px;line-height:1.45}.page-head>.btn,.page-head>.row-actions{flex:0 0 auto}

/* Componentes globais: listagens, detalhes e formulários. */
.btn{min-height:39px;padding:9px 14px;border-color:var(--line);border-radius:9px;color:var(--text);background:var(--surface);box-shadow:0 1px 2px rgba(8,48,40,.025);font-size:12px;font-weight:800;transition:.15s}.btn:hover:not(:disabled){border-color:color-mix(in srgb,var(--brand) 38%,var(--line));color:var(--brand);background:color-mix(in srgb,var(--brand-2) 45%,var(--surface));transform:translateY(-1px)}.btn.primary{border-color:var(--brand);color:#fff;background:linear-gradient(135deg,var(--brand),var(--brand-strong));box-shadow:0 7px 17px rgba(8,116,95,.14)}.btn.primary:hover:not(:disabled){color:#fff;background:var(--brand-strong)}.btn.small{min-height:32px;padding:6px 10px;font-size:11px}.btn:disabled{opacity:.5;cursor:not-allowed}.panel,.metric{border-color:var(--line);border-radius:14px;background:var(--surface);box-shadow:0 8px 25px rgba(12,66,55,.045)}.metrics{gap:13px;margin-bottom:18px}.metric{position:relative;min-height:120px;padding:18px 19px;overflow:hidden}.metric::after{content:"";position:absolute;right:-32px;bottom:-42px;width:100px;height:100px;border-radius:50%;background:var(--brand-2);opacity:.55}.metric .top{position:relative;z-index:1;color:var(--muted);font-size:10px;font-weight:800}.metric .icon{border:1px solid color-mix(in srgb,var(--brand) 16%,var(--line));border-radius:11px}.metric strong{position:relative;z-index:1;margin:13px 0 3px;font-family:Nunito,"Segoe UI",sans-serif;font-size:27px;font-weight:850}.metric small{position:relative;z-index:1;font-size:11px}.grid-2{gap:16px}.panel-head{min-height:61px;padding:14px 19px;background:linear-gradient(180deg,var(--surface),var(--surface-2))}.panel-head h3,.section-title h3{font-size:14px;font-weight:850}.panel-body{padding:18px}.toolbar{padding:14px;border:1px solid var(--line);border-radius:13px;background:var(--surface);box-shadow:0 5px 18px rgba(12,66,55,.035)}.search,.field input,.field select,.field textarea,select,input[type="search"]{border-color:var(--line);border-radius:9px;background:var(--surface);color:var(--text)}.search{min-height:43px;padding:10px 13px}.search:focus,.field input:focus,.field select:focus,.field textarea:focus,select:focus,input:focus{outline:0;border-color:color-mix(in srgb,var(--brand) 58%,var(--line));box-shadow:0 0 0 3px color-mix(in srgb,var(--brand) 11%,transparent)}
.panel-body[style*="overflow"]{padding:0!important}.panel table{min-width:760px}table{font-size:12px}th{height:49px;padding:11px 14px;color:#66827b;background:color-mix(in srgb,var(--brand-2) 40%,var(--surface));font-size:9px;font-weight:900;letter-spacing:.09em}td{height:57px;padding:12px 14px;border-color:var(--line)}tbody tr:nth-child(even) td{background:color-mix(in srgb,var(--surface-2) 66%,var(--surface))}tbody tr:hover td{background:color-mix(in srgb,var(--brand-2) 50%,var(--surface))}.hint{color:var(--muted);font-size:10px;line-height:1.45}.tag{padding:5px 8px;font-size:9px;font-weight:850;letter-spacing:.025em}.edition{min-height:77px;padding:15px 17px;border-radius:12px;background:var(--surface);box-shadow:0 7px 20px rgba(12,66,55,.035)}.stack{gap:10px}.quick button{min-height:65px;padding:14px;border-radius:11px;transition:.15s}.quick button:hover{border-color:color-mix(in srgb,var(--brand) 35%,var(--line));background:var(--brand-2);transform:translateX(2px)}
.budget-summary,.planning-summary{border-radius:13px;box-shadow:0 7px 22px rgba(12,66,55,.035)}.budget-summary>div,.planning-summary>div{padding:16px 18px}.budget-flow-step,.version-card,.planning-card,.planning-activity{box-shadow:0 7px 22px rgba(12,66,55,.04)}.version-card h3,.planning-card h3,.modal-head h2,.confirm-content>span{font-family:Nunito,"Segoe UI",sans-serif!important}.version-card h3,.planning-card h3{font-weight:850!important;letter-spacing:-.02em}.budget-next-action{box-shadow:0 8px 25px rgba(8,116,95,.06)}
dialog{border:1px solid var(--line);border-radius:16px}.modal-head{padding:20px 23px 17px;background:linear-gradient(110deg,var(--surface),color-mix(in srgb,var(--brand-2) 35%,var(--surface)))}.modal-head h2{font-size:22px;font-weight:850;letter-spacing:-.025em}.modal-head small{font-size:9px;font-weight:900}.form-grid{padding:21px 23px;gap:15px}.field label{color:var(--text);font-size:10px;font-weight:800}.field input,.field select,.field textarea{min-height:43px;background:var(--surface)}.modal-actions{padding:14px 23px;background:var(--surface-2)}dialog::backdrop{background:rgba(4,32,27,.62);backdrop-filter:blur(5px)}#toast{right:24px;bottom:24px;border:1px solid rgba(255,255,255,.12);border-radius:11px;background:var(--brand-deep)}

/* Tema escuro */
html[data-theme=dark] .sidebar,html[data-theme=dark] main>header{background:#18251f;background-image:none}html[data-theme=dark] .page-head{background:linear-gradient(110deg,#1b2823,#20332c)}html[data-theme=dark] th{color:#a5bbb4}html[data-theme=dark] tbody tr:nth-child(even) td{background:#1c2924}html[data-theme=dark] tbody tr:hover td{background:#22362f}

body.sidebar-compact .sidebar{width:78px}body.sidebar-compact main{margin-left:78px}body.sidebar-compact main>header{left:78px}body.sidebar-compact .brand>div,body.sidebar-compact .menu-search,body.sidebar-compact .nav-label,body.sidebar-compact .sidebar nav b,body.sidebar-compact .local-badge span{display:none}body.sidebar-compact .sidebar-head{padding:0 18px}body.sidebar-compact #sidebar-collapse{position:absolute;top:78px;left:18px}body.sidebar-compact .sidebar nav{padding:59px 9px 12px}body.sidebar-compact .sidebar nav button,body.sidebar-compact .sidebar nav a{justify-content:center;padding:10px 8px}body.sidebar-compact .sidebar nav button.active{box-shadow:none}body.sidebar-compact .local-badge{justify-content:center;padding:14px 8px}

@media(max-width:1000px){.user-profile>div,.user-profile>span{display:none}.content{padding-right:22px;padding-left:22px}}
@media(max-width:760px){body,body.sidebar-compact{display:block}.sidebar,body.sidebar-compact .sidebar{width:268px;transform:translateX(-100%)}.sidebar.open,body.sidebar-compact .sidebar.open{transform:none}.sidebar.open::after{content:"";position:fixed;inset:0 0 0 268px;background:rgba(3,24,20,.35)}main,body.sidebar-compact main{margin:0}main>header,body.sidebar-compact main>header{left:0;padding:0 12px}#menu{display:grid}.header-context{gap:8px}.crumb small{display:none}.status,.tour-launcher b{display:none}.header-actions .tour-launcher{width:42px!important;padding:0}.content{padding:88px 14px 30px}.page-head{min-height:112px;padding:17px;align-items:flex-start}.page-head>div:first-child{padding-left:60px}.page-head>div:first-child::before{width:46px;height:46px;border-radius:14px}.page-head>div:first-child::after{left:16px;width:13px;height:13px}.page-head h1{font-size:22px}.page-head p{font-size:11px}.page-head>.row-actions{justify-content:flex-start}.metrics{grid-template-columns:1fr 1fr}.form-grid{grid-template-columns:1fr}.user-profile{padding:3px}.user-profile .avatar{display:grid}body.sidebar-compact .brand>div,body.sidebar-compact .menu-search,body.sidebar-compact .nav-label,body.sidebar-compact .sidebar nav b,body.sidebar-compact .local-badge span{display:initial}body.sidebar-compact .menu-search{display:flex}body.sidebar-compact .nav-label{display:block}body.sidebar-compact .sidebar-head{padding:0 10px 0 20px}body.sidebar-compact #sidebar-collapse{position:static}body.sidebar-compact .sidebar nav{padding:6px 12px 16px}body.sidebar-compact .sidebar nav button,body.sidebar-compact .sidebar nav a{justify-content:flex-start;padding:9px 11px}}
@media(max-width:520px){.metrics{grid-template-columns:1fr}.page-head{display:grid}.page-head>.btn,.page-head>.row-actions{width:100%}.page-head>.row-actions .btn{flex:1}.header-actions{gap:3px}.header-actions #theme{display:none}.crumb div{max-width:115px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.content{padding-left:10px;padding-right:10px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
.panel-body{overflow:auto}
.grid-2>*{min-width:0}

/* SGO Brand Guidelines 2.1 — sistema oficial da marca. */
@font-face{font-family:Nunito;src:url("fonts/nunito-brand.ttf") format("truetype");font-weight:200 1000;font-style:normal;font-display:swap}
:root{--bg:#F3F6FA;--surface:#FFFFFF;--surface-2:#F7F9FC;--text:#15304B;--muted:#506477;--line:#DCE5EE;--brand:#054075;--brand-strong:#15304B;--brand-deep:#15304B;--brand-dark:#102A43;--brand-2:#EAF1F7;--accent:#F2AA34;--progress:#71AA53;--success:#267A4D;--danger:#B4434D;--shadow:0 16px 42px rgba(21,48,75,.08)}
html[data-theme=dark]{--bg:#101923;--surface:#182532;--surface-2:#1D2D3D;--text:#EEF5FA;--muted:#A8BAC9;--line:#30475B;--brand:#65A9E0;--brand-strong:#8ABFE8;--brand-deep:#142638;--brand-dark:#0D1B28;--brand-2:#21384C;--accent:#F2AA34;--progress:#8ABD70;--success:#70C394;--danger:#EC7D85}
.sidebar{background:linear-gradient(180deg,#102A43 0%,#15304B 62%,#054075 100%);box-shadow:8px 0 30px rgba(21,48,75,.1)}
.sidebar-head{padding-left:18px}.brand{height:54px;align-items:center}.brand img{display:block;height:auto}.brand-full{width:120px}.brand-symbol{display:none!important;width:38px}.menu-search svg,.nav-icon,.header-actions svg,#menu svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.menu-search svg{width:17px;height:17px;flex:0 0 17px;color:#B6CBDD}.menu-search input::placeholder{color:#B6CBDD}.nav-label{color:#89A9C2}.sidebar nav button,.sidebar nav a{color:#D9E7F1}.sidebar nav .nav-icon{width:20px;height:20px;flex:0 0 20px;color:#AFC7DA}.sidebar nav button:hover,.sidebar nav button.active,.sidebar nav a:hover{background:rgba(255,255,255,.11)}.sidebar nav button.active{box-shadow:inset 3px 0 0 var(--accent)}.sidebar nav button.active .nav-icon{color:#FFD080}.local-badge i{background:var(--progress);box-shadow:0 0 0 4px rgba(113,170,83,.14)}.local-badge small{color:#B5CADA}
main>header{background:#15304B}.crumb small{color:#AAC0D2}.crumb b{color:#7391A8}.header-actions button svg,#menu svg{width:21px;height:21px}.header-actions .tour-launcher svg{width:20px;height:20px}.tour-launcher span{display:none}.status{color:#C5D5E2}.status.ok{color:#C8E7BB}.avatar{padding:0;overflow:hidden;border-color:rgba(255,255,255,.35);background:#15304B}.avatar img{width:100%;height:100%;display:block;object-fit:cover}.user-profile small{color:#B8CBD9}.user-profile>span{color:#A8C0D2}
.page-head{background:linear-gradient(110deg,#FFFFFF 0%,#F3F6FA 100%);box-shadow:0 8px 24px rgba(21,48,75,.045)}.page-head>div:first-child::before{border-color:#C6D6E3;background:#F1F5F8 url("brand/sgo-symbol-color.svg") center/30px auto no-repeat;box-shadow:none}.page-head>div:first-child::after{display:none}.eyebrow{color:#054075}.btn.primary{border-color:#054075;background:#054075;box-shadow:0 7px 17px rgba(5,64,117,.16)}.btn.primary:hover:not(:disabled){background:#15304B}.metric,.panel{box-shadow:0 8px 25px rgba(21,48,75,.045)}.metric::after{background:#EAF1F7}.metric:nth-child(2)::after{background:#FFF1D8}.metric:nth-child(3)::after{background:#EDF5E9}.metric:nth-child(2) .icon{color:#A56A08;background:#FFF1D8}.metric:nth-child(3) .icon{color:#4E8237;background:#EDF5E9}.metric:nth-child(4) .icon{color:#15304B;background:#EAF1F7}.tag{color:#054075;background:#EAF1F7}.tag:not(.gray):not(.gold){color:#267A4D;background:#E6F4EA}.tag.gold{color:#8B5B08;background:#FFF1D8}th{color:#506477;background:#EDF3F8;font-variant-numeric:tabular-nums}td{font-variant-numeric:tabular-nums}.bar i{background:#054075}.quick button:hover{border-color:#8EB2CE;background:#F2F7FA}.modal-head{background:linear-gradient(110deg,#FFFFFF,#F3F6FA)}dialog::backdrop{background:rgba(10,28,44,.62)}#toast{background:#15304B}
html[data-theme=dark] .sidebar,html[data-theme=dark] main>header{background:#0F1F2E!important}html[data-theme=dark] .page-head{background:linear-gradient(110deg,#182532,#1D2D3D)}html[data-theme=dark] th{color:#B6C7D4}html[data-theme=dark] tbody tr:nth-child(even) td{background:#1B2A38}html[data-theme=dark] tbody tr:hover td{background:#21364A}
body.sidebar-compact .brand-full{display:none}body.sidebar-compact .brand-symbol{display:block!important}body.sidebar-compact .brand{justify-content:center}
@media(max-width:760px){body.sidebar-compact .brand-full{display:block}body.sidebar-compact .brand-symbol{display:none!important}}
h1,h2,h3,h4,.metric strong,.coverage-ring strong,.validation-metrics strong,.validation-workspace>header h2,.validation-task-cards>button>strong,.component-viewer>header h2,.component-viewer-summary strong,.association-review>header h2,.association-review-overview strong,.association-review-loading b,.review-confidence>div strong,.settings-panel h2,.settings-explainer article>span,.range-field b,.own-base-card h3,.association-group h3,.association-count strong,.import-counter strong,.import-progress-head>strong,.composition-summary strong,.tour-popover h3,.tour-center-head h2{font-family:Nunito,"Segoe UI",sans-serif!important;font-variant-numeric:tabular-nums}
.ui-icon{width:18px;height:18px;display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.header-actions .tour-launcher{color:#fff!important}
@media(max-width:760px){.sidebar{width:268px!important;transform:translateX(-100%)!important}.sidebar.open{transform:none!important}main{margin-left:0!important}main>header{left:0!important}.content{width:100%;min-width:0}.grid-2{grid-template-columns:minmax(0,1fr)!important}.panel{min-width:0}.page-head>div:first-child{min-width:0}}

/* Escala tipográfica digital — Manual da Marca SGO 2.1. */
body{font-size:15px;line-height:1.5}
.menu-search input{font-size:14px}.nav-label{font-size:11px}.sidebar nav button,.sidebar nav a{min-height:44px;font-size:15px}.local-badge strong{font-size:12px}.local-badge small{font-size:11px}
.crumb small{font-size:11px}.crumb div{font-size:14px}.status{font-size:12px}.tour-launcher b{font-size:13px}.user-profile strong{font-size:13px}.user-profile small{font-size:10px}
.eyebrow{font-size:11px}.page-head h1{font-size:32px}.page-head p{font-size:14px;line-height:1.55}
.btn{min-height:42px;font-size:14px}.btn.small{min-height:35px;font-size:12px}.metric .top{font-size:12px}.metric small{font-size:13px}.panel-head h3,.section-title h3{font-size:16px}
table{font-size:14px}th{height:52px;font-size:11px}td{height:61px}.hint{font-size:12px}.tag{font-size:11px}.pagination{font-size:13px}
.edition{min-height:86px;padding:17px 18px}.edition>div:first-child>b{font-size:17px;line-height:1.35}.edition .hint{margin-top:5px;font-size:13px}.edition .btn.small{font-size:13px}
.content p{font-size:13px;line-height:1.55}.content small{font-size:12px;line-height:1.45}.content label{font-size:12px}.content input,.content select,.content textarea{font-size:14px}
.modal-head h2{font-size:25px}.modal-head small{font-size:11px}.field label{font-size:12px}.field input,.field select,.field textarea{min-height:46px;font-size:14px}
.validation-status small{font-size:11px}.validation-status h2{font-size:23px}.validation-status p{font-size:13px}.coverage-ring strong{font-size:19px}.coverage-ring span{font-size:9px}
.validation-ai-head>div>span{font-size:10px}.validation-ai-status h3{font-size:15px}.validation-ai-status p{font-size:12px}.validation-ai-toggle b{font-size:13px}.validation-ai-toggle small{font-size:11px;line-height:1.35}.validation-ai-usage small,.validation-ai-usage span{font-size:11px}.validation-ai-usage b{font-size:14px}.validation-ai-usage a{font-size:12px}.validation-metrics strong{font-size:20px}.validation-metrics small{font-size:11px}
.validation-workspace>header>div>span{font-size:10px}.validation-workspace>header h2{font-size:22px}.validation-workspace>header p{font-size:12px}.validation-all-items{font-size:12px}.validation-all-items b{font-size:10px}
.validation-task-cards small{font-size:9px}.validation-task-cards b{font-size:13px}.validation-task-cards p{font-size:11px}.validation-task-cards>button>strong{font-size:16px}
.validation-list-heading b{font-size:13px}.validation-list-heading small{font-size:11px}.validation-field label,.validation-search-box>label{font-size:10px}.validation-field select,.validation-search-box input{height:42px;font-size:13px}.validation-search-box .btn{height:42px}
.validation-batch-intro small{font-size:9px}.validation-batch-intro b{font-size:13px}.validation-batch-intro p{font-size:11px}.validation-batch-selection span{font-size:11px}
.settings-nav b{font-size:13px}.settings-nav small{font-size:11px}.settings-panel>header>div>span{font-size:10px}.settings-panel h2{font-size:26px}.settings-panel header p{font-size:13px}.premium-switch span{font-size:12px}.ai-readiness b{font-size:13px}.ai-readiness p{font-size:11px}.settings-grid>label>span{font-size:12px}.settings-grid small{font-size:11px}.settings-lock b{font-size:12px}.settings-lock p{font-size:11px}.settings-explainer b{font-size:12px}.settings-explainer p{font-size:11px}.settings-panel>footer b{font-size:12px}.settings-panel>footer span{font-size:11px}
.association-review>header p{font-size:12px}.review-engine-chip{font-size:11px!important}.association-review-overview span{font-size:11px}.review-filter-heading b{font-size:13px}.review-filter-heading span,.review-filter-reset{font-size:11px}.review-search input,.review-confidence-filter select{height:42px;font-size:12px}.review-opinion-filters button{height:34px;font-size:11px}.review-opinion-filters button b{font-size:10px}.review-reference>b{font-size:15px}.review-reference>p{font-size:12px}.review-reference>small i{font-size:10px}.review-match label>span{font-size:10px}.review-match select{height:41px;font-size:12px}.review-confidence>div b{font-size:10px}.review-confidence>small{font-size:10px}.review-verdict,.review-selected-mark{font-size:10px}.review-use-suggestion{height:41px;font-size:11px}.review-ai-opinion summary{font-size:11px}.review-ai-opinion p{font-size:12px}.review-ai-opinion section>b,.review-ai-opinion ul{font-size:10px}.review-ai-empty b{font-size:11px}.review-ai-empty p,.review-empty p{font-size:10px}.association-review-pagination span{font-size:11px}.association-review-loading p{font-size:12px}.association-review-loading.premium>small{font-size:10px}
@media(max-width:760px){.page-head h1{font-size:27px}.page-head p{font-size:13px}.content{font-size:14px}.validation-task-cards b{font-size:13px}.validation-field select,.validation-search-box input{font-size:14px}}

/* Auditoria tipográfica: componentes estáticos e modais criados em runtime. */
html,body,body *:not(svg):not(path),dialog,dialog *:not(svg):not(path){font-family:Nunito,"Segoe UI",sans-serif!important}
dialog{font-size:15px;line-height:1.5}
dialog p{font-size:13px!important;line-height:1.55!important}
dialog small,dialog label{font-size:12px!important;line-height:1.45!important}
dialog button,dialog input,dialog select,dialog textarea{font-size:14px!important}
dialog input,dialog select{min-height:44px}
dialog>header>div>span,.association-review>header>div>span,.component-viewer>header>div>span{font-size:11px!important;line-height:1.4!important}
dialog>footer span,.association-review>footer span,.component-viewer>footer span{font-size:12px!important;line-height:1.45!important}
.association-review-loading b{font-size:19px!important}.association-review-loading p{font-size:13px!important}.association-review-loading.premium>small{font-size:12px!important}
.association-review>footer b,.component-viewer>footer b,.import-progress b,.import-security b{font-size:13px!important}

/* Associação premium: hierarquia legível conforme a escala tipográfica da marca. */
.association-review>header p{font-size:13px!important;line-height:1.5!important}
.association-review-overview small,.association-review-overview span{font-size:11px!important}
.review-filter-heading b{font-size:14px!important}.review-filter-heading span,.review-filter-reset{font-size:12px!important}
.review-search input,.review-confidence-filter select{font-size:13px!important}.review-opinion-filters button{font-size:11px!important}.review-opinion-filters button b{font-size:10px!important}
.review-reference>b{font-size:17px!important}.review-reference>p{font-size:15px!important;line-height:1.5!important}.review-reference>small i{font-size:10px!important}
.review-verdict,.review-selected-mark{font-size:11px!important}.review-selected-zone b{font-size:14px!important}.review-selected-zone span,.review-selected-zone>p{font-size:12px!important}
.review-suggestions>header b{font-size:16px!important}.review-suggestions>header span,.review-suggestions>header small{font-size:12px!important}
.review-suggestion-option small{font-size:10px!important}.review-suggestion-option strong{font-size:14px!important}.review-suggestion-option em{font-size:12px!important}.review-suggestion-option mark{font-size:11px!important}
.review-source-actions b{font-size:13px!important}.review-source-actions small,.review-source-actions .btn{font-size:11px!important}
.review-confidence>div b{font-size:9px!important}.review-confidence>small{font-size:11px!important;line-height:1.45!important}
.review-ai-opinion summary{font-size:11px!important}.review-ai-opinion p{font-size:12px!important}.review-ai-opinion section>b,.review-ai-opinion ul{font-size:11px!important}.review-ai-empty b{font-size:12px!important}.review-ai-empty p{font-size:11px!important}
.association-review-pagination span{font-size:12px!important}.association-review>footer span{font-size:11px!important}
@media(max-width:700px){.review-reference>p{font-size:13px!important}}

/* Associação manual premium */
.reference-association-premium>header h2,.reference-decision-panel>header>div>span{font-family:Nunito,"Segoe UI",sans-serif!important}
.reference-association-premium>header>div>span{font-size:10px!important}.reference-association-premium>header p{font-size:13px!important;line-height:1.45!important}
.reference-association-guide b{font-size:11px!important}.reference-association-guide small{font-size:9px!important}.reference-catalog-panel>header b{font-size:14px!important}.reference-catalog-panel>header span{font-size:10px!important}
.reference-catalog-toolbar input,.reference-catalog-toolbar select,.reference-decision-fields input,.reference-decision-fields select,.reference-decision-fields textarea{font-size:12px!important}
.association-product small{font-size:9px!important}.association-product b{font-size:12px!important}.association-product em,.association-product>strong{font-size:10px!important}
.reference-decision-panel b{font-size:13px!important}.reference-decision-panel small{font-size:10px!important}.reference-decision-fields label>span{font-size:10px!important}.reference-confirm b{font-size:11px!important}.reference-confirm small{font-size:9px!important}
.reference-association-premium>footer b{font-size:12px!important}.reference-association-premium>footer span{font-size:10px!important}
.tour-popover,.tour-center,.tour-popover button,.tour-center button{font-family:Nunito,"Segoe UI",sans-serif!important}.tour-popover-kicker,.tour-option-status{font-size:11px}.tour-popover-body p,.tour-center-head p{font-size:14px}.tour-option small{font-size:12px}

/* Cabeçalhos de diálogos: conteúdo fluido, sem herdar a altura fixa da topbar. */
dialog>.modal-head,dialog>header{height:auto!important;min-height:0;position:static;inset:auto;z-index:auto;align-items:flex-start;gap:18px}
dialog>.modal-head>div,dialog>header>div:first-child{min-width:0;flex:1 1 auto}
dialog>.modal-head h2,dialog>header h2{max-width:100%;white-space:normal;overflow-wrap:anywhere;word-break:normal;line-height:1.18}
dialog>.modal-head>button,dialog>header>.component-viewer-close,.review-header-actions{flex:0 0 auto}
dialog>.modal-head>button{width:36px;height:36px;padding:0;display:grid;place-items:center;border-radius:10px}
#modal[open]{max-height:calc(100dvh - 24px);overflow:hidden}
#modal-form{display:grid;grid-template-rows:auto minmax(0,1fr) auto;max-height:calc(100dvh - 24px);overflow:hidden}
#modal .modal-head,#modal .modal-actions{flex:0 0 auto}
#modal .form-grid{min-height:0;overflow:auto;overscroll-behavior:contain}
.review-header-actions{min-width:max-content}

/* A consulta de componentes reserva espaço real para títulos de várias linhas. */
.component-viewer[open]{display:flex;flex-direction:column;height:min(760px,calc(100vh - 32px));max-height:calc(100vh - 32px)}
.component-viewer>header,.component-viewer-summary,.component-viewer>footer{flex:0 0 auto}
.component-viewer-table{flex:1 1 auto;min-height:0;max-height:none}

@media(max-width:700px){dialog>.modal-head,dialog>header{gap:12px}.component-viewer[open]{height:calc(100vh - 16px);max-height:calc(100vh - 16px)}.component-viewer-summary{overflow-x:auto}.component-viewer-summary>div{flex:1 0 120px}}
