/* AeroPublic v3.6.3 - shared Admin design system.
   Scope: six administrator pages only. No sensor, database, graph, or relay logic. */
body.ap37-unified {
  --ap37-radius:22px;
  --ap37-content-width:1560px;
  --ap37-text:#173e30;
  --ap37-subtext:#557263;
  --ap37-accent:#087e59;
  --ap37-subtle:rgba(21,124,79,.085);
  --ap37-outline:rgba(93,152,115,.22);
  color:var(--ap37-text);
}
html[data-theme="dark"] body.ap37-unified {
  --ap37-text:#e3f8eb;
  --ap37-subtext:#aacabb;
  --ap37-accent:#69dbaa;
  --ap37-subtle:rgba(94,207,148,.1);
  --ap37-outline:rgba(135,201,155,.23);
}
body.ap37-unified .sidebar.ap37-sidebar {
  display:flex;flex-direction:column;min-height:100dvh;
  background:linear-gradient(155deg,#07533c,#073c2e 59%,#062e26);
}
body.ap37-unified .sidebar .ap37-brand {display:flex;align-items:center;gap:12px;padding:25px 19px 19px;min-height:87px}
body.ap37-unified .sidebar .sidebar-logo-card {flex:0 0 auto;display:grid;place-items:center;width:44px;height:44px;border:1px solid rgba(227,255,237,.24);border-radius:16px;background:linear-gradient(130deg,rgba(255,255,255,.18),rgba(255,255,255,.07));box-shadow:0 9px 18px rgba(0,31,19,.22),inset 1px 1px 1px rgba(255,255,255,.2)}
body.ap37-unified .sidebar .logo-text {font-size:1.14rem;line-height:1.12;letter-spacing:.02em;white-space:nowrap}
body.ap37-unified .sidebar .ap37-brand-subtitle {display:block;margin-top:4px;color:rgba(219,255,233,.69);font-size:9px;font-weight:750;letter-spacing:.135em}
body.ap37-unified .sidebar .sidebar-nav {padding:8px 9px 17px;overflow-y:auto;overscroll-behavior:contain;flex:1;min-height:0;scrollbar-width:thin;scrollbar-color:rgba(170,240,197,.27) transparent}
body.ap37-unified .sidebar .ap37-nav-label {margin:21px 13px 9px!important;padding:0!important;letter-spacing:.105em;text-transform:uppercase;color:rgba(219,255,234,.52);font-size:10px;font-weight:800;line-height:1.4}
body.ap37-unified .sidebar .ap37-nav-label:first-child {margin-top:4px!important}
body.ap37-unified .sidebar-nav .nav-item {display:flex;align-items:center;gap:12px;min-width:0;padding:10px 13px!important;margin:3px 4px;min-height:43px;line-height:1.32;font-size:12.6px;font-weight:650;color:rgba(243,255,247,.79);border-radius:14px;transform:none!important;transition:background .18s ease,box-shadow .18s ease,color .18s ease,border-color .18s ease}
body.ap37-unified .sidebar-nav .nav-item .ap37-icon {width:18px;height:18px;flex:0 0 18px;opacity:.92}
body.ap37-unified .sidebar-nav .nav-item>span:nth-child(2) {flex:1;min-width:0;overflow-wrap:normal;line-height:1.4}
body.ap37-unified .sidebar-nav .nav-item.ap37-subnav {font-size:11.9px;color:rgba(234,252,241,.72)}
body.ap37-unified .sidebar-nav .nav-item:hover {color:#fff;padding-left:13px!important;background:rgba(197,248,214,.135)}
body.ap37-unified .sidebar-nav .nav-item:focus-visible {outline:2px solid #a1f3ca!important;outline-offset:1px}
body.ap37-unified .sidebar-nav .nav-item.active,body.ap37-unified .sidebar-nav .nav-item[aria-current="page"] {color:#fff;background:linear-gradient(120deg,rgba(190,247,207,.24),rgba(154,234,188,.12));border-color:rgba(200,253,220,.32);box-shadow:inset 3px 0 #7ee5af,inset 1px 1px 2px rgba(255,255,255,.12),0 6px 15px rgba(0,0,0,.1)}
body.ap37-unified .sidebar .nav-badge {margin-left:auto;padding:2px 6px;min-width:23px;text-align:center;background:rgba(209,255,227,.16);color:#edfff3;border-radius:99px;font-size:10px;font-weight:800}
body.ap37-unified .ap37-sidebar-footer {flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:9px;padding:17px 17px 22px;border-top:1px solid rgba(228,255,236,.13);background:rgba(0,25,14,.15)}
body.ap37-unified .ap37-user-identity {display:flex;align-items:center;gap:10px;min-width:0}
body.ap37-unified .ap37-user-identity .user-avatar {display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:14px;font-size:13px;background:linear-gradient(135deg,#d1f7df,#a0e9bd);color:#12533d;box-shadow:0 7px 13px rgba(0,33,21,.23)}
body.ap37-unified .ap37-user-identity strong {display:block;max-width:118px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#fff;font-size:12.3px;line-height:1.4}
body.ap37-unified .ap37-user-identity small {display:block;margin-top:2px;color:rgba(233,255,239,.64);font-size:10px}
body.ap37-unified .ap37-logout {display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.18);border-radius:13px;color:#eafff0;cursor:pointer}
body.ap37-unified .ap37-logout:hover {background:rgba(255,255,255,.19)}
body.ap37-unified .main-content {min-width:0;background:transparent}
body.ap37-unified .topbar.ap37-topbar {min-height:78px;display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap;gap:16px;padding:14px clamp(17px,2.1vw,30px);box-shadow:0 6px 20px rgba(20,76,46,.08);border-radius:0}
body.ap37-unified .topbar.ap37-topbar>div:first-child,body.ap37-unified .ap37-topbar-heading {display:flex;align-items:center;gap:14px;min-width:0}
body.ap37-unified .topbar-title h1 {font-size:clamp(17px,1.45vw,22px);font-weight:800;letter-spacing:-.025em;color:var(--ap37-text)}
body.ap37-unified .topbar-title .breadcrumb {font-size:11.6px;color:var(--ap37-subtext);line-height:1.4;display:flex;align-items:center;gap:6px}
body.ap37-unified .topbar .topbar-actions {gap:10px;min-width:0}
body.ap37-unified .topbar :is(.ap37-menu-btn,#menuToggle) {display:grid;place-items:center;flex:0 0 41px;width:41px;height:41px;background:var(--apclay-grad);border:1px solid var(--apclay-border);border-radius:14px;color:var(--apclay-ink);box-shadow:var(--apclay-drop);cursor:pointer}
body.ap37-unified .topbar #menuToggle svg {fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
body.ap37-unified .topbar .ap37-public-link {display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:9px 13px;border-radius:13px;font-size:12px;font-weight:750;white-space:nowrap;box-shadow:var(--apclay-well)}
body.ap37-unified .topbar .ap37-public-link .ap37-icon {width:15px;height:15px}
body.ap37-unified .topbar #themeToggle {flex:0 0 41px!important;width:41px!important;height:41px!important;display:grid!important;place-items:center;border-radius:14px!important;border:1px solid var(--apclay-border)!important;background:var(--apclay-grad)!important;box-shadow:var(--apclay-drop);cursor:pointer}
body.ap37-unified .topbar #themeToggle svg {fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
body.ap37-unified .topbar .user-menu {display:flex;align-items:center;gap:8px;max-width:190px;min-width:0;padding:5px 8px 5px 5px;border:1px solid var(--apclay-border);border-radius:15px;background:var(--apclay-grad);box-shadow:var(--apclay-well)}
body.ap37-unified .topbar .user-menu .user-avatar {flex:0 0 30px;width:30px;height:30px;border-radius:11px;display:grid;place-items:center}
body.ap37-unified .topbar .user-menu .user-name {font-size:12px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ap37-text)}
body.ap37-unified .ap37-workspace-label {display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:8px 11px;background:var(--ap37-subtle);color:var(--ap37-accent);font-size:11px;font-weight:800;white-space:nowrap}
body.ap37-unified .ap37-workspace-label::before {content:'';width:7px;height:7px;border-radius:50%;background:currentColor}
body.ap37-unified .topbar .connection-status {border-radius:999px;padding:7px 11px;min-height:36px;font-size:11.5px;white-space:nowrap;max-width:180px}
body.ap37-unified .dashboard-content {width:100%;max-width:var(--ap37-content-width);margin-inline:auto;padding:clamp(16px,2.3vw,32px);min-width:0}
body.ap37-unified .dashboard-content > * {min-width:0}
body.ap37-unified :is(.ap-page-header,.ap-dashboard-welcome,.ap36-banner) {padding:clamp(21px,2.4vw,31px);margin-bottom:22px}
body.ap37-unified :is(.ap-page-header,.ap-dashboard-welcome,.ap36-banner) :is(h1,h2) {line-height:1.19;letter-spacing:-.035em}
body.ap37-unified :is(.card,.chart-card,.stat-card,.summary-card,.settings-card,.device-card,.ap36-panel,.ap36-preview,.ap-notification-panel) {min-width:0}
body.ap37-unified :is(.card-header,.settings-card-header,.ap36-panel-heading) {gap:12px;flex-wrap:wrap}
body.ap37-unified :is(.card-header,.settings-card-header,.ap36-panel-heading) :is(h2,h3) {letter-spacing:-.02em}
body.ap37-unified :is(.filter-card,.ap-filter-panel,.ap-device-filter,.ap36-statusbar) {padding:clamp(15px,1.5vw,22px)}
body.ap37-unified :is(.btn,.ap36-btn,.btn-add-device,.btn-autoregister,.btn-export) {min-height:40px;align-items:center;justify-content:center;gap:8px}
body.ap37-unified :is(.btn,.ap36-btn,.btn-add-device,.btn-autoregister,.btn-export):active:not(:disabled) {filter:brightness(.96)}
body.ap37-unified :is(.modal-content,.ap36-modal-panel) {max-height:calc(100dvh - 26px);overflow-y:auto;overscroll-behavior:contain}
/* Device management: clear priority, calm cards, deliberate control grouping. */
body.ap37-unified.ap34-devices .devices-header {gap:clamp(14px,2vw,25px);align-items:center}
body.ap37-unified.ap34-devices .devices-header-left {min-width:0;flex:1 1 350px}
body.ap37-unified.ap34-devices .header-actions {display:flex;gap:9px;align-items:center;justify-content:flex-end;flex-wrap:wrap}
body.ap37-unified.ap34-devices .header-actions button {white-space:nowrap;min-height:42px}
body.ap37-unified.ap34-devices .ap37-refresh-button {width:auto;height:auto;min-height:42px;display:inline-flex;gap:8px;padding:10px 15px;font-size:12.5px;font-weight:750;color:var(--ap37-text);border-radius:14px;background:var(--apclay-grad);border:1px solid var(--apclay-border);box-shadow:var(--apclay-drop)}
body.ap37-unified.ap34-devices .ap37-refresh-button .ap37-icon {height:17px;width:17px}
body.ap37-unified.ap34-devices .btn-autoregister,body.ap37-unified.ap34-devices .btn-add-device {border-radius:14px;padding:9px 14px;font-size:12.5px}
body.ap37-unified.ap34-devices .ap-device-filter {gap:13px}
body.ap37-unified.ap34-devices .ap37-device-hint {margin:4px 0 20px;padding:13px 16px;border:1px solid var(--ap37-outline);border-left:3px solid #20a473;background:var(--ap37-subtle);border-radius:15px;color:var(--ap37-subtext);font-size:12px;line-height:1.65}
body.ap37-unified.ap34-devices .ap37-device-hint strong {color:var(--ap37-text)}
body.ap37-unified.ap34-devices .devices-grid {display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,390px),1fr));gap:20px;align-items:stretch}
body.ap37-unified.ap34-devices .device-card {padding:20px;gap:0;overflow:hidden;min-width:0}
body.ap37-unified.ap34-devices .device-card-header {display:flex;flex-wrap:wrap;gap:12px;align-items:center;background:none;border:0;padding:0;margin-bottom:17px}
body.ap37-unified.ap34-devices .device-card-header .device-header-right {display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-left:auto}
body.ap37-unified.ap34-devices .device-icon-wrapper {width:46px;height:46px;border-radius:15px;background:linear-gradient(130deg,#e3f8e9,#d0eedd);color:#0c875c;box-shadow:inset 2px 2px 4px #fff,4px 5px 12px rgba(48,129,79,.15)}
body.ap37-unified.ap34-devices .device-name {margin-bottom:5px;font-size:clamp(17px,1.4vw,20px);line-height:1.25}
body.ap37-unified.ap34-devices .device-location {margin-bottom:5px;line-height:1.45}
body.ap37-unified.ap34-devices .device-id-small {margin-bottom:16px;font-size:11.5px;letter-spacing:.015em}
body.ap37-unified.ap34-devices .device-metrics {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:9px;background:var(--apclay-face-low);box-shadow:var(--apclay-well);border-color:var(--apclay-border);border-radius:18px;margin-bottom:14px}
body.ap37-unified.ap34-devices .device-metric {display:flex;flex-direction:column;justify-content:center;min-width:0;gap:5px;padding:11px 12px;border-radius:13px;background:var(--apclay-grad);border:1px solid var(--apclay-border)}
body.ap37-unified.ap34-devices .device-metric:first-child,body.ap37-unified.ap34-devices .device-metric:nth-child(2) {border-color:rgba(31,164,100,.28);background:linear-gradient(145deg,rgba(211,247,222,.67),rgba(235,250,238,.58))}
html[data-theme="dark"] body.ap37-unified.ap34-devices .device-metric:first-child,html[data-theme="dark"] body.ap37-unified.ap34-devices .device-metric:nth-child(2) {background:linear-gradient(145deg,#234b37,#1d362a)}
body.ap37-unified.ap34-devices .device-metric-label {font-size:11px;font-weight:750;color:var(--ap37-subtext)}
body.ap37-unified.ap34-devices .device-metric-value {font-size:clamp(14px,1.3vw,18px);line-height:1.35;color:var(--ap37-text);overflow-wrap:anywhere}
body.ap37-unified.ap34-devices .device-metric-value span {font-size:10px!important;color:var(--ap37-subtext)}
body.ap37-unified.ap34-devices .device-data-points {margin-bottom:15px;padding-inline:3px;color:var(--ap37-subtext)}
body.ap37-unified.ap34-devices .device-fanbar {display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch;gap:12px;padding:15px;background:var(--ap37-subtle);border:1px solid var(--ap37-outline);border-radius:17px;margin-bottom:15px}
body.ap37-unified.ap34-devices .ap37-fan-caption {display:block;color:var(--ap37-subtext);font-size:11px;font-weight:700;line-height:1.35;margin:0 0 7px}
body.ap37-unified.ap34-devices .ap37-relay-report {padding-bottom:12px;border-bottom:1px solid var(--ap37-outline)}
body.ap37-unified.ap34-devices .device-fan-state {display:block;min-height:23px}
body.ap37-unified.ap34-devices .device-fan-state .fan-badge {font-size:11.5px;line-height:1.5;font-weight:800;white-space:normal}
body.ap37-unified.ap34-devices .device-fan-btns {display:flex;flex-wrap:nowrap;align-items:stretch;width:100%;padding:4px;gap:4px;border:1px solid var(--ap37-outline);border-radius:13px;background:var(--apclay-face-low);box-shadow:var(--apclay-well)}
body.ap37-unified.ap34-devices .device-fan-btns .fan-btn {flex:1 1 0;min-width:0;min-height:40px;padding:8px 5px;border-radius:10px;font-size:12px;font-weight:800;box-shadow:none;transition:background .17s ease,color .17s ease}
body.ap37-unified.ap34-devices .device-fan-btns .fan-btn.active {background:#087a55;color:#fff;box-shadow:0 5px 12px rgba(5,96,60,.2)}
body.ap37-unified.ap34-devices .device-actions {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:auto}
body.ap37-unified.ap34-devices .device-actions button {min-height:43px;border-radius:13px;color:var(--ap37-text);background:var(--apclay-grad);border:1px solid var(--apclay-border);box-shadow:0 5px 10px rgba(35,101,59,.07);font-size:12px}
body.ap37-unified.ap34-devices .device-actions .btn-delete {color:#af3d38}
body.ap37-unified.ap34-devices .devices-footer {background:var(--apclay-grad);border-color:var(--apclay-border);border-radius:19px;box-shadow:var(--apclay-drop)}
/* Settings, reports, content editor, notifications: predictable control density. */
body.ap37-unified :is(.table-wrapper,.data-table-wrapper) {border-radius:16px}
body.ap37-unified :is(.table-wrapper,.data-table-wrapper) table {width:100%}
body.ap37-unified :is(.table-wrapper,.data-table-wrapper) th {font-weight:750;letter-spacing:.01em}
body.ap37-unified.ap34-reports :is(.filter-actions,.export-actions,.pagination-controls) {gap:9px;flex-wrap:wrap}
body.ap37-unified.ap34-reports :is(.filter-group input,.filter-group select) {min-height:42px}
body.ap37-unified.ap34-settings .settings-card {overflow:hidden}
body.ap37-unified.ap34-settings .settings-card-header {padding:clamp(14px,1.6vw,20px)}
body.ap37-unified.ap34-settings :is(.btn-save,.media-upload-form button) {min-height:43px}
body.ap37-unified.ap34-notifications .notif-filters {gap:9px;align-items:center}
body.ap37-unified.ap34-notifications :is(.notif-item,.notification-item) {padding:clamp(13px,1.5vw,20px)}
body.ap37-unified.ap36-editor .ap36-content {max-width:var(--ap37-content-width);padding:clamp(16px,2.3vw,32px)}
body.ap37-unified.ap36-editor .ap36-topbar {min-height:78px}
body.ap37-unified.ap36-editor .ap36-workspace {gap:22px;align-items:start}
body.ap37-unified.ap36-editor .ap36-tabs {padding:5px;border-radius:16px;gap:5px}
body.ap37-unified.ap36-editor .ap36-tab {border-radius:12px;min-height:43px;padding:9px 12px}
body.ap37-unified.ap36-editor .ap36-statusbar {gap:12px;flex-wrap:wrap}
body.ap37-unified.ap36-editor .ap36-statusbar .ap36-actions {gap:9px;flex-wrap:wrap}
body.ap37-unified.ap36-editor .ap36-preview {position:sticky;top:95px}
body.ap37-unified :is(button,a,input,textarea,select):focus-visible {outline:3px solid var(--ap37-accent)!important;outline-offset:3px}
@media (max-width:1160px) {
 body.ap37-unified .topbar .connection-status {max-width:140px}
 body.ap37-unified .topbar .user-menu .user-name {display:none}
 body.ap37-unified .topbar .user-menu {padding-right:5px}
 body.ap37-unified .ap37-workspace-label {display:none}
}
@media (max-width:800px) {
 body.ap37-unified .sidebar.ap37-sidebar {min-height:100dvh}
 body.ap37-unified .topbar.ap37-topbar {min-height:70px;gap:9px}
 body.ap37-unified .topbar-title .breadcrumb {display:none}
 body.ap37-unified .topbar .connection-status {display:none}
 body.ap37-unified .topbar .ap37-public-link {display:none}
 body.ap37-unified .topbar .user-menu {display:none}
 body.ap37-unified .topbar .topbar-actions {gap:8px}
 body.ap37-unified .topbar #themeToggle {flex-basis:40px!important;width:40px!important;height:40px!important}
 body.ap37-unified.ap36-editor .ap36-preview {position:static}
}
@media (max-width:640px) {
 body.ap37-unified .dashboard-content {padding:15px 14px 29px}
 body.ap37-unified .topbar.ap37-topbar {padding:10px 14px;min-height:64px}
 body.ap37-unified .topbar-title h1 {font-size:15px;line-height:1.32}
 body.ap37-unified .topbar :is(#menuToggle,.ap37-menu-btn) {flex-basis:40px;width:40px;height:40px}
 body.ap37-unified .ap37-brand {padding-top:19px}
 body.ap37-unified :is(.ap-page-header,.ap-dashboard-welcome,.ap36-banner) {padding:20px;border-radius:22px}
 body.ap37-unified :is(.card,.chart-card,.summary-card,.stat-card,.device-card,.settings-card,.ap36-panel,.ap36-preview,.ap36-statusbar) {border-radius:20px}
 body.ap37-unified.ap34-devices .devices-header-left {flex-basis:100%}
 body.ap37-unified.ap34-devices .header-actions {width:100%;justify-content:stretch;gap:8px}
 body.ap37-unified.ap34-devices .header-actions .ap37-refresh-button {flex:1 1 100%;justify-content:center}
 body.ap37-unified.ap34-devices .header-actions .btn-autoregister,body.ap37-unified.ap34-devices .header-actions .btn-add-device {flex:1 1 0;min-width:0;padding:9px 10px;justify-content:center}
 body.ap37-unified.ap34-devices .device-card {padding:16px}
 body.ap37-unified.ap34-devices .devices-grid {grid-template-columns:minmax(0,1fr);gap:15px}
 body.ap37-unified.ap34-devices .device-card-header {margin-bottom:12px}
 body.ap37-unified.ap34-devices .device-metric {padding:9px 10px}
 body.ap37-unified.ap34-devices .device-fanbar {padding:13px}
 body.ap37-unified.ap34-devices .device-actions {gap:8px}
 body.ap37-unified.ap34-devices .devices-footer {gap:8px;padding:14px}
 body.ap37-unified.ap36-editor .ap36-workspace {gap:16px}
 body.ap37-unified.ap36-editor .ap36-content {padding:15px 14px 29px}
 body.ap37-unified.ap36-editor .ap36-statusbar .ap36-actions {width:100%}
 body.ap37-unified.ap36-editor .ap36-statusbar .ap36-actions .ap36-btn {flex:1 1 auto}
}
@media(max-width:360px) {
 body.ap37-unified .topbar-title h1 {font-size:14px}
 body.ap37-unified.ap34-devices .header-actions .btn-autoregister,body.ap37-unified.ap34-devices .header-actions .btn-add-device {flex:1 1 100%}
 body.ap37-unified.ap34-devices .device-metrics {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (prefers-reduced-motion:reduce) {
 body.ap37-unified :is(.sidebar-nav .nav-item,.device-card,.btn,.ap36-btn,.device-fan-btns .fan-btn) {transition:none!important;animation:none!important}
}
/* Explicit font stack: Content Studio previously inherited browser serif when no font token resolved. */
body.ap37-unified {font-family:'Inter',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Arial,sans-serif;}
body.ap37-unified :is(button,input,select,textarea) {font-family:inherit;}
/* Legacy v3.4 device card had padding:0!important; restore one consistent internal inset. */
body.ap37-unified.ap34-devices #deviceList .device-card {padding:20px!important;}
body.ap37-unified.ap34-devices #deviceList .device-card-header {padding:0!important;margin-bottom:15px;background:transparent!important;}
@media(max-width:640px){body.ap37-unified.ap34-devices #deviceList .device-card{padding:16px!important;}}
/* Drawer toggle is for mobile only; the sidebar is already visible on desktop. */
@media(min-width:769px) {body.ap37-unified .topbar #menuToggle{display:none!important}}
@media(max-width:768px) {body.ap37-unified .topbar #menuToggle{display:grid!important}}
/* About page had its Remotion showcase placed outside <main>, turning it into a
   second flex column; keep it in the content area and make the cards readable. */
body.ap37-unified.ap34-about .about-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:stretch}
body.ap37-unified.ap34-about .about-card {min-width:0;padding:clamp(17px,1.8vw,23px);background-image:var(--apclay-grad);border:1px solid var(--apclay-border);box-shadow:var(--apclay-drop);border-radius:22px}
body.ap37-unified.ap34-about .about-card-content {min-width:0;overflow-wrap:anywhere}
body.ap37-unified.ap34-about .about-card-content.flex {display:flex;gap:12px}
body.ap37-unified.ap34-about .about-card-content.flex>.flex-1 {min-width:0;flex:1}
body.ap37-unified.ap34-about .about-card-content.flex>.w-20 {flex:0 0 86px;width:86px;max-width:28%;}
body.ap37-unified.ap34-about .about-card-content.flex>.w-20 img {width:100%;height:100%;object-fit:cover}
body.ap37-unified.ap34-about :is(.about-header,.author-card) {background-image:var(--apclay-grad);border:1px solid var(--apclay-border);box-shadow:var(--apclay-drop);border-radius:23px}
body.ap37-unified.ap34-about #remotion-showcase-section {width:100%;max-width:1000px;min-width:0;margin:24px auto;padding:clamp(13px,2vw,20px);border-radius:22px;background-image:var(--apclay-grad);border:1px solid var(--apclay-border);box-shadow:var(--apclay-drop)}
body.ap37-unified.ap34-about #aboutRemotionMount {width:100%;min-width:0;}
@media(max-width:950px){body.ap37-unified.ap34-about .about-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:460px){body.ap37-unified.ap34-about .about-card-content.flex{flex-wrap:wrap}body.ap37-unified.ap34-about .about-card-content.flex>.w-20{flex:0 0 100%;max-width:160px;height:150px}body.ap37-unified.ap34-about #remotion-showcase-section{padding:15px}}
body.ap37-unified.ap34-about .about-hero {display:grid;grid-template-columns:72px minmax(0,1fr);gap:20px;padding:clamp(20px,2.2vw,30px);align-items:center;background-image:var(--apclay-grad);border:1px solid var(--apclay-border);box-shadow:var(--apclay-drop);border-radius:23px}
body.ap37-unified.ap34-about .about-hero>div:last-child {min-width:0}
body.ap37-unified.ap34-about .about-title {line-height:1.27;letter-spacing:-.03em;overflow-wrap:normal}
@media(max-width:640px){body.ap37-unified.ap34-about .about-hero{grid-template-columns:minmax(0,1fr);justify-items:start;gap:14px}}
/* A legacy telemetry stylesheet forces refresh into a 34px icon slot;
   explicitly restore a readable labeled action in Devices. */
body.ap37-unified.ap34-devices .header-actions #refreshBtn.ap37-refresh-button {
  width:auto!important;height:auto!important;min-height:42px!important;
  min-width:max-content;flex:0 0 auto!important;
}
@media(max-width:640px){
 body.ap37-unified.ap34-devices .header-actions #refreshBtn.ap37-refresh-button {
  flex:1 1 100%!important;min-width:0!important;width:100%!important;
 }
}
