@import url("./site-theme-sections.css?v=20261001sourceborder");
/* One visual system for both languages; page layouts and data stay local. */
body.thinfo-theme{
  --ui-blue:#087cff;--ui-teal:#13877d;--ui-amber:#b77b27;
  --ui-ink:#203d60;--ui-muted:#6b819b;--ui-border:#e0e9f3;
  --ui-blue-soft:#edf5ff;--ui-teal-soft:#eaf7f4;--ui-amber-soft:#fff5e6;
  --ui-radius:9px;--brand-blue:var(--ui-blue);--brand-blue-ink:#0868b9;
  --line:var(--ui-border);--green:var(--ui-teal);--red:#c53d48;--amber:var(--ui-amber);
  --ui-icon-building:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2021V4h11v17M15%2010h5v11M2%2021h20M8%208h3M8%2012h3M8%2016h3M8%2021v-2h3v2%22%2F%3E%3C%2Fsvg%3E");
  --ui-icon-chart:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%203v17h17M8%2015l4-5%204%202%205-7M17%205h4v4%22%2F%3E%3C%2Fsvg%3E");
  --ui-icon-news:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%224%22%20y%3D%223%22%20width%3D%2216%22%20height%3D%2218%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M8%207h8M8%2011h8M8%2015h3M8%2018h8M15%2015h1%22%2F%3E%3C%2Fsvg%3E");
  --ui-icon-pin:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M19%2010c0%205-7%2011-7%2011S5%2015%205%2010a7%207%200%201%201%2014%200Z%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2210%22%20r%3D%222.5%22%2F%3E%3C%2Fsvg%3E");
  --ui-icon-document:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M14%203H6a2%202%200%200%200-2%202v14a2%202%200%200%200%202%202h12a2%202%200%200%200%202-2V9l-6-6Z%22%2F%3E%3Cpath%20d%3D%22M14%203v6h6M8%2013h8M8%2017h5%22%2F%3E%3C%2Fsvg%3E");
  --ui-icon-member:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%224%22%20width%3D%2218%22%20height%3D%2216%22%20rx%3D%222%22%2F%3E%3Ccircle%20cx%3D%229%22%20cy%3D%2210%22%20r%3D%222%22%2F%3E%3Cpath%20d%3D%22M6%2016c0-4%206-4%206%200M15%209h3M15%2013h3%22%2F%3E%3C%2Fsvg%3E");
  --ui-icon-search:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2210.5%22%20cy%3D%2210.5%22%20r%3D%226.5%22%2F%3E%3Cpath%20d%3D%22m16%2016%205%205%22%2F%3E%3C%2Fsvg%3E");
  --ui-section-icon:var(--ui-icon-building);
  --ui-section-color:#197ce1;--ui-section-soft:var(--ui-blue-soft);
  background:#f5f8fc;
}
body.thinfo-theme[data-theme-section="finance"],body.thinfo-theme[data-theme-section="rankings"]{--ui-section-icon:var(--ui-icon-chart)}
body.thinfo-theme[data-theme-section="news"]{--ui-section-icon:var(--ui-icon-news)}
body.thinfo-theme[data-theme-section="member"]{--ui-section-icon:var(--ui-icon-member)}
body.thinfo-theme[data-theme-section="info"],body.thinfo-theme[data-theme-section="workspace"]{--ui-section-icon:var(--ui-icon-document)}
body.thinfo-theme.region-page{--ui-section-icon:var(--ui-icon-pin);--ui-section-color:var(--ui-teal);--ui-section-soft:var(--ui-teal-soft)}

