/* TenderHub identity: wine accents, neutral gray surfaces, Montserrat in every script. */
@font-face { font-family:Montserrat; font-style:normal; font-weight:400; font-display:swap; src:url('../fonts/montserrat/Montserrat_am3-Regular.woff') format('woff'); }
@font-face { font-family:Montserrat; font-style:normal; font-weight:700; font-display:swap; src:url('../fonts/montserrat/Montserrat_am3-Bold.woff') format('woff'); }
:root {
    --th-wine:#842e4a; --th-wine-hover:#72243f; --th-wine-dark:#421e2e; --th-wine-soft:#f0e1e7;
    --th-ink:#303034; --th-muted:#626269; --th-line:#dedee1; --th-paper:#f4f4f5; --th-mist:#e4e4e7;
    --font:Montserrat,Arial,sans-serif; --ink:var(--th-ink); --muted:var(--th-muted); --blue:var(--th-wine); --line:var(--th-line); --mint:var(--th-mist);
}
body.public-page,body.workspace-page,body.classic-page { font-family:Montserrat,Arial,sans-serif; font-size:16px; color:var(--th-ink); -webkit-font-smoothing:antialiased; }
body { accent-color:var(--th-wine); }
::selection { background:var(--th-wine-soft); color:var(--th-wine-dark); }
button,input,select,textarea { font-family:inherit; }
button:disabled { cursor:wait; }
a:focus-visible,button:focus-visible,summary:focus-visible { outline-color:var(--th-wine); }
.workspace-page { --ws-dark:var(--th-wine-dark); --ws-paper:var(--th-paper); --ws-accent:var(--th-mist); --ws-ink:var(--th-ink); --ws-muted:var(--th-muted); --ws-line:var(--th-line); }
.procurement-landing { --discovery-dark:var(--th-wine-dark); --discovery-paper:var(--th-paper); --discovery-accent:var(--th-mist); --discovery-ink:var(--th-ink); --discovery-muted:var(--th-muted); --discovery-line:var(--th-line); }
.workspace-page,.classic-page { background:var(--th-paper); }
.workspace-sidebar,.workspace-page .workspace-nav { background:var(--th-wine-dark); }
.workspace-brand > svg,.procurement-landing .public-brand svg { color:#84445c; }
.workspace-nav > a { color:#ded8db; }
.workspace-nav > a > svg { color:#cbbfc4; }
.workspace-nav > a.is-active { color:#fff; background:#653249; }
.workspace-nav > a.is-active > svg { color:#fff; }
.workspace-nav-label,.workspace-home-link { color:#d0c4ca!important; }
.workspace-sidebar-note { border-color:#875369; }
.sidebar-note-icon { background:#643047; color:#eee9ec; }
.workspace-sidebar-note h2 { color:#fafafa; }
.workspace-sidebar-note p { color:#d4c9ce; }
.workspace-sidebar-note a { color:#fff; }
.workspace-avatar { background:#e9e9ec; color:var(--th-wine); }
.workspace-telegram,.workspace-login { color:var(--th-wine)!important; }
.workspace-account-menu a,.workspace-account-menu button { color:var(--th-ink); }
.workspace-account-menu a:hover,.workspace-account-menu button:hover { background:var(--th-paper); }
.workspace-register { background:var(--th-wine); color:#fff!important; }
.workspace-register:hover { background:var(--th-wine-hover); }
.catalog-heading h1,.auth-page .auth-form-panel h1 { font-weight:700; letter-spacing:-1.1px; }
.catalog-heading p,.catalog-search-hint,.catalog-tender-buyer,.catalog-tender-meta,.catalog-query label,.catalog-sort label,.catalog-extra-fields label,.catalog-range legend,.catalog-results-heading #pagination-info,.catalog-filter-note,.catalog-unknown,.catalog-table th,.catalog-directory { color:var(--th-muted); }
.catalog-query input::placeholder,.catalog-extra-fields input::placeholder { color:#747479; }
.catalog-live-dot { background:var(--th-wine); }
.catalog-save-search { color:var(--th-wine)!important; border-color:#d8bdc8; }
.catalog-save-search:hover { background:#f5edf0; }
.catalog-search-submit,.finder-submit,.auth-page .access-submit,.catalog-filter-actions > button { background:var(--th-wine); color:#fff; }
.catalog-search-submit:hover,.finder-submit:hover,.auth-page .access-submit:hover,.catalog-filter-actions > button:hover { background:var(--th-wine-hover); }
.catalog-search-submit:focus-visible,.finder-submit:focus-visible,.auth-page .access-submit:focus-visible { outline-color:var(--th-wine); }
.catalog-filter-group > summary,.catalog-check { color:var(--th-ink); }
.catalog-check input { accent-color:var(--th-wine); }
.catalog-check:has(input:checked),.catalog-check:has(input:checked) small { color:var(--th-wine); }
.catalog-filter-count,.workspace-page .catalog-applied a { background:#eeeef0; border-color:#d6d6da; color:var(--th-wine); }
.catalog-row-category { color:var(--th-wine); }
.catalog-tender-title { color:var(--th-ink)!important; font-size:18px; font-weight:700; line-height:1.65; }
.catalog-tender-title:hover { color:var(--th-wine)!important; }
.catalog-tender-budget strong,.catalog-tender-deadline > strong { font-weight:700; color:var(--th-ink); }
.catalog-deadline-note { color:var(--th-wine); }
.catalog-bookmark { color:#77777e; }
.catalog-bookmark:hover,.catalog-open-tender:hover { background:#ededf0; color:var(--th-wine)!important; border-color:#d3bdc6; }
[data-catalog-bookmark][data-saved=true] .catalog-bookmark { color:var(--th-wine); }
[data-catalog-bookmark][data-saved=true] .catalog-bookmark svg { fill:#e5cbd5; }
.catalog-action-status:not(:empty),.workspace-flash { background:#ededf0; border-color:#d2d2d7; color:var(--th-wine-dark); }
.catalog-action-status.is-error,.workspace-flash.is-error,.catalog-alert { background:#f4e8ed; color:var(--th-wine-hover); border-color:#d9b3c1; }
.detail-intro h1 { font-weight:700; letter-spacing:-.75px; }
.detail-hero { background:var(--th-wine-dark); }
.detail-eyebrow,.detail-buyer,.detail-code { color:#e0d7dc; }
.detail-status { color:#fff; background:#79405a; }
.detail-status.is-ended,.detail-status.is-unknown { color:#dedee1; background:#565055; }
.detail-buyer span { color:#d3c4cc; }
.detail-buyer > svg { color:#dbcbd3; }
.detail-hero-facts { background:#51283a; border-color:#76465c; }
.detail-hero-facts > div,.detail-hero-facts > div:last-child { border-color:#80566a; }
.detail-hero-facts dt,.detail-currency,.detail-fact-time { color:#ded4da; }
.detail-deadline { background:var(--th-mist); color:var(--th-wine-dark); }
.detail-deadline p { color:#626269; }
.detail-deadline-value { font-weight:700; }
.detail-deadline-action { color:var(--th-wine); border-color:#bfbfc5; }
.detail-deadline-action:hover { background:#d4d4da; }
.detail-section-title > svg,.detail-section-number,.detail-text-link,.detail-contacts > a,.detail-tool,.detail-catalog-link { color:var(--th-wine)!important; }
.detail-section-title h2 { font-weight:700; }
.detail-overview dt,.detail-empty-note,.detail-rail-note,.detail-timeline span,.detail-document small,.detail-document-empty p,.detail-data-note p,.detail-history > p,.detail-section-nav a { color:var(--th-muted); }
.detail-overview dd,.tender-content,.detail-document strong { color:var(--th-ink); }
.detail-overview dd { font-weight:700; }
.detail-file-icon,.detail-count,.detail-access-icon { background:#eeeef0; color:var(--th-wine); border-color:#dedee1; }
.detail-button.is-dark { background:var(--th-wine); border-color:var(--th-wine); color:#fff!important; }
.detail-button.is-dark:hover { background:var(--th-wine-hover); }
.detail-data-note { background:#f4f4f5; border-color:var(--th-wine); }
.detail-data-note h2 { color:var(--th-ink); }
.detail-timeline li.is-current::before { background:var(--th-wine); border-color:#dec4ce; }
.detail-bookmark[aria-pressed=true] { background:#eeeef0; color:var(--th-wine)!important; border-color:#d6bec8; }
.detail-copy-status { color:var(--th-wine); }
.detail-cell-expand { color:var(--th-wine); background:#eeeef0; border-color:#d8c4cc; }
.detail-dialog-header { background:#ededf0; }
.detail-dialog-header button { color:var(--th-wine); }
.procurement-landing .button-dark { background:var(--th-mist); color:var(--th-wine-dark); }
.procurement-landing .button-dark:hover { background:#fff; }
.hero-introduction h1 { font-size:clamp(48px,5.2vw,80px); font-weight:700; letter-spacing:-2px; }
.hero-introduction-copy p,.finder-followup,.market-label,.market-total > span { color:#e0d7dc; }
.finder-query label,.finder-direction label,.procurement-row .row-procedure,.row-category,.section-index,.section-intro { color:var(--th-muted); }
.finder-query input,.finder-direction select { color:var(--th-ink); }
.finder-query input:focus-visible,.finder-direction select:focus-visible { outline-color:var(--th-wine); }
.procurement-row h3 { font-weight:700; color:var(--th-ink); }
.section-action,.sector-item h3,.row-deadline strong,.workflow-cta,.discovery-closing > a { color:var(--th-wine); }
.workflow-cta { background:var(--th-wine); color:#fff; }
.workflow-cta:hover { background:var(--th-wine-hover); }
.discovery-section-heading h2,.workflow-introduction h2,.discovery-closing h2 { font-weight:700; }
.auth-page.procurement-landing,.auth-page .public-footer { background:var(--th-wine-dark); }
.auth-page .auth-story .eyebrow,.auth-page .auth-story-intro,.auth-page .auth-benefits li,.auth-page .auth-story-note p { color:#ded4da; }
.auth-page .auth-story h2 { font-weight:700; }
.auth-page .auth-story h2 span,.auth-page .auth-benefits svg { color:var(--th-mist); }
.auth-page .auth-watermark { color:#653249; }
.auth-page .auth-form-panel { background:var(--th-paper); border-color:#e4e4e7; }
.auth-page .auth-story-note { border-color:#875369; }
.auth-page .form-field > label,.auth-page .google-button,.auth-page .remember-label { color:var(--th-ink); }
.auth-page .form-field input:focus { border-color:var(--th-wine); box-shadow:0 0 0 3px #842e4a26; }
.auth-page .form-field input[aria-invalid=true],.auth-page .form-error { color:var(--th-wine); border-color:var(--th-wine); }
.auth-page .access-switch a,.auth-page .access-browse { color:var(--th-wine); }
.auth-page .auth-form-description,.auth-page .field-hint,.auth-page .form-divider,.auth-page .form-field input::placeholder { color:var(--th-muted); }
.auth-page .remember-label input { accent-color:var(--th-wine); }
@media(min-width:1301px) { .workspace-sidebar { width:252px; } .workspace-main { margin-left:252px; } }
@media(min-width:1080px) and (max-width:1300px) { .workspace-sidebar { width:236px; } .workspace-main { margin-left:236px; } }
@media(max-width:1079px) {
    .workspace-nav > a.is-active { background:transparent; color:#fff; }
    .workspace-topbar { background:var(--th-wine-dark); }
    .workspace-avatar { background:#71415a; color:#fff; }
    .workspace-telegram { color:#e4d9df!important; }
}
@media(max-width:760px) {
    .catalog-tender-title { font-size:17px; line-height:1.75; }
    .detail-deadline { grid-template-columns:minmax(0,1fr); }
    .detail-deadline-value { font-size:29px; }
    .detail-deadline-value span { display:block; margin:5px 0 0; font-size:17px; }
    .detail-deadline-action { align-self:center; }
    .detail-section-nav { gap:18px; }
    .detail-section-nav a { font-size:12px; }
}
@media(max-width:600px) {
    .hero-introduction h1 { font-size:40px; line-height:1.3; letter-spacing:-1.4px; }
    .auth-page .password-pair { grid-template-columns:1fr; }
    .auth-page .password-pair .form-field > label,.auth-page .password-pair input::placeholder { font-size:14px; }
    .auth-page .form-field input:not([type=checkbox]) { font-size:16px; }
}
@media(max-width:370px) {
    .hero-introduction h1 { font-size:34px; }
    .detail-deadline-value { font-size:25px; }
    .workspace-nav > a { font-size:10px; }
    .catalog-tender-title { font-size:16px; }
}

/* Cyrillic subsets from the official Montserrat distribution. */

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/montserrat/Montserrat-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/montserrat/Montserrat-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

.workspace-nav-mobile-label { display:none; }
@media(max-width:1079px) { .workspace-nav-desktop-label { display:none; } .workspace-nav-mobile-label { display:block; } }

.workspace-page .tender-view-status { color:#626269; font-size:12px; }
.catalog-tender-code,.catalog-check small,.catalog-tender-budget small,.workspace-account-menu > span,.workspace-footer { color:var(--th-muted); }
@media(max-width:370px) { .workspace-nav > a { font-size:11px; } }
@media(max-width:370px) {
    .procurement-landing .header-actions .button-dark .action-symbol,.workspace-register .action-symbol { display:none; }
}
.workspace-page :is(a,button,summary,input,select):focus-visible,.public-page :is(a,button,summary,input,select):focus-visible,.classic-page :is(a,button,summary,input,select):focus-visible { outline:3px solid var(--th-wine); outline-offset:3px; }
.workspace-sidebar :is(a,button):focus-visible,.public-header :is(a,button):focus-visible { outline-color:var(--th-mist); }
@media(max-width:1079px) { .workspace-topbar :is(a,button,summary):focus-visible { outline-color:var(--th-mist); } }
