/* NovaNet unified warm brand layer — 
   Loaded after the existing product stylesheet so product behavior/layout
   remains intact while the shared visual system is standardized. */
:root{
  --bg:#111317;
  --carbon:#111317;
  --soft-carbon:#17191b;
  --dark-warm-carbon:#1e1a18;
  --warm-carbon-inactive:#33231d;
  --warm-carbon-selected:#5a2a1c;
  --panel:#171a1f;
  --panel2:#1d2025;
  --text:#f3f1ea;
  --muted:#d6b895;
  --accent:#ff5a1f;
  --accent-strong:#ff6a2a;
  --brand-ivory:#f6e7d7;
  --brand-sand:#d6b895;
  --brand-champagne:#ead7b8;
  --brand-burnished:#d97a2b;
  --sidebar:#0d0f12;
  --border:rgba(214,184,149,.28);
  --border-soft:rgba(214,184,149,.18);
  --warn:#ead7b8;
}

html,body{background:#111317;color:var(--text)}
body{
  background:
    radial-gradient(circle at 18% 0%,rgba(255,90,31,.055),transparent 34rem),
    linear-gradient(180deg,#111317 0%,#0e1013 100%);
}

.sidebar{
  background:linear-gradient(180deg,#0c0e11 0%,#111317 100%)!important;
  border-right-color:var(--border-soft)!important;
}
.brand-lockup{display:block!important;line-height:1!important}
.brand-logo{display:block;width:min(100%,190px);height:auto;object-fit:contain}
.edition{color:var(--brand-sand)!important;letter-spacing:.09em}
.sidebar nav a{color:#eee7de!important}
.sidebar nav a:hover{
  background:rgba(255,90,31,.10)!important;
  color:#fff!important;
}

.content{color:var(--text)}
a{color:var(--brand-champagne)}
.muted,small,p{color:var(--muted)}

.workspace-tabs,.workflow-tabs,.creator-workspace-nav,.media-tools-tabs{
  background:#14171b!important;
  border-color:var(--border-soft)!important;
}
:is(.workspace-tabs,.workflow-tabs,.creator-workspace-nav,.media-tools-tabs) a,
:is(.workspace-tabs,.workflow-tabs,.creator-workspace-nav,.media-tools-tabs) button{
  color:#d9c9b7!important;
}
:is(.workspace-tabs,.workflow-tabs,.creator-workspace-nav,.media-tools-tabs) a:hover,
:is(.workspace-tabs,.workflow-tabs,.creator-workspace-nav,.media-tools-tabs) button:hover{
  background:rgba(255,90,31,.09)!important;
  color:#fff!important;
}
:is(.workspace-tabs,.workflow-tabs,.creator-workspace-nav,.media-tools-tabs) a.active,
:is(.workspace-tabs,.workflow-tabs,.creator-workspace-nav,.media-tools-tabs) button.active,
:is(.workspace-tabs,.workflow-tabs,.creator-workspace-nav,.media-tools-tabs) [aria-selected="true"]{
  background:rgba(255,90,31,.16)!important;
  border-color:rgba(255,90,31,.42)!important;
  color:var(--brand-ivory)!important;
  box-shadow:inset 0 -2px 0 var(--accent);
}

.panel,.workspace-card,.channel-card,.stat,.destination-card,.settings-card,
.ingest-card,.package-limits-card,.advanced-details,.youtube-help,.youtube-help-card,
.monitor-card,.nn-login-card,.input-box{
  background:#171a1f!important;
  border-color:var(--border-soft)!important;
}

input,select,textarea{
  background:#13161a!important;
  border-color:rgba(214,184,149,.28)!important;
  color:var(--text)!important;
}
input[readonly]{background:#101216!important;color:#d9cec1!important}
input:focus,select:focus,textarea:focus{
  border-color:var(--accent)!important;
  box-shadow:0 0 0 3px rgba(255,90,31,.13)!important;
}
label{color:#e8ddd0!important}

button:not(.secondary):not(.danger):not(.stop):not(.start),
.button-link:not(.secondary):not(.danger){
  background:var(--accent)!important;
  color:#111317!important;
}
button:not(:disabled):hover,.button-link:hover{filter:brightness(1.06)}
.secondary,button.secondary,.button-link.secondary{
  background:#23201e!important;
  border-color:rgba(214,184,149,.28)!important;
  color:var(--brand-ivory)!important;
}
button.start{background:#238c59!important;color:#fff!important}
button.stop,.danger,button.danger{color:#fff!important}

.badge{background:var(--accent)!important;color:#111317!important}
.status.running,.nn-status-pill.status-running{background:#153626!important;border-color:#2d714f!important;color:#a8efc5!important}
.status.error,.flash.error{color:#ffc1ca!important}
.flash.success{color:#a8f0c7!important}

.destination-card,
.destination-card *{min-width:0}
.destination-editor-layout{min-width:0}
.destination-status-panel{
  min-width:0;
  background:#14171b!important;
  border-color:var(--border-soft)!important;
}
.destination-status-panel strong,
.destination-status-panel code,
.destination-card strong,
.destination-card code,
.destination-card input,
.destination-card .readonly-value{
  overflow-wrap:anywhere;
  word-break:break-word;
}
.destination-test-result{
  margin-top:2px;
  padding:10px 12px;
  border:1px solid var(--border-soft);
  border-radius:10px;
  background:#13161a;
  color:#e8ddd0;
  font-size:.84rem;
  line-height:1.35;
}
.destination-test-result.is-working{border-color:rgba(234,215,184,.42);color:var(--brand-champagne)}
.destination-test-result.is-success{background:#10251c;border-color:#285d45;color:#a8efc5}
.destination-test-result.is-error{background:#3d2029;border-color:#743747;color:#ffc1ca}

[data-workflow-tab].active-tab{
  animation:novanet-tab-in .14s ease-out;
}
@keyframes novanet-tab-in{
  from{opacity:.55;transform:translateY(2px)}
  to{opacity:1;transform:none}
}
@media(prefers-reduced-motion:reduce){
  [data-workflow-tab].active-tab{animation:none}
  *{scroll-behavior:auto!important}
}

@media(max-width:1050px){
  .destination-editor-layout{grid-template-columns:1fr!important}
  .destination-status-panel{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .destination-status-panel .destination-actions,
  .destination-status-panel>.destination-test-result,
  .destination-status-panel>small,
  .destination-status-panel .error-text{grid-column:1/-1}
}
@media(max-width:700px){
  .brand-logo{width:min(220px,74vw)}
}
@media(max-width:650px){
  .destination-status-panel{grid-template-columns:1fr!important}
}

/* ============================================================
   NOVANET WARM SURFACE SYSTEM
   Remove old blue/navy product surfaces while preserving
   semantic green/red status colors and the certified layout.
   ============================================================ */
:root{
  --surface:#171a1f!important;
  --surface-2:#1c1d1f!important;
  --surface-3:#131517!important;
  --border:rgba(214,184,149,.30)!important;
  --border-soft:rgba(214,184,149,.20)!important;
  --muted:#c9b49e!important;
  --muted-2:#aa927a!important;
  --accent:#ff5a1f!important;
  --accent-strong:#ff7a3d!important;
}

/* Primary dashboard surfaces */
.preview-shell,
.status-rail,
.workspace-card{
  background:linear-gradient(180deg,#191b1e 0%,#151719 100%)!important;
  border-color:rgba(214,184,149,.24)!important;
}
.preview-frame{
  background:#090b0d!important;
  border-color:rgba(214,184,149,.20)!important;
}
.preview-frame video{background:#070809!important}
.preview-empty{
  color:#c9b49e!important;
  background:radial-gradient(circle at 50% 40%,rgba(255,90,31,.07),rgba(9,11,13,.94))!important;
}
.preview-resolution{
  background:rgba(12,13,14,.86)!important;
  border-color:rgba(214,184,149,.26)!important;
  color:#f3f1ea!important;
}
.status-facts{
  border-color:rgba(214,184,149,.20)!important;
}
.status-facts div{
  border-bottom-color:rgba(214,184,149,.14)!important;
}
.status-facts dt{color:#c9b49e!important}
.status-dot-large:not(.running){
  background:#8f806f!important;
  box-shadow:0 0 0 5px rgba(214,184,149,.08)!important;
}
.nn-status-pill:not(.status-running):not(.status-error):not(.status-stopped):not(.status-offline){
  background:#211f1d!important;
  border-color:rgba(214,184,149,.28)!important;
  color:#ead7b8!important;
}

/* Brand labels / section identity: orange, not blue */
.nn-eyebrow,
.section-kicker{
  color:#ff7a3d!important;
}

/* Source / encoder / workflow surfaces */
.input-box,
.source-detail-panel,
.ingest-card,
.package-limits-card,
.advanced-details,
.youtube-help,
.readonly-field,
.credential-state,
.package-profile-summary article,
.advanced-grid>div,
.about-grid>div,
.limit-item,
.insertion-panel,
.encoding-summary,
.overlay-preview-card,
.player-status-note{
  background:#17191b!important;
  border-color:rgba(214,184,149,.22)!important;
}
.compact-choice{
  background:#17191b!important;
  border-color:rgba(214,184,149,.22)!important;
}
.compact-choice:hover,
.compact-choice.selected{
  background:rgba(255,90,31,.08)!important;
  border-color:rgba(255,90,31,.58)!important;
}
.choice-indicator{
  background:#121416!important;
  border-color:#a68d75!important;
}
.compact-choice input:checked+.choice-indicator{
  background:#fff!important;
  border-color:#ff5a1f!important;
}
.info-callout{
  background:#1b1815!important;
  border-color:rgba(217,122,43,.42)!important;
  border-left-color:#ff5a1f!important;
  color:#f6e7d7!important;
}
.info-callout>div,
.info-callout span{color:#d6b895!important}
.advanced-details summary,
.youtube-help summary{color:#ead7b8!important}
.switch span{background:#403a35!important}
.switch input:checked+span{background:#ff5a1f!important}
.custom-control{border-color:#ff5a1f!important}
.encoding-summary strong{color:#ff8a55!important}
.encoding-summary span{color:#e8ddd0!important}
.encoding-summary span:last-child{color:#c9b49e!important}

/* Form surfaces */
input,select,textarea{
  background:#121416!important;
  border-color:rgba(214,184,149,.28)!important;
  color:#f3f1ea!important;
}
input[readonly]{background:#0f1113!important;color:#d9cec1!important}

/* Destination surfaces */
.destination-card,
.destination-status-panel,
.empty-state{
  background:#17191b!important;
  border-color:rgba(214,184,149,.22)!important;
}
.destination-status-panel>div:not(.destination-actions){
  border-bottom-color:rgba(214,184,149,.16)!important;
}
.youtube-help-card.youtube-guidance{
  background:linear-gradient(180deg,#1a1816,#151719)!important;
  border-color:rgba(217,122,43,.38)!important;
}
.youtube-guidance>summary,
.help-copy p{color:#ead7b8!important}

/* Pull Access — retire the remaining blue panel family */
.pull-access-panel{
  background:linear-gradient(180deg,#191b1e 0%,#151719 100%)!important;
  border-color:rgba(214,184,149,.26)!important;
}
.pull-access-fact{
  background:#121416!important;
  border-color:rgba(214,184,149,.18)!important;
}
.pull-access-fact small{color:#d6b895!important}
.pull-access-existing{
  background:#181715!important;
  border-color:rgba(214,184,149,.26)!important;
}
.pull-access-state[data-state="disabled"]{
  background:#211f1d!important;
  border-color:rgba(214,184,149,.30)!important;
  color:#ead7b8!important;
}
.pull-access-state:not([data-state="enabled"]):not([data-state="warning"]){
  background:#211f1d!important;
  border-color:rgba(214,184,149,.30)!important;
  color:#ead7b8!important;
}

/* Graphics / preview surfaces */
.overlay-preview-card{
  background:#141618!important;
  border-color:rgba(214,184,149,.22)!important;
}
.overlay-preview-card header{border-bottom-color:rgba(214,184,149,.16)!important}
.overlay-preview-stage{
  background:linear-gradient(135deg,#181613,#0d0f11 62%,#211914)!important;
  border-color:rgba(214,184,149,.20)!important;
}
.overlay-preview-text span{color:#eadfd2!important}

/* Modal/preview chrome */
.preview-state{
  background:linear-gradient(135deg,rgba(12,13,14,.94),rgba(28,22,18,.92))!important;
  color:#ead7b8!important;
}
.preview-state.offline{color:#b9a58f!important}
.preview-control{
  background:rgba(17,19,23,.90)!important;
  border-color:rgba(214,184,149,.30)!important;
}
.preview-control:hover{background:#24201d!important}
.preview-modal-panel{
  background:#151719!important;
  border-color:rgba(214,184,149,.26)!important;
}

/* Keep semantic states semantic; only non-semantic blue is retired. */
.status.running,
.nn-status-pill.status-running,
.pull-access-state[data-state="enabled"]{
  background:#153626!important;
  border-color:#2d714f!important;
  color:#a8efc5!important;
}
.status.error,
.nn-status-pill.status-error,
.destination-test-result.is-error{
  color:#ffc1ca!important;
}


/* ============================================================
   NOVANET WARM CONTROL SYSTEM
   Close remaining blue guidance tiles and native form accents.
   ============================================================ */
.youtube-guidance>summary strong{
  color:#f3f1ea!important;
}
.youtube-guidance>summary small{
  color:#d6b895!important;
}
.youtube-guidance-grid article{
  background:#141618!important;
  border-color:rgba(214,184,149,.22)!important;
}
.youtube-guidance-grid h4{
  color:#f6e7d7!important;
}
.youtube-guidance-grid p{
  color:#d6b895!important;
}
.youtube-guidance .youtube-help-note{
  background:#211b16!important;
  border-color:rgba(217,122,43,.42)!important;
  color:#ead7b8!important;
}
.youtube-guidance .youtube-help-note strong{
  color:#f6e7d7!important;
}

input[type="range"]{
  accent-color:#ff5a1f!important;
}
input[type="range"]::-webkit-slider-thumb{
  accent-color:#ff5a1f!important;
}

/* Any residual generic blue links inside branded workspace surfaces
   inherit the warm system unless they are semantic status controls. */
.workspace-card a:not(.button-link),
.panel a:not(.button-link),
.input-box a:not(.button-link),
.pull-access-panel a:not(.button-link){
  color:#ead7b8;
}
.workspace-card a:not(.button-link):hover,
.panel a:not(.button-link):hover,
.input-box a:not(.button-link):hover,
.pull-access-panel a:not(.button-link):hover{
  color:#ff7a3d;
}

/* ============================================================
   NOVANET UI FINISHING  — 
   Shared-reference behavior for the commercial package family.
   ============================================================ */
html{scroll-behavior:smooth}
.brand-lockup{
  text-decoration:none!important;
  cursor:pointer;
  border-radius:10px;
}
.brand-lockup:focus-visible{
  outline:2px solid #ff5a1f;
  outline-offset:4px;
}

/* Fully retire native/browser blue from graphics range controls. */
input[type="range"]{
  -webkit-appearance:none!important;
  appearance:none!important;
  width:100%;
  height:22px;
  background:transparent!important;
  accent-color:#ff5a1f!important;
  cursor:pointer;
}
input[type="range"]::-webkit-slider-runnable-track{
  height:6px;
  border:1px solid rgba(214,184,149,.30);
  border-radius:999px;
  background:#3b342e;
}
input[type="range"]::-webkit-slider-thumb{
  -webkit-appearance:none!important;
  appearance:none!important;
  width:18px;
  height:18px;
  margin-top:-7px;
  border:2px solid #f6e7d7;
  border-radius:50%;
  background:#ff5a1f;
  box-shadow:0 0 0 3px rgba(255,90,31,.14);
}
input[type="range"]::-moz-range-track{
  height:6px;
  border:1px solid rgba(214,184,149,.30);
  border-radius:999px;
  background:#3b342e;
}
input[type="range"]::-moz-range-progress{
  height:6px;
  border-radius:999px;
  background:#d97a2b;
}
input[type="range"]::-moz-range-thumb{
  width:16px;
  height:16px;
  border:2px solid #f6e7d7;
  border-radius:50%;
  background:#ff5a1f;
  box-shadow:0 0 0 3px rgba(255,90,31,.14);
}
.overlay-control-grid output{color:#ead7b8!important}

/* Guidance copy stays inside the approved warm palette. */
.youtube-guidance small,
.youtube-guidance p,
.youtube-guidance .muted{
  color:#d6b895!important;
}

/* Empty text overlay means no text object at all; graphic-only is valid. */
.overlay-preview-text[hidden]{display:none!important}

@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
}


/* NOVANET GRAPHICS POSITION — FAMILY REFERENCE
   Uploaded graphic follows Position control exactly like lower-third text. */
.overlay-preview-stage[data-position="bottom_left"] #overlay-preview-image{
  left:5%; right:auto; top:auto; bottom:7%; transform:none;
}
.overlay-preview-stage[data-position="bottom_right"] #overlay-preview-image{
  left:auto; right:5%; top:auto; bottom:7%; transform:none;
}
.overlay-preview-stage[data-position="top_left"] #overlay-preview-image{
  left:5%; right:auto; top:7%; bottom:auto; transform:none;
}
.overlay-preview-stage[data-position="top_right"] #overlay-preview-image{
  left:auto; right:5%; top:7%; bottom:auto; transform:none;
}
.overlay-preview-stage[data-position="center"] #overlay-preview-image{
  left:50%; right:auto; top:50%; bottom:auto; transform:translate(-50%,-50%);
}

/* NOVANET CHANNEL LOG — FAMILY REFERENCE */
.log-view{
  background:#111317!important;
  color:#F3F1EA!important;
  border-color:#5f5143!important;
  caret-color:#FF5A1F;
  scrollbar-color:#D97A2B #111317;
}
.log-view::-webkit-scrollbar{width:12px;height:12px}
.log-view::-webkit-scrollbar-track{background:#111317}
.log-view::-webkit-scrollbar-thumb{
  background:#6f5d4a;
  border:3px solid #111317;
  border-radius:999px;
}
.log-view::-webkit-scrollbar-thumb:hover{background:#D97A2B}
.diagnosis-note{color:#D6B895!important}


/* ============================================================
   NOVANET PRO — PRODUCT COMPONENT SYSTEM
   Sheeba/Sasha visual contract promoted to the two-channel Pro UI.
   Brand stylesheet loads LAST after core and page-specific CSS.
   Semantic success/warning/error states remain semantic.
   ============================================================ */
.package-pro .content{background:transparent!important}

.package-pro .pro-page-header,
.package-pro .pro-channel-card,
.package-pro .pro-channel-header,
.package-pro .pro-control-section,
.package-pro .pro-channel-summary>div,
.package-pro .pro-destination-summary,
.package-pro .pro-channel-identity,
.package-pro .pro-source-type-card,
.package-pro .pro-ingest-card,
.package-pro .pro-profile-summary>div,
.package-pro .pro-encoder-advanced,
.package-pro .destination-limits-panel,
.package-pro .destination-limit-card,
.package-pro .pro-destination-card,
.package-pro .pro-destination-status-panel,
.package-pro .settings-card,
.package-pro .status-tile,
.package-pro .channel-switch-dialog-card{
  background:#17191b!important;
  border-color:rgba(214,184,149,.24)!important;
  color:#f3f1ea!important;
}

.package-pro .pro-channel-card{
  background:linear-gradient(180deg,#17191b 0%,#141619 100%)!important;
}
.package-pro .pro-channel-header{
  background:#17191b!important;
  border-bottom-color:rgba(214,184,149,.20)!important;
}
.package-pro .pro-channel-header small,
.package-pro .pro-channel-jump-nav span,
.package-pro .pro-control-section-heading p,
.package-pro .pro-channel-summary dt,
.package-pro .pro-destination-summary>strong,
.package-pro .pro-destination-status-panel small,
.package-pro .pro-profile-summary small,
.package-pro .source-detail-heading small{
  color:#d6b895!important;
}
.package-pro .pro-channel-summary dd,
.package-pro .pro-channel-jump-nav strong,
.package-pro .pro-destination-status-panel strong,
.package-pro .pro-profile-summary strong{
  color:#f3f1ea!important;
}

.package-pro .pro-channel-jump-nav a{
  background:#23201e!important;
  border-color:rgba(214,184,149,.26)!important;
  color:#f6e7d7!important;
}
.package-pro .pro-channel-jump-nav a:hover{
  background:#302923!important;
  border-color:rgba(255,90,31,.42)!important;
}

.package-pro .pro-channel-preview,
.package-pro .monitor-preview-live,
.package-pro .unified-preview{
  background:#090b0d!important;
  border-color:rgba(214,184,149,.22)!important;
}
.package-pro .pro-channel-preview .preview-state{
  background:radial-gradient(circle at 50% 42%,rgba(255,90,31,.055),rgba(9,11,13,.96))!important;
  color:#ead7b8!important;
}
.package-pro .preview-meta{
  background:rgba(9,11,13,.90)!important;
  border-color:rgba(214,184,149,.24)!important;
  color:#f3f1ea!important;
}

.package-pro .pro-control-section,
.package-pro .pro-stream-control-section,
.package-pro .pro-preview-control-section{
  background:#151719!important;
  border-color:rgba(214,184,149,.22)!important;
}
.package-pro .pro-control-badge.monitor-only{
  background:#211b16!important;
  border-color:rgba(217,122,43,.42)!important;
  color:#ead7b8!important;
}
.package-pro .pro-channel-action-row .secondary,
.package-pro .pro-channel-action-row>a,
.package-pro .pro-preview-actions>button,
.package-pro .pro-preview-actions>a{
  background:#23201e!important;
  border-color:rgba(214,184,149,.30)!important;
  color:#f6e7d7!important;
}
.package-pro .pro-channel-action-row>a:hover,
.package-pro .pro-preview-actions>a:hover,
.package-pro .pro-preview-actions>button:hover:not(:disabled){
  background:#302923!important;
  border-color:rgba(255,90,31,.40)!important;
}
.package-pro .pro-control-hint{
  background:#181715!important;
  border-left-color:#8f806f!important;
  color:#d6b895!important;
}

.package-pro .pro-channel-summary>div,
.package-pro .pro-destination-summary{
  background:#151719!important;
  border-color:rgba(214,184,149,.20)!important;
}

.package-pro .pro-channel-identity{
  background:#17191b!important;
  border-color:rgba(214,184,149,.28)!important;
}
.package-pro .pro-channel-name-field>span,
.package-pro .pro-channel-switcher-label{color:#d6b895!important}
.package-pro .pro-channel-switch-button{
  background:#23201e!important;
  border-color:rgba(214,184,149,.30)!important;
  color:#f6e7d7!important;
}
.package-pro .pro-channel-switch-button:hover{
  background:#302923!important;
  border-color:rgba(255,90,31,.48)!important;
}
.package-pro .pro-channel-switch-button.active{
  background:rgba(255,90,31,.18)!important;
  border-color:#ff5a1f!important;
  color:#fff!important;
}
.package-pro .channel-save-state.saving{color:#ead7b8!important}
.package-pro .channel-switch-dialog{background:rgba(8,8,8,.76)!important}
.package-pro .channel-switch-dialog-card p{color:#d6b895!important}

.package-pro .pro-source-type-card,
.package-pro .source-detail-panel,
.package-pro .pro-ingest-card,
.package-pro .pro-encoder-advanced,
.package-pro .encoder-lock-summary>div,
.package-pro .pro-profile-summary>div,
.package-pro .credential-state,
.package-pro .readonly-field,
.package-pro .encoding-summary,
.package-pro .overlay-preview-card,
.package-pro .insertion-panel{
  background:#141618!important;
  border-color:rgba(214,184,149,.22)!important;
}
.package-pro .studio-source-display.selected,
.package-pro .compact-choice.selected,
.package-pro .compact-choice:hover{
  background:rgba(255,90,31,.08)!important;
  border-color:rgba(255,90,31,.58)!important;
}
.package-pro .studio-source-display.selected .choice-indicator,
.package-pro .compact-choice input:checked+.choice-indicator{
  border-color:#ff5a1f!important;
}
.package-pro .info-callout{
  background:#1b1815!important;
  border-left-color:#ff5a1f!important;
  color:#f6e7d7!important;
}

.package-pro .destination-limits-panel,
.package-pro .destination-limit-card,
.package-pro .destination-card,
.package-pro .pro-destination-status-panel{
  background:#17191b!important;
  border-color:rgba(214,184,149,.24)!important;
}
.package-pro .destination-section .destination-card{
  background:linear-gradient(180deg,#191b1e 0%,#151719 100%)!important;
  box-shadow:0 8px 20px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.02)!important;
}
.package-pro .package-limit-badge{
  background:rgba(255,90,31,.14)!important;
  border-color:rgba(255,90,31,.42)!important;
  color:#f6e7d7!important;
}
.package-pro .destination-divider{
  background:linear-gradient(90deg,rgba(255,90,31,.95),rgba(217,122,43,.76),rgba(234,215,184,.38),rgba(214,184,149,.10))!important;
  box-shadow:0 0 12px rgba(255,90,31,.12)!important;
}
.package-pro .youtube-help-card.youtube-guidance{
  background:linear-gradient(180deg,#1a1816,#151719)!important;
  border-color:rgba(217,122,43,.40)!important;
}
.package-pro .youtube-help-body>div,
.package-pro .youtube-guidance-grid article,
.package-pro .youtube-help-note{
  background:#17191b!important;
  border-color:rgba(214,184,149,.22)!important;
}
.package-pro .pro-destination-editor-layout,
.package-pro .pro-destination-main-form,
.package-pro .pro-destination-status-panel{min-width:0!important}
.package-pro .pro-destination-status-panel strong,
.package-pro .pro-destination-status-panel code,
.package-pro .pro-destination-status-panel .destination-endpoint-value{
  overflow-wrap:anywhere!important;
  word-break:break-word!important;
}

.package-pro .settings-card{
  background:#17191b!important;
  border-color:rgba(214,184,149,.26)!important;
}
.package-pro .status-tile{
  background:#151719!important;
  border-color:rgba(214,184,149,.22)!important;
}
.package-pro .infrastructure-details summary{color:#f3f1ea!important}
.package-pro .infrastructure-details summary span{color:#d6b895!important}

.package-pro input[type="range"]{accent-color:#ff5a1f!important}
.package-pro .section-kicker{color:#ff7a3d!important}
.package-pro .overlay-control-grid output,
.package-pro .youtube-guidance p,
.package-pro .youtube-guidance small{color:#d6b895!important}

@media(max-width:1050px){
  .package-pro .pro-destination-editor-layout{grid-template-columns:1fr!important}
  .package-pro .pro-destination-status-panel{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .package-pro .pro-destination-status-panel .destination-actions,
  .package-pro .pro-destination-status-panel>.destination-test-result,
  .package-pro .pro-destination-status-panel>small,
  .package-pro .pro-destination-status-panel .error-text{grid-column:1/-1!important}
}
@media(max-width:650px){
  .package-pro .pro-destination-status-panel{grid-template-columns:1fr!important}
}

/* ============================================================
   OPERATIONS CENTER — WARM STATUS AND CONTROL SYSTEM
   Operations Center was the sole remaining Pro legacy-blue surface.
   Keep semantic green / warning / error states semantic.
   ============================================================ */
.package-pro .ops-status-tile,
.package-pro .ops-destination-block,
.package-pro .ops-guidance,
.package-pro .stream-doctor,
.package-pro .stream-doctor-heading,
.package-pro .stream-doctor-advanced,
.package-pro .doctor-advanced-grid>div{
  background:#17191b!important;
  border-color:rgba(214,184,149,.24)!important;
  color:#f3f1ea!important;
}

.package-pro .ops-status-tile{
  background:#151719!important;
}
.package-pro .ops-status-tile small,
.package-pro .stream-doctor-heading small,
.package-pro .doctor-step small,
.package-pro .doctor-state,
.package-pro .stream-doctor-advanced>summary,
.package-pro .doctor-note,
.package-pro .doctor-advanced-grid span{
  color:#d6b895!important;
}

.package-pro .stream-doctor-heading{
  border-bottom-color:rgba(214,184,149,.22)!important;
}
.package-pro .doctor-step{
  background:#151719!important;
  border-bottom-color:rgba(214,184,149,.18)!important;
  color:#f3f1ea!important;
}
.package-pro .doctor-step:not(:last-child)::after{
  background:rgba(214,184,149,.34)!important;
}
.package-pro .doctor-node{
  border-color:#8f806f!important;
  background:#151719!important;
}
/* Preserve semantic doctor states. */
.package-pro .doctor-step[data-tone="ok"] .doctor-node{
  border-color:#50b984!important;
  background:#50b984!important;
}
.package-pro .doctor-step[data-tone="warning"] .doctor-node{
  border-color:#ddb35c!important;
  background:#ddb35c!important;
}
.package-pro .doctor-summary[data-tone="ok"]{
  border-color:rgba(78,190,132,.35)!important;
  background:rgba(78,190,132,.10)!important;
  color:#9cdfbd!important;
}
.package-pro .doctor-summary[data-tone="warning"]{
  border-color:rgba(226,176,74,.40)!important;
  background:rgba(226,176,74,.10)!important;
  color:#e7c77e!important;
}
.package-pro .doctor-step[data-tone="ok"] .doctor-state{color:#9cdfbd!important}
.package-pro .doctor-step[data-tone="warning"] .doctor-state{color:#e7c77e!important}

.package-pro .stream-doctor-advanced{
  border-top-color:rgba(214,184,149,.22)!important;
}
.package-pro .doctor-advanced-grid>div{
  background:#141618!important;
}

/* Operations More menu: retire the last blue control. */
.package-pro .pro-more-actions>summary,
.package-pro .nova-channel-control-bar .pro-more-actions>summary{
  background:#23201e!important;
  border-color:rgba(214,184,149,.30)!important;
  color:#f6e7d7!important;
}
.package-pro .pro-more-actions>summary:hover,
.package-pro .nova-channel-control-bar .pro-more-actions>summary:hover{
  background:#302923!important;
  border-color:rgba(255,90,31,.42)!important;
}
.package-pro .pro-more-actions>div,
.package-pro .nova-channel-control-bar .pro-more-actions>div{
  background:#17191b!important;
  border-color:rgba(214,184,149,.26)!important;
}

/* Older Operations Center link/button classes remain visually compatible. */
.package-pro .operations-card-actions .ops-control-link,
.package-pro .operations-card-actions .log-link{
  background:#23201e!important;
  border-color:rgba(214,184,149,.30)!important;
  color:#f6e7d7!important;
}
.package-pro .operations-card-actions .ops-control-link:hover,
.package-pro .operations-card-actions .log-link:hover{
  background:#302923!important;
  border-color:rgba(255,90,31,.42)!important;
}


/* ============================================================
   CHANNEL SETTINGS / OPERATIONS — FINAL COMPONENT STATES
   Dashboard is the visual baseline. Operations and Channel Settings
   share the same warm Carbon/Ivory hierarchy. Orange means active,
   selected, or primary action — not every navigation control.
   ============================================================ */

/* Sidebar location context without turning navigation into a second accent bar. */
.package-pro .sidebar nav a.active,
.package-pro .sidebar nav a[aria-current="page"]{
  background:rgba(255,90,31,.11)!important;
  color:#f6e7d7!important;
  box-shadow:inset 3px 0 0 #ff5a1f;
}

/* Tabs: one active item only. This intentionally outranks the generic
   primary-button rule earlier in the brand layer. */
.package-pro .workflow-tabs button,
.package-pro .ops-channel-tab{
  background:#23201e!important;
  border:1px solid rgba(214,184,149,.30)!important;
  color:#f6e7d7!important;
  box-shadow:none!important;
  filter:none!important;
}
.package-pro .workflow-tabs button:hover:not(.active),
.package-pro .ops-channel-tab:hover:not(.active){
  background:#302923!important;
  border-color:rgba(255,90,31,.42)!important;
  color:#fff!important;
}
.package-pro .workflow-tabs button.active,
.package-pro .workflow-tabs button[aria-selected="true"],
.package-pro .ops-channel-tab.active,
.package-pro .ops-channel-tab[aria-selected="true"]{
  background:#ff5a1f!important;
  border-color:#ff5a1f!important;
  color:#111317!important;
  box-shadow:none!important;
}
.package-pro .ops-channel-tab small{color:#d6b895!important}
.package-pro .ops-channel-tab.active small,
.package-pro .ops-channel-tab[aria-selected="true"] small{color:#30231d!important}

/* Channel switcher follows the same selected-vs-available hierarchy. */
.package-pro .pro-channel-switch-button{
  background:#23201e!important;
  border-color:rgba(214,184,149,.30)!important;
  color:#f6e7d7!important;
}
.package-pro .pro-channel-switch-button.active,
.package-pro .pro-channel-switch-button[aria-current="page"]{
  background:#ff5a1f!important;
  border-color:#ff5a1f!important;
  color:#111317!important;
}

/* Secondary page navigation should not compete with Save / active controls. */
.package-pro .page-header>.button-link.button-compact,
.package-pro .pro-operations-link{
  background:#23201e!important;
  border-color:rgba(214,184,149,.30)!important;
  color:#f6e7d7!important;
}
.package-pro .page-header>.button-link.button-compact:hover,
.package-pro .pro-operations-link:hover{
  background:#302923!important;
  border-color:rgba(255,90,31,.42)!important;
}

/* Operations Center now reads as the same application as Dashboard. */
.package-pro .ops-channel-selector{gap:.55rem!important}
.package-pro .ops-selected-channel{color:#f3f1ea!important}
.package-pro .ops-primary-preview .preview-state{
  background:radial-gradient(circle at 50% 42%,rgba(255,90,31,.055),rgba(9,11,13,.96))!important;
  color:#ead7b8!important;
}
.package-pro .ops-primary-actions .ops-control-link,
.package-pro .ops-primary-actions .log-link,
.package-pro .ops-primary-actions .secondary,
.package-pro .ops-primary-actions .preview-toggle-button{
  background:#23201e!important;
  border-color:rgba(214,184,149,.30)!important;
  color:#f6e7d7!important;
}
.package-pro .ops-primary-actions .ops-control-link:hover,
.package-pro .ops-primary-actions .log-link:hover,
.package-pro .ops-primary-actions .secondary:hover:not(:disabled),
.package-pro .ops-primary-actions .preview-toggle-button:hover:not(:disabled){
  background:#302923!important;
  border-color:rgba(255,90,31,.42)!important;
}

/* Retire native blue from check/radio controls we own. */
.package-pro input[type="checkbox"],
.package-pro input[type="radio"],
.login-page input[type="checkbox"],
.login-page input[type="radio"]{
  accent-color:#ff5a1f!important;
}
.package-pro .switch input:checked+span{background:#ff5a1f!important}

/* Graphics preview: all five positions explicitly reset every axis so a
   prior position can never visually leak into the next selection. */
.package-pro .overlay-preview-stage{
  background:radial-gradient(circle at 50% 46%,#1b1815 0%,#111317 72%)!important;
  border-color:rgba(214,184,149,.22)!important;
}
.package-pro .overlay-preview-stage[data-position="bottom_left"] :is(#overlay-preview-image,#overlay-preview-text){
  left:4%!important;right:auto!important;top:auto!important;bottom:7%!important;transform:none!important;
}
.package-pro .overlay-preview-stage[data-position="bottom_right"] :is(#overlay-preview-image,#overlay-preview-text){
  left:auto!important;right:4%!important;top:auto!important;bottom:7%!important;transform:none!important;
}
.package-pro .overlay-preview-stage[data-position="top_left"] :is(#overlay-preview-image,#overlay-preview-text){
  left:4%!important;right:auto!important;top:7%!important;bottom:auto!important;transform:none!important;
}
.package-pro .overlay-preview-stage[data-position="top_right"] :is(#overlay-preview-image,#overlay-preview-text){
  left:auto!important;right:4%!important;top:7%!important;bottom:auto!important;transform:none!important;
}
.package-pro .overlay-preview-stage[data-position="center"] :is(#overlay-preview-image,#overlay-preview-text){
  left:50%!important;right:auto!important;top:50%!important;bottom:auto!important;transform:translate(-50%,-50%)!important;
}

/* NovaVision HD+ warning UI uses the approved warm system — no old navy. */
.package-pro .novavision-inline-warning{
  margin-top:.65rem;
  padding:.8rem .9rem;
  border:1px solid rgba(217,122,43,.42);
  border-left:3px solid #ff5a1f;
  border-radius:9px;
  background:#1b1815;
  color:#f6e7d7;
}
.package-pro .novavision-inline-warning p{margin:.35rem 0;color:#d6b895!important}
.package-pro .novavision-warning-head{
  display:flex;align-items:center;justify-content:space-between;gap:1rem;
}
.package-pro .novavision-warning-dismiss{
  width:30px;height:30px;padding:0!important;border-radius:999px!important;
  background:#23201e!important;border:1px solid rgba(214,184,149,.32)!important;
  color:#f6e7d7!important;font-size:1.1rem;line-height:1!important;
}
.package-pro .novavision-warning-dismiss:hover{background:#302923!important}
.package-pro .novavision-inline-warning summary{color:#ff8a55!important}

.novavision-dialog{
  width:min(32rem,calc(100vw - 2rem));
  padding:1.25rem;
  border:1px solid rgba(214,184,149,.34);
  border-radius:14px;
  background:#17191b;
  color:#f3f1ea;
  box-shadow:0 24px 80px rgba(0,0,0,.48);
}
.novavision-dialog::backdrop{background:rgba(7,8,9,.76);backdrop-filter:blur(4px)}
.novavision-dialog h3{margin-top:0;color:#f3f1ea}
.novavision-dialog p{color:#d6b895!important;line-height:1.5}
.novavision-dialog form{display:flex;justify-content:flex-end;margin-top:1rem}
.novavision-dialog-confirm{
  background:#ff5a1f!important;border-color:#ff5a1f!important;color:#111317!important;
}

/* Server flash messages remain semantic but are operator-dismissible. */
.package-pro .flash{position:relative;padding-right:3rem!important}
.package-pro .flash-dismiss{
  position:absolute;top:.45rem;right:.5rem;width:30px;height:30px;padding:0!important;
  border-radius:999px!important;background:rgba(17,19,23,.48)!important;
  border:1px solid rgba(243,241,234,.20)!important;color:#f3f1ea!important;
  font-size:1.05rem;line-height:1!important;
}
.package-pro .flash-dismiss:hover{background:rgba(17,19,23,.72)!important}

/* Explicit focus treatment stays orange/warm across buttons and custom controls. */
.package-pro :is(button,a,input,select,textarea,summary):focus-visible{
  outline:2px solid #ff5a1f!important;
  outline-offset:2px!important;
}


/* ============================================================
   NOVANET PRO — APPROVED REFERENCE UI
   Visual target: unified Dashboard / Operations / Channel Settings.
   Dashboard is the component baseline. Orange is controlled emphasis.
   Graphics preview is a placeholder canvas; no live video dependency.
   ============================================================ */

.package-pro{
  --pro-bg:#0d1014;
  --pro-carbon:#111317;
  --pro-soft-carbon:#17191b;
  --pro-dark-warm-carbon:#1e1a18;
  --pro-selector-inactive:#33231d;
  --pro-selector-selected:#5a2a1c;
  --pro-panel:#15181b;
  --pro-panel-2:#181a1c;
  --pro-panel-3:#201d1a;
  --pro-border:rgba(214,184,149,.23);
  --pro-border-strong:rgba(214,184,149,.36);
  --pro-orange:#ff5a1f;
  --pro-orange-soft:rgba(255,90,31,.12);
  --pro-ivory:#f6e7d7;
  --pro-sand:#d6b895;
  --pro-white:#f3f1ea;
}
.package-pro .content{
  background:
    radial-gradient(circle at 72% 10%,rgba(255,90,31,.035),transparent 28rem),
    radial-gradient(circle at 16% 0%,rgba(217,122,43,.028),transparent 24rem),
    var(--pro-bg)!important;
  padding:28px 34px 52px!important;
}
.package-pro .sidebar{
  background:
    radial-gradient(circle at -25% 82%,rgba(255,90,31,.15),transparent 20rem),
    linear-gradient(180deg,#0c0f12 0%,#0b0e11 100%)!important;
  border-right:1px solid rgba(214,184,149,.18)!important;
  display:flex!important;
  flex-direction:column!important;
}
.package-pro .brand-logo{max-width:174px!important}
.package-pro .edition{color:var(--pro-sand)!important;letter-spacing:.08em}
.package-pro .pro-primary-nav{display:grid!important;gap:7px;margin-top:22px}
.package-pro .pro-primary-nav a{
  display:flex!important;align-items:center!important;gap:12px!important;
  min-height:45px;padding:10px 13px!important;border-radius:11px!important;
  background:transparent!important;border:1px solid transparent!important;
  color:#eee7de!important;box-shadow:none!important;text-decoration:none!important;
}
.package-pro .pro-primary-nav a:hover{
  background:rgba(214,184,149,.055)!important;border-color:rgba(214,184,149,.12)!important;
}
.package-pro .pro-primary-nav a.active,
.package-pro .pro-primary-nav a[aria-current="page"]{
  background:linear-gradient(90deg,rgba(255,90,31,.18),rgba(255,90,31,.08))!important;
  border-color:rgba(255,90,31,.18)!important;
  color:var(--pro-ivory)!important;
  box-shadow:inset 3px 0 0 var(--pro-orange)!important;
}
.package-pro .pro-nav-icon{width:22px;height:22px;display:grid;place-items:center;flex:0 0 22px;color:#cfc9c2}
.package-pro .pro-nav-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.package-pro .pro-primary-nav a.active .pro-nav-icon{color:var(--pro-orange)}
.package-pro .pro-primary-nav a:first-child .pro-nav-icon svg rect{fill:currentColor;stroke:none}
.package-pro .pro-nav-logout{margin-top:10px;padding-top:16px!important;border-top:1px solid rgba(214,184,149,.12)!important;border-radius:0!important}
.package-pro .pro-sidebar-footer{margin-top:auto;display:grid;gap:3px;padding:20px 12px 2px;color:#8f969e;font-size:.72rem;letter-spacing:.05em}
.package-pro .pro-sidebar-footer strong{color:#aeb4ba;font-weight:600}

.package-pro .page-header,
.package-pro .pro-page-header,
.package-pro .pro-ops-header{padding:0!important;margin:0 0 16px!important;align-items:center!important}
.package-pro .page-header h1,
.package-pro .pro-page-header h1,
.package-pro .pro-ops-header h1{font-size:2rem!important;line-height:1.08!important;letter-spacing:-.035em!important;color:var(--pro-white)!important}
.package-pro .page-header p,
.package-pro .pro-page-header p,
.package-pro .pro-ops-header p{color:var(--pro-sand)!important;max-width:78ch!important;line-height:1.45!important}
.package-pro .section-kicker{color:var(--pro-orange)!important;letter-spacing:.12em!important}

.package-pro :is(.panel,.input-box,.pro-channel-card,.ops-selected-channel,.stream-doctor,.ops-status-tile,.pro-channel-identity,.destination-card,.overlay-preview-card){
  border-color:var(--pro-border)!important;
  background:linear-gradient(180deg,rgba(24,26,28,.97),rgba(20,22,24,.97))!important;
  box-shadow:none!important;
}
.package-pro :is(input,select,textarea){background:#111416!important;border-color:rgba(214,184,149,.28)!important;color:var(--pro-white)!important}
.package-pro :is(input,select,textarea):focus{outline:none!important;border-color:rgba(255,90,31,.78)!important;box-shadow:0 0 0 2px rgba(255,90,31,.12)!important}

/* Dashboard reference hierarchy */
.package-pro .pro-channel-jump-nav{display:flex!important;gap:10px!important;flex-wrap:wrap!important;margin:12px 0 16px!important}
.package-pro .pro-channel-jump-nav a{
  min-width:145px;padding:10px 13px!important;border:1px solid var(--pro-border-strong)!important;border-radius:10px!important;
  background:#191a1b!important;color:var(--pro-white)!important;text-decoration:none!important;display:grid!important;gap:2px!important;
}
.package-pro .pro-channel-jump-nav a span{font-size:.68rem;letter-spacing:.09em;text-transform:uppercase;color:var(--pro-sand)!important}
.package-pro .pro-channel-jump-nav a strong{font-size:.92rem;color:var(--pro-white)!important}
.package-pro .pro-channel-jump-nav a.active{border-color:var(--pro-orange)!important;box-shadow:0 0 0 1px rgba(255,90,31,.12) inset!important}
.package-pro .pro-channel-card{border-radius:16px!important;border:1px solid var(--pro-border)!important}
.package-pro .pro-channel-header{background:rgba(18,20,22,.78)!important;border-bottom:1px solid rgba(214,184,149,.18)!important}
.package-pro .pro-channel-preview,.package-pro .ops-primary-preview{
  border:1px solid rgba(214,184,149,.22)!important;border-radius:12px!important;overflow:hidden!important;
  background:radial-gradient(circle at 50% 42%,rgba(255,112,47,.14),rgba(19,17,16,.83) 31%,#090b0d 78%)!important;
}
.package-pro .pro-preview-state{display:grid!important;place-items:center!important;align-content:center!important;gap:7px!important;text-align:center!important}
.package-pro .pro-preview-state strong{color:var(--pro-ivory)!important;font-size:1rem!important}
.package-pro .pro-preview-state small{color:#b89f88!important;font-size:.78rem!important}
.package-pro .pro-control-section{background:rgba(18,20,22,.88)!important;border-color:rgba(214,184,149,.18)!important}
.package-pro .pro-control-section-heading p{color:var(--pro-sand)!important}
.package-pro .pro-control-badge{border-color:rgba(76,211,142,.45)!important;background:rgba(19,99,65,.22)!important;color:#70e6ac!important}
.package-pro .pro-control-badge.monitor-only{border-color:rgba(217,122,43,.44)!important;background:rgba(217,122,43,.08)!important;color:#f0be87!important}
.package-pro .unified-control-link,.package-pro .pro-channel-action-row .secondary,.package-pro .pro-preview-actions .secondary{
  background:#201d1a!important;border:1px solid rgba(214,184,149,.30)!important;color:var(--pro-ivory)!important;border-radius:10px!important;
}
.package-pro .unified-control-link:hover,.package-pro .pro-channel-action-row .secondary:hover:not(:disabled),.package-pro .pro-preview-actions .secondary:hover:not(:disabled){
  background:#2b241f!important;border-color:rgba(255,90,31,.45)!important;
}

/* Operations Center: same surfaces, restrained selected-channel emphasis. */
.package-pro .ops-channel-selector{display:flex!important;grid-template-columns:none!important;gap:10px!important;margin:12px 0 14px!important}
.package-pro .ops-channel-tab{
  min-width:175px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;
  padding:9px 12px!important;border:1px solid var(--pro-border-strong)!important;border-radius:10px!important;background:#17191b!important;color:var(--pro-white)!important;
}
.package-pro .ops-channel-tab-copy{display:grid;gap:1px;text-align:left}
.package-pro .ops-channel-tab-copy small{font-size:.64rem!important;letter-spacing:.1em;color:var(--pro-sand)!important}
.package-pro .ops-channel-tab-copy strong{font-size:.9rem!important;color:var(--pro-white)!important}
.package-pro .ops-channel-tab-state{font-size:.68rem;color:#aa9c91;white-space:nowrap}
.package-pro .ops-channel-tab.active,.package-pro .ops-channel-tab[aria-selected="true"]{
  background:#1e1a18!important;border-color:var(--pro-orange)!important;color:var(--pro-white)!important;box-shadow:0 0 0 1px rgba(255,90,31,.12) inset!important;
}
.package-pro .ops-channel-tab.active .ops-channel-tab-state{color:#ff9c72!important}
.package-pro .ops-selected-heading{padding:0 2px!important}
.package-pro .ops-selected-layout{grid-template-columns:minmax(0,1.65fr) minmax(330px,.85fr)!important;gap:16px!important}
.package-pro .ops-at-glance{gap:10px!important}
.package-pro .ops-status-tile{padding:13px!important;border-radius:12px!important}
.package-pro .ops-status-tile small{color:var(--pro-sand)!important}
.package-pro .ops-status-tile strong{color:var(--pro-white)!important}
.package-pro .stream-doctor{border-radius:13px!important}
.package-pro .stream-doctor-heading{background:#17191b!important;border-bottom-color:rgba(214,184,149,.17)!important}
.package-pro .doctor-step{border-color:rgba(214,184,149,.12)!important}
.package-pro .doctor-step small{color:#b9a38f!important}
.package-pro .ops-primary-actions{padding:0!important;gap:8px!important}
.package-pro .ops-primary-actions :is(.ops-control-link,.log-link,.secondary,.preview-toggle-button){background:#201d1a!important;border-color:rgba(214,184,149,.30)!important;color:var(--pro-ivory)!important}

/* Channel Settings: active section is an outline/accent, not a full orange wall. */
.package-pro .workflow-tabs{background:#15181b!important;border-color:var(--pro-border)!important;padding:7px!important}
.package-pro .workflow-tabs button{background:#17191b!important;border:1px solid rgba(214,184,149,.24)!important;color:#ddd5cb!important;border-radius:9px!important}
.package-pro .workflow-tabs button.active,.package-pro .workflow-tabs button[aria-selected="true"]{
  background:#211b18!important;border-color:var(--pro-orange)!important;color:var(--pro-white)!important;box-shadow:0 0 0 1px rgba(255,90,31,.12) inset!important;
}
.package-pro .pro-channel-switch-button{background:#17191b!important;border-color:rgba(214,184,149,.28)!important;color:var(--pro-white)!important}
.package-pro .pro-channel-switch-button.active,.package-pro .pro-channel-switch-button[aria-current="page"]{background:var(--pro-orange)!important;border-color:var(--pro-orange)!important;color:#111317!important}
.package-pro input[type="checkbox"],.package-pro input[type="radio"]{accent-color:var(--pro-orange)!important}
.package-pro .switch input:checked+span{background:var(--pro-orange)!important}

/* Graphics preview is intentionally a local placeholder canvas, not a player. */
.package-pro .overlay-preview-card{overflow:hidden!important;border-radius:13px!important}
.package-pro .overlay-preview-card header{padding:13px 14px!important;background:#17191b!important;border-bottom:1px solid rgba(214,184,149,.18)!important}
.package-pro .overlay-preview-card header strong{color:var(--pro-white)!important}
.package-pro .overlay-preview-card header small{color:var(--pro-sand)!important}
.package-pro .overlay-preview-stage{
  position:relative!important;aspect-ratio:16/9!important;overflow:hidden!important;
  background:
    linear-gradient(rgba(214,184,149,.035) 1px,transparent 1px),
    linear-gradient(90deg,rgba(214,184,149,.035) 1px,transparent 1px),
    radial-gradient(circle at 50% 46%,rgba(255,90,31,.07),#101214 62%,#0d0f11 100%)!important;
  background-size:32px 32px,32px 32px,auto!important;
}
.package-pro .overlay-preview-placeholder{position:absolute;inset:0;display:grid;place-items:center;pointer-events:none}
.package-pro .overlay-preview-placeholder span{color:rgba(246,231,215,.09);font-weight:900;letter-spacing:.17em;font-size:1rem}
.package-pro .overlay-preview-stage:before{content:none!important}
.package-pro .overlay-preview-layer{
  position:absolute!important;inset:0!important;z-index:2!important;display:flex!important;gap:10px!important;padding:4%!important;pointer-events:none!important;
}
.package-pro .overlay-preview-stage[data-position="bottom_left"] .overlay-preview-layer{align-items:flex-end!important;justify-content:flex-start!important}
.package-pro .overlay-preview-stage[data-position="bottom_right"] .overlay-preview-layer{align-items:flex-end!important;justify-content:flex-end!important}
.package-pro .overlay-preview-stage[data-position="top_left"] .overlay-preview-layer{align-items:flex-start!important;justify-content:flex-start!important}
.package-pro .overlay-preview-stage[data-position="top_right"] .overlay-preview-layer{align-items:flex-start!important;justify-content:flex-end!important}
.package-pro .overlay-preview-stage[data-position="center"] .overlay-preview-layer{align-items:center!important;justify-content:center!important}
.package-pro .overlay-preview-layer #overlay-preview-image,
.package-pro .overlay-preview-layer #overlay-preview-text{
  position:static!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;transform:none!important;
}
.package-pro .overlay-preview-layer #overlay-preview-image{max-width:45%!important;max-height:48%!important;object-fit:contain!important;flex:0 0 auto}
.package-pro .overlay-preview-layer #overlay-preview-text{max-width:58%!important;align-self:inherit!important;flex:0 1 auto}
.package-pro .overlay-preview-text.with-background{background:rgba(6,7,8,.78)!important;border-left:3px solid var(--pro-orange)!important;border-radius:8px!important;padding:8px 11px!important}
.package-pro .overlay-preview-text strong{color:var(--pro-white)!important}
.package-pro .overlay-preview-text span{color:#d8c6b6!important}

/* Keep semantic start/stop/health colors; retire blue from app-owned emphasis. */
.package-pro :is(.button-link,.secondary,.compact-button):focus-visible,
.package-pro button:focus-visible,
.package-pro a:focus-visible{outline:2px solid rgba(255,90,31,.75)!important;outline-offset:2px!important}
.package-pro .status-dot:not(.running):not(.error){background:#718099!important}

@media(max-width:1100px){
  .package-pro .ops-selected-layout{grid-template-columns:1fr!important}
  .package-pro .ops-channel-selector{flex-wrap:wrap!important}
}
@media(max-width:760px){
  .package-pro .content{padding:20px 16px 40px!important}
  .package-pro .ops-channel-tab{flex:1 1 100%!important;min-width:0!important}
  .package-pro .overlay-preview-layer{padding:5%!important}
  .package-pro .overlay-preview-layer #overlay-preview-text{max-width:70%!important}
}

/* ============================================================
   NOVANET PRO — CANONICAL FINAL COMPONENT AUTHORITY
   Approved palette and component states for provisioning.
   ============================================================ */

/* Dashboard channel selectors */
html body.package-pro .pro-channel-jump-nav a{
  background:var(--pro-selector-inactive)!important;
  border:1px solid rgba(214,184,149,.30)!important;
  color:var(--pro-ivory)!important;
  box-shadow:none!important;
}
html body.package-pro .pro-channel-jump-nav a:hover{
  background:#402a22!important;
  border-color:rgba(255,90,31,.46)!important;
}
html body.package-pro .pro-channel-jump-nav a.active,
html body.package-pro .pro-channel-jump-nav a[aria-current="true"]{
  background:var(--pro-selector-selected)!important;
  border-color:var(--pro-orange)!important;
  color:var(--pro-white)!important;
  box-shadow:0 0 0 1px rgba(255,90,31,.14) inset!important;
}
html body.package-pro .pro-channel-jump-nav a span{color:var(--pro-sand)!important}
html body.package-pro .pro-channel-jump-nav a strong{color:var(--pro-white)!important}

/* Operations channel selectors */
html body.package-pro .ops-channel-selector button.ops-channel-tab{
  background:var(--pro-selector-inactive)!important;
  border:1px solid rgba(214,184,149,.30)!important;
  color:var(--pro-ivory)!important;
  box-shadow:none!important;filter:none!important;
}
html body.package-pro .ops-channel-selector button.ops-channel-tab:hover:not(.active):not([aria-selected="true"]){
  background:#402a22!important;border-color:rgba(255,90,31,.46)!important;color:#fff!important;
}
html body.package-pro .ops-channel-selector button.ops-channel-tab.active,
html body.package-pro .ops-channel-selector button.ops-channel-tab[aria-selected="true"]{
  background:var(--pro-selector-selected)!important;
  border-color:var(--pro-orange)!important;
  color:var(--pro-white)!important;
  box-shadow:0 0 0 1px rgba(255,90,31,.14) inset!important;
}
html body.package-pro .ops-channel-selector .ops-channel-tab-copy small{color:var(--pro-sand)!important}
html body.package-pro .ops-channel-selector .ops-channel-tab-copy strong{color:var(--pro-white)!important}
html body.package-pro .ops-channel-selector .ops-channel-tab-state{color:#b8aa9c!important}
html body.package-pro .ops-channel-selector .ops-channel-tab.active .ops-channel-tab-state,
html body.package-pro .ops-channel-selector .ops-channel-tab[aria-selected="true"] .ops-channel-tab-state{color:#ff9c72!important}

/* Operations action controls */
html body.package-pro .ops-primary-actions.nova-channel-control-bar form{display:inline-flex!important;margin:0!important}
html body.package-pro .ops-primary-actions.nova-channel-control-bar button,
html body.package-pro .ops-primary-actions.nova-channel-control-bar .ops-control-link,
html body.package-pro .ops-primary-actions.nova-channel-control-bar .log-link,
html body.package-pro .ops-primary-actions.nova-channel-control-bar .pro-more-actions>summary{
  min-height:35px!important;padding:7px 11px!important;border-radius:8px!important;font-size:.76rem!important;font-weight:800!important;box-shadow:none!important;
}
html body.package-pro .ops-primary-actions.nova-channel-control-bar button.start{background:#175c39!important;border:1px solid #287b53!important;color:#fff!important}
html body.package-pro .ops-primary-actions.nova-channel-control-bar button.stop{background:#672b38!important;border:1px solid #8d3d4d!important;color:#fff!important}
html body.package-pro .ops-primary-actions.nova-channel-control-bar button.secondary,
html body.package-pro .ops-primary-actions.nova-channel-control-bar .ops-control-link,
html body.package-pro .ops-primary-actions.nova-channel-control-bar .log-link,
html body.package-pro .ops-primary-actions.nova-channel-control-bar .preview-toggle-button,
html body.package-pro .ops-primary-actions.nova-channel-control-bar .pro-more-actions>summary{background:#201d1a!important;border:1px solid rgba(214,184,149,.30)!important;color:var(--pro-ivory)!important}
html body.package-pro .ops-primary-actions.nova-channel-control-bar button:disabled{cursor:not-allowed!important;opacity:.46!important}
html body.package-pro .ops-primary-actions.nova-channel-control-bar button.start:not(:disabled):hover{background:#1c6c45!important}
html body.package-pro .ops-primary-actions.nova-channel-control-bar button.stop:not(:disabled):hover{background:#783444!important}
html body.package-pro .ops-primary-actions.nova-channel-control-bar :is(button.secondary,.ops-control-link,.log-link,.preview-toggle-button):hover:not(:disabled),
html body.package-pro .ops-primary-actions.nova-channel-control-bar .pro-more-actions>summary:hover{background:#2b241f!important;border-color:rgba(255,90,31,.45)!important}

/* Channel Settings channel selector */
html body.package-pro .pro-channel-switch-button{background:var(--pro-soft-carbon)!important;border:1px solid rgba(214,184,149,.30)!important;color:var(--pro-ivory)!important;box-shadow:none!important;filter:none!important}
html body.package-pro .pro-channel-switch-button:hover:not(.active):not([aria-current="page"]){background:#211e1b!important;border-color:rgba(255,90,31,.46)!important;color:#fff!important}
html body.package-pro .pro-channel-switch-button.active,
html body.package-pro .pro-channel-switch-button[aria-current="page"]{background:var(--pro-dark-warm-carbon)!important;border-color:var(--pro-orange)!important;color:var(--pro-ivory)!important;box-shadow:0 0 0 1px rgba(255,90,31,.14) inset!important}

/* Channel Settings identity/switch dialog (moved from template). */
.pro-channel-identity{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:end;padding:16px 18px;border:1px solid rgba(214,184,149,.28);border-radius:14px;background:#17191b}
  .pro-channel-name-field{display:grid;gap:7px;min-width:0}.pro-channel-name-field>span,.pro-channel-switcher-label{font-size:.78rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#d6b895}
  .pro-channel-name-field input{width:100%}.pro-channel-switcher{display:grid;gap:8px;justify-items:end}.pro-channel-switch-buttons{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
  .pro-channel-switch-button{appearance:none;border:1px solid rgba(214,184,149,.30);background:#23201e;color:#f6e7d7;border-radius:9px;padding:9px 13px;font-weight:700;cursor:pointer}.pro-channel-switch-button:hover{border-color:rgba(255,90,31,.48);background:#302923}.pro-channel-switch-button.active{border-color:#ff5a1f;background:rgba(255,90,31,.18);color:#fff;cursor:default}
  .channel-save-state{font-size:.82rem;font-weight:700;color:#70d99b}.channel-save-state.dirty{color:#f0c36a}.channel-save-state.saving{color:#ead7b8}
  .channel-switch-dialog[hidden]{display:none!important}.channel-switch-dialog{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;padding:22px;background:rgba(8,8,8,.76)}.channel-switch-dialog-card{width:min(520px,100%);background:#17191b;border:1px solid rgba(214,184,149,.30);border-radius:15px;padding:22px;box-shadow:0 24px 70px rgba(0,0,0,.45)}.channel-switch-dialog-card h3{margin:0 0 8px}.channel-switch-dialog-card p{margin:0;color:#d6b895;line-height:1.45}.channel-switch-dialog-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;margin-top:20px}
  @media(max-width:760px){.pro-channel-identity{grid-template-columns:1fr;align-items:stretch}.pro-channel-switcher{justify-items:start}.pro-channel-switch-buttons{justify-content:flex-start}}

.studio-source-display{cursor:default}.studio-source-display.selected{border-color:#ff5a1f;background:rgba(255,90,31,.08)}.studio-source-display.selected .choice-indicator{border:5px solid #ff5a1f;background:#fff}.studio-source-display:not(.selected){opacity:.7}.studio-source-lock-note{display:grid;gap:10px}.studio-source-lock-note .button-link{width:max-content}.compact-choice input:disabled~.choice-copy{opacity:.48}.compact-choice:has(input:disabled){cursor:not-allowed;opacity:.62}

/* Channel log layout (moved from template). */
.channel-log-actions{display:flex;gap:.65rem;align-items:center;flex-wrap:wrap}.channel-log-actions form{margin:0}.diagnosis-note{margin:.65rem 0 0;color:var(--muted,#D6B895);font-size:.9rem}.destination-endpoint-value{overflow-wrap:anywhere;word-break:break-word}.log-view{white-space:pre-wrap;word-break:break-word;max-height:62vh;overflow:auto}

/* Ariel Pro R1: honor the dashboard preview hidden state after video.onplaying. */
.package-pro .pro-preview-state[hidden]{display:none!important}

/* Ariel Pro: preview metadata is not a certified FPS meter; retain metrics in the channel header and Diagnostics. */
.package-pro .monitor-preview .preview-meta[hidden],.package-pro .monitor-preview .preview-meta{display:none!important}
