*{box-sizing:border-box}body{transform:none!important;margin:0 auto!important;padding:20px;max-width:1440px;display:grid;grid-template-columns:minmax(220px,280px) minmax(0,1fr);grid-template-areas:"header header" "navigation content" "footer footer";gap:18px;background:#f5f7fb;color:#1d2939;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}#header{grid-area:header}#navigation{grid-area:navigation}#content{grid-area:content}#footer{grid-area:footer}#random_content{display:none}.hero{padding:3.5rem 2rem;background:linear-gradient(135deg,#3b0d0d,#c62828);color:white;border-radius:12px}.hero h1,.page-heading h1{font-size:clamp(2rem,5vw,3.5rem);line-height:1.08;margin:.3rem 0 1rem}.lead{font-size:1.15rem;max-width:48rem}.eyebrow{text-transform:uppercase;letter-spacing:.1em;font-weight:700;font-size:.78rem;color:#64748b}.hero .eyebrow{color:#ffcdd2}.actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1.25rem}.button{display:inline-block;padding:.7rem 1rem;border:1px solid #cbd5e1;border-radius:.5rem;background:white;color:#3b0d0d;text-decoration:none;font-weight:700}.button.primary{background:#c62828;border-color:#c62828;color:white}.feature-grid,.metric-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:16px;margin:18px 0}.card,.metric{display:block;background:white;border:1px solid #e2e8f0;border-radius:12px;padding:1.25rem;box-shadow:0 1px 2px rgba(15,23,42,.06)}.link-card{text-decoration:none;color:inherit}.link-card:hover{border-color:#ef9a9a}.metric strong{display:block;font-size:2rem;color:#c62828}.metric span,.muted{color:#64748b}.section-title{display:flex;justify-content:space-between;align-items:center}.connection{display:grid;grid-template-columns:130px 1fr auto;gap:12px;padding:.8rem 0;border-bottom:1px solid #e2e8f0}.status{padding:.2rem .5rem;border-radius:999px;font-size:.8rem;font-weight:700}.status.ok{background:#dcfce7;color:#166534}.empty-state{padding:1.25rem;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:8px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse}th,td{padding:.7rem;text-align:left;border-bottom:1px solid #e2e8f0}.steps{padding-left:1.3rem}.steps li{padding:.35rem 0}@media(max-width:800px){body{padding:10px;display:block}#header,#navigation,#content,#footer{margin-bottom:14px}.connection{grid-template-columns:1fr}.hero{padding:2rem 1.25rem}}
#navigation .ui-accordion-content{overflow-x:hidden!important}.login-form{display:grid;gap:.5rem;min-width:0}.login-form input{max-width:100%;min-width:0}.login-actions{display:flex;gap:.5rem;flex-wrap:wrap}.login-actions a{white-space:nowrap}

#navigation,#page_login,#page_login .ui-accordion-content{min-width:0!important;max-width:100%!important;overflow:hidden!important}#page_login .login-form input[type=text],#page_login .login-form input[type=password]{display:block!important;width:calc(100% - 2px)!important;box-sizing:border-box!important}
.button.primary{background:#c62828!important;border-color:#c62828!important}.button.primary:hover{background:#a61f1f!important;border-color:#a61f1f!important}
/* Videos only: intentionally scoped so the legacy banner/navigation stay untouched. */
.videos-page { max-width: 1120px; }
.videos-page .page-heading { margin: 0; }
.videos-page .search-form { display:flex; gap:10px; margin:24px 0; }
.videos-page .search-form input { width:min(420px,100%); height:42px; padding:0 13px; border:1px solid #cbd5e1; border-radius:8px; background:#fff; }
.videos-page .search-form .button { height:42px; padding:.55rem 1rem; }
.videos-page .content-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.videos-page .content-grid .card { min-width:0; overflow:hidden; padding:0; margin:0; }
.videos-page .content-grid .media-thumb { display:block; width:100%; aspect-ratio:16 / 9; object-fit:cover; background:#1d2939; }
.videos-page .content-grid .card-body { padding:14px 16px 16px; }
.videos-page .content-grid h2 { margin:0 0 8px; font-size:1rem; line-height:1.35; overflow-wrap:anywhere; }
.videos-page .content-grid p { margin:7px 0 0; font-size:.88rem; line-height:1.45; }
.videos-page .pagination { display:flex; justify-content:center; align-items:center; gap:12px; margin:28px 0 0; }
@media (max-width:1050px) { .videos-page .content-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:640px) { .videos-page .search-form { flex-direction:column; } .videos-page .search-form input { width:100%; } .videos-page .content-grid { grid-template-columns:1fr; } .videos-page .pagination { flex-wrap:wrap; } }
/* Playlists only: contained to the Content-Hub, with no legacy-layout overrides. */
.playlists-page { max-width:1120px; }
.playlists-page .page-heading { margin:0; }
.playlists-page .search-form { display:flex; gap:10px; margin:24px 0; }
.playlists-page .search-form input { width:min(420px,100%); height:42px; padding:0 13px; border:1px solid #cbd5e1; border-radius:8px; background:#fff; }
.playlists-page .search-form .button { height:42px; padding:.55rem 1rem; }
.playlists-page .content-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.playlists-page .playlist-card { display:flex; flex-direction:column; min-width:0; min-height:218px; margin:0; padding:18px; }
.playlists-page .playlist-card__top { display:flex; align-items:center; justify-content:space-between; gap:10px; font-size:.82rem; font-weight:700; text-transform:capitalize; }
.playlists-page .playlist-card__type { padding:3px 8px; border:1px solid #ef9a9a; border-radius:999px; color:#a61f1f; font-size:.72rem; text-transform:uppercase; letter-spacing:.05em; }
.playlists-page .playlist-card h2 { margin:16px 0 9px; font-size:1.08rem; line-height:1.35; overflow-wrap:anywhere; }
.playlists-page .playlist-card__description { display:-webkit-box; margin:0; overflow:hidden; color:#475569; font-size:.9rem; line-height:1.5; -webkit-box-orient:vertical; -webkit-line-clamp:3; }
.playlists-page .playlist-card__meta { display:flex; justify-content:space-between; gap:10px; margin-top:auto; padding-top:16px; border-top:1px solid #e2e8f0; color:#64748b; font-size:.8rem; }
.playlists-page .pagination { display:flex; justify-content:center; align-items:center; gap:12px; margin:28px 0 0; }
@media (max-width:1050px) { .playlists-page .content-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:640px) { .playlists-page .search-form { flex-direction:column; } .playlists-page .search-form input { width:100%; } .playlists-page .content-grid { grid-template-columns:1fr; } .playlists-page .pagination { flex-wrap:wrap; } }

.videos-page .video-card__media { display:block; color:inherit; }
.videos-page .video-card__link, .playlists-page .playlist-card__link { display:inline-block; margin-top:14px; color:#a61f1f; font-size:.88rem; font-weight:700; text-decoration:none; }
.videos-page .video-card__link:hover, .playlists-page .playlist-card__link:hover { color:#c62828; text-decoration:underline; }
.playlists-page .playlist-card { padding:0; overflow:hidden; }
.playlists-page .playlist-card__media, .playlists-page .playlist-card__fallback { display:block; width:100%; aspect-ratio:16 / 9; background:#3b0d0d; }
.playlists-page .playlist-card__media img { display:block; width:100%; height:100%; object-fit:cover; }
.playlists-page .playlist-card__fallback { display:grid; place-items:center; color:#fff; font-size:2rem; }
.playlists-page .playlist-card__content { display:flex; flex:1; flex-direction:column; min-height:218px; padding:18px; }

/* Force one 16:9 preview box for every playlist, including missing local assets. */
.playlists-page .playlist-card__media,.playlists-page .playlist-card__fallback{position:relative;display:block;flex:none;height:0;min-height:0;padding-top:56.25%;overflow:hidden;aspect-ratio:auto!important;}
.playlists-page .playlist-card__media img{position:absolute;inset:0;display:block;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;}
.playlists-page .playlist-card__fallback{font-size:0;}
.playlists-page .playlist-card__fallback::after{position:absolute;inset:0;display:grid;place-items:center;content:"▶";color:#fff;font-size:2rem;}


/* Channel library: isolated to prevent legacy-layout regressions. */
.channels-page { max-width:1120px; }
.channels-page .page-heading { margin:0; }
.channels-page .search-form { display:flex; gap:10px; margin:24px 0; }
.channels-page .search-form input { width:min(420px,100%); height:42px; padding:0 13px; border:1px solid #cbd5e1; border-radius:8px; background:#fff; }
.channels-page .search-form .button { height:42px; padding:.55rem 1rem; }
.channels-page .content-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.channels-page .channel-card { min-width:0; margin:0; padding:0; overflow:hidden; }
.channels-page .channel-card__banner { display:block; width:100%; height:112px; object-fit:cover; background:#3b0d0d; }
.channels-page .channel-card__content { position:relative; display:flex; flex-direction:column; min-height:260px; padding:18px; }
.channels-page .channel-card__avatar { width:68px; height:68px; margin-top:-50px; border:3px solid #fff; border-radius:50%; background:#3b0d0d; object-fit:cover; }
.channels-page .channel-card__heading { margin-top:12px; }
.channels-page .channel-card__heading h2 { margin:6px 0 0; font-size:1.08rem; line-height:1.35; overflow-wrap:anywhere; }
.channels-page .channel-card__description { display:-webkit-box; min-height:40px; margin:12px 0; overflow:hidden; color:#475569; font-size:.9rem; line-height:1.45; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
.channels-page .channel-card__stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin:0; padding-top:14px; border-top:1px solid #e2e8f0; }
.channels-page .channel-card__stats div { min-width:0; }
.channels-page .channel-card__stats dt { color:#64748b; font-size:.7rem; }
.channels-page .channel-card__stats dd { margin:3px 0 0; overflow:hidden; font-size:.86rem; font-weight:700; text-overflow:ellipsis; }
.channels-page .channel-card__link { display:inline-block; margin-top:auto; padding-top:14px; color:#a61f1f; font-size:.88rem; font-weight:700; text-decoration:none; }
.channels-page .channel-card__link:hover { color:#c62828; text-decoration:underline; }
.channels-page .pagination { display:flex; justify-content:center; align-items:center; gap:12px; margin:28px 0 0; }
@media (max-width:1050px) { .channels-page .content-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:640px) { .channels-page .search-form { flex-direction:column; } .channels-page .search-form input { width:100%; } .channels-page .content-grid { grid-template-columns:1fr; } .channels-page .pagination { flex-wrap:wrap; } }

/* Keep full channel avatars inside the card; the previous overlap was clipped by the card border. */
.channels-page .channel-card__avatar { margin-top:0; }


/* Developer API pages: keep key handling clear and scoped. */
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.api-key-page,.api-docs-page { max-width:1120px; }
.api-key-page .page-heading,.api-docs-page .page-heading { margin:0 0 24px; }
.api-key-created { margin:0 0 18px; padding:20px; border:1px solid #ef9a9a; border-radius:12px; background:#fff7f7; }
.api-key-created h2 { margin:4px 0 8px; }
.api-key-secret { display:block; margin-top:14px; padding:12px; overflow-wrap:anywhere; border:1px dashed #c62828; border-radius:8px; background:#fff; color:#7f1d1d; font-size:.95rem; }
.api-key-create { display:grid; grid-template-columns:minmax(0,1fr) minmax(300px,1fr); gap:24px; align-items:end; }
.api-key-create h2,.api-key-list h2,.api-docs-page h2 { margin-top:0; }
.api-key-create label { display:block; margin-bottom:7px; font-weight:700; }
.api-key-create__controls { display:flex; gap:10px; }
.api-key-create input { min-width:0; flex:1; height:42px; padding:0 13px; border:1px solid #cbd5e1; border-radius:8px; }
.api-key-create .button { white-space:nowrap; }
.api-key-list { margin-top:18px; }
.key-status { display:inline-block; padding:3px 8px; border-radius:999px; font-size:.78rem; font-weight:700; }
.key-status.active { background:#dcfce7; color:#166534; }
.key-status.revoked { background:#fee2e2; color:#991b1b; }
.button.danger { padding:.45rem .7rem; border-color:#ef9a9a; color:#991b1b; }
.api-docs-page .card { margin-bottom:18px; }
.api-docs-page pre { margin:14px 0 0; padding:14px; overflow-x:auto; border-radius:8px; background:#1d2939; color:#f8fafc; }
.api-docs-page pre code { color:inherit; }
.api-docs-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.http-method { color:#166534; font-weight:800; font-size:.82rem; }
@media (max-width:720px) { .api-key-create,.api-docs-grid { grid-template-columns:1fr; } .api-key-create__controls { flex-direction:column; } .api-key-create .button { width:100%; text-align:center; } }


/* Error states: actionable pages without exposing server internals. */
.error-page { display:grid; min-height:340px; place-items:center; }
.error-page__card { width:min(100%,640px); text-align:center; }
.error-page__card h1 { margin:.25rem 0 .75rem; color:#991b1b; font-size:clamp(1.7rem,4vw,2.5rem); }
.error-page__card p { max-width:48ch; margin:.5rem auto; }
.error-page__card .actions { justify-content:center; }
.error-page__request { margin-top:20px!important; font-size:.85rem; }

/* Chatbot command management: scoped to avoid legacy page regressions. */
.commands-page{max-width:1120px}.commands-page__heading{margin:0 0 24px}.commands-page__heading h1{margin:.25rem 0 .5rem}.commands-page__heading p:last-child{max-width:68ch;color:#475569}.command-card{margin:0 0 18px;padding:22px;background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 1px 2px rgba(15,23,42,.06)}.command-card__header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin:0 0 18px}.command-card__header h2{margin:0 0 5px;font-size:1.18rem}.command-card__header p{margin:0;color:#64748b;font-size:.92rem}.command-form{display:grid;grid-template-columns:180px minmax(0,1fr);gap:11px 16px;align-items:center}.command-form label{font-weight:700}.command-form label small{display:block;margin-top:3px;color:#64748b;font-weight:400}.command-form input,.command-form textarea,.endpoint-row input[type=text]{width:100%;min-width:0;padding:10px 12px;border:1px solid #cbd5e1;border-radius:7px;background:#fff;font:inherit}.command-form textarea{min-height:96px;resize:vertical}.command-form__actions{grid-column:2;display:flex;align-items:center;gap:12px;flex-wrap:wrap}.command-form__actions span{color:#64748b;font-size:.82rem}.command-table{min-width:640px}.command-table th{padding:10px 12px;background:#f8fafc;color:#475569;font-size:.78rem;letter-spacing:.03em;text-transform:uppercase}.command-table td{padding:12px;vertical-align:top}.command-table code{padding:3px 7px;border-radius:5px;background:#f1f5f9;color:#7f1d1d;font-weight:700}.command-table__response{min-width:260px;white-space:pre-wrap;overflow-wrap:anywhere}.command-table__action{width:1%;white-space:nowrap}.command-table__action form{margin:0}.command-card--global{background:#f8fafc;border-color:#dbe3ee}.command-card--global .command-table{opacity:.7}.command-card--global .eyebrow{margin:0 0 4px;color:#64748b}.endpoint-list{border:1px solid #e2e8f0;border-radius:9px;overflow:hidden}.endpoint-row{display:grid;grid-template-columns:minmax(160px,1fr) 125px 145px auto;gap:14px;align-items:center;padding:14px 16px;border-bottom:1px solid #e2e8f0}.endpoint-row:last-child{border-bottom:0}.endpoint-row__identity{min-width:0}.endpoint-row__identity strong{display:block;overflow-wrap:anywhere}.endpoint-row__identity span{display:block;margin-top:3px;color:#64748b;font-size:.82rem;text-transform:capitalize}.endpoint-row__prefix{display:grid;gap:4px;color:#475569;font-size:.8rem;font-weight:700}.endpoint-row__prefix input{height:38px}.endpoint-row__enabled{display:flex;align-items:center;gap:7px;font-size:.9rem;white-space:nowrap}.endpoint-row .button{padding:.55rem .8rem;white-space:nowrap}.empty-state{margin:0}.commands-page .danger{background:#fff;color:#991b1b}.commands-page .danger:hover{border-color:#dc2626;background:#fef2f2}@media(max-width:720px){.command-card{padding:16px}.command-form{grid-template-columns:1fr}.command-form__actions{grid-column:auto}.endpoint-row{grid-template-columns:1fr 110px}.endpoint-row__enabled{grid-column:1}.endpoint-row .button{grid-column:2;grid-row:2}.endpoint-row__identity{grid-column:1 / -1}}@media(max-width:460px){.endpoint-row{grid-template-columns:1fr}.endpoint-row__prefix,.endpoint-row__enabled,.endpoint-row .button{grid-column:auto;grid-row:auto}.endpoint-row .button{width:100%;text-align:center}}

/* Fix command endpoint controls: real table columns, no legacy float collisions. */
.command-endpoints .table-wrap{overflow-x:auto}.endpoint-table{min-width:720px;width:100%;border-collapse:collapse}.endpoint-table th{padding:10px 12px;background:#f8fafc;color:#475569;font-size:.78rem;letter-spacing:.03em;text-align:left;text-transform:uppercase}.endpoint-table td{padding:12px;vertical-align:middle;border-bottom:1px solid #e2e8f0}.endpoint-table tbody tr:last-child td{border-bottom:0}.endpoint-table__name{max-width:360px;font-weight:650;overflow-wrap:anywhere}.endpoint-service{display:inline-block;padding:3px 8px;border:1px solid #dbe3ee;border-radius:999px;color:#475569;font-size:.78rem;text-transform:capitalize}.endpoint-form{display:contents}.endpoint-prefix{display:block!important;float:none!important;width:58px!important;height:38px!important;margin:0!important;padding:7px 9px!important;border:1px solid #94a3b8!important;border-radius:6px!important;background:#fff!important;text-align:center!important;font:inherit!important}.endpoint-enabled{display:inline-flex!important;float:none!important;align-items:center;gap:7px;margin:0!important;white-space:nowrap;font-size:.9rem}.endpoint-enabled input{float:none!important;width:auto!important;height:auto!important;margin:0!important}.endpoint-table .button{display:inline-block;float:none!important;margin:0!important;padding:.55rem .8rem!important;white-space:nowrap}.endpoint-table form{margin:0!important}@media(max-width:720px){.endpoint-table{min-width:640px}.command-endpoints .table-wrap{margin-right:-1px}}

/* Shared platform presentation: use {{> platform service=service}} in views. */
.platform-badge{display:inline-flex;align-items:center;gap:6px;min-height:22px;padding:3px 8px 3px 6px;border:1px solid #dbe3ee;border-radius:999px;background:#f8fafc;color:#334155;font-size:.78rem;font-weight:650;line-height:1;vertical-align:middle;white-space:nowrap}.platform-badge__icon{display:inline-block;flex:none;width:16px;height:16px;background-position:center;background-repeat:no-repeat;background-size:16px 16px}.platform-badge--youtube .platform-badge__icon{background-image:url("/service_icons/youtube.png")}.platform-badge--twitch .platform-badge__icon{background-image:url("/service_icons/twitch.png")}.platform-badge--discord .platform-badge__icon{background-image:url("/service_icons/discord.png")}.platform-badge--youtube{border-color:#fecaca;color:#991b1b;background:#fff7f7}.platform-badge--twitch{border-color:#ddd6fe;color:#5b21b6;background:#faf8ff}.platform-badge--discord{border-color:#bfdbfe;color:#1d4ed8;background:#f6faff}.platform-badge--unknown{color:#475569}.platform-badge--unknown .platform-badge__icon{display:none}.endpoint-service{padding:0;border:0;background:transparent}.connection .platform-badge{justify-self:start}

/* Global dashboard frame: compact product header, useful content above the fold. */
body{max-width:1440px;grid-template-columns:250px minmax(0,1fr);grid-template-areas:"header header" "navigation content" "footer footer";gap:18px;padding:18px;background:#f5f7fb}#header.site-header{display:flex;align-items:center;min-height:68px;padding:0 20px;border:1px solid #e2e8f0;border-radius:12px;background:#fff;box-shadow:0 1px 2px rgba(15,23,42,.06)}.site-brand{display:inline-flex;align-items:center;gap:11px;color:#1d2939;text-decoration:none}.site-brand__mark{display:grid;width:36px;height:36px;place-items:center;border-radius:9px;background:#c62828;color:#fff;font-size:.82rem;font-weight:800;letter-spacing:-.04em}.site-brand strong,.site-brand small{display:block}.site-brand strong{font-size:1.05rem;line-height:1.1}.site-brand small{margin-top:3px;color:#64748b;font-size:.76rem;line-height:1}.content-shell{min-width:0}.content-shell__body{min-width:0;padding:0}.content-shell__body>.page-heading:first-child,.content-shell__body>main:first-child{margin-top:0}#navigation{min-width:0}#navigation>.ui-accordion{margin:0}#navigation br+br{display:block}.content-shell .ui-accordion-content{display:block!important;border:0!important;background:transparent!important}.content-shell .ui-accordion-header{display:none!important}@media(max-width:680px){body{display:block;padding:10px}.site-header{margin-bottom:14px}#navigation{margin:14px 0}.content-shell{margin:14px 0}#header,#navigation,#content,#footer{margin-bottom:14px}}
/* Keep the navigation rail beside content on compact desktop/tablet widths. */
@media (min-width:681px) and (max-width:800px){
  body{display:grid;grid-template-columns:210px minmax(0,1fr);grid-template-areas:"header header" "navigation content" "footer footer";gap:14px;padding:14px}
  #header{grid-area:header}#navigation{grid-area:navigation}#content{grid-area:content}#footer{grid-area:footer}
}
/* Accessibility labels must never expand the visual page width. */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.sr-only{left:0!important;top:0!important}

/* The current view owns the content bar; the content area remains a white panel. */
.content-shell{background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 1px 2px rgba(15,23,42,.05);overflow:hidden}.content-titlebar{display:flex;align-items:center;min-height:56px;padding:0 24px;border-bottom:1px solid #e2e8f0;background:#fff}.content-titlebar h1{margin:0;color:#1d2939;font-size:1.08rem;font-weight:750;line-height:1.2}.content-shell__body{padding:24px}.content-shell__body>.page-heading:first-child{margin-top:0}.content-shell__body .layout-title-source{display:none}@media(max-width:680px){.content-titlebar{min-height:52px;padding:0 18px}.content-shell__body{padding:18px}}
/* Use the established mark, cropped to remove the banner's baked-in white margins. */
.site-brand__logo{display:block;position:relative;flex:none;width:110px;height:56px;overflow:hidden}.site-brand__logo img{position:absolute;top:-18px;left:-112px;width:317px!important;max-width:none!important;height:auto}.site-brand__copy{display:block;padding-left:2px}.site-brand__copy small{display:block;margin:0;color:#64748b;font-size:.76rem;line-height:1.1;white-space:nowrap}
/* Shared data-table system: every data view uses the same table rhythm and hierarchy. */
.table-wrap{max-width:100%;overflow-x:auto}.data-table{width:100%;border-collapse:separate;border-spacing:0;color:#334155}.data-table th{padding:11px 14px;border-top:1px solid #e2e8f0;border-bottom:1px solid #cbd5e1;background:#f8fafc;color:#475569;font-size:.75rem;font-weight:750;letter-spacing:.055em;line-height:1.25;text-align:left;text-transform:uppercase;white-space:nowrap}.data-table th:first-child{border-left:1px solid #e2e8f0;border-radius:8px 0 0 0}.data-table th:last-child{border-right:1px solid #e2e8f0;border-radius:0 8px 0 0}.data-table td{padding:13px 14px;border-bottom:1px solid #e2e8f0;background:#fff;line-height:1.45;vertical-align:middle}.data-table td:first-child{border-left:1px solid #e2e8f0}.data-table td:last-child{border-right:1px solid #e2e8f0}.data-table tbody tr:last-child td:first-child{border-radius:0 0 0 8px}.data-table tbody tr:last-child td:last-child{border-radius:0 0 8px 0}.data-table tbody tr:hover td{background:#fffafa}.data-table code{display:inline-block;padding:3px 7px;border-radius:5px;background:#f1f5f9;color:#7f1d1d;font-weight:700;overflow-wrap:anywhere}.data-table form{margin:0}.data-table td:last-child .button{white-space:nowrap}.data-table td[colspan]{color:#64748b;text-align:center}.data-table .platform-badge{vertical-align:middle}@media(max-width:680px){.data-table{min-width:560px}.data-table th,.data-table td{padding:10px 12px}}
/* Denser dashboard rhythm and a complete, uncropped original logo mark. */
body{gap:14px;padding:14px}.site-header{min-height:64px!important}.site-brand__logo{width:112px;height:58px}.site-brand__logo img{top:-17px;left:-105px;width:302px!important}.content-titlebar{min-height:50px;padding:0 18px}.content-shell__body{padding:18px}.feature-grid,.metric-grid{gap:12px;margin:14px 0}.card,.metric{padding:1rem}.command-card{margin-bottom:14px;padding:16px}.command-card__header{margin-bottom:14px}.command-form{gap:9px 14px}@media (min-width:681px) and (max-width:800px){body{gap:12px;padding:12px}}@media(max-width:680px){body{padding:8px}.content-titlebar{min-height:48px;padding:0 14px}.content-shell__body{padding:14px}.card,.metric{padding:.9rem}.command-card{padding:14px}}
/* Preserve deliberate breathing room above the original logo without loosening page rhythm. */
.site-header{min-height:70px!important}
.content-titlebar{min-height:50px;padding:0 18px;border-bottom:1px solid #cbd5e1;background:#f8fafc}.content-titlebar h1{color:#475569;font-size:.75rem;font-weight:750;letter-spacing:.055em;text-transform:uppercase}.site-header{min-height:74px!important}.site-brand__logo{width:88px;height:62px;overflow:visible}.site-brand__logo img{position:static;display:block;width:88px!important;height:auto;max-width:none!important}#navigation{display:grid;gap:12px;align-content:start}#navigation>br{display:none}#navigation>.ui-accordion{margin:0!important;overflow:hidden;border:1px solid #e2e8f0!important;border-radius:8px!important;background:#fff!important;box-shadow:0 1px 2px rgba(15,23,42,.05)}#navigation .ui-accordion-header{display:block!important;margin:0!important;padding:11px 14px!important;border:0!important;border-bottom:1px solid #cbd5e1!important;border-radius:0!important;background:#f8fafc!important;color:#475569!important;font-size:.75rem!important;font-weight:750!important;letter-spacing:.055em!important;line-height:1.25!important;text-transform:uppercase!important}#navigation .ui-accordion-header .ui-accordion-header-icon{display:none!important}#navigation .ui-accordion-content{display:block!important;padding:0!important;border:0!important;background:#fff!important}#navigation .ui-accordion-content>a{display:block;padding:11px 14px;border-bottom:1px solid #e2e8f0;color:#334155;text-decoration:none;line-height:1.35}#navigation .ui-accordion-content>a:hover{background:#fffafa;color:#991b1b}#navigation .ui-accordion-content>a:last-of-type{border-bottom:0}#navigation .ui-accordion-content br{display:none}#navigation .ui-accordion-content hr{margin:0;border:0;border-top:1px solid #e2e8f0}
/* Match the content title bar exactly to the table-style navigation headers. */
.content-titlebar{min-height:42px}
.content-titlebar{min-height:38px}
.channel-card__disconnect{margin:14px 0 0}.channel-card__disconnect .button{background:#fff;color:#991b1b;border-color:#fca5a5}.channel-card__disconnect .button:hover{background:#fef2f2;border-color:#dc2626}

/* Navigation refinement: stronger table-like grouping, compact rhythm and a dedicated login form. */
#navigation{gap:7px}
#navigation>.ui-accordion{border-color:#cbd5e1!important;box-shadow:0 1px 2px rgba(15,23,42,.08),0 0 0 1px rgba(148,163,184,.16)!important}
#navigation .ui-accordion-header{background:#e9eef5!important;border-bottom-color:#94a3b8!important;color:#334155!important}
#navigation .ui-accordion-content>a{padding:9px 12px;border-bottom-color:#dbe3ee}
#navigation .ui-accordion-content>a:hover{background:#fff7f7}
#page_login .ui-accordion-content{padding:14px!important;background:#fff!important}
#page_login .login-form{display:grid!important;gap:8px!important;margin:0!important}
#page_login .login-form label{float:none!important;width:auto!important;margin:0!important;color:#475569!important;font-size:.8rem!important;font-weight:700!important}
#page_login .login-form input[type=text],#page_login .login-form input[type=password]{float:none!important;box-sizing:border-box!important;width:100%!important;height:36px!important;margin:0!important;padding:7px 9px!important;border:1px solid #cbd5e1!important;border-radius:6px!important;background:#fff!important;font:inherit!important}
#page_login .login-actions{display:flex!important;align-items:center!important;gap:8px!important;margin-top:3px!important}
#page_login .login-actions input[type=submit]{float:none!important;width:auto!important;margin:0!important;padding:8px 11px!important;border-radius:6px!important}
#page_login .login-actions span{float:none!important;width:auto!important;margin:0!important;color:#64748b!important;font-size:.82rem!important}

/* Shared panel treatment: sidebar, content title, cards and tables use one hierarchy. */
#navigation{gap:8px!important}
#navigation>br{display:none!important;height:0!important;margin:0!important;padding:0!important}
#navigation>.ui-accordion{margin:0!important}
#navigation .ui-accordion-header,.content-titlebar,.card>h2,.data-table th{background:#e9eef5!important;border-color:#94a3b8!important;color:#334155!important}
.content-titlebar{border-bottom:1px solid #94a3b8!important}
.card,.metric{border-color:#cbd5e1!important;box-shadow:0 1px 2px rgba(15,23,42,.08),0 0 0 1px rgba(148,163,184,.12)!important}
.card>h2{margin:-1rem -1rem 1rem!important;padding:10px 14px!important;border-bottom:1px solid #94a3b8!important;border-radius:11px 11px 0 0!important;color:#334155!important;font-size:.75rem!important;font-weight:750!important;letter-spacing:.055em!important;line-height:1.25!important;text-transform:uppercase!important}
.content-titlebar h1{color:#334155!important}
.data-table th{border-top-color:#94a3b8!important;border-bottom-color:#94a3b8!important}
.data-table th:first-child{border-left-color:#94a3b8!important}.data-table th:last-child{border-right-color:#94a3b8!important}

/* Structural dashboard polish: primary panels share the same deliberate border and depth. */
#header.site-header,.content-shell{border-color:#cbd5e1!important;box-shadow:0 1px 2px rgba(15,23,42,.08),0 0 0 1px rgba(148,163,184,.12)!important}
.content-shell__body>.card+.card{margin-top:14px}
.connection{grid-template-columns:130px minmax(0,1fr) auto auto}
.connection__disconnect{margin:0}
.connection__disconnect .button{padding:.45rem .65rem;font-size:.82rem;background:#fff;color:#991b1b;border-color:#fca5a5}
.connection__disconnect .button:hover{background:#fef2f2;border-color:#dc2626}
@media(max-width:800px){.connection{grid-template-columns:1fr}.connection__disconnect .button{width:100%;text-align:center}}
