/* Palette comes exclusively from status-theme.js. Panel exclusions also protect cloned reports. */
:is(#ambientale-semantic-theme,html) body [data-semantic-tone][data-semantic-kind][data-semantic-label]:not(:is(.action-panel *, .client-portal *, .panel-detail *, .action-report *, .client-management-report *)){
 background:var(--semantic-fill)!important;color:var(--semantic-text)!important;border:1px solid var(--semantic-border)!important;
 display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:24px;box-sizing:border-box;
 max-width:100%;padding:4px 8px;border-radius:5px;font-size:11px!important;font-weight:700!important;line-height:1.3!important;
 white-space:normal;overflow-wrap:normal;word-break:normal;hyphens:none;text-shadow:none!important;-webkit-text-stroke:0;print-color-adjust:exact;-webkit-print-color-adjust:exact;
}
:is(#ambientale-semantic-theme,html) body [data-semantic-kind="dot"][data-semantic-tone][data-semantic-label]:not(:is(.action-panel *, .client-portal *, .panel-detail *, .action-report *, .client-management-report *)){min-height:0!important;padding:0!important;width:6px;height:6px;border-radius:50%}
:is(#ambientale-semantic-theme,html) body [data-semantic-kind="countdown"][data-semantic-tone][data-semantic-label]{font-variant-numeric:tabular-nums;min-width:54px}
@media print{:is(#ambientale-semantic-theme,html) body [data-semantic-tone][data-semantic-kind][data-semantic-label]:not(:is(.action-panel *, .client-portal *, .panel-detail *, .action-report *, .client-management-report *)){font-size:9px!important;min-height:20px;padding:3px 6px;box-shadow:none}}

:is(#ambientale-semantic-theme,html) body [data-semantic-tone][data-semantic-kind][data-semantic-label]:not(:is(.action-panel *, .client-portal *, .panel-detail *, .action-report *, .client-management-report *)) :is(small,strong,b,em){color:inherit!important;text-shadow:none!important;-webkit-text-stroke:0}

/* Independent request identity, including reports and panel detail. */
html body :is(.condition-status,.semantic-status,.badge)[data-semantic-label="SOLICITADO EXCLUSAO"],
html body .condition-status:is(.status-solicitado-exclusao,.status-solicitado-exclusão){background:#713f12!important;color:#ffffff!important;border-color:#542e0d!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;min-width:max-content;max-width:none!important;line-height:1.3}
@media print{html body .condition-status:is(.status-solicitado-exclusao,.status-solicitado-exclusão){print-color-adjust:exact;-webkit-print-color-adjust:exact}}

/* Independent review request; same shape and legibility as requested exclusion. */
html body :is(.condition-status,.semantic-status,.badge)[data-semantic-label="SOLICITADO REVISAO"],
html body .condition-status:is(.status-solicitado-revisao,.status-solicitado-revisão){background:#db2777!important;color:#ffffff!important;border-color:#9d174d!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;min-width:max-content;max-width:none!important;line-height:1.3}
@media print{html body .condition-status:is(.status-solicitado-revisao,.status-solicitado-revisão){print-color-adjust:exact;-webkit-print-color-adjust:exact}}

.condition-table .protocol-chip[data-cycle-open-fill="true"]{background-color:var(--cycle-open-fill)!important}

/* Exact open-cycle wording in the conditions list; no status or filter changes. */
html body .condition-table .protocol-chip[data-cycle-open-fill="true"],html body .condition-table .protocol-chip[data-cycle-open-fill="true"] *{text-transform:none!important}
