/* Shared Kuzya admin surfaces and operational dashboard. */
:root { --pulse-ink:#2c2937; --pulse-muted:#716c7c; --pulse-line:#eee6e3; }
.pulse-dashboard { max-width:1600px; margin:0 auto; color:var(--pulse-ink); }
.pulse-heading { display:flex; align-items:center; justify-content:space-between; gap:24px; margin:8px 0 26px; }
.pulse-eyebrow { font-size:11px; font-weight:900; letter-spacing:1.6px; color:#98664f; margin-bottom:9px; }
.pulse-eyebrow i { font-size:17px; vertical-align:middle; margin-right:6px; }
.pulse-heading h1 { font-size:clamp(27px,3vw,42px); letter-spacing:-1.4px; line-height:1.16; margin:0 0 9px; font-weight:900; }
.pulse-title-dot { color:var(--kuzya-primary); }
.pulse-heading p,.pulse-section .section-head p { margin:0; color:var(--pulse-muted); font-size:14px; }
.pulse-refresh { white-space:nowrap; display:flex; align-items:center; gap:8px; }
.pulse-filters { display:flex; gap:14px; align-items:end; background:#fffaf7; border:1px solid var(--pulse-line); padding:17px 20px; border-radius:18px; margin-bottom:22px; }
.pulse-filters label { display:block; font-size:11px; text-transform:uppercase; font-weight:900; letter-spacing:.7px; margin-bottom:6px; color:var(--pulse-muted); }
.pulse-filters .form-select { min-width:210px; background-color:white; }
.pulse-asof { margin-left:auto; text-align:right; font-size:11px; line-height:1.8; color:var(--pulse-muted); }
.pulse-stats { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; margin-bottom:24px; }
.pulse-stat { display:block; position:relative; background:#fff; border:1px solid var(--pulse-line); border-radius:20px; padding:22px; box-shadow:0 4px 16px #37231b03; color:var(--pulse-ink); transition:transform .15s,border-color .15s; }
.pulse-stat:hover { transform:translateY(-2px); border-color:#e6bda9; color:var(--pulse-ink); }
.pulse-stat>span:not(.pulse-stat-icon) { display:block; font-weight:800; font-size:13px; margin-top:18px; }
.pulse-stat strong { display:block; font-size:42px; font-weight:900; letter-spacing:-1px; line-height:1.4; }
.pulse-stat strong small { font-size:17px; color:#928b98; font-weight:600; letter-spacing:0; }
.pulse-stat p { margin:4px 0 0; font-size:11px; color:var(--pulse-muted); }
.pulse-stat-icon { width:38px; height:38px; display:inline-flex; align-items:center; justify-content:center; border-radius:12px; font-size:22px; flex-shrink:0; }
.pulse-stat-icon.success { background:#e8f5ee; color:#25724b; }
.pulse-stat-icon.accent { background:#fff0e7; color:#bd6036; }
.pulse-stat-icon.danger { background:#fcebec; color:#b64751; }
.pulse-stat-icon.violet { background:#f0edfa; color:#7561a8; }
.pulse-stat-icon.warning { background:#fff0d9; color:#936316; }
.pulse-attention { background:linear-gradient(120deg,#fff8ef,#fffaf8); border:1px solid #efddc9; border-radius:22px; padding:22px; margin-bottom:26px; }
.pulse-attention-heading { display:flex; align-items:center; gap:13px; margin-bottom:16px; }
.pulse-dashboard h2 { font-size:19px; font-weight:900; letter-spacing:-.35px; margin:0 0 5px; }
.pulse-attention-heading p { font-size:12px; color:var(--pulse-muted); margin:0; }
.pulse-count { margin-left:auto; background:white; border:1px solid #eddfd2; padding:3px 12px; border-radius:10px; font-size:18px; font-weight:900; }
.pulse-attention-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:12px; }
.pulse-incident { background:#fff; padding:17px; border:1px solid #efe3d9; border-radius:15px; color:var(--pulse-ink); }
.pulse-incident:hover { border-color:#dca98b; color:var(--pulse-ink); }
.pulse-incident strong { display:flex; justify-content:space-between; font-size:18px; margin:11px 0 4px; }
.pulse-incident>span:not(.pulse-badge),.pulse-incident p { display:block; font-size:12px; color:var(--pulse-muted); margin-bottom:4px; }
.pulse-incident p { margin:10px 0; color:#564d5a; }
.pulse-badge { display:inline-flex; align-items:center; gap:5px; padding:4px 9px; border-radius:7px; font-size:11px; font-weight:800; white-space:normal; line-height:1.5; }
.pulse-badge.success { background:#eaf5ee; color:#276444; }
.pulse-badge.danger { background:#ffeded; color:#a93843; }
.pulse-badge.warning { background:#fff2da; color:#81580f; }
.pulse-badge.muted { background:#f2f0f3; color:#716b78; }
.pulse-note { font-size:11px; line-height:1.7; color:var(--pulse-muted); padding-top:15px; }
.pulse-section { border:1px solid var(--pulse-line); border-radius:22px; overflow:hidden; margin-bottom:24px; box-shadow:0 5px 20px #37231b03; }
.pulse-section .section-head { padding:22px 24px; border-bottom:1px solid var(--pulse-line); align-items:center; gap:15px; }
.pulse-section>.pulse-note { padding:14px 24px; background:#fdfbf9; border-top:1px solid var(--pulse-line); }
.pulse-device-toolbar { padding:16px 24px; display:flex; gap:18px; align-items:center; flex-wrap:wrap; }
.pulse-search { position:relative; flex:1; max-width:430px; min-width:190px; }
.pulse-search i { position:absolute; left:13px; top:13px; color:#817887; }
.pulse-search input { padding-left:39px; }
.pulse-toggle { display:flex; align-items:center; gap:8px; font-size:12px; margin:0; cursor:pointer; }
.pulse-toggle input { accent-color:#d57552; width:17px; height:17px; }
#device-search-status { color:var(--pulse-muted); font-size:11px; }
.pulse-clinics { padding:0 24px 18px; }
.pulse-clinic { border:1px solid var(--pulse-line); border-radius:13px; margin-bottom:10px; overflow:hidden; }
.pulse-clinic>summary { display:flex; align-items:center; gap:11px; padding:15px 17px; cursor:pointer; list-style:none; background:#fffcfa; }
.pulse-clinic summary::-webkit-details-marker { display:none; }
.pulse-clinic-avatar { display:flex; align-items:center; justify-content:center; width:36px; height:36px; border-radius:10px; background:#f9ece5; color:#a36244; font-size:20px; }
.pulse-clinic summary strong { font-size:15px; }
.pulse-clinic small,.pulse-device-table small { display:block; font-size:11px; color:var(--pulse-muted); font-weight:500; margin-top:3px; }
.pulse-clinic summary>.pulse-badge { margin-left:auto; }
.pulse-clinic[open] summary>.bx-chevron-down { transform:rotate(180deg); }
.pulse-device-table { margin:0; font-size:12px; }
.pulse-device-table th { font-size:10px; letter-spacing:.6px; background:#fff; color:var(--pulse-muted); }
.pulse-device-table td,.pulse-device-table th { padding:13px 16px; vertical-align:middle; }
.pulse-device-table td { border-color:#f3edeb; }
.pulse-version { font-family:inherit; font-size:11px; font-weight:800; background:#f6f4f7; padding:4px 7px; border-radius:6px; }
.pulse-open { display:inline-flex; align-items:center; justify-content:center; width:32px; height:32px; background:#fff3ec; border-radius:9px; font-size:20px; }
.pulse-two-columns { display:grid; grid-template-columns:1fr 1fr; gap:22px; }
.pulse-event-list { list-style:none; margin:0; padding:0 24px; }
.pulse-event-list>li { display:flex; gap:12px; padding:17px 0; border-bottom:1px solid #f1ece9; }
.pulse-event-list>li:last-child { border:0; }
.pulse-event-dot { flex-shrink:0; width:8px; height:8px; margin-top:7px; background:#b8a79b; border-radius:50%; box-shadow:0 0 0 4px #f9f4f0; }
.pulse-event-dot.danger { background:#cf6570; box-shadow:0 0 0 4px #fff0f0; }
.pulse-event-dot.warning { background:#c49b47; box-shadow:0 0 0 4px #fff7e9; }
.pulse-event-content { min-width:0; flex:1; }
.pulse-event-meta { display:flex; align-items:center; flex-wrap:wrap; gap:9px; font-size:10px; color:var(--pulse-muted); margin-bottom:5px; }
.pulse-event-meta>span:first-child { font-weight:900; color:#57515f; max-width:100%; overflow-wrap:anywhere; }
.pulse-event-title { color:var(--pulse-ink); font-weight:800; font-size:13px; overflow-wrap:anywhere; }
.pulse-event-title i { color:#b59482; }
.pulse-event-detail { font-size:11px; color:var(--pulse-muted); margin-top:4px; overflow-wrap:anywhere; }
.pulse-event-time,.pulse-event-content>small { font-size:10px; color:#827985; margin-top:6px; line-height:1.7; }
.pulse-event-id { font-size:10px; margin-top:6px; color:#807583; }
.pulse-event-id code { overflow-wrap:anywhere; font-size:10px; }
.pulse-empty { display:flex; flex-direction:column; align-items:center; text-align:center; padding:30px 20px; color:var(--pulse-muted); font-size:12px; gap:6px; margin:0; }
.pulse-empty>i { font-size:28px; color:#c9b9af; }
.pulse-empty strong { font-weight:800; }
.pulse-tabs { display:flex; gap:8px; flex-wrap:wrap; padding:16px 24px 6px; }
.pulse-tabs a { border-radius:9px; padding:8px 13px; font-size:12px; font-weight:800; color:var(--pulse-muted); background:#f6f3f1; }
.pulse-tabs a.active { color:#8f4c2f; background:#fbe9dd; }
.pulse-coverage { color:var(--pulse-muted); font-size:12px; padding:3px 4px 26px; }
.pulse-coverage summary { cursor:pointer; font-weight:800; }
.pulse-coverage p { line-height:1.8; margin:12px 0 0; max-width:1000px; }
.pulse-mobile-bar { display:none; }
.pulse-dashboard [hidden] { display:none!important; }
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible { outline:3px solid #b56744!important; outline-offset:3px; }
.form-control,.form-select { min-height:40px; }
.field-validation-error { display:block; margin-top:5px; font-size:12px; }
@media(min-width:1400px) { .pulse-dashboard .pulse-two-columns .pulse-event-time span { display:block; } }
@media(max-width:1199px) { .pulse-stats { gap:10px; } .pulse-stat { padding:17px; } .pulse-stat strong { font-size:34px; } .pulse-filters { flex-wrap:wrap; } .pulse-asof { text-align:left; } }
@media(max-width:900px) { .pulse-two-columns { grid-template-columns:1fr; gap:0; } .pulse-stats { grid-template-columns:repeat(2,minmax(0,1fr)); } .pulse-heading { align-items:flex-start; } .pulse-refresh { font-size:12px; } }
@media(max-width:767px) {
 .pulse-mobile-bar { display:flex; align-items:center; gap:12px; padding:12px 18px; background:#fffaf7; border-bottom:1px solid var(--pulse-line); position:sticky; top:0; z-index:1050; }
 .pulse-mobile-bar strong { font-size:15px; } .pulse-mobile-bar button { border:1px solid #eadbd2; border-radius:9px; background:white; color:#996247; font-size:23px; padding:2px 8px; }
 body.pulse-menu-open #layout-menu { transform:translateX(0)!important; z-index:1100; top:55px; width:min(300px,90vw)!important; box-shadow:10px 0 60px #33221b33; }
 .pulse-heading { flex-wrap:wrap; gap:12px; } .pulse-heading h1 { letter-spacing:-.8px; }
 .pulse-filters { padding:14px; gap:10px; } .pulse-filters>div:not(.pulse-asof) { flex:1; min-width:160px; } .pulse-filters .form-select { min-width:0; width:100%; }
 .pulse-asof { width:100%; margin:0; } .pulse-stat { border-radius:16px; padding:15px; } .pulse-stat>span:not(.pulse-stat-icon) { font-size:12px; }
 .pulse-stat p { font-size:10px; } .pulse-stat strong { font-size:32px; }
 .pulse-section .section-head { padding:18px 16px; flex-wrap:wrap; }
 .pulse-clinics { padding:0 12px 12px; } .pulse-device-toolbar { padding:14px; }
 .pulse-event-list { padding:0 16px; } .pulse-attention { padding:17px; }
 .pulse-clinic summary { flex-wrap:wrap; padding:12px; } .pulse-clinic summary>.pulse-badge { font-size:10px; }
 .pulse-dashboard h2 { font-size:18px; } .pulse-tabs { padding:13px 14px 6px; gap:6px; }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { animation:none!important; transition:none!important; scroll-behavior:auto!important; } }

.pulse-breadcrumb { display:flex; gap:10px; align-items:center; margin:0 0 18px; color:#877a82; font-size:12px; flex-wrap:wrap; }
.pulse-breadcrumb a { color:#9d674a; font-weight:800; }
.pulse-skip { position:fixed; left:12px; top:-100px; padding:12px 20px; background:white; border:2px solid #b56744; border-radius:10px; z-index:2000; }
.pulse-skip:focus { top:12px; }
.section-body form .form-group { margin-bottom:20px; }
.section-body form label:not(.form-check-label), .search-panel .form-label { font-size:12px; font-weight:800; color:#665b65; margin-bottom:7px; }
.section-body form>.row { margin-bottom:18px; }
.section-body form>h5 { margin:26px 0 16px; font-weight:900; }
.section-body form>hr { margin:25px 0; border-color:#e4d5cc; }
.section-body form .form-control,.section-body form .form-select { border-radius:11px; border-color:#e7ded8; background-color:#fffdfa; }
.section-body form .input-validation-error { border-color:#ba4852; background:#fff6f5; }
.validation-summary-valid { display:none; }
.pulse-clinic-directory td,.pulse-clinic-directory th { padding:16px; font-size:12px; vertical-align:middle; }
.pulse-clinic-directory small { display:block; font-size:11px; color:#807680; margin-top:4px; }
.pulse-row-actions { display:flex; gap:6px; }
.pulse-clinic-directory tr[hidden] { display:none; }
@media(max-width:991px) {
 .layout-container { display:block!important; }
 #layout-menu { position:fixed!important; inset:55px auto 0 0!important; transform:translateX(-110%)!important; max-height:calc(100vh - 55px); overflow:auto; }
 .layout-page { margin-left:0!important; width:100%; }
 .pulse-mobile-bar { display:flex; align-items:center; gap:12px; padding:12px 18px; background:#fffaf7; border-bottom:1px solid #eee6e3; position:sticky; top:0; z-index:1050; }
 .pulse-mobile-bar button { border:1px solid #eadbd2; border-radius:9px; background:white; color:#996247; font-size:23px; padding:2px 8px; }
 body.pulse-menu-open #layout-menu { transform:translateX(0)!important; z-index:1100; width:min(300px,90vw)!important; box-shadow:10px 0 60px #33221b33; }
 .container-xxl.container-p-y { padding:18px 14px!important; }
 .btn { min-height:38px; }
}
/* Frest adds padding for its sidebar; Kuzya uses an explicit margin instead. */
.layout-menu-fixed .layout-page { padding-left:0!important; margin-left:240px; width:calc(100% - 240px); min-width:0; }
.layout-container,.content-wrapper { min-width:0; }
h1,h2,h3,h4,h5,h6 { font-family:"Nunito",sans-serif!important; color:#2c2937; }
.btn-primary { background:#ae5437!important; border-color:#ae5437!important; color:#fff!important; box-shadow:0 4px 12px #ae543719; }
.btn-primary:hover,.btn-primary:focus { background:#92432b!important; border-color:#92432b!important; color:#fff!important; }
.btn-soft-action { color:#5a463b!important; }
.form-control,.form-select { color:#4b424e; }
.layout-menu .menu-inner { overflow-x:hidden; }
@media(max-width:991px) { .layout-menu-fixed .layout-page { margin-left:0!important; width:100%!important; padding-left:0!important; } }
.layout-page { flex-direction:column!important; }
.content-wrapper,#admin-main { width:100%; min-width:0; }
@media(max-width:480px) { .pulse-attention-grid { grid-template-columns:minmax(0,1fr); } .pulse-heading h1 { font-size:28px; } .pulse-stat strong { font-size:30px; } .pulse-device-table { min-width:650px; } .pulse-filters>div:not(.pulse-asof) { min-width:100%; } }
.table-responsive { position:relative; max-width:100%; }
.pulse-section h2 { font-size:19px; font-weight:900; letter-spacing:-.35px; color:#2c2937; }
.layout-menu button.menu-link { border:0; background:transparent; width:calc(100% - 2rem); text-align:left; font:inherit; cursor:pointer; }
/* Compact operations overview: decisions first, technical details on demand. */
.pulse-compact .pulse-heading { margin:0 0 16px; gap:16px; }
.pulse-compact .pulse-heading h1 { font-size:29px; margin-bottom:4px; letter-spacing:-.8px; }
.pulse-compact .pulse-eyebrow { font-size:10px; margin-bottom:5px; }
.pulse-compact .pulse-heading p { font-size:12px; }
.pulse-refresh-controls { display:grid; grid-template-columns:auto auto; align-items:center; gap:6px 14px; }
.pulse-refresh-controls .pulse-refresh { grid-row:span 2; }
#pulse-refresh-status { font-size:11px; color:var(--pulse-muted); min-height:17px; }
.pulse-compact .pulse-filters { padding:10px 14px; margin-bottom:14px; gap:12px; border-radius:13px; }
.pulse-compact .pulse-filters label { font-size:10px; margin-bottom:3px; }
.pulse-compact .pulse-stats { gap:12px; margin-bottom:16px; }
.pulse-compact .pulse-stat { padding:12px 14px; border-radius:14px; }
.pulse-compact .pulse-stat-icon { width:30px; height:30px; font-size:19px; border-radius:9px; }
.pulse-compact .pulse-stat>.pulse-stat-icon { position:absolute; right:12px; top:12px; }
.pulse-compact .pulse-stat>span:not(.pulse-stat-icon) { margin:0 28px 2px 0; font-size:12px; }
.pulse-compact .pulse-stat strong { font-size:30px; line-height:1.25; }
.pulse-compact .pulse-stat p { font-size:10px; margin-top:4px; }
.pulse-compact .pulse-attention { padding:14px 16px; margin-bottom:16px; border-radius:16px; }
.pulse-compact .pulse-attention-heading { margin-bottom:10px; gap:10px; }
.pulse-compact .pulse-attention-heading h2 { font-size:17px; margin:0; }
.pulse-compact .pulse-attention-heading p { font-size:11px; }
.pulse-compact .pulse-attention-grid { grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:10px; }
.pulse-compact .pulse-incident { padding:12px; border-radius:11px; }
.pulse-compact .pulse-incident strong { font-size:15px; margin:5px 0; }
.pulse-compact .pulse-incident p { font-size:12px; margin:5px 0; }
.pulse-incident-action { display:block; margin-top:7px; color:#934a32; font-size:12px; }
.pulse-compact .pulse-note { padding-top:8px; margin-bottom:0; }
.pulse-clear-note { font-size:12px; margin:8px 0 0; color:var(--pulse-muted); }
.pulse-compact .pulse-section { border-radius:16px; margin-bottom:18px; }
.pulse-compact .pulse-section .section-head { padding:14px 18px; }
.pulse-compact .section-head h2 { font-size:17px; margin:0 0 4px; }
.pulse-compact .section-head p { font-size:11px; }
.pulse-compact .pulse-device-toolbar { padding:12px 18px; gap:10px; }
.pulse-state-filter { width:auto; max-width:250px; font-size:12px; }
.pulse-compact .pulse-clinics { padding:0 18px 8px; }
.pulse-compact .pulse-clinic { margin-bottom:6px; border-radius:10px; }
.pulse-clinic-columns,.pulse-compact .pulse-clinic>summary { display:grid; grid-template-columns:minmax(170px,1.4fr) minmax(120px,1fr) minmax(140px,1.2fr) minmax(125px,1fr); align-items:center; gap:10px; }
.pulse-clinic-columns { padding:2px 31px 8px; color:var(--pulse-muted); font-size:10px; font-weight:800; }
.pulse-compact .pulse-clinic>summary { padding:11px 12px; }
.pulse-clinic-name { display:flex; gap:10px; align-items:center; min-width:0; }
.pulse-clinic-name strong { overflow-wrap:anywhere; }
.pulse-compact .pulse-clinic-avatar { width:29px; height:29px; font-size:17px; flex-shrink:0; }
.pulse-clinic-contact { font-size:11px; display:flex; justify-content:space-between; gap:8px; color:var(--pulse-muted); }
.pulse-clinic-contact i { font-size:18px; }
.pulse-clinic[open] .pulse-clinic-contact i { transform:rotate(180deg); }
.pulse-clinic-footer { display:flex; justify-content:space-between; gap:12px; padding:10px 14px; background:#fdfaf7; font-size:11px; color:var(--pulse-muted); }
.pulse-compact .pulse-device-table th,.pulse-compact .pulse-device-table td { padding:10px 12px; }
.pulse-compact .pulse-section>.pulse-note { padding:10px 18px; }
.pulse-compact .pulse-two-columns { gap:16px; }
.pulse-compact .pulse-event-list { padding:0 18px; }
.pulse-compact .pulse-event-list>li { padding:11px 0; }
.pulse-compact .pulse-event-meta { margin-bottom:3px; }
.pulse-compact .pulse-event-id { font-size:11px; margin-top:5px; }
.pulse-event-id summary { cursor:pointer; color:#886044; }
.pulse-event-id[open] { padding:7px 10px; background:#faf6f2; border-radius:8px; }
.pulse-compact .pulse-empty { padding:20px 16px; }
@media(max-width:1199px) {
 .pulse-compact .pulse-stat>span:not(.pulse-stat-icon) { font-size:11px; }
 .pulse-compact .pulse-stat>.pulse-stat-icon { display:none; }
 .pulse-compact .pulse-stat>span:not(.pulse-stat-icon) { margin-right:0; }
 .pulse-clinic-columns,.pulse-compact .pulse-clinic>summary { grid-template-columns:minmax(150px,1.2fr) 1fr 1fr; }
 .pulse-clinic-columns>span:last-child { display:none; }
 .pulse-clinic-contact { grid-column:1/-1; }
}
@media(max-width:767px) {
 .pulse-compact .pulse-heading { align-items:center; gap:10px; margin-bottom:12px; }
 .pulse-refresh-controls { grid-template-columns:auto 1fr; width:100%; }
 .pulse-compact .pulse-filters { gap:8px; }
 .pulse-compact .pulse-filters>div:not(.pulse-asof) { min-width:0; flex:1 1 120px; }
 .pulse-compact .pulse-asof { flex:1; width:auto; text-align:right; font-size:10px; }
 .pulse-compact .pulse-filters .form-select { font-size:12px; padding-left:9px; }
 .pulse-compact .pulse-stats { gap:8px; }
 .pulse-compact .pulse-stat { padding:10px 12px; }
 .pulse-compact .pulse-stat strong { font-size:26px; }
 .pulse-compact .pulse-stat p { font-size:10px; }
 .pulse-compact .pulse-attention-grid { grid-template-columns:1fr; }
 .pulse-compact .pulse-attention { padding:12px; }
 .pulse-clinic-columns { display:none; }
 .pulse-compact .pulse-clinic>summary { grid-template-columns:1fr 1fr; gap:8px; }
 .pulse-clinic-name { grid-column:1/-1; }
 .pulse-clinic-contact { grid-column:1/-1; }
 .pulse-compact .pulse-clinics { padding:0 12px 8px; }
 .pulse-compact .pulse-device-toolbar { padding:12px; }
 .pulse-state-filter { width:100%; max-width:none; }
 .pulse-clinic-footer { flex-wrap:wrap; }
}
.pulse-diagnostic-summary .section-head h2 { margin:0 0 5px; font-size:20px; }
.pulse-diagnostic-summary .section-head p { margin:0; font-size:12px; color:var(--pulse-muted); }
.pulse-diagnostic-summary .section-body>p { font-size:14px; line-height:1.7; max-width:950px; }
.pulse-queue-numbers { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-bottom:18px; }
.pulse-queue-numbers>div { padding:14px 18px; background:#fff9f5; border:1px solid var(--pulse-line); border-radius:12px; }
.pulse-queue-numbers span { display:block; font-size:12px; color:var(--pulse-muted); }
.pulse-queue-numbers strong { font-size:30px; font-weight:900; }
.pulse-detail-actions { display:flex; flex-wrap:wrap; gap:10px; }
.pulse-technical>summary { padding:18px 22px; cursor:pointer; font-weight:800; }
.pulse-technical pre { margin:0 18px 18px; }
.kv-list dd { overflow-wrap:anywhere; }
.pulse-operation-fields .kv-label { flex:1; min-width:0; }
.pulse-operation-fields .kv-value { flex:1.5; min-width:0; margin:0; }
@media(max-width:600px) {
 .pulse-operation-fields .kv-row { flex-direction:column; gap:4px; }
 .pulse-operation-fields .kv-value { text-align:left; max-width:100%; }
}
.pulse-form-sections { display:flex; flex-wrap:wrap; gap:8px; margin-top:16px; }
.pulse-form-sections a { background:#fff9; border:1px solid #eadbd2; border-radius:9px; padding:7px 12px; color:#7e4f3b; font-size:12px; font-weight:800; }
.pulse-form-group { border:0; margin:0 0 28px; padding:0; scroll-margin-top:75px; }
.pulse-form-group legend { width:100%; font-size:18px; font-weight:900; padding-bottom:10px; margin-bottom:18px; border-bottom:1px solid var(--pulse-line); }
.pulse-form-actions { display:flex; gap:10px; flex-wrap:wrap; border-top:1px solid var(--pulse-line); padding-top:18px; }
@media(max-width:600px) { .pulse-queue-numbers { gap:7px; } .pulse-queue-numbers>div { padding:10px; } .pulse-queue-numbers span { font-size:11px; } .pulse-queue-numbers strong { font-size:26px; } }
@media(min-width:1100px) {
 .pulse-operations { display:grid; grid-template-columns:minmax(0,1.8fr) minmax(270px,1fr); gap:16px; align-items:start; }
 .pulse-operations>#clinics { order:1; min-width:0; }
 .pulse-operations>.pulse-attention { order:2; min-width:0; }
 .pulse-operations .pulse-attention-grid { grid-template-columns:1fr; }
 .pulse-operations .pulse-clinic-columns { display:none; }
 .pulse-operations .pulse-clinic>summary { grid-template-columns:1fr 1fr; gap:6px 10px; padding:10px; }
 .pulse-operations .pulse-clinic-name { grid-column:auto; }
 .pulse-operations .pulse-clinic-avatar { display:none; }
 .pulse-operations .pulse-clinic-name strong { font-size:13px; }
 .pulse-operations .pulse-clinic-signal { text-align:right; }
 .pulse-operations .pulse-clinic-contact { grid-column:auto; justify-content:flex-end; }
 .pulse-operations .pulse-clinic>summary>.pulse-clinic-contact i { margin-left:6px; }
 .pulse-operations .pulse-device-toolbar { padding:10px 12px; gap:8px; }
 .pulse-operations .pulse-search { max-width:none; flex-basis:100%; }
 .pulse-operations .pulse-state-filter { min-width:0; flex:1; max-width:none; }
 .pulse-operations .pulse-clinics { padding:0 12px 6px; max-height:280px; overflow-y:auto; scrollbar-gutter:stable; }
 .pulse-operations .section-head { flex-wrap:wrap; gap:5px; padding:12px; }
 .pulse-operations .section-head .btn { padding:0; min-height:0; }
 .pulse-operations .pulse-device-table { min-width:650px; }
}
.pulse-form-group>.row { margin-bottom:18px; }
.pulse-form-group .form-group { margin-bottom:20px; }
.pulse-page-hero { padding:22px 26px; }
.pulse-page-hero .page-title { font-size:28px; }
.pulse-activity-log h2 { font-size:19px; margin:0 0 5px; }
.pulse-activity-log .section-head p { margin:0; font-size:12px; color:var(--pulse-muted); }
.pulse-activity-items { list-style:none; padding:0 22px; margin:0; }
.pulse-activity-items>li { display:flex; gap:14px; padding:17px 0; border-bottom:1px solid var(--pulse-line); }
.pulse-activity-items>li:last-child { border-bottom:0; }
.pulse-activity-main { min-width:0; flex:1; font-size:13px; overflow-wrap:anywhere; }
.pulse-activity-main>strong { display:block; margin-bottom:5px; }
.pulse-activity-time { font-size:11px; color:var(--pulse-muted); text-align:right; }
.pulse-activity-time time,.pulse-log-table small { display:block; }
.pulse-pagination { display:flex; gap:16px; align-items:center; justify-content:center; padding:18px; font-size:12px; border-top:1px solid var(--pulse-line); }
.pulse-log-table { font-size:12px; min-width:900px; }
.pulse-log-table td { padding:14px; vertical-align:top; }
.pulse-log-table th { font-size:11px; }
.pulse-log-table small { font-size:11px; color:var(--pulse-muted); margin-top:5px; }
.pulse-log-message { max-width:340px; overflow-wrap:anywhere; }
@media(max-width:600px) { .pulse-activity-items { padding:0 14px; } .pulse-activity-items>li { flex-wrap:wrap; gap:10px; } .pulse-activity-time { width:100%; text-align:left; padding-left:48px; } .pulse-pagination { gap:8px; flex-wrap:wrap; } }
.search-panel form .d-flex { flex-wrap:wrap; }
/* Consistent, compact headers and filters throughout the admin workspace. */
.page-hero { padding:20px 24px; }
.page-hero::after { pointer-events:none; }
.page-title { font-size:28px; line-height:1.2; }
.page-subtitle { font-size:13px; line-height:1.55; margin-top:8px; max-width:100%; }
.page-eyebrow { padding:5px 10px; margin-bottom:10px; font-size:11px; }
.hero-chip-list { gap:8px; margin-top:14px; }
.hero-chip { padding:6px 11px; font-size:12px; }
.search-panel { padding:16px 20px; }
.search-panel .form-control,.search-panel .form-select { min-height:42px; border-radius:11px; font-size:13px; }
@media(max-width:600px) { .page-hero { padding:18px; } .page-title { font-size:24px; } .search-panel { padding:16px; } .search-panel .form-control,.search-panel .form-select { min-height:44px; } }
.pulse-filter-disclosure>summary { display:none; cursor:pointer; list-style:none; font-weight:800; }
.pulse-device-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.pulse-device-card { border:1px solid var(--pulse-line); border-radius:14px; padding:18px; min-width:0; overflow-wrap:anywhere; }
.pulse-device-card header { display:flex; justify-content:space-between; gap:12px; align-items:start; flex-wrap:wrap; }
.pulse-device-card h6 { margin:0 0 4px; font-size:15px; }
.pulse-device-card small { color:var(--pulse-muted); font-size:11px; font-weight:400; }
.pulse-device-contact { font-size:12px; margin:16px 0; }
.pulse-device-facts { font-size:12px; margin-bottom:12px; }
.pulse-device-facts>div { display:flex; justify-content:space-between; gap:12px; padding:6px 0; }
.pulse-device-facts dt { font-weight:500; color:var(--pulse-muted); }
.pulse-device-facts dd { text-align:right; margin:0; }
.pulse-device-technical { border-top:1px solid var(--pulse-line); padding-top:12px; font-size:12px; }
.pulse-device-technical summary { cursor:pointer; color:var(--kuzya-text); }
.pulse-device-technical[open] summary { margin-bottom:15px; }
.pulse-capability-group { border-bottom:1px solid var(--pulse-line); padding:16px 0; }
.pulse-capability-group>summary { cursor:pointer; font-weight:800; font-size:15px; }
.pulse-capability-group>summary small { display:block; margin:4px 0 0 18px; color:var(--pulse-muted); font-weight:400; font-size:12px; }
.pulse-capability-group[open]>.pulse-device-grid { margin-top:16px; }
.pulse-capability-card>p { font-size:12px; margin:12px 0; }
.pulse-capability-card>small { display:block; }
.pulse-capability-card label { display:block; margin-bottom:6px; }
@media(max-width:760px) { .pulse-device-grid { grid-template-columns:1fr; } }
@media(max-width:600px) { .pulse-filter-disclosure>summary { display:flex; gap:8px; align-items:center; font-size:14px; } .pulse-filter-disclosure>summary span { font-size:11px; color:var(--pulse-muted); font-weight:500; } .pulse-filter-disclosure>summary i { margin-left:auto; } .pulse-filter-disclosure[open]>summary { margin-bottom:20px; } .pulse-filter-disclosure[open]>summary i { transform:rotate(180deg); } }
