/**
 * Скин VayaGo — наследует kolab, меняет только цвета под бренд.
 * СГЕНЕРИРОВАНО скриптом /home/serg/rebuild_vayago_skin.py — руками не править.
 *
 * Палитра: #01969E бирюзовый, #9CD408 зелёный, #01192B тёмно-синий,
 * #E9F0F1 подложка (brand/README.md, brand/figma-2026-09-20-palette.png).
 */

@import url("../../kolab/styles/styles.css");

/* Рамки полей: Bootstrap даёт #ced4da — на белом ~1.5 : 1, поле не отделяется
   от фона. Токен бренда --color-field (#73808c) даёт 4.05 : 1 при норме 3 : 1
   для элементов управления (WCAG 1.4.11); решение владельца 2026-09-22. */
.form-control,
.custom-select,
select.form-control,
textarea.form-control {
	border-color: #73808c;
}

/* Слоган под кнопкой входа. Штатный серый Kolab #7b7b77 даёт на белом
   4.25 : 1 при норме 4.5 : 1 для обычного текста (WCAG 1.4.3). #5f6b78 даёт
   5.44 : 1 и остаётся приглушённым. Тёмную тему НЕ трогаем: там правило
   html.dark-mode #login-footer специфичнее и оставляет #8ba3a7 — 5.57 : 1. */
#login-footer {
	color: #5f6b78;
}

