/* LXL / Almaty Project. Loaded after vendor styles; no auth or data logic. */
:root{color-scheme:dark;--ap-bg:#101815;--ap-paper:#17221E;--ap-surface:#1D2C26;--ap-line:#40584C;--ap-text:#B5CCBC;--ap-muted:#B4C4BA;--ap-accent:#B5CCBC}
html,body{background:#101815;color:#B5CCBC}
body,body input,body select,body textarea,body button,body table,body td,body th,body a,body label,body span,body div,body p,body h1,body h2,body h3,body .ui-widget{font-family:Consolas,"Liberation Mono","Courier New",monospace!important}
body{margin:0;font-size:13px;line-height:1.5}
a,a:visited,body a.link1,body a.link2,body .tb_header a,body .tb_header_wrap a{color:#C1DBC9}a:hover{color:#D4E5DA}
.ap-app-brand{display:flex;align-items:center;gap:24px;padding:14px 24px;background:#17221E;border-bottom:1px solid #40584C;color:#B4C4BA}
.ap-app-brand img{width:104px;height:auto;display:block}.ap-app-brand span{font-size:15px}
body .header{background:#17221E!important;background-image:none!important;border-bottom:1px solid #40584C;padding:12px 24px;height:96px;color:#B5CCBC}
.header .ap-app-brand{display:inline-flex;vertical-align:middle;border:0;padding:0;margin-right:32px}
body .table_center{background:#101815;color:#B5CCBC;padding:20px}
body .left_menu{background:#17221E;color:#B5CCBC;border:1px solid #40584C;border-radius:6px}
body .menuheader,body .menuheader a{background:#1D2C26;color:#A5C4B3;border-color:#40584C}
body .menu_item,body .menu_item a{color:#B4C4BA;background:transparent}
body .hover_menu_item,body .hover_menu_item a,body .selected_menu_item,body .selected_menu_item a{background:#31483D;color:#B5CCBC}
body input[type=text],body input[type=password],body input[type=number],body input[type=search],body input[type=date],body select,body textarea,body .TextBox1,body .report_textbox,body .report_label,body .dt_combobox{background:#17221E;color:#B5CCBC;border:1px solid #5A7B74;border-radius:4px}
body input:focus-visible,body select:focus-visible,body textarea:focus-visible,body button:focus-visible,body a:focus-visible{outline:2px solid #D4E5DA;outline-offset:2px}
body input[type=checkbox],body input[type=radio]{accent-color:#B5CCBC;mix-blend-mode:normal}
body input[type=submit],body input[type=button],body button,body .ui-button,body .Button1,body .report_button,body .tButton{background:#B5CCBC;color:#172B22;border:1px solid #B5CCBC;border-radius:5px;text-shadow:none}
body input[type=submit]:hover,body input[type=button]:hover,body button:hover,body .ui-button:hover{background:#D4E2D7;color:#172B22}
body input:disabled,body select:disabled,body button:disabled{opacity:.55;cursor:default}
body .tb_header,body .tb_header_wrap,body .tb_header_wrap_bottom,body .tb_header_small,body .tb_header_bold,body .tbh1,body .mGrid th{background:#2B4136!important;background-image:none!important;color:#B5CCBC!important;border-color:#40584C}
body .tb_item,body .tb_item_nowrap,body .tb_item_nw_ml,body .tbi1,body .mGrid td{background:#17221E;color:#B5CCBC;border-color:#40584C}
body .mGrid,body .mGrid .alt,body .mGrid .alt td{background:#1D2C26;background-image:none;color:#B5CCBC}
body .mGrid .pgr{background:#2B4136;background-image:none}body .mGrid .pgr a{color:#C1DBC9}
body .tb_item_selected,body .tb_item_selected td{background:#40584C;color:#B5CCBC}
body .table_border,body .border1,body .border2,body .border_checkboxlist,body .tb_help,body .tbt1{border-color:#40584C}
body .ui-widget-content,body .ui-widget-header,body .ui-dialog,body .ui-tabs-panel,body .ui-datepicker,body .autocomplete_completionListElement,body .autocomplete_listItem,body .WindowsStyle .ajax__combobox_itemlist{background:#17221E;color:#B5CCBC;border-color:#40584C}
body .ui-state-default,body .ui-widget-content .ui-state-default{background:#1D2C26;color:#B4C4BA;border-color:#40584C}
body .ui-state-active,body .ui-widget-content .ui-state-active,body .autocomplete_highlightedListItem{background:#40584C;color:#B5CCBC;border-color:#5A7B74}
body .ui-tabs-nav a{color:#B4C4BA}body .news_header{color:#A5C4B3}body .site_visited,body .copy{color:#B4C4BA}
body .err_div{background:#382522;color:#FFB4AB;border-color:#88574E}
/* Data charts and image-based reports retain their original palette. */
@media(max-width:760px){.ap-app-brand{gap:16px;padding:12px 16px}.ap-app-brand img{width:88px}.ap-app-brand span{font-size:12px}body .table_center{padding:12px}.header .ap-app-brand{margin-right:16px}}
@media print{:root{color-scheme:light}html,body,body td,body th,body .table_center,body .mGrid td,body .tb_item,body .tb_item_nowrap,body .tb_item_nw_ml,body .tbi1{background:#fff!important;color:#000!important;box-shadow:none!important}body a{color:#000!important}.ap-app-brand,.ap-brand{display:none!important}}

body .fa,body .fa::before{font-family:FontAwesome!important}

body .ap-communication{display:inline-block;margin:0 20px 0 0;padding:8px 14px;border:1px solid #5A7B74;border-radius:5px;color:#C1DBC9}
/* Forum: the vendor stylesheet is injected late, so scope and specificity
   keep the editor, threads, polls and attachments in the application palette. */
@media screen{
body .forum_div{color:#B5CCBC;color-scheme:dark}
body .forum_div .forumline{background:#17221E!important;border-color:#40584C!important}
body .forum_div table,body .forum_div td,body .forum_div th,
body .forum_div .forumheader,body .forum_div .fauthor{border-color:#40584C!important}
body .forum_div .row1,body .forum_div .row1>td{background:#17221E!important;color:#B5CCBC!important}
body .forum_div .row2,body .forum_div .row2>td{background:#1D2C26!important;color:#B5CCBC!important}
body .forum_div .row3,body .forum_div .row3>td{background:#2B4136!important;color:#B5CCBC!important}
body .forum_div .srow,body .forum_div .srow>td{background:#31483D!important;color:#B5CCBC!important}
body .forum_div .forumline th,body .forum_div .forumheader{background:#2B4136!important;color:#B5CCBC!important}
body .forum_div a,body .forum_div a:link,body .forum_div a:visited,
body .forum_div .forumlink,body .forum_div .forumuser,body .forum_div .topictitle,
body .forum_div .replylink,body .forum_div .replycommand{color:#C1DBC9}
body .forum_div a:hover,body .forum_div a:focus-visible{color:#D4E5DA}
body .forum_div .maintitle,body .forum_div h1,body .forum_div h2{color:#B5CCBC}
body .forum_div input[type=text],body .forum_div input[type=password],
body .forum_div input[type=number],body .forum_div textarea,
body .forum_div select,body .forum_div select option,body .forum_div .MyTextBox{
 background:#101815!important;color:#B5CCBC!important;border-color:#5A7B74!important;
 border-radius:4px;caret-color:#D4E5DA;
}
body .forum_div .helpline{background:#17221E!important;color:#B4C4BA!important;border-color:#40584C!important}
body .forum_div .MyButton,body .forum_div input[type=button],
body .forum_div input[type=submit],body .forum_div button{
 background:#B5CCBC!important;background-image:none!important;color:#172B22!important;
 border:1px solid #B5CCBC!important;border-radius:5px;text-shadow:none;
}
body .forum_div .MyButton:hover,body .forum_div input[type=button]:hover,
body .forum_div input[type=submit]:hover,body .forum_div button:hover{
 background:#D4E2D7!important;border-color:#D4E2D7!important;
}
body .forum_div .MyFileUpload,body .forum_div input[type=file]{
 background:#101815!important;color:#B5CCBC!important;border:1px solid #5A7B74!important;border-radius:4px;
}
body .forum_div input[type=file]::file-selector-button{
 background:#B5CCBC;color:#172B22;border:0;border-right:1px solid #5A7B74;padding:6px 10px;
 font:inherit;cursor:pointer;
}
body .forum_div input[type=file]::file-selector-button:hover{background:#D4E2D7}
body .forum_div .quote{background:#101815!important;color:#B4C4BA!important;border-color:#40584C!important}
body .forum_div .attach_table{background:#1D2C26!important;color:#B5CCBC!important;border-color:#40584C!important}
body .forum_div .attach_header{background:#2B4136!important;color:#B5CCBC!important;border-color:#40584C!important}
body .forum_div input:focus-visible,body .forum_div select:focus-visible,
body .forum_div textarea:focus-visible,body .forum_div button:focus-visible,
body .forum_div a:focus-visible{outline:2px solid #D4E5DA;outline-offset:2px}
}
@media print{
body .forum_div,body .forum_div div,body .forum_div table,body .forum_div tr,
body .forum_div td,body .forum_div th,body .forum_div span,body .forum_div a,
body .forum_div .quote,body .forum_div .attach_table,body .forum_div .attach_header{
 background:#fff!important;color:#000!important;border-color:#888!important;box-shadow:none!important;
}
.ap-communication{display:none!important}
}

body .fa,body .fa::before{font-family:FontAwesome!important}

/* Header: company on the left, account in the middle, AlphaCENTER on the right. */
body .header{height:auto;min-height:96px;vertical-align:middle}
.ap-header-row{display:flex;align-items:center;gap:28px;width:100%;min-height:72px}
.ap-header-row>.ap-company-logo,.ap-app-brand>.ap-company-logo{display:block;width:104px;height:auto;flex:0 0 104px}
.ap-account{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;min-width:0;font-size:12px;color:#B5CCBC}
.ap-account .ap-communication{margin:0 4px 0 0}
.ap-app-brand .ap-product-brand,.ap-header-row .ap-product-brand,.ap-brand .ap-product-brand{display:flex;align-items:center;justify-content:flex-end;gap:16px;margin-left:auto;flex:0 0 auto;color:#B5CCBC;text-align:right}
.ap-app-brand .ap-product-brand span,.ap-header-row .ap-product-brand span,.ap-brand .ap-product-brand span{color:#B5CCBC;font-size:16px;white-space:nowrap;max-width:none}
.ap-app-brand .ap-product-brand img,.ap-header-row .ap-product-brand img,.ap-brand .ap-product-brand img{display:block;width:72px;height:64px;object-fit:contain;flex:0 0 72px}
@media(max-width:760px){.ap-header-row{gap:16px;flex-wrap:wrap}.ap-header-row>.ap-company-logo,.ap-app-brand>.ap-company-logo{width:88px;flex-basis:88px}.ap-account{order:3;flex-basis:100%}.ap-app-brand .ap-product-brand,.ap-header-row .ap-product-brand,.ap-brand .ap-product-brand{gap:10px}.ap-app-brand .ap-product-brand span,.ap-header-row .ap-product-brand span,.ap-brand .ap-product-brand span{font-size:12px}.ap-app-brand .ap-product-brand img,.ap-header-row .ap-product-brand img,.ap-brand .ap-product-brand img{width:48px;height:44px;flex-basis:48px}}
@media(max-width:360px){.ap-app-brand,.ap-brand,body .header{padding-left:12px;padding-right:12px}.ap-app-brand .ap-product-brand span,.ap-header-row .ap-product-brand span,.ap-brand .ap-product-brand span{font-size:11px}}
@media print{.ap-header-row{display:none!important}}

/* Report pickers: tButton is a table cell, not a button. */
body td.tButton{background:#17221E;color:#B5CCBC;border:1px solid #40584C;border-radius:6px;text-shadow:none}
body td.tButton>span,body td.tButton>label{color:#B5CCBC}
body td.tButton select{background:#101815;color:#B5CCBC;border:1px solid #5A7B74;border-radius:4px;padding:6px 10px;opacity:1}
body td.tButton select option{background:#17221E;color:#B5CCBC}
body td.tButton a.link1,body td.tButton a.link1:link,body td.tButton a.link1:visited{display:inline-block;padding:8px 16px;background:#B5CCBC;color:#172B22!important;border:1px solid #B5CCBC;border-radius:4px;text-decoration:none;opacity:1;font-weight:bold}
body td.tButton a.link1:hover,body td.tButton a.link1:focus-visible{background:#D4E2D7;color:#172B22!important;border-color:#D4E2D7}
body td.tButton a.link1:active{background:#A5C4B3;color:#172B22!important}
body td.tButton a.link1.aspNetDisabled,body td.tButton a.link1[disabled],body td.tButton a.link1[aria-disabled="true"],body td.tButton span.aspNetDisabled{background:#2B4136;color:#B4C4BA!important;border-color:#5A7B74;opacity:1;cursor:not-allowed}
body td.tButton select:disabled{background:#2B4136;color:#B4C4BA;opacity:1;cursor:not-allowed}
@media print{body td.tButton{background:white!important;color:black!important}body td.tButton a.link1{background:white!important;color:black!important}}

/* Legible headings and report-setting links: colour only, no fill changes. */
body .tb_header a:link,body .tb_header a:visited,body .tb_header a:hover,body .tb_header a:active,
body .tb_header_wrap a:link,body .tb_header_wrap a:visited,body .tb_header_wrap a:hover,body .tb_header_wrap a:active,
body .tb_header_wrap_bottom a,body .tb_header_small a,body .tb_header_bold a,
body .tbh1 a,body .mGrid th a{color:#B5CCBC!important}
body .report_body .link-secondary,body .report_body .link-secondary:link,body .report_body .link-secondary:visited,
body .report_body .link-secondary:hover,body .report_body .link-secondary:active,
body .table_center .link-secondary,body .table_center .link-secondary:visited{color:#B5CCBC!important}
@media print{body [data-ap-text-contrast="1"],body .tb_header a:link,body .tb_header a:visited,body .tb_header_wrap a:link,body .tb_header_wrap a:visited{color:#000!important}}

/* Login layout ships in the same stylesheet as the main theme. */
/* Almaty Project — login page only */
body.ap-login{color-scheme:dark;margin:0;background:#101815;color:#B5CCBC;font:15px/1.6 Arial,Helvetica,sans-serif;min-height:100vh}
.ap-login *{box-sizing:border-box}
.ap-login form>table{width:100%;border-collapse:collapse}
.ap-login form>table>tbody>tr:first-child,.ap-login form>table>tbody>tr:nth-child(2)>td:first-child{display:none}
.ap-login .table_center{padding:0!important;background:none!important;border:0!important;width:100%}
.ap-brand{height:104px;display:flex;align-items:center;justify-content:space-between;padding:12px max(6%,24px);background:#17221E;border-bottom:1px solid #40584C;gap:24px}
.ap-brand img{display:block;width:104px;height:auto}
.ap-brand span{color:#B4C4BA;font-size:13px}
.ap-login select[id$="cboLang"]{display:block;margin:24px max(6%,24px) 0 auto;background:#17221E;color:#B5CCBC;border:1px solid #40584C;border-radius:6px;padding:8px 12px;font:inherit}
.ap-login-layout{width:100%;max-width:1000px;margin:36px auto 24px;border-collapse:collapse}
.ap-login-layout>tbody>tr{display:flex;justify-content:center;align-items:flex-start;gap:36px;padding:0 24px}
.ap-login-layout>tbody>tr>td:first-child{display:block;width:460px;max-width:100%;flex-shrink:0}
.ap-login table[id$="MainLogin"]{width:100%!important;height:auto!important;border:0}
.ap-card{text-align:left;background:#17221E;border:1px solid #40584C;border-radius:16px;padding:40px;box-shadow:0 24px 64px #00000026}
.ap-eyebrow{font-size:11px;letter-spacing:2px;font-weight:700;color:#A5C4B3;margin-bottom:12px}
.ap-card h1{font-size:32px;line-height:1.2;font-weight:500;letter-spacing:-.8px;margin:0 0 12px;color:#B5CCBC}
.ap-intro{font-size:14px;color:#B4C4BA;margin:0 0 28px}
.ap-field{margin-bottom:20px}
.ap-field>label{display:block;margin-bottom:8px;color:#B4C4BA;font-size:13px}
.ap-login .ap-input{display:block;width:100%;height:48px;padding:10px 14px;border:1px solid #40584C;background:#101815;color:#B5CCBC;border-radius:6px;font:16px Arial,Helvetica,sans-serif}
.ap-login .ap-input:focus{outline:2px solid #B5CCBC;outline-offset:2px;border-color:#B5CCBC}
.ap-remember{margin:2px 0 22px;font-size:13px;color:#B4C4BA}
.ap-remember input{width:16px;height:16px;vertical-align:middle;margin:0 8px 0 0;accent-color:#B5CCBC;mix-blend-mode:normal}
.ap-login .ap-submit,.ap-login .ap-submit.ui-button{display:block;width:100%;height:48px;background:#B5CCBC;color:#172B22;border:1px solid #B5CCBC;border-radius:6px!important;font:700 15px Arial,Helvetica,sans-serif;cursor:pointer;text-shadow:none;box-shadow:none;margin:0}
.ap-login .ap-submit:hover{background:#D4E2D7;border-color:#D4E2D7}
.ap-login .ap-submit:focus-visible,.ap-login a:focus-visible,.ap-login select:focus-visible{outline:3px solid #D4E5DA;outline-offset:4px}
.ap-support{margin-top:26px;padding-top:22px;border-top:1px solid #40584C;font-size:12px;color:#B4C4BA;line-height:1.8;text-align:center}
.ap-support a{color:#C1DBC9;text-decoration:none}.ap-support a:hover{text-decoration:underline}
.ap-login .ap-error{color:#FFB4AB!important;font-size:13px}.ap-error:empty{display:none}.ap-card> .ap-error:not(:empty){margin-bottom:14px}
.ap-login .login_info{color:#B4C4BA;background:transparent;border:0;max-width:430px;padding:0;margin:0}
.ap-login .login_info:empty{display:none}
.ap-login-layout>tbody>tr>td:nth-child(2):has(.login_info:empty){display:none}
.ap-login .login_info span{color:inherit!important}
.ap-login [id$="lblDemo"]{display:block;text-align:center;color:#B4C4BA;font-size:12px}
@media(max-width:760px){.ap-brand{height:88px;padding:12px 24px}.ap-brand img{width:88px}.ap-brand span{font-size:11px;max-width:140px;text-align:right}.ap-login-layout{margin:24px auto}.ap-login-layout>tbody>tr{flex-direction:column;align-items:center;gap:24px;padding:0 16px}.ap-card{padding:28px 24px}.ap-login-layout>tbody>tr>td:nth-child(2){width:100%;max-width:460px}.ap-login .login_info{max-width:100%}}

body.ap-login,body.ap-login .ap-input,body.ap-login .ap-submit{font-family:Consolas,"Liberation Mono","Courier New",monospace!important}

.ap-login-layout>tbody>tr>td:nth-child(2):not(:has(.login_info tr)){display:none}

/* Three-language navigation, available on login, application and report pages. */
.ap-languages{display:flex;align-items:center;flex-wrap:wrap;gap:4px;flex:0 0 auto;margin-left:auto}
body .ap-languages a,body .ap-languages a:visited{display:inline-block;padding:7px 10px;border:1px solid transparent;border-radius:5px;font-size:12px;line-height:1.3;text-decoration:none;color:#B5CCBC!important;white-space:nowrap}
body .ap-languages a:hover,body .ap-languages a:focus-visible{border-color:#5A7B74;background:#1D2C26;outline-offset:3px}
body .ap-languages a.is-current{background:#B5CCBC;color:#172B22!important;border-color:#B5CCBC;font-weight:bold}
.ap-login select.ap-native-language{display:none!important}
.ap-brand .ap-languages{margin-left:auto}.ap-brand .ap-product-brand{margin-left:12px}
@media(max-width:1000px){.ap-header-row,.ap-app-brand,.ap-brand{flex-wrap:wrap;height:auto;min-height:104px;gap:12px 18px}.ap-languages{order:3;width:100%;justify-content:flex-end}.ap-brand .ap-product-brand{margin-left:auto}}
@media print{.ap-languages{display:none!important}}

body img[src*="/ap-actions/"],body input[type="image"][src*="/ap-actions/"]{width:auto;height:28px;max-width:100%}
