/* Shared portfolio identity; demo-specific interfaces retain their own structure. */
.demo-am{display:block;width:48px;height:36px;object-fit:contain;flex-shrink:0;background:transparent;border:0;border-radius:0}
.community-project-nav,.demo-phishing .top,.demo-vendor-risk>header{background:#142b23;border-bottom:1px solid #415c4a;color:#f2f4ec}
.community-project-name,.demo-vendor-risk .brand{display:flex;align-items:center;gap:14px;text-decoration:none}
.community-project-name{line-height:1.3}.community-project-nav a{color:#f2f4ec}.community-project-nav [aria-current=page]{background:#b6d2b9;color:#142b23}
.demo-crm{--bg:#f1f4ef;--brand:#21543e;--brand-dark:#153b2c;--brand-tint:#e4eee5}.demo-crm .app-frame{background:var(--bg)}
.demo-phishing{background:#f1f4ef;--teal:#21543e}.demo-vendor-risk{--bg:#10211b;--surface:#192e25;--line:#385246;--ink:#edf2e9;--muted:#bacbbe;--accent:#b6d2b9}
.demo-vendor-risk .dash-grid>div,.demo-vendor-risk .bottom-grid>div{min-width:0}.demo-vendor-risk .table-scroll{max-width:100%}.demo-vendor-risk th{background:#243c30}.demo-vendor-risk input,.demo-vendor-risk select,.demo-vendor-risk textarea{background:#10211b}
.demo-finance .back{display:flex;align-items:center;gap:12px;background:#142b23;color:#f2f4ec;padding:12px;border-radius:8px;text-decoration:none}
body:has(dialog[open]){overflow:hidden}
@media(max-width:800px){.demo-crm .app-frame{grid-template-columns:minmax(0,1fr)}.demo-crm .side-nav{display:block;position:static;min-height:0;height:auto;width:100%;max-width:100%;padding:8px 12px;border-right:0;border-bottom:1px solid var(--line);overflow:visible}.demo-crm .side-nav-logo{display:none}.demo-crm .side-nav nav{display:flex;flex-wrap:wrap;align-items:center;gap:4px;padding:0;min-height:0;height:auto}.demo-crm .side-nav nav a{flex:0 0 auto;min-width:0;min-height:40px;padding:8px 10px;font-size:12px}.demo-crm .dashboard-shell{min-width:0}.demo-crm .dashboard-grid>*{min-width:0}.demo-crm .dashboard-actions{flex-wrap:wrap}.demo-crm .dashboard-actions>*{min-width:0;max-width:100%}}
@media(max-width:600px){.community-project-nav{align-items:stretch;gap:10px}.community-project-nav>div{display:flex;flex-wrap:wrap;gap:6px}.community-project-name{font-size:14px}.demo-am{width:42px;height:32px}.demo-vendor-risk .brand span{margin-left:0}.demo-vendor-risk .heat{min-width:420px}}
@media(max-width:600px){.demo-crm .card-header{flex-wrap:wrap;gap:12px}.demo-crm .card-header .secondary-link{width:auto;min-width:0;max-width:100%}}

.demo-finance{--ink:#193428;--muted:#5c7064;--purple:#286046;--paper:#f1f4ef;--border:#dce5da}.demo-finance nav a.active,.demo-finance nav a:hover,.demo-finance .demo-card,.demo-finance .pill,.demo-finance .avatar{background:#e7efe4;color:#28533e;border-color:#c8dac6}.demo-finance .text-button{color:#28533e}