/* Common controls and surfaces. Keep the claim action warm across languages. */
body.thinfo-theme .topbar{border-bottom-color:var(--ui-border);box-shadow:0 3px 12px #294a7103}
body.thinfo-theme .topbar nav a[aria-current]{color:var(--ui-blue)}
body.thinfo-theme .topbar nav a[aria-current]:after{background:var(--ui-blue)}
body.thinfo-theme .button:not(.secondary){background:var(--ui-blue);border-color:var(--ui-blue);color:#fff;box-shadow:0 2px 5px #087cff0d}
body.thinfo-theme :is(.portal-search,.directory-search,.industry-code-search) button{background:var(--ui-blue);border-color:var(--ui-blue);color:#fff}
body.thinfo-theme :is(.portal-search,.directory-search,.industry-code-search) button:hover{background:#086cdb;border-color:#086cdb}
body.thinfo-theme .button.secondary{border-color:#d7e3f0;background:#fff;color:#42617f}
body.thinfo-theme .button.secondary:hover{background:var(--ui-blue-soft);border-color:#a5c9f0;filter:none}
body.thinfo-theme .header-utilities .member-entry,
body.thinfo-theme .header-utilities .member-entry[aria-current="page"],
body.thinfo-theme .page-heading .actions a[href*="claim="],
body.thinfo-theme #record-claim{border:1px solid #e7c794;background:#fff4e5;color:#935714;box-shadow:none}
body.thinfo-theme .header-utilities .member-entry:hover{background:#ffe8ca;border-color:#dca75e;color:#7d470c}
body.thinfo-theme :is(a,button,input,select,textarea):focus-visible{outline:2px solid var(--ui-blue);outline-offset:3px}
body.thinfo-theme :is(input,select,textarea):not([type="checkbox"]):not([type="radio"]){border-color:#d6e2f0;accent-color:var(--ui-blue)}
body.thinfo-theme :is(input,textarea)::placeholder{color:#8a9bb0}
body.thinfo-theme :is(.panel,.home-panel,.directory-search-panel,.directory-result-panel,.directory-taxonomy,.industry-info-card,.industry-list-panel,.industry-related,.region-directory-section,.region-sector-panel,.region-context-panel,.region-company-panel,.region-related,.ranking-topics,.ranking-topic-list,.ranking-topic-method>section,.ranking-topic-bottom>section,.sentiment-news-main,.sentiment-news-sidebar,.sentiment-results,.sentiment-detail-panel,.sentiment-detail-side section,.member-panel,.info-card,.compare-add-panel,.compare-table-wrap){border-color:var(--ui-border);border-radius:var(--ui-radius);box-shadow:0 3px 12px #294a7103}
body.thinfo-theme :is(.directory-search-heading,.directory-result-head,.industry-card-head,.region-directory-head,.region-section-head,.ranking-topic-toolbar,.ranking-topic-section-head,.sentiment-results-head,.member-panel-head){gap:12px;flex-wrap:wrap}
body.thinfo-theme :is(.directory-search-heading,.directory-result-head,.industry-card-head,.region-directory-head,.region-section-head,.ranking-topic-toolbar,.ranking-topic-section-head,.sentiment-results-head,.member-panel-head)>div{min-width:0}

/* Small line icons repeat the approved company-page heading treatment. */
body.thinfo-theme:not(.company-polished) :is(.section-heading h2,.home-panel-heading h2,.directory-search-heading h2,.directory-result-head h2,.industry-card-head h2,.region-directory-head h2,.region-section-head h2,.ranking-topic-toolbar h2,.ranking-topic-section-head h2,.sentiment-results-head h2,.sentiment-detail-panel h2,.finance-section-head h2,.member-panel-head h2,.info-card h2,.sitemap-group h2){position:relative;display:block;min-height:30px;padding-left:40px;line-height:1.6;color:var(--ui-ink)}
body.thinfo-theme:not(.company-polished) :is(.section-heading h2,.home-panel-heading h2,.directory-search-heading h2,.directory-result-head h2,.industry-card-head h2,.region-directory-head h2,.region-section-head h2,.ranking-topic-toolbar h2,.ranking-topic-section-head h2,.sentiment-results-head h2,.sentiment-detail-panel h2,.finance-section-head h2,.member-panel-head h2,.info-card h2,.sitemap-group h2)::before{content:"";position:absolute;left:0;top:0;width:30px;height:30px;display:block;margin:0;border:0;border-radius:8px;background:var(--ui-section-soft)}
body.thinfo-theme:not(.company-polished) :is(.section-heading h2,.home-panel-heading h2,.directory-search-heading h2,.directory-result-head h2,.industry-card-head h2,.region-directory-head h2,.region-section-head h2,.ranking-topic-toolbar h2,.ranking-topic-section-head h2,.sentiment-results-head h2,.sentiment-detail-panel h2,.finance-section-head h2,.member-panel-head h2,.info-card h2,.sitemap-group h2)::after{content:"";position:absolute;left:7px;top:7px;width:16px;height:16px;background:var(--ui-section-color);-webkit-mask:var(--ui-section-icon) center/contain no-repeat;mask:var(--ui-section-icon) center/contain no-repeat;pointer-events:none}
body.thinfo-theme .directory-search-heading{--ui-section-icon:var(--ui-icon-search)}
body.thinfo-theme .home-events{--ui-section-icon:var(--ui-icon-news);--ui-section-color:var(--ui-teal);--ui-section-soft:var(--ui-teal-soft)}
body.thinfo-theme .home-topics{--ui-section-icon:var(--ui-icon-chart);--ui-section-color:var(--ui-amber);--ui-section-soft:var(--ui-amber-soft)}
body.thinfo-theme .sitemap-group:nth-child(3n+2),body.thinfo-theme .info-card:nth-child(3n+2){--ui-section-color:var(--ui-teal);--ui-section-soft:var(--ui-teal-soft)}
body.thinfo-theme .sitemap-group:nth-child(3n+3),body.thinfo-theme .info-card:nth-child(3n+3){--ui-section-color:var(--ui-amber);--ui-section-soft:var(--ui-amber-soft)}

/* Tables share subtle headers; existing financial emphasis and risk colors remain. */
body.thinfo-theme:not(.company-polished) :is(.table-wrap,.directory-pro-table,.home-company-table,.compare-table,.finance-table) thead th{background:#f1f6fc;color:#637e9c;border-color:var(--ui-border);line-height:1.65}
body.thinfo-theme .finance-table thead th small{color:#7a8da4}
body.thinfo-theme .finance-table thead th:last-child{background:#e3efff;color:#305d8d}
body.thinfo-theme :is(.table-wrap,.directory-pro-table,.home-company-table,.compare-table,.finance-table) td{font-variant-numeric:tabular-nums;border-color:#e8eef6}
body.thinfo-theme :is(.directory-pro-table,.home-company-table,.compare-table) tbody tr:hover td{background:#f8fbff}
body.thinfo-theme .compare-table .compare-group th{background:#edf5ff;color:#386994}
body.thinfo-theme:not(.company-polished) .metrics{border-color:var(--ui-border);box-shadow:0 3px 12px #294a7103}
body.thinfo-theme:not(.company-polished):not([data-theme-section="news"]) .metric:not(.danger) strong{color:#294c72;font-variant-numeric:tabular-nums}

/* Directory and ranking entrances use the same restrained hero treatment. */
body.thinfo-theme :is(.industry-search-hero,.industry-hero,.region-directory-hero,.region-detail-hero,.ranking-topic-hero){border-color:#d9e6f5;border-radius:var(--ui-radius);background:linear-gradient(112deg,#edf5ff,#fbfdff 58%,#fff);box-shadow:0 5px 18px #20426805}
body.thinfo-theme .ranking-directory-hero{border-color:#d5e4f6;border-radius:var(--ui-radius);background:linear-gradient(112deg,#f5f9ff,#e1edfc);box-shadow:0 5px 18px #20426805}
body.thinfo-theme :is(.industry-search-hero,.industry-hero,.region-directory-hero,.region-detail-hero,.ranking-directory-hero,.ranking-topic-hero)>div{min-width:0}
body.thinfo-theme :is(.industry-search-summary,.ranking-directory-hero aside){border-color:#dce8f6;border-radius:8px;background:#ffffffeb}
body.thinfo-theme :is(.industry-search-summary strong,.ranking-directory-hero aside strong){color:#2878c9;font-variant-numeric:tabular-nums}
body.thinfo-theme :is(.industry-search-summary,.ranking-directory-hero aside)>div:nth-child(2) strong{color:var(--ui-teal)}
body.thinfo-theme .ranking-directory-hero aside>div:nth-child(3) strong{color:var(--ui-amber)}
body.thinfo-theme .directory-sections button{background:#fbfdff;border-color:var(--ui-border);box-shadow:none}
body.thinfo-theme .directory-sections strong{background:var(--ui-blue-soft);color:#2878c9;border-radius:7px}
body.thinfo-theme .directory-sections button[aria-pressed="true"]{border-color:#76b4ff;background:var(--ui-blue-soft);box-shadow:inset 0 0 0 1px #76b4ff}
body.thinfo-theme .directory-sections button[aria-pressed="true"] strong{background:var(--ui-blue);color:#fff}
body.thinfo-theme .directory-code-grid a{border-color:var(--ui-border);border-radius:7px;background:#fff}
body.thinfo-theme .directory-code-grid a:hover{border-color:#8bbcf1;background:#f5f9ff}
body.thinfo-theme .directory-code{background:var(--ui-blue-soft);color:#2878c9}
body.thinfo-theme .region-directory-card{border-color:var(--ui-border);border-radius:8px;box-shadow:none}
body.thinfo-theme .region-directory-card:hover{border-color:#99c4f2;background:#fbfdff}
body.thinfo-theme .region-directory-card-top{align-items:flex-start;flex-wrap:wrap}
body.thinfo-theme .region-directory-card-top em{padding:3px 8px;border-radius:5px;color:#2878c9;background:var(--ui-blue-soft);white-space:nowrap;font-variant-numeric:tabular-nums}
body.thinfo-theme .region-directory-card:nth-child(3n+2) .region-directory-card-top em{color:var(--ui-teal);background:var(--ui-teal-soft)}
body.thinfo-theme .region-directory-card:nth-child(3n+3) .region-directory-card-top em{color:var(--ui-amber);background:var(--ui-amber-soft)}
body.thinfo-theme .ranking-topic-nav a{border:1px solid var(--ui-border);border-radius:8px}
body.thinfo-theme .ranking-topic-nav span{width:32px;min-height:32px;align-self:start;display:grid;place-items:center;border-radius:8px;background:var(--ui-blue-soft);color:#2878c9;font-size:14px}
body.thinfo-theme .ranking-topic-nav a:nth-child(2) span{background:var(--ui-teal-soft);color:var(--ui-teal)}
body.thinfo-theme .ranking-topic-nav a:nth-child(3) span{background:var(--ui-amber-soft);color:var(--ui-amber)}
body.thinfo-theme .ranking-topic-card{border-color:var(--ui-border);border-radius:7px;background:#fff;box-shadow:none}
body.thinfo-theme .ranking-topic-card:hover{border-color:#a8c9ed;background:#fbfdff;box-shadow:0 4px 12px #294a7108}
body.thinfo-theme .ranking-topic-card>span{align-self:flex-start;border-radius:4px;padding:2px 6px;background:var(--ui-blue-soft);color:#4777a7}

/* Compact company records keep their single continuous registry layout. */
body.thinfo-theme.record-compact .registry-card h3:before{content:"";display:inline-block;width:6px;height:6px;border-radius:2px;background:#087cff;margin-right:9px;vertical-align:2px}
body.thinfo-theme.record-compact .registry-card:nth-child(2) h3:before{background:var(--ui-teal)}
body.thinfo-theme.record-compact .registry-card:nth-child(3) h3:before{background:var(--ui-amber)}
body.thinfo-theme.record-compact .record-fold{border-color:var(--ui-border);border-radius:8px;box-shadow:none}
body.thinfo-theme.record-compact .record-fold-title{color:var(--ui-ink)}
body.thinfo-theme.record-compact .record-fold-title:before{content:"";display:inline-block;width:6px;height:6px;border-radius:2px;background:#81b3eb;margin-right:9px;vertical-align:2px}
body.thinfo-theme.record-compact .record-fold[open]>summary{background:#f6faff;border-color:var(--ui-border)}
body.thinfo-theme :is(.identity-count,.home-event-count){color:#c53d48}
body.thinfo-theme .identity-count{background:#c53d48;color:#fff}

/* Thai labels can use their full wording; no fixed-height text containers. */
html[lang="th"] body.thinfo-theme :is(.directory-sections span,.directory-code-grid b,.directory-code-grid small){white-space:normal;text-overflow:clip;line-height:1.65;word-break:normal;overflow-wrap:anywhere}
html[lang="th"] body.thinfo-theme :is(.ranking-topic-card h4,.region-directory-card-top strong,.industry-card-head h2,.member-panel-head h2,.sentiment-detail-panel h2){word-break:normal;overflow-wrap:anywhere;line-height:1.65}
html[lang="th"] body.thinfo-theme .ranking-topic-card{gap:7px}
@media(max-width:700px){
  body.thinfo-theme :is(.home-panel-heading,.section-heading,.finance-section-head){align-items:flex-start;gap:10px;flex-wrap:wrap}
  body.thinfo-theme:not(.company-polished) :is(.section-heading h2,.home-panel-heading h2,.directory-search-heading h2,.directory-result-head h2,.industry-card-head h2,.region-directory-head h2,.region-section-head h2,.ranking-topic-toolbar h2,.ranking-topic-section-head h2,.sentiment-results-head h2,.sentiment-detail-panel h2,.finance-section-head h2,.member-panel-head h2,.info-card h2,.sitemap-group h2){padding-left:36px;font-size:17px}
  body.thinfo-theme .ranking-topic-nav a{min-width:0}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}body.thinfo-theme *{transition:none!important;scroll-behavior:auto!important}}
@media print{body.thinfo-theme{background:#fff}body.thinfo-theme :is(.panel,.home-panel,.info-card,.industry-search-hero,.industry-hero,.region-directory-hero,.region-detail-hero,.ranking-directory-hero,.ranking-topic-hero){box-shadow:none;background:#fff}}

/* Selected logo 05: Barlow Business, served locally in every language. */
@font-face{font-family:'Thinfo Logo';src:url('./fonts/Barlow.ttf') format('truetype');font-style:normal;font-weight:700;font-display:swap}
body.thinfo-theme .brand .brand-name strong{font-family:'Thinfo Logo',Arial,sans-serif;font-weight:700;letter-spacing:-.02em}
body.thinfo-theme .brand .brand-name small{font-family:Arial,sans-serif}

/* Keep explanatory cards and selected company cards free of colored side accents. */
body.thinfo-theme :is(.insight,.sentiment-interpretation){border-left:0;border-radius:6px}
body.thinfo-theme .info-note,
body.thinfo-theme[data-theme-section="finance"] .finance-insights article:nth-child(n),
body.thinfo-theme[data-theme-section="member"] .member-selected-company{border-left:1px solid var(--ui-border)}
body.thinfo-theme.company-polished #business .facts-grid>div,
body.thinfo-theme.company-polished #reputation .signal-list>a{border-left:0;border-radius:5px}
