/* Night-only content surfaces. No layout, typography or daytime overrides. */
body:not(.white) :is(.ticket-box,.ticket-item,.ticket-aside,.ticket-paid,.ticket-card,.modal-box,.so-payment-card){background:#1b3855;color:#e7eff8;color-scheme:dark}
body:not(.white) :is(.ticket-box,.ticket-paid,.ticket-card,.modal-box) :is(.h1,.h2,.h3,.h4,p),body:not(.white) :is(.ticket-aside_h,.ticket-aside_total,.modal-h,.ticket-card_num,.ticket-item_plate span:nth-child(2),.ticket-item_list span:nth-child(2),.ticket-aside_num_amount,.ticket-aside_ul span:nth-child(2),.ticket-aside_id-item){color:#e7eff8}
body:not(.white) .ticket-item:not(.submit):not(.submitDone):not(.submitDisabled):not(.submitDoneDisabled):not(.disabled):not(.disputeWon):not(.disputeLost) .ticket-item_h{color:#f3f7fc}
body:not(.white) :is(.ticket-aside_num,.ticket-aside_total,.ticket-chat_admin .ticket-chat_text){background:#244563;color:#e7eff8}
body:not(.white) :is(.ticket-card_h,.ticket-item_list b,.ticket-aside_ul strong,.ticket-aside_num>span:first-child,.so-payment-card-top>span,.so-payment-card-bottom){color:#b8cce0}
body:not(.white) .ticket-box :is(.css-1gd76zf,.css-qdw17o){border-color:#315474}
body:not(.white) :is(.ticket-or span,.form-upload_or span){background:#1b3855;color:#b8cce0}
body:not(.white) .ticket-scroll:after{background:linear-gradient(0deg,#1b3855,#1b385500)}
body:not(.white) :is(.ticket-chat,.ticket-aside_id-list-scroll-container)::-webkit-scrollbar-track{background:#1b3855}
body:not(.white) :is(.ticket-box,.modal-box) :is(.form-field,.form-textarea,.form-choice_dropdown){background-color:#19324c;color:#e7eff8;border-color:#315474}
html.dark :is(.group,.article,.empty){background:#1b3855;color:#e7eff8;color-scheme:dark}
html.dark :is(.group h2,.article h1,.article h2,.article h3,.source-group summary){color:#f3f7fc}
html.dark :is(.group h2 small,.row time,.meta){color:#b8cce0}
html.dark .preview{color:#e7eff8}
html.dark :is(.row,.source-group){border-color:#315474}
html.dark .notice{background:#244563;color:#e7eff8}
html.dark :is(.group,.article,.empty) a{color:#4da1ff}
