/* AMI Professional: one coherent workspace appearance */
html[data-theme-style="professional"]{--bg:#f3f5f8;--card:#fff;--surface:#fff;--surface-2:#f8fafc;--surface-3:#eef2f7;--text:#1e293b;--muted:#64748b;--line:#dfe5ed;--primary:#2563eb;--sidebar-bg:#fff;--sidebar-text:#334155;--topbar-bg:#fff;--input-bg:#fff;--hover:#eff6ff;--shadow:0 3px 14px #17203308;--radius:12px}
html[data-theme-style="professional"][data-theme="dark"]{--bg:#101827;--card:#182234;--surface:#182234;--surface-2:#1e2a3e;--surface-3:#26354b;--text:#e2e8f0;--muted:#a3b3c9;--line:#334155;--sidebar-bg:#182234;--sidebar-text:#e2e8f0;--topbar-bg:#182234;--input-bg:#182234;--hover:#26354b}
html[data-theme-style="professional"] .sidebar,html[data-theme-style="professional"] .topbar{background:var(--sidebar-bg)!important;color:var(--text)!important;border-color:var(--line)!important;box-shadow:none!important}
html[data-theme-style="professional"] #nav button,html[data-theme-style="professional"] #nav a{color:var(--sidebar-text)!important;background:transparent!important;border-radius:8px}
html[data-theme-style="professional"] #nav .active{background:var(--hover)!important;color:var(--primary)!important;font-weight:800}
html[data-theme-style="professional"] #content{color:var(--text);font-size:14px}
html[data-theme-style="professional"] #content :is(.card,.report-card,.task22-card,.ami101-card,.ami22-dash-card,.ptr246-scroll,.ami2918-master-list,.rzx201-contact-hero,.rzx201-contact-kpis>div){background:var(--card)!important;border:1px solid var(--line)!important;border-radius:12px!important;box-shadow:var(--shadow)!important;color:var(--text)!important}
html[data-theme-style="professional"] #content :is(.report-page-head,.ami2918-master-head,.task22-hero,.rzx16-page-head,.ami101-pagehead){background:transparent!important;box-shadow:none!important;border-color:var(--line)!important}
html[data-theme-style="professional"] #content :is(h1,h2,h3){color:var(--text)!important;letter-spacing:0;font-weight:750}
html[data-theme-style="professional"] #content :is(.btn,.ami22-btn,.ami101-action,.mini-action){border-radius:8px!important;font-size:14px!important;font-weight:700;min-height:36px;padding:8px 12px;box-shadow:none!important}
html[data-theme-style="professional"] #content :is(.btn,.ami22-btn,.ami101-action){background:var(--card);border:1px solid var(--line);color:var(--text)}
html[data-theme-style="professional"] #content :is(.btn.primary,.ami22-btn.blue,.ami101-action.save,.ami101-action.pdf){background:var(--primary)!important;border-color:var(--primary)!important;color:#fff!important}
html[data-theme-style="professional"] #content :is(.btn.danger,.mini-action.danger){background:#fff1f2!important;border-color:#fecdd3!important;color:#be123c!important}
html[data-theme-style="professional"] #content :is(.subnav,.pt37-topbar,.rzx16-tabs){background:var(--card)!important;border:1px solid var(--line);border-radius:12px;padding:8px;gap:7px;box-shadow:none!important}
html[data-theme-style="professional"] #content :is(.subnav,.pt37-topbar) .btn{background:var(--card)!important;color:var(--text)!important;border-color:var(--line)!important}
html[data-theme-style="professional"] #content :is(.subnav,.pt37-topbar) .btn.active{background:var(--primary)!important;border-color:var(--primary)!important;color:#fff!important}
html[data-theme-style="professional"] #content :is(.report-table,.rzx16-table,.ptr246-table,.table){background:var(--card);color:var(--text);font-size:14px}
html[data-theme-style="professional"] #content :is(.report-table,.rzx16-table,.ptr246-table,.table) th{background:var(--surface-3)!important;color:var(--text)!important;font-size:13px!important;font-weight:800;border-color:var(--line)!important;padding:11px 10px}
html[data-theme-style="professional"] #content :is(.report-table,.rzx16-table,.ptr246-table,.table) td{font-size:14px;padding:10px;border-color:var(--line)!important;color:var(--text)}
html[data-theme-style="professional"] #content :is(input,select,textarea){background:var(--input-bg)!important;border-color:var(--line)!important;color:var(--text)!important;border-radius:8px;min-height:38px}
html[data-theme-style="professional"] #content :is(input,select,textarea):focus{outline:2px solid #2563eb35;outline-offset:1px;border-color:var(--primary)!important}
html[data-theme-style="professional"] #content :is(.rzx16-kpis>div,.ami22-kpi,.ptr246-metrics>div){background:var(--card)!important;color:var(--text)!important;border:1px solid var(--line)!important;box-shadow:none!important}
html[data-theme-style="professional"] #content :is(.rzx16-kpis,.ami22-kpi,.ptr246-metrics) :is(b,strong){color:var(--text)!important;font-weight:850}
html[data-theme-style="professional"] #content :is(.report-filter-card,.ptr246-filters,.rzx16-filters,.task226-filter-card){background:var(--card)!important;border-color:var(--line)!important}
@media(max-width:650px){html[data-theme-style="professional"] #content{padding:12px}html[data-theme-style="professional"] #content :is(.btn,.ami22-btn,.ami101-action){font-size:13px!important;padding:8px 10px}}
