/* Made by scripts/light_theme.py from style.css; edit style.css and run it again. */
html[data-theme=light]{color-scheme:light}
html[data-theme=light]{--bg:#eff3f8;--panel:#f4f7fa;--raised:#f9fafc;--line:#cad3df;--text:#101a22;--muted:#5b6b7a;--mint:#1ca97f;--amber:#c9800f;--red:#d51025;--blue:#0967e3;color:var(--text);background:var(--bg)}
html[data-theme=light] input,html[data-theme=light] select,html[data-theme=light] textarea{background:#f1f5f9;border:1px solid #b5c1d0;color:var(--text)}
html[data-theme=light] input:focus,html[data-theme=light] select:focus,html[data-theme=light] textarea:focus{outline:2px solid #1ca97f66;border-color:var(--mint)}
html[data-theme=light] input[type=checkbox]{accent-color:var(--mint)}
html[data-theme=light] label{color:#35424d}
html[data-theme=light] small{color:var(--muted)}
html[data-theme=light] p{color:var(--muted)}
html[data-theme=light] .eyebrow{color:var(--mint)}
html[data-theme=light] .button{border:1px solid #b3c0cf;background:#f8fafb;color:var(--text)}
html[data-theme=light] .button:hover{background:#ffffff}
html[data-theme=light] .button.primary{background:var(--mint);color:#e1f6f2;border-color:var(--mint)}
html[data-theme=light] .button.primary:hover{background:#1ec995}
html[data-theme=light] .button.danger{color:var(--red);border-color:#cca3a8;background:#fbf9fa}
html[data-theme=light] .icon-button{border:1px solid var(--line);color:var(--muted)}
html[data-theme=light] .icon-button:hover{color:var(--text);background:var(--raised)}
html[data-theme=light] .brand b{background:var(--mint);color:#ddf9f3}
html[data-theme=light] .login-art{background:radial-gradient(ellipse at 20% 70%,#fafdfc 0%,#f4f8fa 50%,#f4f7fa 85%)}
html[data-theme=light] .brand-mark{color:var(--mint)}
html[data-theme=light] .signal-art i{background:linear-gradient(var(--mint),#ffffff)}
html[data-theme=light] .art-footer{color:#59776f}
html[data-theme=light] .error{color:var(--red)}
html[data-theme=light] .sidebar{background:#f3f6f9;border-right:1px solid var(--line)}
html[data-theme=light] .workspace{border:1px solid var(--line)}
html[data-theme=light] .workspace-icon{background:#ffffff;color:var(--mint)}
html[data-theme=light] .badge{background:#fefefe;color:#3f6355}
html[data-theme=light] .nav-label{color:#8191a2}
html[data-theme=light] .sidebar nav a{color:#4f5e6e}
html[data-theme=light] .sidebar nav a:hover{background:#f9fbfc;color:#111f1f}
html[data-theme=light] .sidebar nav a.active{color:var(--mint);background:#fafcfc}
html[data-theme=light] .nav-count{background:#ffffff}
html[data-theme=light] .connected i,html[data-theme=light] .live-dot{background:var(--mint)}
html[data-theme=light] .connected.offline i{background:var(--red)}
html[data-theme=light] .operator{border-top:1px solid var(--line);color:var(--text)}
html[data-theme=light] .operator>span:last-child{color:var(--muted)}
html[data-theme=light] .avatar{background:#ffffff;color:#1e2e42}
html[data-theme=light] .topbar{border-bottom:1px solid var(--line)}
html[data-theme=light] .breadcrumb{color:var(--muted)}
html[data-theme=light] .breadcrumb span{color:#a1b1c1}
html[data-theme=light] .breadcrumb b{color:#1c2a32}
html[data-theme=light] .topbar-right{color:#384855}
html[data-theme=light] .topbar-right #refresh-label{color:#8191a0}
html[data-theme=light] .metric{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius)}
html[data-theme=light] .metric-label{color:#4d5d6a}
html[data-theme=light] .metric-label>span{color:#7d8fa1}
html[data-theme=light] .metric-foot{color:#677989}
html[data-theme=light] .metric-foot .mint{color:var(--mint)}
html[data-theme=light] .metric-foot .amber{color:var(--amber)}
html[data-theme=light] .panel{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius)}
html[data-theme=light] .panel-heading{border-bottom:1px solid var(--line)}
html[data-theme=light] .text-link{color:var(--mint)}
html[data-theme=light] .empty-state .empty-icon{background:#fafcfc;border:1px solid #c5dbd5;color:var(--mint)}
html[data-theme=light] .status{background:#fefefe;color:#3fa982}
html[data-theme=light] .status.running,html[data-theme=light] .status.online{background:#fcfdfd;color:var(--mint)}
html[data-theme=light] .status.starting,html[data-theme=light] .status.waiting,html[data-theme=light] .status.backoff,html[data-theme=light] .status.draining{background:#ffffff;color:var(--amber)}
html[data-theme=light] .status.error,html[data-theme=light] .status.offline,html[data-theme=light] .status.expired{background:#ffffff;color:var(--red)}
html[data-theme=light] .status.stopped,html[data-theme=light] .status.disabled{background:#ffffff;color:#536477}
html[data-theme=light] .toolbar{border-bottom:1px solid var(--line)}
html[data-theme=light] .data-table th{color:#6e8396;background:#f4f6fa}
html[data-theme=light] .data-table td{border-top:1px solid #d0d9e3;color:#354553}
html[data-theme=light] .data-table tbody tr:hover{background:#f8fafc}
html[data-theme=light] .data-table td strong{color:#14212a}
html[data-theme=light] .data-table td small{color:#6c8295}
html[data-theme=light] .channel-icon{background:#ffffff;color:#2e6056;border:1px solid #c1d4d8}
html[data-theme=light] .cell-muted{color:#7e91a2!important}
html[data-theme=light] .server-item{border-bottom:1px solid var(--line)}
html[data-theme=light] .server-meta{color:#607283}
html[data-theme=light] .meter{background:#ffffff}
html[data-theme=light] .meter span{background:var(--mint)}
html[data-theme=light] .panel-footer{color:#6f8495;border-top:1px solid var(--line)}
html[data-theme=light] .setup-step{border:1px solid var(--line);background:linear-gradient(145deg,#f7f9fb,#f4f7fa)}
html[data-theme=light] .step-number{color:var(--mint)}
html[data-theme=light] .intro-banner{border:1px solid #bfd9d2;background:linear-gradient(110deg,#fafdfc,#f8fafb)}
html[data-theme=light] .intro-banner h3{color:#41c69a}
html[data-theme=light] .intro-banner p{color:#4e6e66}
html[data-theme=light] .intro-banner>span{color:var(--mint)}
html[data-theme=light] .activity-row{border-bottom:1px solid var(--line)}
html[data-theme=light] .activity-row>span{color:#4d9280}
html[data-theme=light] .activity-row time{color:#738898}
html[data-theme=light] .main-footer{border-top:1px solid var(--line);color:#8ba0b1}
html[data-theme=light] .node-card .mono{color:var(--muted)}
html[data-theme=light] .node-stats{border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
html[data-theme=light] .node-stats strong{color:#263b48}
html[data-theme=light] .hint{background:#fafcfd;border:1px solid #b8ccd8;color:#3d5969}
html[data-theme=light] .hint.warning{background:#fdfcfb;border-color:#d7ccb6;color:#7a6130}
html[data-theme=light] .form-actions{border-top:1px solid var(--line)}
html[data-theme=light] .check-list{background:#f1f5f9;border:1px solid var(--line)}
html[data-theme=light] .field-help{color:#6f8799}
html[data-theme=light] .code-block{background:#f0f4f8;border:1px solid var(--line);color:#2c5445}
html[data-theme=light] .secret-note{color:var(--amber)}
html[data-theme=light] .setting-row{border-bottom:1px solid var(--line)}
html[data-theme=light] .setting-row span{color:#536a7b}
html[data-theme=light] .epg-item{border-left:2px solid var(--mint)}
html[data-theme=light] dialog{border:1px solid #b1c0d0;background:#f5f7fa;color:var(--text);box-shadow:0 25px 100px #0f172930}
html[data-theme=light] dialog::backdrop{background:#0f172941}
html[data-theme=light] .video-preview{background:#eaeff6}
html[data-theme=light] .preview-status{color:var(--muted)}
html[data-theme=light] .table-meta{color:#778e9f;border-top:1px solid var(--line)}
html[data-theme=light] .toast{border:1px solid #adcfc3;background:#f8fbfa;box-shadow:0 8px 24px #0f172918;color:#4ac597}
html[data-theme=light] .toast.error{background:#fefefe;color:#d72e45;border-color:#c8a1aa}
html[data-theme=light] .pagination-note{color:var(--muted)}
html[data-theme=light] code{background:#f1f5f9;border:1px solid var(--line)}
html[data-theme=light] .data-table tr.row-flag td{background:#fbfaf9}
html[data-theme=light] .data-table tr.row-flag:hover td{background:#fefdfd}
html[data-theme=light] .field-label{color:#35424d}
html[data-theme=light] .imp-list{border:1px solid var(--line);background:#f1f5f9}
html[data-theme=light] .imp-row small{color:var(--muted)}
html[data-theme=light] .imp-row:hover{background:var(--raised)}
html[data-theme=light] .imp-row .imp-main b{color:#14212a}
html[data-theme=light] .imp-row .imp-main small{color:var(--muted)}
html[data-theme=light] .imp-logo{background:#f0f4f8}
html[data-theme=light] .usage-pill{background:#fbfcfd;color:#445a6b;border:1px solid var(--line)}
html[data-theme=light] .usage-pill.live{background:#fcfdfd;color:var(--mint);border-color:#c5dbd5}
html[data-theme=light] .usage-pill.over{background:#ffffff;color:var(--red);border-color:#cca3a8}
html[data-theme=light] .warning-text{color:var(--amber)!important}
html[data-theme=light] .setup-title{color:#1c2a32}
html[data-theme=light] .setup-line{border:1px solid var(--line);background:#f1f5f9}
html[data-theme=light] .setup-line-body code{color:#2c5445}
html[data-theme=light] .status.idle{background:#ffffff;color:var(--blue)}
html[data-theme=light] .tabs{border-bottom:1px solid var(--line)}
html[data-theme=light] .seg-bars{border:1px solid var(--line);background:#f1f5f9}
html[data-theme=light] .seg-bars span{background:var(--mint)}
html[data-theme=light] .seg-bars span.short{background:var(--amber)}
html[data-theme=light] .log-view{background:#f0f4f8;border:1px solid var(--line);color:#2c5445}
html[data-theme=light] .log-view time{color:#738898}
html[data-theme=light] .chart{border:1px solid var(--line);background:#f1f5f9}
html[data-theme=light] .chart figcaption span{color:var(--muted)}
html[data-theme=light] .chart .series{stroke:var(--mint)}
html[data-theme=light] .chart .axis{stroke:#b5c1d0}
html[data-theme=light] .chart .grid{stroke:#cad3df}
html[data-theme=light] .chart text{fill:#677989}
html[data-theme=light] .chart-empty{border:1px dashed var(--line)}
html[data-theme=light] .schedule-row{border:1px solid var(--line)}
html[data-theme=light] .totp-qr{background:#fff}
html[data-theme=light] #totp-key{color:#2c5445}
html[data-theme=light] .tag{background:#ffffff;color:var(--blue)}
html[data-theme=light] .watch-card{border:1px solid var(--line);background:#f1f5f9}
html[data-theme=light] .watch-row{border-top:1px solid #d6dee8}
html[data-theme=light] .grid-row{border-top:1px solid #d6dee8}
html[data-theme=light] .grid-channel small{color:var(--muted)}
html[data-theme=light] .grid-track{border-left:1px solid var(--line)}
html[data-theme=light] .grid-hour{color:var(--muted);border-left:1px solid var(--line)}
html[data-theme=light] .grid-prog{background:#f9fafc;border:1px solid #bbc9d9;color:#1c2a32}
html[data-theme=light] .grid-prog.now{background:#fcfdfd;border-color:#9dd4c3;color:var(--mint)}
html[data-theme=light] .grid-now{background:var(--amber)}
html[data-theme=light] .grid-empty{color:var(--muted)}
html[data-theme=light] .vod-poster{background:#f0f4f8;border:1px solid var(--line)}
html[data-theme=light] .order-list{border:1px solid var(--line)}
html[data-theme=light] .order-list li{border-bottom:1px solid #d6dee8;background:#f1f5f9}
html[data-theme=light] .order-list li small{color:var(--muted)}
html[data-theme=light] .order-list .drag{color:var(--muted)}
html[data-theme=light] .usage-bar i{background:var(--mint)}
html[data-theme=light] .tmdb-hit{background:#f1f5f9;border:1px solid var(--line);color:var(--text)}
html[data-theme=light] .tmdb-hit:hover{border-color:var(--mint)}
html[data-theme=light] .tmdb-hit small{color:var(--muted)}
html[data-theme=light] .pager{border-top:1px solid var(--line)}
html[data-theme=light] .imp-groups{border:1px solid var(--line);background:#f1f5f9}
html[data-theme=light] .imp-group button,html[data-theme=light] button.imp-group{color:#2c3c47}
html[data-theme=light] .imp-group:hover{background:var(--raised)}
html[data-theme=light] .imp-group.active{background:#fafcfc}
html[data-theme=light] .imp-group.active span{color:var(--mint)}
html[data-theme=light] .setup-line-body code.plex-code,html[data-theme=light] code.plex-code{color:var(--mint);border:1px dashed #aed4ca}
html[data-theme=light] .fb{border:1px solid var(--line);background:#f1f5f9}
html[data-theme=light] .fb-bar{border-bottom:1px solid var(--line)}
html[data-theme=light] .fb-path{color:#2c5445}
html[data-theme=light] .fb-item{color:var(--text)}
html[data-theme=light] .fb-item:hover:not(:disabled){background:#f9fbfc}
html[data-theme=light] .logo-preview{background:#f1f5f9;border:1px solid var(--line)}
html[data-theme=light] .logo-pick{background:#f1f5f9;border:1px solid var(--line);color:var(--text)}
html[data-theme=light] .logo-pick:hover,html[data-theme=light] .logo-pick.chosen{border-color:var(--mint)}
html[data-theme=light] .vod-state{background:#ffffff;color:#2a3948}
html[data-theme=light] .vod-state.ready{background:#fcfdfd;color:var(--mint)}
html[data-theme=light] .vod-state.review{background:#ffffff;color:var(--amber)}
html[data-theme=light] .vod-state.error{background:#ffffff;color:var(--red)}
html[data-theme=light] .vod-state.subtitles,html[data-theme=light] .vod-state.verifying,html[data-theme=light] .vod-state.new{background:#ffffff;color:var(--blue)}
html[data-theme=light] .vod-history{color:#425260}
html[data-theme=light] .metric-value.red{color:var(--red)}
html[data-theme=light] .metric-value.amber{color:var(--amber)}
html[data-theme=light] .metric-value.mint{color:var(--mint)}
html[data-theme=light] .health-tile{border:1px solid var(--line);border-left:4px solid #b1bdca;background:var(--raised);color:var(--text)}
html[data-theme=light] .health-tile:hover{background:#fefefe}
html[data-theme=light] .health-tile.ok{border-left-color:var(--mint)}
html[data-theme=light] .health-tile.ok .health-state{color:var(--mint)}
html[data-theme=light] .health-tile.warn{border-left-color:var(--amber);background:#fcfcfb}
html[data-theme=light] .health-tile.warn .health-state{color:var(--amber)}
html[data-theme=light] .health-tile.bad{border-left-color:var(--red);background:#fcfbfc}
html[data-theme=light] .health-tile.bad .health-state{color:var(--red)}
html[data-theme=light] .health-tile.idle{border-left-color:var(--blue)}
html[data-theme=light] .health-tile.idle .health-state{color:var(--blue)}
html[data-theme=light] .health-tile.off .health-state{color:var(--muted)}
html[data-theme=light] .palette{background:#0f172941}
html[data-theme=light] .palette-box{background:#f5f7fa;border:1px solid #b1c0d0;box-shadow:0 25px 100px #0f172930}
html[data-theme=light] .palette-item{color:var(--text)}
html[data-theme=light] .palette-item.active,html[data-theme=light] .palette-item:hover{background:var(--raised);border-color:var(--line)}
html[data-theme=light] .search-button kbd{color:var(--muted);border:1px solid var(--line)}
@media(max-width:760px){html[data-theme=light] .sidebar{box-shadow:0 6px 18px #0f172924}}
@media(max-width:760px){html[data-theme=light] .modal-header{background:#f5f7fa}}
@media(max-width:760px){html[data-theme=light] .form-actions{background:#f5f7fa}}

/* 28/11 (chiwawax: "melhora o contraste"): the server card heads kept the dark band in the light look, names unreadable */
html[data-theme=light] .server-card-head{background:#dfe7f0;border-bottom:1px solid var(--line)}html[data-theme=light] .server-card-head b{color:#0b1520}html[data-theme=light] .server-card-head div :not(b){color:#3f5163}
