/* Shared visual rhythm and interaction polish for the commercial demo. */
:root{--ink:#25232a;--muted:#776f78;--border:#eae7ec;--ease:cubic-bezier(.2,0,0,1)}
body{background:#faf9fb}.topbar{box-shadow:0 1px 14px #25202003}.header-actions{gap:15px}.brand-area{gap:24px}.user-label strong{color:#353039}.user-label span{color:#776e79}.demo-label{color:#8c6472}.account-button{padding:0;display:grid;place-items:center;overflow:hidden;border:2px solid #fff;outline:1px solid #eadfe5;box-shadow:0 3px 8px #31121d10}.account-button .avatar{height:34px;width:34px;font-size:10px}
.photo-avatar{background-image:url('assets/team-portraits-v2.png');background-size:600% 300%;background-position:var(--photo-x,0%) var(--photo-y,0%);background-repeat:no-repeat;background-color:#ebe6e4;color:transparent;overflow:hidden;box-shadow:inset 0 0 0 1px #20151f08;flex-shrink:0}
.portal-search-trigger{display:flex;gap:9px;align-items:center;padding:9px 12px;border:1px solid #e9e5eb;border-radius:9px;background:#faf9fb;cursor:pointer;color:#817580;font-size:11px;min-width:199px;text-align:left;transition:border-color .18s var(--ease),background .18s var(--ease)}.portal-search-trigger>span:first-child{font-size:21px;line-height:14px;color:#746270}.portal-search-trigger kbd{margin-left:auto;font-family:inherit;font-size:8px;padding:3px 5px;border:1px solid #e4dce4;border-radius:4px;color:#93818f;background:#fff}.portal-search-trigger:hover{background:#fff;border-color:#d6bbc5}
.portal-search-field{display:flex;align-items:center;gap:12px;padding:7px 15px;border:1px solid #e8ccd5;border-radius:12px;background:#fff9fb}.portal-search-field>span{font-size:28px;color:var(--red)}.portal-search-field input:not([type=checkbox]){flex:1;min-width:0;border:0;background:transparent;outline:0;font-size:14px;padding:10px 0}.search-help{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:13px 2px 18px;color:#9b8c96;font-size:10px}.search-help kbd{font-family:inherit;font-size:9px}.portal-search-results{display:flex;flex-direction:column;gap:4px}.portal-search-result{display:flex;gap:13px;align-items:center;border:0;padding:12px 10px;border-radius:10px;background:#fff;text-align:left;cursor:pointer;width:100%}.portal-search-result:hover,.portal-search-result:focus-visible{background:#fff4f7}.portal-search-result>span:nth-child(2){flex:1;min-width:0}.search-result-icon{display:grid;place-items:center;width:37px;height:37px;border-radius:9px;background:#fff2f6;color:var(--red)}.portal-search-result strong{display:block;font-size:13px;font-weight:700;color:#382c35}.portal-search-result small{display:block;margin-top:5px;font-size:11px;color:#8a7683}.search-result-arrow{color:#af8496;font-size:17px}
main{background-image:linear-gradient(#f2eef333 1px,transparent 1px),linear-gradient(90deg,#f2eef333 1px,transparent 1px)}.page-head>div>p{margin-top:9px;margin-bottom:0;font-size:13px;color:#817783}.eyebrow{color:#847985;letter-spacing:.8px}.panel{box-shadow:0 3px 12px #2f152805}.panel-head>div:not(.toolbar){display:block}.panel-head p{font-weight:400;font-size:12px;margin:5px 0 0;color:#8b7e89}.focus-card .panel-head>div{display:flex}.btn{transition:background .18s var(--ease),box-shadow .18s var(--ease),transform .18s var(--ease)}.btn:active{transform:translateY(1px)}.btn.primary{box-shadow:0 4px 12px #ea154923}.btn.primary:hover{box-shadow:0 6px 16px #ea154934}.btn.small{font-size:11px;min-height:33px}.btn.text:hover{background:#fff2f6}.field{font-size:10px;color:#746573;letter-spacing:.6px}.field input,.field select,.field textarea,input:not([type=checkbox]):not([type=radio]),select,textarea{font-size:13px;border-color:#e5dfe7;transition:border-color .15s var(--ease),box-shadow .15s var(--ease)}input::placeholder,textarea::placeholder{color:#a392a0;opacity:1}input:focus,select:focus,textarea:focus{border-color:#dc8fa6;box-shadow:0 0 0 3px #ea154908}.data-table{font-size:12px}.data-table th{font-size:9px;color:#7d6a78}.data-table td{padding-top:16px;padding-bottom:16px}.data-table td small{color:#8c7d88}.badge{font-size:10px}.badge.green{color:#287246}.badge.amber{color:#926413}.badge.gray{color:#766b76}.notice{color:#7e4f60}.content-footer{color:#aa98a5;padding-bottom:5px}
.focus-grid{grid-template-rows:repeat(3,88px)}.focus-item:first-child{grid-row:span 3}.focus-item:last-child{display:block}.focus-item strong{font-size:12px}.focus-item small{font-size:8px}.rank-card h2{font-size:19px}.rank-meta{color:#8b7c85}.rank-others{font-size:9px}.rank-others b{font-size:8px}.podium-person small{font-size:8px;padding:5px 2px;background:#fbf5f7}.podium-person strong{font-size:10px}.podium-block{box-shadow:inset 0 1px 0 #ffffff36}.birthday-people .avatar{width:42px;height:42px}.birthday-people small{color:#877482}.birthday-note{font-size:10px}.birthday-note span{color:#a08291}
.mg-page .muted,.mg-page .mg-small{color:#88738a}.mg-page .mg-chart-group>span{color:#806d85}.mg-page .mg-chart-legend{color:#856e85}.mg-page .mg-ranking-table th{color:#806c84}.mg-page .mg-ranking-table td{color:#77627e}.mg-page .mg-funnel-step small{color:#8c7891}.mg-page .mg-funnel-step>div:first-child{color:#7c6481}.mg-page .mg-chart-bar b{color:#967084}.mg-page .mg-performance-note{color:#918294}.mg-page .mg-period button{color:#897588}.mg-page .mg-period button.active{color:#ba2853}.mg-page .mg-profile-metrics span{color:#8d748b}
body[data-page=leads] .lead-filter-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.check-row:has(input:checked){border-color:#edb5c6;background:#fff7fa}.ranking-row:hover{border-color:#ebc1ce;background:#fffafb}.ranking-row .avatar{width:43px;height:43px}.guide-list a{border-radius:10px;padding:17px 10px}.guide-list a:hover{background:#fff6f9}.modal-head{border-bottom-color:#f0e8ef}dialog[open]{animation:dialog-arrive .22s var(--ease)}@keyframes dialog-arrive{from{opacity:.3;transform:translateY(8px) scale(.99)}to{opacity:1;transform:none}}
@media(min-width:1100px){body[data-page=simulacoes] main{padding-left:42px;padding-right:42px}body[data-page=empreendimentos] main{padding-left:46px;padding-right:46px}body[data-page=carometro] main,body[data-page=leads] main{padding-left:42px;padding-right:42px}}
@media(max-width:1200px){.portal-search-trigger{min-width:168px}.portal-search-trigger kbd{display:none}.header-actions{gap:12px}.brand-area{gap:17px}.brand{width:150px}.rank-others b{font-size:7px}.podium-person small{font-size:7px}}
@media(max-width:1000px){.portal-search-trigger{min-width:37px;justify-content:center}.portal-search-trigger>span:nth-child(2){display:none}.brand{width:144px}.header-actions{gap:12px}body[data-page=leads] .lead-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.brand{width:118px}.header-actions{gap:10px}.portal-search-trigger{padding:7px 8px;min-width:30px;min-height:32px}.portal-search-trigger>span:first-child{font-size:22px}.account-button .avatar{width:28px;height:28px}.demo-label{font-size:8px}.demo-label i{width:5px;height:5px}.focus-grid{grid-template-rows:repeat(2,120px)}.focus-item:first-child{grid-row:auto}.rank-meta{font-size:9px}.rank-others{font-size:11px}.rank-others b{font-size:10px}.podium-person small{font-size:9px}.podium-person strong{font-size:11px}.field{font-size:10px}.portal-search-field input:not([type=checkbox]){font-size:13px}.search-help{font-size:8px}.modal-head h2{font-size:19px}}
@media(max-width:440px){.demo-label{max-width:82px;line-height:1.3}.brand{width:105px}body[data-page=leads] .lead-filter-grid{grid-template-columns:1fr}.portal-search-trigger{border:0;background:transparent;padding:5px}.header-actions{gap:7px}.portal-search-result{padding:12px 3px;gap:9px}}
@media(prefers-reduced-motion:reduce){dialog[open]{animation:none}.btn,input,select,textarea{transition:none}}
@media print{.portal-search-trigger{display:none!important}}