/* ===== цвет акцента: жёлтый Kolab -> бирюзовый бренда ===== */
a {
	color:#01969e;
}
a:hover {
	color:#00777e;
}
p.image-attachment {
	background-color:rgba(1,150,158,0.05);
}
.quota-widget .value {
	background-color:#01969e;
}
.image-tools {
	background-color:rgba(1,150,158,0.4);
}
.image-tools a:focus,.image-tools a:hover {
	background-color:rgba(1,150,158,0.5) !important;
}
.table-widget table.options-table tr.selected td {
	background-color:#cdfafc;
}
.floating-action-buttons a.button {
	background:#01969e;
	box-shadow:0 0 5px 5px #8bf9ff;
}
.btn:focus {
	box-shadow:0 0 0 .2rem rgba(1,150,158,0.3);
}
.btn-link {
	color:#01969e;
}
.btn-primary {
	background:#01969e;
	border-color:#01969e;
}
.btn-primary:focus {
	background:#00888f;
	border-color:#008188;
	box-shadow:0 0 0 .2rem rgba(1,150,158,0.5);
}
.btn-primary:hover {
	background:#00888f;
	border-color:#008188;
}
.btn-primary.disabled,.btn-primary:disabled {
	background:#01969e;
	border-color:#01969e;
}
.btn-primary:not(:disabled):not(.disabled):active,.btn-primary:not(:disabled):not(.disabled).active {
	background:#00777e;
	border-color:#007177;
}
.btn-primary:not(:disabled):not(.disabled):active:focus,.btn-primary:not(:disabled):not(.disabled).active:focus {
	box-shadow:0 0 0 .2rem rgba(1,150,158,0.53);
}
.ui-menu .ui-state-active {
	background-color:#01969e !important;
}
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset a.btn-link:focus {
	background-color:rgba(1,150,158,0.5);
}
.ui-slider .ui-slider-range {
	background:#6af7ff;
}
.ui-slider .ui-slider-handle.ui-state-active {
	background:#01969e;
	border-color:#00383b;
}
.ui-datepicker .ui-datepicker-days-cell-over a,.ui-datepicker .ui-datepicker-days-cell-over a.ui-state-default,.ui-datepicker .ui-state-highlight,.ui-datepicker.ui-widget-content .ui-state-highlight {
	background:#6af7ff;
	color:#01969e;
}
.ui-datepicker a.ui-state-active {
	background:#01969e !important;
}
.popover .menu li a:not(.disabled):hover {
	background-color:#01969e;
}
.popover .menu .dropbutton a.dropdown:hover {
	background-color:#01969e;
}
@media screen and (min-width:481px) {
#taskmenu .action-buttons a {
	color:#01969e;
}
#taskmenu .action-buttons a:hover {
	color:#01969e;
}
}
.ui.alert {
	background-color:rgba(1,150,158,0.05);
}
.ui.alert.alert-warning>i.icon:before {
	color:#1bf3ff;
}
.ui.alert a:not(.btn) {
	color:#01969e;
}
.ui.alert.boxinformation {
	background-color:rgba(1,150,158,0.2);
}
.ui.alert.boxwarning {
	background-color:rgba(27,243,255,0.2);
}
#messagestack .alert-info.information {
	background-color:#01969e;
}
#messagestack .alert-warning {
	background-color:#1bf3ff;
}
.listing li.selected,.listing tr.selected td {
	background-color:#cdfafc;
}
.listing li.droptarget>a,.listing tr.droptarget>td {
	background-color:#bcfcff;
}
html:not(.touch) .listing li>a:focus,html:not(.touch) .listing.focus tbody tr.focused>td:first-child,html:not(.touch) .listing.focus:not(.withselection) tbody tr.focused>td.selection+td {
	border-left:2px solid #27f4ff;
}
.popupmenu .listing li>a:not(.disabled):hover {
	background-color:#01969e;
}
.popupmenu .listing li.selected {
	background-color:#01969e;
}
ul.treelist li.selected>div>a,ul.treelist li.selected>a {
	background-color:#cdfafc;
}
.folderlist li.mailbox .unreadcount {
	background:#01969e;
}
.folderlist li.mailbox.recent>a {
	color:#00585d;
}
.folderlist li.mailbox.recent>a>.unreadcount {
	background:#01969e;
}
.messagelist td.subject span.msgicon.status.unread:before {
	color:#1bf3ff;
}
.formcontent.raweditor .CodeMirror-focused {
	border-color:#01969e;
	box-shadow:0 0 0 .2rem rgba(1,150,158,0.25);
}
.input-group a:focus {
	background-color:rgba(1,150,158,0.25);
}
.multi-input>.content.focused {
	border-color:#01969e;
	box-shadow:0 0 0 .2rem rgba(1,150,158,0.25);
}
.recipient-input.focus {
	border-color:#01969e;
	box-shadow:0 0 0 .2rem rgba(1,150,158,0.25);
}
.tagedit-list[tabindex="-1"] {
	border-color:#01969e;
	box-shadow:0 0 0 .2rem rgba(1,150,158,0.25);
}
.form-control:focus {
	border-color:#01969e;
	box-shadow:0 0 0 .2rem rgba(1,150,158,0.25);
}
.input-group-text input:focus {
	border-color:#01969e !important;
}
.custom-switch .custom-control-input:focus~.custom-control-label:before {
	box-shadow:0 0 0 .2rem rgba(1,150,158,0.25);
}
.custom-switch .custom-control-input:focus:not(:checked)~.custom-control-label::before {
	border-color:#01969e;
}
.custom-switch .custom-control-input:checked~.custom-control-label::before {
	border-color:#01969e;
	background-color:#01969e;
}
.custom-switch .custom-control-input:checked:disabled~.custom-control-label::before {
	border-color:#06f2ff;
	background-color:#06f2ff;
}
.custom-file-input:focus~.custom-file-label {
	border-color:#01969e;
	box-shadow:0 0 0 .2rem rgba(1,150,158,0.25);
}
div.tox.focused {
	border-color:#01969e !important;
	box-shadow:0 0 0 .2rem rgba(1,150,158,0.25) !important;
}
div.tox .tox-dialog .tox-dialog__body-nav-item--active {
	color:#01969e;
}
div.tox .tox-dialog .tox-dialog__body-nav-item--active:hover {
	color:#00777e;
}
div.tox .tox-dialog__footer .tox-button {
	background:#01969e;
	border-color:#01969e;
}
div.tox .tox-dialog__footer .tox-button:focus {
	background:#00888f;
	border-color:#008188;
	box-shadow:0 0 0 .2rem rgba(1,150,158,0.5);
}
div.tox .tox-dialog__footer .tox-button:hover {
	background:#00888f;
	border-color:#008188;
}
div.tox .tox-dialog__footer .tox-button.disabled,div.tox .tox-dialog__footer .tox-button:disabled {
	background:#01969e;
	border-color:#01969e;
}
div.tox .tox-dialog__footer .tox-button:not(:disabled):not(.disabled):active,div.tox .tox-dialog__footer .tox-button:not(:disabled):not(.disabled).active {
	background:#00777e;
	border-color:#007177;
}
div.tox .tox-dialog__footer .tox-button:not(:disabled):not(.disabled):active:focus,div.tox .tox-dialog__footer .tox-button:not(:disabled):not(.disabled).active:focus {
	box-shadow:0 0 0 .2rem rgba(1,150,158,0.53);
}
div.tox .tox-dialog__footer .tox-button:focus:not(:disabled) {
	background:#01969e;
	border-color:#01969e;
}
div.tox .tox-color-input>input:focus,div.tox .tox-listboxfield .tox-listbox--select:focus,div.tox .tox-textarea:focus,div.tox .tox-textfield:focus {
	border-color:#01969e;
	box-shadow:0 0 0 .2rem rgba(1,150,158,0.25);
}
.image-selector .attachmentslist li:hover,.image-selector .attachmentslist li:focus {
	background:#cdfafc;
}
.googie_list li.googie_list_onhover {
	background-color:#01969e;
}
.message-part blockquote,.message-htmlpart blockquote {
	color:#00383b;
	border-left:2px solid #00383b;
	border-right:2px solid #00383b;
}
html.dark-mode {
	scrollbar-color:#00484c #4d6066;
}
html.dark-mode:not(.touch) ::-webkit-scrollbar-thumb {
	background-color:#00484c;
}
html.dark-mode .ui.alert.boxinformation,html.dark-mode #messagestack .alert-info {
	background-color:#005a5f;
}
html.dark-mode .ui.alert.boxwarning,html.dark-mode #messagestack .alert-warning {
	background-color:#206064;
}
html.dark-mode #taskmenu .action-buttons a {
	color:#01969e;
}
html.dark-mode .listing li.selected,html.dark-mode .listing li.selected>a,html.dark-mode .listing li.selected>div>a,html.dark-mode .listing tr.selected td {
	color:#01969e;
}
html.dark-mode .listing li.droptarget>a,html.dark-mode .listing tr.droptarget>td {
	background-color:#003032;
}
html.dark-mode .messagelist tr:not(.flagged):not(.deleted) td.subject span.msgicon.status.unread::before {
	color:#007278;
}
html.dark-mode .messagelist tr:not(.flagged):not(.deleted).selected td.subject a,html.dark-mode .messagelist tr:not(.flagged):not(.deleted).selected td.subject span.msgicon.status {
	color:#01969e;
}
html.dark-mode .btn-primary {
	background-color:#00383b;
}
html.dark-mode .btn-primary:hover:not(:disabled) {
	background-color:#00484c;
}
html.dark-mode .floating-action-buttons a.button {
	background:#00383b;
}
html.dark-mode .custom-file-label:focus:not(.is-invalid),html.dark-mode .form-control:focus:not(.is-invalid) {
	border-color:#01969e;
}
html.dark-mode .custom-switch .custom-control-input:checked~.custom-control-label::before {
	background-color:#00383b;
}
html.dark-mode .multi-input:not(.is-invalid)>.content.focused {
	border-color:#01969e;
}
html.dark-mode .input-group a:focus {
	border-color:#01969e;
	box-shadow:0 0 0 .2rem rgba(1,150,158,0.25);
}
html.dark-mode .recipient-input.focus {
	border-color:#01969e;
}
html.dark-mode .formcontent.raweditor .CodeMirror-focused {
	border-color:#01969e;
}
html.dark-mode .tox .tox-dialog__footer .tox-button {
	background-color:#00383b;
}
html.dark-mode .tox .tox-dialog__footer .tox-button:focus:not(:disabled) {
	background-color:#00383b;
}
html.dark-mode .tox .tox-dialog__footer .tox-button:hover:not(:disabled) {
	background-color:#00484c;
}
html.dark-mode .tox .tox-dialog__body-nav-item--active {
	color:#01969e;
}
html.dark-mode .tox .tox-collection__item--enabled {
	color:#01969e;
}
html.dark-mode .message-part blockquote {
	border-color:#00d7e3;
	color:#00d7e3;
}
html.dark-mode .ui-datepicker .ui-state-highlight,html.dark-mode .ui-datepicker.ui-widget-content .ui-state-highlight {
	color:#01969e;
}
.content-frame-navigation a span.inner {
	color:#01969e;
}

/* ===== панель задач: сланцевый -> тёмно-синий бренда ===== */
@media screen and (min-width:481px) {
#layout-menu .popover-header {
	background-color:#01192b !important;
}
}
@media screen and (min-width:481px) {
#layout-menu {
	background-color:#01192b;
}
}
#rcmdraglayer {
	background-color:#01192b;
}
html.layout-small .popover-header,html.layout-phone .popover-header {
	background-color:#01192b;
}
@media screen and (min-width:481px) {
#taskmenu .special-buttons {
	background-color:#01192b;
}
}
#layout-menu .popover-header {
	background-color:#01192b !important;
}
