[data-workspace] {
  --work-ink: #142b29;
  --work-deep: #103e37;
  --work-light: #e5f0e8;
  --work-paper: #f4f6f1;
  --work-line: #b8cbc0;
  --work-muted: #39534d;
  --work-warning: #82380f;
  background: var(--work-paper);
  color: var(--work-ink);
  font-family: "Bricolage Grotesque", "Hiragino Kaku Gothic ProN", "Yu Gothic", system-ui, sans-serif;
  margin: 0;
  line-height: 1.65;
}
[data-workspace] *, [data-workspace] *::before, [data-workspace] *::after { box-sizing: border-box; }
[data-workspace] a { color: inherit; text-underline-offset: .24em; }
[data-workspace] :focus-visible { outline: 3px solid #b64e1e; outline-offset: 4px; }
[data-workspace] [hidden] { display: none !important; }
.work-container { width: min(1180px, 100% - 48px); margin-inline: auto; }
.work-header {
  min-height: 72px; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.5rem;
  padding: .7rem max(24px, calc((100% - 1180px) / 2));
  background: #fff; border-bottom: 1px solid var(--work-line);
}
.work-brand { font-size: 1.08rem; font-weight: 850; letter-spacing: -.04em; text-decoration: none; margin-inline-end: auto; }
.work-header nav { display: flex; flex-wrap: wrap; gap: .25rem 1.2rem; }
.work-header nav a, .work-footer a { display: inline-flex; align-items: center; min-height: 44px; font-size: .88rem; }
.work-header .language-switch { position: static; display: flex; gap: 2px; border: 1px solid var(--work-line); border-radius: 8px; padding: 2px; }
.work-header .language-switch button { min-height: 36px; color: var(--work-deep); }
.work-header .language-switch [aria-pressed="true"] { color: #fff; background: var(--work-deep); border-radius: 5px; }
[data-workspace="home"] .work-footer [data-analytics-settings] {
  min-height: 44px;
  color: var(--work-deep);
}
[data-workspace="home"] .work-footer [data-analytics-settings]:focus-visible {
  outline-color: #b64e1e;
}
.work-footer { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem 1rem; border-top: 1px solid var(--work-line); padding: 1rem 0; margin-top: 2rem; }
body > .work-footer { padding-inline: max(24px, calc((100% - 1180px) / 2)); }
[data-workspace] .skip-link { position: absolute; z-index: 9999; top: 10px; left: 10px; background: #fff; padding: 10px; transform: translateY(-200%); }
[data-workspace] .skip-link:focus { transform: none; }
.work-label { margin: 0 0 .5rem; font-size: .84rem; font-weight: 800; letter-spacing: .08em; color: var(--work-muted); }
.work-button, .lookup-form button {
  display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: .45rem;
  padding: .65rem 1rem; border: 1px solid var(--work-deep); border-radius: 8px;
  background: var(--work-deep); color: white !important; font: inherit; font-weight: 750;
  text-decoration: none; cursor: pointer;
}
.work-button:hover, .lookup-form button:hover { background: #205c4f; }
.work-button.work-button-secondary { color: var(--work-deep) !important; background: #fff; }
.lookup-form { display: grid; gap: .5rem; }
.lookup-form label { font-size: 1.05rem; font-weight: 800; }
.lookup-form > div { display: flex; gap: .5rem; }
.lookup-form input {
  min-width: 0; width: 100%; min-height: 50px; border: 1px solid #6a877d; border-radius: 8px;
  padding: .6rem .75rem; font: inherit; font-size: 16px; color: var(--work-ink); background: #fff;
}
.lookup-form button { flex: none; }
.lookup-hint { color: var(--work-muted); font-size: .88rem; }
.lookup-hero {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; gap: clamp(24px, 4vw, 66px);
  margin-top: 28px; padding: clamp(28px, 6vw, 78px); border-radius: 24px;
  background: var(--work-deep); color: #f7fbf6;
}
.lookup-copy .work-label { color: #b7ddc8; }
.lookup-copy h1 { margin: .2rem 0 1rem; font-size: clamp(2.3rem, 5.35vw, 4.5rem); font-weight: 850; letter-spacing: -.065em; line-height: 1.15; }
.lookup-copy > p:last-child { max-width: 38ch; margin: 0; color: #e0eee6; }
.lookup-panel { padding: clamp(18px, 3vw, 32px); background: #f7faf5; color: var(--work-ink); border-radius: 16px; }
.lookup-panel > a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 750; }
.home-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 14px 0 28px; }
.home-actions > a {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px;
  min-height: 88px; background: #fff; border: 1px solid var(--work-line); border-radius: 12px;
  padding: 12px; text-decoration: none;
}
.home-actions > a:hover { background: var(--work-light); border-color: var(--work-deep); }
.home-actions strong, .home-actions small { display: block; }
.home-actions small { color: var(--work-muted); }
.work-action-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 9px; background: var(--work-light); color: var(--work-deep); font-size: 1.25rem; font-weight: 800; }
.home-evidence { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; }
.home-evidence > div { border-top: 2px solid var(--work-deep); }
.home-evidence h2, .home-evidence h3 { margin: 1rem 0 .65rem; font-size: 1.2rem; }
.home-evidence ul { list-style: none; padding: 0; }
.home-evidence li { border-bottom: 1px solid var(--work-line); padding: .65rem 0; overflow-wrap: anywhere; }
.home-evidence li p { margin: .2rem 0; color: var(--work-muted); font-size: .85rem; }
[data-workspace] .source-count-strip { display: flex; flex-wrap: wrap; gap: .55rem; margin: .7rem 0; }
[data-workspace] .source-count-strip > span { padding: .35rem .75rem; border-radius: 6px; background: var(--work-light); border: 1px solid var(--work-line); font-weight: 700; }
[data-workspace] .source-count-strip .source-count-official { background: #fff3e3; border-color: #dbb899; }
[data-workspace] .landing-summary { margin-block: .7rem; font-size: .9rem; }
[data-workspace] summary { cursor: pointer; }
[data-workspace] summary:focus-visible { outline-offset: 0; }
.world-entry { margin-block: 24px; }

/* Regional exploration: filter and read in the same workspace. */
body[data-design][data-workspace="map"] {
  --bg: var(--work-paper); --panel: #fff; --raised: var(--work-light); --text: var(--work-ink);
  --line: var(--work-line); --accent: var(--work-deep); --muted: var(--work-muted);
  background: var(--work-paper); color: var(--work-ink); color-scheme: light;
}
[data-workspace="map"] .explorer-heading {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 14px;
  background: var(--work-deep); color: #fff; padding: clamp(20px, 4vw, 46px); border-radius: 16px; margin-bottom: 14px;
}
.explorer-heading h1 { font-size: clamp(2rem, 5vw, 3.75rem); letter-spacing: -.06em; line-height: 1.15; margin: 0; }
.explorer-heading .work-label { color: #bae0cb; }
.explorer-heading p:last-child { margin-bottom: 0; }
[data-workspace="map"] .explorer-heading .map-scope-switch { align-self: end; background: white; }
.explorer-lookup { margin: 0 0 14px; padding: 4px 16px; background: white; border: 1px solid var(--work-line); border-radius: 10px; }
.explorer-lookup summary { min-height: 44px; padding-block: 9px; font-weight: 800; }
.explorer-lookup .lookup-form { max-width: 38rem; margin: .5rem 0 .8rem; }
.explorer-world-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 16px; }
body[data-design][data-workspace="map"] .section-tablist { position: static; inset: auto; margin: 12px 0 20px; }
.explorer-grid { display: grid; grid-template-columns: minmax(230px, .72fr) minmax(0, 1.9fr); gap: 16px; align-items: start; }
body[data-design] .explorer-grid > :is(.explorer-picker,.map-canvas) { grid-area: auto; width: 100%; min-width: 0; border: 1px solid var(--work-line); border-radius: 12px; background: #fff; }
body[data-design] .explorer-grid > .explorer-picker { padding: 16px; }
body[data-design] .explorer-grid > .map-canvas { overflow: hidden; }
.explorer-context { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 14px; }
body[data-design] .explorer-context .map-location-note { margin: 0; color: #56330e; background: #fff1dc; border-left: 4px solid #a75821; border-radius: 8px; }
body[data-design] .explorer-context #map-data-breakdown { margin: 0; background: #e5f0e8; border: 1px solid var(--work-line); border-radius: 8px; padding: 12px 14px; }
body[data-design] .map-canvas :is(.map-stage,#live-map,#global-map,.map-placeholder) { background: #d2e5e7; }
body[data-design] .map-canvas .map-legend { display: flex; justify-content: flex-start; flex-wrap: wrap; gap: .45rem 1rem; padding: 12px 14px; font-size: 1rem; }
body[data-design] .map-canvas .swatch { width: 18px; height: 18px; flex: none; }
body[data-design] .explorer-picker :is(button, select, input) { min-height: 46px; }
body[data-design] .explorer-picker .prefecture-list { max-height: 315px; }
body[data-design] .explorer-picker .source-tools { padding: .6rem 0 0; margin: 0; }
.explorer-below { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: start; margin-top: 16px; }
.loading-lines { display: grid; width: min(160px, 70%); gap: 8px; margin-inline: auto; }
.loading-lines i { display: block; height: 10px; border-radius: 6px; background: #b2cbd0; }
.loading-lines i:nth-child(2) { width: 78%; }
.loading-lines i:nth-child(3) { width: 61%; }

/* Company evidence and visitor actions. */
.company-index { display: flex; flex-wrap: wrap; gap: .4rem .75rem; align-items: center; padding: 12px 0; font-size: .9rem; }
.company-index a { display: inline-flex; align-items: center; min-height: 44px; }
.company-banner { background: var(--work-deep); color: #fff; border-radius: 18px; padding: clamp(24px, 5vw, 60px); overflow-wrap: anywhere; }
.company-banner .work-label { color: #bce0cb; }
.company-banner h1 { margin: .25rem 0 1rem; font-size: clamp(1.85rem, 5vw, 3.6rem); line-height: 1.15; letter-spacing: -.055em; }
.company-key-facts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 12px; margin: 20px 0 12px; }
.company-key-facts > div { padding: 14px; border: 1px solid #6c998e; border-radius: 10px; background: #1c4c43; }
.company-key-facts dt { color: #cae5d8; font-size: .85rem; }
.company-key-facts dd { margin: .25rem 0 0; font-weight: 760; }
.company-banner .work-note { margin: .5rem 0 0; color: #edf6ef; font-size: .9rem; }
.company-identity { margin-top: 16px; }
.company-reading-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .48fr); grid-template-areas: "reading actions"; gap: 22px; align-items: start; margin-top: 16px; }
.company-reading { grid-area: reading; min-width: 0; display: grid; gap: 14px; overflow-wrap: anywhere; }
.company-reading > section, .company-action-panel { padding: clamp(16px, 3vw, 28px); background: #fff; border: 1px solid var(--work-line); border-radius: 12px; }
.company-reading h2, .company-action-panel h2 { margin: 0 0 .65rem; font-size: 1.35rem; letter-spacing: -.025em; }
.company-publication { padding: 0 0 14px; border-bottom: 1px solid var(--work-line); }
.company-publication h3 { font-size: 1rem; color: var(--work-muted); }
.company-publication dl { display: grid; grid-template-columns: 11em minmax(0, 1fr); gap: .65rem 1rem; }
.company-publication dt { font-weight: 760; }
.company-publication dd { margin: 0; white-space: pre-wrap; }
.company-reading :is(.source-credit,.field-help), .company-action-panel .field-help { color: var(--work-muted); font-size: .88rem; }
.company-action-panel { grid-area: actions; background: #e5f0e8; }
.company-action-panel .report-invitation-actions { display: grid; gap: .65rem; }
.company-action-panel .work-button { text-align: center; }
[data-workspace="company"] :is(.official-identity-notice,.identity-alert) { padding: 12px 16px; color: #4d260e; background: #fff0db; border-left: 4px solid #a75a29; border-radius: 6px; }
[data-workspace="company"] .official-identity-notice > :first-child { margin-top: 0; }
[data-workspace="company"] .official-identity-notice > :last-child { margin-bottom: 0; }

/* Report workflow. */
body[data-design][data-workspace="report"] {
  --bg: var(--work-paper); --panel: #fff; --raised: var(--work-light); --text: var(--work-ink);
  --line: var(--work-line); --accent: var(--work-deep); --muted: var(--work-muted); --accent-soft: var(--work-light);
  background: var(--work-paper); color: var(--work-ink); color-scheme: light;
}
body[data-design][data-workspace="report"] main.report-workspace { width: min(1050px, 100% - 48px); max-width: none; margin-inline: auto; padding-inline: 0; }
.report-banner { background: var(--work-deep); color: #fff; border-radius: 16px; padding: clamp(18px, 4vw, 40px); margin-bottom: 14px; }
body[data-design][data-workspace="report"] .report-banner h1 { color: #fff; font-size: clamp(1.7rem, 4.5vw, 3rem); margin: 0; line-height: 1.25; }
.report-banner p { margin: .6rem 0 0; }
.report-desk { display: grid; grid-template-columns: minmax(235px, .56fr) minmax(0, 1fr); gap: 18px; align-items: start; margin-top: 18px; }
.report-desk:has(#email-intro[hidden]) { display: block; margin: 0; }
.report-brief { background: var(--work-light); border: 1px solid var(--work-line); border-radius: 12px; padding: 18px; }
.report-brief h2 { margin: 0; font-size: 1.15rem; }
.report-brief ul { padding-inline-start: 1.3em; margin-block: 12px; }
.report-brief li + li { margin-top: 8px; }
.report-brief a { display: inline-flex; align-items: center; min-height: 44px; }
.report-editor { min-width: 0; }
body[data-design][data-workspace="report"] :is(#email-report-form,.questionnaire-active) {
  max-width: none; width: 100%; padding: clamp(14px, 3vw, 28px); background: white; border: 1px solid var(--work-line); border-radius: 12px;
}
.report-flow { display: grid; gap: 8px; margin-bottom: 10px; }
.report-flow-steps { display: grid; grid-template-columns: .9fr .9fr 1.5fr .9fr; gap: 4px; list-style: none; margin: 0; padding: 0; }
.report-flow-steps li { display: grid; place-items: center; text-align: center; padding: 6px 3px; min-height: 40px; font-size: .75rem; background: var(--work-light, #e5f0e8); border-radius: 5px; color: var(--work-ink, #142b29); }
.report-flow-steps [aria-current="step"] { background: var(--work-deep, #103e37); color: #fff; font-weight: 800; }
.report-flow .questionnaire-progress, .report-flow .questionnaire-progress-bar { margin: 0; }
body[data-workspace="report"] .questionnaire-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
body[data-workspace="report"] .questionnaire-choice { min-height: 51px; height: 100%; text-align: left; justify-content: flex-start; border-color: #78968a; }
body[data-workspace="report"] .questionnaire-choice[aria-pressed="true"] { background: var(--work-light); border-color: var(--work-deep); }
body[data-workspace="report"] .questionnaire-stage > .questionnaire-heading { font-size: clamp(1.2rem, 3.5vw, 1.65rem); }
body[data-workspace="report"] .report-page-tabs { border-bottom: 1px solid var(--work-line); }
body[data-workspace="report"] .report-page-tabs a[aria-current] { color: white; background: var(--work-deep); }
body[data-workspace="report"].is-embedded > .work-header { display: none; }
body[data-workspace="report"].is-embedded .report-desk { display: block; }
body[data-workspace="report"].is-embedded .report-brief { margin-bottom: 12px; }
@media (max-width: 720px) {
  .work-container, body[data-design][data-workspace="report"] main.report-workspace { width: calc(100% - 28px); }
  .work-header, body > .work-footer { padding-inline: 14px; }
  .work-header nav { order: 3; flex-basis: 100%; }
  .work-header nav a { min-height: 38px; }
  .lookup-hero { grid-template-columns: 1fr; border-radius: 16px; padding: 24px 16px; margin-top: 14px; }
  .home-actions, .home-evidence, .explorer-grid, .explorer-context, .explorer-below, .company-key-facts, .report-desk { grid-template-columns: 1fr; }
  .home-actions { gap: 6px; }
  .home-actions > a { min-height: 66px; padding-block: 8px; }
  .company-reading-grid { grid-template-columns: 1fr; grid-template-areas: "actions" "reading"; }
  .company-publication dl { grid-template-columns: 1fr; gap: .3rem; }
  .company-publication dd { margin-bottom: .7rem; }
  body[data-design] .explorer-picker .prefecture-list { max-height: 174px; }
  .report-desk { gap: 10px; }
  .report-brief { padding: 12px; font-size: .88rem; }
  .report-brief ul { margin-block: 5px; }
  .report-brief li + li { margin-top: 2px; }
}
@media (max-width: 420px) {
  body[data-workspace="report"] .questionnaire-choices { grid-template-columns: 1fr; }
}
[data-workspace="map"] .work-header nav {
  align-items: center;
  column-gap: .75rem;
}
.work-header .header-report-actions {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.work-header a.work-map-post {
  gap: .25rem;
  padding: 0 .65rem;
  border-radius: 7px;
  background: var(--work-deep);
  color: #fff;
  font-weight: 750;
  white-space: nowrap;
  text-decoration: none;
}
.work-header .work-map-post-short { display: none; }
.work-header .operator-support-square {
  width: auto;
  min-width: 44px;
  flex: none;
  padding-inline: .35rem;
  font-size: .78rem;
}
.work-header .operator-support-square > .operator-support-visible { white-space: nowrap; }
@media (max-width: 720px) {
  [data-workspace="map"] .work-header nav {
    justify-content: space-between;
    gap: .25rem .4rem;
  }
  [data-workspace="map"] .work-header nav a { min-height: 44px; font-size: .8rem; }
  .work-header a.work-map-post { padding-inline: .45rem; }
  .work-header .work-map-post-short { display: inline; }
  .work-header .work-map-post-text { display: none; }
}
body[data-design][data-workspace="map"] .explorer-heading h1 { color: #fff; }
body[data-design][data-workspace="map"] .explorer-heading { padding-block: clamp(17px, 3vw, 30px); }
body[data-design][data-workspace="map"] .explorer-heading .work-label { margin-bottom: .35rem; }
body[data-design][data-workspace="map"] .explorer-lookup { margin-top: 20px; }
body[data-design][data-workspace="map"] .map-canvas :is(.map-stage,#live-map,#global-map,.map-placeholder) { background: #d2e5e7; }
.company-empty-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.report-desk { grid-template-areas: "brief editor"; }
.report-editor { grid-area: editor; }
.report-brief { grid-area: brief; }
@media (max-width: 720px) {
  .report-desk { grid-template-areas: "editor" "brief"; }
  body[data-workspace="map"] .work-header .language-switch { min-width: 0; margin-left: auto; }
  body[data-workspace="map"] .work-header .language-switch > span { display: none; }
  body[data-workspace="map"] .work-header .language-switch button { min-width: 38px; padding-inline: 4px; }
  body[data-workspace="map"] .work-header { gap: .2rem .4rem; }
  body[data-workspace="map"] .work-header .work-brand { font-size: .95rem; }
  body[data-design][data-workspace="map"] .explorer-context .map-location-note,
  body[data-design][data-workspace="map"] .explorer-context #map-data-breakdown { padding: 8px 10px; font-size: .8rem; }
}
.report-workspace:has(#mine:not([hidden])) .report-banner p { display: none; }

.company-latest {
  margin-top: 16px;
  padding: clamp(16px, 3vw, 28px);
  border: 1px solid var(--work-line);
  border-radius: 12px;
  background: #fff;
  overflow-wrap: anywhere;
}
.company-latest h2 { margin: 0; font-size: 1.35rem; }
.company-latest .work-note { color: var(--work-muted); }
.company-latest .published-address { white-space: pre-wrap; }
.company-latest a { display: inline-flex; min-height: 44px; align-items: center; }

[data-workspace="map"] .map-location-note > p { margin: 0; }
[data-workspace="map"] .map-location-note > details { margin-top: .25rem; }
[data-workspace="map"] .map-location-note summary {
  min-height: 44px;
  padding-block: .55rem;
  font-weight: 700;
}
[data-workspace="map"] .map-location-note ul { margin: 0; padding-inline-start: 1.3rem; }

/* A single evidence column remains after the recent-company block is removed. */
[data-workspace="home"] .home-evidence > :only-child { grid-column: 1 / -1; }
