    :root {
      --bg: #f6f7fb;
      --surface: rgba(255, 255, 255, 0.96);
      --surface-strong: #ffffff;
      --text: #16202b;
      --muted: #5c6474;
      --line: #d9dee7;
      --line-strong: #c2cad6;
      --accent: #3e1485;
      --accent-strong: #2c0f60;
      --accent-soft: #efe8fb;
      --ink: #233046;
      --shadow: 0 18px 42px rgba(18, 31, 38, 0.08);
      --radius: 22px;
    }

    * { box-sizing: border-box; }
    body {
      margin: 0;
      color: var(--text);
      font-family: "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
      background:
        radial-gradient(circle at top left, rgba(62, 20, 133, 0.08), transparent 32%),
        linear-gradient(180deg, #fbfbfd 0%, #f2f4f8 100%);
    }
    body.modalOpen {
      overflow: hidden;
    }
    a { color: inherit; text-decoration: none; }
    button, input, select, textarea { font: inherit; }
    button, a, input, select, textarea { transition: box-shadow 0.16s ease, border-color 0.16s ease, transform 0.16s ease; }
    button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
      outline: 3px solid rgba(62, 20, 133, 0.2);
      outline-offset: 2px;
    }
    .hidden { display: none !important; }
    .srOnly {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }
    .page {
      width: min(100%, calc(100% - 20px));
      margin: 0 auto;
      padding: 14px 0 32px;
      display: grid;
      gap: 14px;
    }
    html.dpsearch-splash-pending .page,
    html.dpsearch-auth-gate-pending .page {
      visibility: hidden;
      pointer-events: none;
      user-select: none;
    }
    .card {
      background: var(--surface);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
    }
    .hero {
      padding: 18px;
      display: grid;
      gap: 16px;
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(247, 244, 255, 0.98));
    }
    .heroTop {
      display: flex;
      justify-content: space-between;
      gap: 14px;
      align-items: flex-start;
    }
    .heroHeaderRow {
      display: flex;
      align-items: center;
      gap: 12px;
      flex-wrap: wrap;
    }
    .heroLead, .mutedText, .subtle {
      color: var(--muted);
      line-height: 1.7;
    }
    .eyebrow {
      display: inline-flex !important;
      align-items: center;
      justify-content: center;
      padding: 6px 12px;
      border-radius: 999px;
      background: var(--accent-soft);
      color: var(--accent);
      font-size: 12px;
      font-weight: 800;
      letter-spacing: 0.16em;
      text-transform: uppercase;
    }
    h1, h2, h3, p { margin: 0; }
    h1 {
      margin-top: 8px;
      font-size: clamp(30px, 6vw, 52px);
      line-height: 1.02;
      letter-spacing: -0.04em;
    }
    .heroTitle {
      display: inline-flex;
      align-items: center;
      gap: 0.38em;
      margin-top: 0;
    }
    .heroTitleIcon {
      height: 1.12em;
      width: auto;
      display: block;
      flex-shrink: 0;
    }
    .heroVersionBadge {
      margin-left: auto;
    }
    h2 {
      font-size: clamp(22px, 3vw, 30px);
      letter-spacing: -0.03em;
    }
    .heroMeta {
      display: flex;
      gap: 10px;
      align-items: center;
      flex-wrap: wrap;
      justify-content: flex-end;
    }
    .heroMetaActions,
    .resultActionRow {
      display: flex;
      gap: 10px;
      align-items: center;
      flex-wrap: wrap;
      justify-content: flex-end;
    }
    .statusPill, .summaryCount, .tagBadge, .reasonChip, .filterPill, .metaBadge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      min-height: 34px;
      padding: 7px 12px;
      border-radius: 999px;
      font-size: 12px;
      font-weight: 700;
    }
    .statusPill, .summaryCount {
      background: #eef2ff;
      color: var(--accent);
      border: 1px solid #d7cff5;
    }
    .searchDebugProcess {
      margin-top: 10px;
      padding: 10px 12px;
      border: 1px solid #dbe3f0;
      border-radius: 14px;
      background: rgba(255, 255, 255, 0.8);
      box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
    }
    .searchDebugProcess > summary {
      cursor: pointer;
      list-style: none;
      font-weight: 700;
      color: #0f172a;
    }
    .searchDebugProcess > summary::-webkit-details-marker {
      display: none;
    }
    .searchDebugProcessBody {
      margin-top: 10px;
      display: grid;
      gap: 10px;
      color: #334155;
      font-size: 0.88rem;
    }
    .searchDebugProcessBlock {
      padding: 10px 12px;
      border-radius: 12px;
      background: #f8fafc;
      border: 1px solid #e2e8f0;
      overflow-x: auto;
      white-space: pre-wrap;
      word-break: break-word;
      font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace);
      font-size: 0.82rem;
      line-height: 1.5;
    }
    .metaBadge {
      background: #eef1f6;
      color: var(--ink);
      border: 1px solid var(--line-strong);
    }
    .topNavRow {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      flex-wrap: nowrap;
      white-space: nowrap;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
    }
    .viewSwitch {
      display: inline-flex;
      gap: 6px;
      padding: 5px;
      border-radius: 16px;
      background: #eef1f6;
      border: 1px solid var(--line-strong);
      width: fit-content;
      flex-wrap: nowrap;
      flex-shrink: 0;
    }
    .searchNavControls {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      flex-wrap: nowrap;
      white-space: nowrap;
      margin-left: auto;
      min-width: 0;
    }
    .viewButton {
      min-height: 42px;
      border: 1px solid transparent;
      border-radius: 12px;
      background: transparent;
      padding: 10px 14px;
      color: var(--muted);
      font-weight: 800;
      cursor: pointer;
    }
    .viewLink {
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }
    .viewButton.active {
      background: var(--accent);
      border-color: var(--accent-strong);
      color: #ffffff;
      box-shadow: 0 10px 24px rgba(62, 20, 133, 0.22);
    }
    .iconButton, .button, .buttonSoft, .buttonGhost, .buttonDark {
      min-height: 44px;
      border-radius: 999px;
      border: 1px solid transparent;
      padding: 11px 16px;
      font-weight: 800;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      white-space: nowrap;
    }
    .iconButton:hover, .button:hover, .buttonSoft:hover, .buttonGhost:hover, .buttonDark:hover { transform: translateY(-1px); }
    .iconButton, .buttonGhost {
      background: #ffffff;
      border-color: var(--line-strong);
      color: var(--ink);
    }
    .aboutButtonSmall {
      min-height: 28px;
      height: 28px;
      width: 28px;
      padding: 0;
      border-radius: 999px;
      border: 1px solid var(--line-strong);
      background: #ffffff;
      color: var(--ink);
      font-weight: 800;
      font-size: 12px;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }
    .aboutButtonSmall:hover { transform: translateY(-1px); }
    .cartBadgeButton {
      transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
    }
    .cartBadgeButton[data-has-items="true"] {
      background: var(--accent);
      border-color: var(--accent-strong);
      color: #ffffff;
      box-shadow: 0 14px 28px rgba(62, 20, 133, 0.18);
    }
    .cartBadgeButton[data-has-items="false"] {
      background: #eef1f6;
      border-color: var(--line-strong);
      color: var(--muted);
    }
    .cartLeaveButton {
      font-size: 0.78rem;
      padding: 4px 10px;
    }
    /* Cart filter row – sits between topNavRow and workspace */
    .cartFilterRow {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 8px;
      padding: 8px 0 4px;
    }
    .cartFilterWrap {
      position: relative;
      flex: 1 1 240px;
      min-width: 180px;
    }
    .cartFilterIcon {
      position: absolute;
      left: 8px;
      top: 50%;
      transform: translateY(-50%);
      width: 16px;
      height: 16px;
      color: var(--muted);
      pointer-events: none;
    }
    .cartFilterInput {
      width: 100%;
      padding: 6px 10px 6px 28px;
      font-size: 0.85rem;
      border: 1px solid var(--line-strong);
      border-radius: var(--radius);
      background: var(--surface);
      color: var(--ink);
      box-sizing: border-box;
    }
    .cartFilterInput:focus {
      outline: none;
      border-color: var(--accent);
    }
    /* Keep the old resultActionRow positioning when it's inside workspaceActions */
    .workspaceActions .resultActionRow { flex-wrap: wrap; }
    .button {
      background: var(--accent);
      color: #ffffff;
      box-shadow: 0 14px 28px rgba(62, 20, 133, 0.18);
    }
    .buttonSpinner {
      width: 16px;
      height: 16px;
      border-radius: 999px;
      border: 2px solid rgba(255, 255, 255, 0.34);
      border-top-color: #ffffff;
      animation: spin 0.8s linear infinite;
    }
    .buttonSoft {
      background: #f3f6f8;
      color: var(--muted);
      border-color: var(--line);
    }
    .buttonAccent {
      background: var(--accent, #3e1485);
      color: #ffffff;
      border-color: var(--accent-strong, #2c0f60);
      box-shadow: 0 4px 12px rgba(62, 20, 133, 0.16);
    }
    .buttonAccent:hover,
    .buttonAccent:focus-visible {
      background: var(--accent-strong, #2c0f60);
      transform: translateY(-1px);
      box-shadow: 0 6px 16px rgba(62, 20, 133, 0.24);
    }
    .buttonIntelligence {
      background: #eef6ff;
      color: #075985;
      border-color: #bae6fd;
      box-shadow: 0 4px 12px rgba(14, 116, 144, 0.12);
    }
    .buttonIntelligence:hover,
    .buttonIntelligence:focus-visible {
      background: #dff2ff;
      border-color: #7dd3fc;
      transform: translateY(-1px);
    }
    .modal-ai-label-line {
      display: block;
      max-width: 100%;
      margin: 0;
      color: var(--ink);
      font-size: 1rem;
      font-weight: 600;
      line-height: 1.35;
      letter-spacing: 0;
      white-space: nowrap;
      overflow-x: auto;
      overflow-y: hidden;
      text-overflow: clip;
    }
    .modal-ai-label-line strong {
      font-weight: 800;
    }
    .modal-ai-label-part {
      display: inline-block;
      margin-right: 15px;
    }
    .modal-ai-label-part:last-child {
      margin-right: 0;
    }
    .modal-ai-remarks {
      margin-tan: 0;
      padding: 0;
      border: 0;
      border-radius: 0;
      background: transparent;
      color: var(--ink);
    }
    .modal-ai-remarks-title {
      font-size: 0.82rem;
      font-weight: 700;
      color: #5c6474;
      margin-top: 10px;
      margin-bottom: 10px;
      padding: 0;
      line-height: 1.25;
    }
    .modal-ai-remarks-body {
      font-size: 0.95rem;
      white-space: pre-wrap;
      line-height: 1.5;
      overflow-wrap: anywhere;
      margin: 0;
      padding: 0;
    }
    .modal-ai-remarks-body.isEmpty {
      color: #94a3b8;
    }
    #btn-refresh-portal.isLoading,
    #btn-refresh-dps-cache.isLoading,
    #detailRefreshButton.isLoading {
      opacity: 0.5;
      pointer-events: none;
    }
    .buttonDark {
      background: var(--ink);
      color: #ffffff;
    }
    .detailPrimaryLink {
      background: #1e3a8a;
      border-color: #1e3a8a;
      color: #ffffff;
    }
    .detailSecondaryLink {
      background: #ffffff;
      border-color: var(--line-strong);
      color: var(--ink);
    }
    .detailSecondaryLink.isDisabled {
      background: #f3f4f6;
      border-color: var(--line);
      color: #97a0b0;
      pointer-events: none;
    }
    .detailPrimaryLink:hover,
    .detailPrimaryLink:focus-visible {
      background: #1d4ed8;
      border-color: #1d4ed8;
      color: #ffffff;
    }
    .globalSearchForm {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
      overflow: visible;
    }
    .researchDualInputWrap {
      display: flex;
      align-items: center;
      gap: 8px;
      flex: 1 1 auto;
      min-width: 0;
      flex-wrap: nowrap;
    }
    .searchInputWrap.isConstraint {
      border-style: dashed;
      border-color: #c8cedb;
      background: #fbfcff;
    }
    .constraintTimingField {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      min-height: 46px;
      padding: 0 12px;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: #ffffff;
      color: var(--muted);
      font-size: 12px;
      font-weight: 700;
      white-space: nowrap;
    }
    .constraintTimingField select {
      min-height: 32px;
      border: 1px solid var(--line);
      border-radius: 6px;
      background: #f8fafc;
      color: var(--ink);
      font: inherit;
      font-size: 12px;
      padding: 0 28px 0 8px;
    }
    .searchExperimentSwitch {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 4px;
      border: 1px solid var(--line);
      border-radius: 999px;
      background: #f7f9fc;
      white-space: nowrap;
    }
    .searchNavControl {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      white-space: nowrap;
      flex-wrap: nowrap;
    }
    .searchNavControlLabel {
      color: var(--muted);
      font-size: 12px;
      font-weight: 800;
      letter-spacing: 0.01em;
    }
    .searchQuickControl {
      gap: 8px;
      padding: 6px 10px;
      border: 1px solid var(--line);
      border-radius: 999px;
      background: #ffffff;
    }
    .searchQuickControl select {
      min-height: 34px;
      border: 1px solid var(--line);
      border-radius: 999px;
      background: #f7f9fc;
      color: var(--ink);
      padding: 0 10px;
      font-weight: 700;
    }
    .semanticMapSelectWrap select {
      min-height: 38px;
      border: 1px solid var(--line);
      border-radius: 999px;
      background: #ffffff;
      color: var(--ink);
      padding: 0 12px;
      font-weight: 700;
    }
    .searchExperimentButton {
      min-height: 38px;
      padding: 0 12px;
      border-radius: 999px;
      border: 1px solid transparent;
      background: transparent;
      color: var(--muted);
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.01em;
      cursor: pointer;
      transition: all 0.18s ease;
    }
    .searchExperimentButton:hover,
    .searchExperimentButton:focus-visible {
      border-color: var(--line-strong);
      color: var(--ink);
      outline: none;
    }
    .searchExperimentButton.active {
      background: var(--accent);
      color: #ffffff;
      border-color: var(--accent-strong);
      box-shadow: 0 10px 20px rgba(62, 20, 133, 0.26);
    }
    .researchTuningPanel {
      display: grid;
      gap: 10px;
      padding: 12px;
      border: 1px solid var(--line);
      border-radius: 14px;
      background: #f8f9fd;
    }
    .researchTuningHeader {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
    }
    .researchTuningTitle {
      font-size: 13px;
      font-weight: 800;
      color: var(--ink);
      letter-spacing: 0.01em;
    }
    .researchTuningHint {
      font-size: 12px;
      color: var(--muted);
    }
    .researchTuningGrid {
      display: grid;
      gap: 8px;
      grid-template-columns: minmax(0, 1fr);
    }
    .researchTuningItem {
      display: grid;
      gap: 6px;
      min-width: 0;
    }
    .researchTuningLabelRow {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 6px;
      font-size: 12px;
      color: var(--muted);
      font-weight: 700;
    }
    .researchTuningValue {
      color: var(--ink);
      font-weight: 800;
      min-width: 42px;
      text-align: right;
    }
    .researchTuningSlider {
      width: 100%;
      accent-color: var(--accent);
    }
    .researchTuningSelect {
      min-height: 34px;
      border: 1px solid var(--line);
      border-radius: 10px;
      background: #ffffff;
      color: var(--ink);
      font-weight: 700;
      padding: 0 10px;
    }
    .searchInputWrap {
      position: relative;
      display: flex;
      align-items: center;
      gap: 10px;
      min-height: 46px;
      padding: 0 14px 0 14px;
      border-radius: 16px;
      border: 1px solid var(--line-strong);
      background: #ffffff;
      box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
      flex: 1 1 auto;
      min-width: 0;
    }
    .searchInputWrap svg {
      flex: 0 0 20px;
      width: 20px;
      height: 20px;
      color: var(--muted);
      pointer-events: none;
    }
    .searchInputWrap input {
      display: block;
      flex: 1 1 auto;
      min-width: 0;
      width: 100%;
      min-height: 44px;
      border: 0;
      border-radius: 14px;
      background: transparent;
      appearance: none;
      -webkit-appearance: none;
      padding: 0;
      color: var(--text);
      font-size: clamp(14px, 1.4vw, 16px);
    }
    .searchInputWrap input::placeholder {
      color: #7c8aa3;
      font-size: clamp(13px, 1.2vw, 14px);
      opacity: 1;
    }
    #globalSearchInput {
      border: 0;
    }
    #researchDualInputWrap .searchInputWrap:first-child {
      flex: 2 1 0;
    }
    #researchDualInputWrap .searchInputWrap.isConstraint {
      flex: 1 1 0;
    }
    #searchSubmitButton {
      min-height: 42px;
      min-width: 72px;
      padding: 8px 12px;
      flex: 0 0 auto;
      margin: 0;
    }
    .heroActionRow, .pillRow, .heroSummary, .workspaceHeader, .workspaceActions, .panelToolbar, .paginationGroup, .footerRow, .dropdownList, .mobileSheetActions, .modalActions, .linkRow, .microLinkRow, .researchMetaRow, .tagStack {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      align-items: center;
    }
    .detailActionBar,
    .detailActionGroup {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      align-items: center;
    }
    .detailActionBar {
      justify-content: space-between;
    }
    .heroSummary {
      justify-content: space-between;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
      min-height: 36px;
    }
    .pillRow {
      min-height: 34px;
      min-width: 0;
    }
    .heroSummary .pillRow {
      margin-left: 8px;
      flex: 1 1 auto;
      justify-content: flex-end;
      flex-wrap: wrap;
      overflow: visible;
      white-space: normal;
    }
    .queryVectorRow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      margin-top: 6px;
      padding: 4px 10px;
      border-radius: 999px;
      border: 1px solid var(--line);
      background: #f7f9fc;
      max-width: 100%;
    }
    .queryVectorLabel {
      color: var(--muted);
      font-size: 11px;
      font-weight: 800;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      flex: 0 0 auto;
    }
    .queryVectorValue {
      color: var(--ink);
      font-size: 11px;
      font-weight: 700;
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      max-width: min(980px, calc(100vw - 160px));
    }
    .filterPill {
      background: #eef1f6;
      color: var(--ink);
      border: 1px solid var(--line-strong);
    }
    .pillRemoveButton {
      width: 20px;
      height: 20px;
      padding: 0;
      border-radius: 999px;
      border: 0;
      background: rgba(35, 48, 70, 0.12);
      color: inherit;
      cursor: pointer;
      font-size: 11px;
      font-weight: 900;
      line-height: 1;
    }
    .workspace {
      padding: 18px;
      display: grid;
      gap: 14px;
    }
    .workspaceHeader {
      justify-content: space-between;
      align-items: center;
      gap: 12px;
    }
    .workspaceActions {
      flex-wrap: nowrap;
      gap: 8px;
      margin-left: auto;
    }
    .resultViewControls {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      flex-wrap: nowrap;
    }
    .resultViewModeRow {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 4px;
      border: 1px solid var(--line);
      border-radius: 999px;
      background: #f5f7fc;
    }
    .resultViewModeButton {
      min-height: 34px;
      padding: 6px 12px;
      border-radius: 999px;
      border: 1px solid transparent;
      background: transparent;
      color: var(--muted);
      font-weight: 800;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      white-space: nowrap;
      flex-shrink: 0;
    }
    .resultViewModeButton.active {
      background: #ffffff;
      color: var(--accent);
      border-color: #d6dced;
      box-shadow: 0 6px 14px rgba(18, 31, 38, 0.08);
    }
    .resultTileOptions {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      flex-wrap: nowrap;
    }
    .aiPoolControls {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      padding: 4px 6px;
      border: 1px solid var(--line);
      border-radius: 999px;
      background: #f5f7fc;
      flex-wrap: nowrap;
    }
    .aiPoolControls:empty {
      display: none;
    }
    .aiPoolControls button {
      min-height: 28px;
      padding: 4px 8px;
      font-size: 12px;
    }
    .aiPoolClusterLabel {
      font-size: 11px;
      font-weight: 800;
      color: var(--muted);
      white-space: nowrap;
      padding: 0 2px;
    }
    .aiPoolCountBadge {
      white-space: nowrap;
    }
    .resultInlineLabel {
      font-size: 12px;
      font-weight: 700;
      color: var(--muted);
      white-space: nowrap;
    }
    .resultTileVariantRow {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      padding: 3px;
      border: 1px solid var(--line);
      border-radius: 999px;
      background: #f6f8fc;
      white-space: nowrap;
      flex-wrap: nowrap;
    }
    .panel {
      display: grid;
      gap: 12px;
    }
    .panelToolbar {
      justify-content: space-between;
      align-items: center;
    }
    .resultSummary {
      color: var(--muted);
      font-weight: 700;
    }
    .tableContainer {
      display: grid;
      gap: 10px;
      border: 1px solid var(--line);
      border-radius: 18px;
      background: #ffffff;
      overflow: hidden;
    }
    .tableTopScroll {
      display: none;
      overflow-x: auto;
      overflow-y: hidden;
      border-bottom: 1px solid var(--line);
      background: #f7f8fb;
    }
    .tableTopScrollInner {
      height: 16px;
    }
    .tableWrap {
      display: none;
      overflow: auto;
      max-width: 100%;
    }
    #researchPanel:not(.tileMode) #researchTableTopScroll,
    #researchPanel:not(.tileMode) #researchTableWrap {
      display: block;
    }
    #researchPanel:not(.tileMode) #researchResults {
      display: none;
    }
    #researchPanel.tileMode #researchTableTopScroll,
    #researchPanel.tileMode #researchTableWrap {
      display: none;
    }
    #researchPanel.tileMode #researchResults {
      display: grid;
    }
    table {
      width: 100%;
      border-collapse: collapse;
      table-layout: fixed;
      /*min-width: 1600px;*/
    }
    th, td {
      padding: 12px;
      border-bottom: 1px solid #e7edef;
      vertical-align: top;
      text-align: left;
    }
    th {
      position: sticky;
      top: 0;
      z-index: 2;
      background: #f6f8fb;
      color: var(--muted);
      font-size: 12px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      white-space: nowrap;
    }
    .thInner {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      min-height: 20px;
    }
    .sortButton {
      border: 0;
      background: transparent;
      color: inherit;
      font: inherit;
      letter-spacing: inherit;
      text-transform: inherit;
      padding: 0;
      cursor: pointer;
      text-align: left;
    }
    .columnResizer {
      position: absolute;
      right: -8px;
      top: 0;
      bottom: 0;
      width: 16px;
      cursor: col-resize;
      border-right: 2px solid transparent;
      transition: border-color 0.12s ease;
    }
    th:hover .columnResizer,
    .columnResizer.isActive,
    body.isResizingColumns .columnResizer {
      border-right-color: #f97316;
    }
    #tableHeaderMenu,
    #tableRowMenu {
      position: fixed;
      z-index: 40;
      min-width: 200px;
      border-radius: 12px;
      border: 1px solid var(--line-strong);
      background: #ffffff;
      box-shadow: 0 12px 34px rgba(16, 24, 40, 0.18);
      padding: 6px;
      display: grid;
      gap: 4px;
    }
    .tableHeaderMenuItem {
      border: 0;
      border-radius: 8px;
      background: transparent;
      text-align: left;
      padding: 8px 10px;
      font-size: 13px;
      color: var(--ink);
      cursor: pointer;
    }
    .tableHeaderMenuItem:hover {
      background: #eef4ff;
    }
    .clipboardList {
      display: grid;
      gap: 8px;
      max-height: 52vh;
      overflow: auto;
      padding-right: 2px;
    }
    .clipboardRow {
      border: 1px solid var(--line-strong);
      border-radius: 10px;
      padding: 10px;
      background: #fff;
      display: grid;
      gap: 8px;
    }
    .clipboardTitle {
      font-weight: 700;
      font-size: 14px;
    }
    .clipboardMeta {
      font-size: 12px;
      color: var(--muted);
    }
    .clipboardActionRow {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
    }
    .rowOpen { cursor: pointer; }
    .rowOpen:hover { background: #faf8fe; }
    .infoStack, .detailPair, .reportCell, .datasetCopy, .reportCard {
      display: grid;
      gap: 6px;
    }
    .infoStack strong { font-size: 13px; }
    .datasetCell {
      display: grid;
      grid-template-columns: 76px minmax(0, 1fr);
      gap: 12px;
      align-items: start;
    }
    .expandableCell {
      display: grid;
      gap: 6px;
      min-width: 0;
    }
    .expandableTextBody {
      overflow: hidden;
      word-break: break-word;
      /* max-height and overflow are set dynamically by JS (initializeExpandableCells) */
    }
    .expandableTextBody.isExpanded {
      max-height: none !important;
      overflow: visible !important;
    }
    .expandToggle {
      justify-self: start;
      border: 1px solid var(--line-strong);
      border-radius: 999px;
      background: #ffffff;
      color: var(--ink);
      font-size: 12px;
      font-weight: 700;
      padding: 4px 10px;
      cursor: pointer;
    }
    .expandToggle:hover {
      background: #f5f7fb;
    }
    /* Thumbnail column: fills cell width and scales with resize */
    .tableThumbCell {
      padding: 4px 0;
    }
    .tableThumbCell .thumbFrame {
      width: 100%;
      min-width: 40px;
      height: auto;
      aspect-ratio: 1 / 1;
    }
    .tableThumbCell .thumbImage {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }
    .thumbFrame, .cardThumb {
      width: 76px;
      min-width: 76px;
      height: 76px;
      position: relative;
      border-radius: 16px;
      overflow: hidden;
      background: linear-gradient(180deg, #eef2f6, #f8fafc);
      border: 1px solid var(--line);
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .thumbImage, .modalThumbImage, .researchThumbImage {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .thumbPlaceholder, .thumbPlaceholderLarge {
      color: var(--muted);
      text-align: center;
      font-size: 12px;
      font-weight: 800;
      letter-spacing: 0.08em;
    }
    .thumbPlaceholderLarge {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      min-height: 160px;
    }
    .datasetTitle {
      font-size: clamp(12px, calc(15px * var(--tile-density-scale, 1)), 15px);
      font-weight: 800;
      line-height: 1.45;
    }
    .datasetSummary, .reportAbstract, .modalSummaryText {
      color: var(--muted);
      line-height: 1.7;
    }
    .scoreText {
      color: var(--accent);
      font-size: clamp(14px, calc(18px * var(--tile-density-scale, 1)), 18px);
      font-weight: 900;
    }
    .metricText {
      font-feature-settings: "tnum" 1;
      font-variant-numeric: tabular-nums;
    }
    .textLink, .microLink {
      color: var(--accent);
      font-weight: 800;
    }
    .microLink {
      font-size: 12px;
    }
    .reasonChip {
      border: 1px solid transparent;
      min-height: 28px;
      padding: var(--tile-chip-pad-y, 5px) var(--tile-chip-pad-x, 10px);
      font-size: clamp(10px, calc(11px * var(--tile-density-scale, 1)), 11px);
      display: inline-flex;
      align-items: center;
      border-radius: 4px;
      white-space: nowrap;
      max-width: 180px;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .reasonChipRow {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      align-items: center;
    }
    .chipTerm {
      background: var(--accent-soft);
      color: var(--accent);
      border-color: rgba(62, 20, 133, 0.12);
    }
    .chipExact {
      background: #eaf5ec;
      color: #166534;
      border-color: #bbdfc4;
    }
    .chipSynonym {
      background: #eef1f6;
      color: var(--ink);
      border-color: var(--line-strong);
    }
    .chipSemantic {
      background: #e8f0ff;
      color: #1d4ed8;
      border-color: #bfd2ff;
    }
    .chipSource {
      background: #fff7ed;
      color: #9a3412;
      border-color: #fcd9b6;
      font-size: 10px;
    }
    .mobileCardList {
      display: grid;
      gap: 12px;
      padding: 12px;
      grid-template-columns: repeat(var(--tile-columns, 2), minmax(0, 1fr));
      --tile-density-scale: 1;
      --tile-card-padding: 14px;
      --tile-card-gap: 10px;
      --tile-chip-pad-y: 5px;
      --tile-chip-pad-x: 10px;
    }
    .mobileResultCard, .researchCard {
      border: 1px solid var(--line);
      border-radius: 18px;
      padding: var(--tile-card-padding, 14px);
      background: var(--surface-strong);
      display: grid;
      gap: var(--tile-card-gap, 10px);
      box-shadow: 0 10px 24px rgba(18, 31, 38, 0.05);
      min-width: 0;
      overflow: hidden;
    }
    .rowOpen.selected {
      background-color: rgba(62, 20, 133, 0.1) !important;
      outline: 1.5px dashed #3e1485;
    }
    .mobileResultCard.selected {
      outline: 2px dashed #3e1485;
      background-color: rgba(62, 20, 133, 0.05) !important;
    }
    .cardHeaderRow, .researchCardHead {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      align-items: flex-start;
    }
    .cardHeaderCopy {
      display: grid;
      gap: 4px;
      min-width: 0;
      flex: 1;
    }
    .mobileResultCard.tileVariantThumb {
      position: relative;
      overflow: hidden;
      padding: 0;
      aspect-ratio: 1 / 1;
      min-height: 0;
    }
    .mobileResultCard.tileVariantThumb .cardThumb {
      width: 100%;
      height: 100%;
      min-height: 100%;
      max-height: none;
      border-radius: 0;
      border: 0;
      overflow: hidden;
    }
    .tileThumbOverlay {
      position: absolute;
      left: 8px;
      right: 8px;
      bottom: 8px;
      padding: 8px;
      border-radius: 8px;
      background: transparent;
      color: #ffffff;
      display: grid;
      gap: 4px;
      pointer-events: none;
    }
    .imageLabelOverlay {
      position: absolute;
      right: 8px;
      bottom: 8px;
      z-index: 3;
      padding: 4px 10px;
      border-radius: 999px;
      font-size: 11px;
      font-weight: 800;
      letter-spacing: 0.02em;
      border: 1px solid rgba(255, 255, 255, 0.52);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      box-shadow: 0 10px 24px rgba(13, 23, 32, 0.3);
      pointer-events: none;
      color: #f4fbff;
      text-shadow: 0 1px 2px rgba(0, 0, 0, 0.34);
      background: linear-gradient(135deg, rgba(46, 125, 50, 0.92), rgba(17, 94, 89, 0.86));
    }
    .imageLabelOverlay.isBottomLeft {
      left: 8px;
      right: auto;
      bottom: 8px;
    }
    .imageLabelOverlay.isBottomRight {
      right: 8px;
      left: auto;
      bottom: 8px;
    }
    .imageLabelOverlay.isCompact {
      font-size: 10px;
      padding: 3px 8px;
      letter-spacing: 0.01em;
    }
    .imageLabelOverlay.isInferred {
      background: linear-gradient(135deg, rgba(71, 85, 105, 0.88), rgba(100, 116, 139, 0.82));
      color: #ecf2f8;
    }
    .imageQuickVotePanel {
      margin-top: 8px;
      padding: 9px 10px;
      display: flex;
      flex-direction: column;
      gap: 6px;
      border-radius: 12px;
      background: rgba(255, 255, 255, 0.4);
      border: 1px solid rgba(255, 255, 255, 0.66);
      box-shadow: 0 12px 24px rgba(20, 35, 48, 0.1);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
    }
    .imageQuickVoteStatusRow {
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .imageQuickVoteButtons {
      display: flex;
      gap: 6px;
      flex-wrap: wrap;
    }
    .detailVotingToggleRow {
      margin-top: 8px;
      display: flex;
      justify-content: flex-end;
    }
    .tileThumbTitle {
      font-size: clamp(12px, calc(15.6px - var(--tile-columns, 2) * 0.48px), 17px);
      font-weight: 800;
      line-height: 1.35;
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      text-shadow: 2px 2px 2px rgba(0, 0, 0, 1), -1px -1px 0 rgba(0, 0, 0, 0.96), 1px -1px 0 rgba(0, 0, 0, 0.96), -1px 1px 0 rgba(0, 0, 0, 0.96), 0 0 8px rgba(0, 0, 0, 0.88);
    }
    .tileThumbScore {
      font-size: clamp(12px, calc(14.4px - var(--tile-columns, 2) * 0.36px), 16px);
      font-weight: 700;
      color: #f2f5ff;
      text-shadow: 2px 2px 2px rgba(0, 0, 0, 1), -1px -1px 0 rgba(0, 0, 0, 0.96), 1px -1px 0 rgba(0, 0, 0, 0.96), -1px 1px 0 rgba(0, 0, 0, 0.96), 0 0 8px rgba(0, 0, 0, 0.88);
    }
    .tileThumbProject {
      font-size: clamp(11px, calc(13.2px - var(--tile-columns, 2) * 0.3px), 14px);
      font-weight: 700;
      color: #e9efff;
      text-shadow: 2px 2px 2px rgba(0, 0, 0, 1), -1px -1px 0 rgba(0, 0, 0, 0.96), 1px -1px 0 rgba(0, 0, 0, 0.96), -1px 1px 0 rgba(0, 0, 0, 0.96), 0 0 8px rgba(0, 0, 0, 0.88);
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .tileThumbEmbeddingMeta {
      font-size: 10px;
      line-height: 1.3;
      color: rgba(227, 236, 255, 0.96);
      text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.92);
      opacity: 0;
      transform: translateY(2px);
      transition: opacity 0.16s ease, transform 0.16s ease;
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      pointer-events: none;
    }
    .mobileResultCard.tileVariantThumb:hover .tileThumbEmbeddingMeta,
    .mobileResultCard.tileVariantThumb:focus-within .tileThumbEmbeddingMeta {
      opacity: 1;
      transform: translateY(0);
    }
    .imageVectorIndicator {
      position: absolute;
      top: 6px;
      right: 6px;
      width: 11px;
      height: 11px;
      border-radius: 999px;
      border: 1px solid rgba(255, 255, 255, 0.92);
      box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.22);
      pointer-events: none;
      z-index: 2;
    }
    .imageVectorIndicator.isPending {
      background: #9ca3af;
    }
    .imageVectorIndicator.isDone {
      background: #22c55e;
    }
    .similarImageActionRow {
      display: flex;
      justify-content: flex-end;
      margin-top: 2px;
    }
    .forceVectorizeActionRow {
      position: absolute;
      left: 8px;
      bottom: 8px;
      margin-top: 0;
      z-index: 3;
      pointer-events: auto;
    }
    .multiSelectActionRow {
      position: absolute;
      right: 8px;
      bottom: 8px;
      z-index: 3;
      pointer-events: auto;
    }
    .multiSelectCheckboxWrap {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      min-height: 24px;
      padding: 2px 6px;
      border-radius: 999px;
      background: rgba(22, 32, 43, 0.72);
      border: 1px solid rgba(255, 255, 255, 0.34);
      color: #ffffff;
      font-size: 10px;
      font-weight: 700;
      backdrop-filter: blur(4px);
      opacity: 0.78;
      transition: opacity 0.18s ease;
      cursor: pointer;
    }
    .mobileResultCard:hover .multiSelectCheckboxWrap,
    .mobileResultCard:focus-within .multiSelectCheckboxWrap {
      opacity: 1;
    }
    .multiSelectCheckbox {
      margin: 0;
      width: 13px;
      height: 13px;
      accent-color: #22c55e;
      cursor: pointer;
    }
    .mobileResultCard.isMultiSelected {
      box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.34);
      border-color: rgba(34, 197, 94, 0.46);
    }
    .visualFeatureChipRow {
      display: flex;
      gap: 6px;
      flex-wrap: wrap;
      margin-top: 6px;
      align-items: center;
    }
    .visualFeatureChip {
      display: inline-flex;
      align-items: center;
      min-height: 20px;
      padding: 2px 7px;
      border-radius: 999px;
      border: 1px solid #c5d6f7;
      background: #eaf2ff;
      color: #1f3d72;
      font-size: 10px;
      font-weight: 700;
    }
    .forceVectorizeButton {
      min-height: 24px;
      min-width: 24px;
      width: 24px;
      padding: 0;
      border-radius: 999px;
      font-size: 12px;
      line-height: 1;
      opacity: 0.22;
      transform: translateY(2px);
      transition: opacity 0.18s ease, transform 0.18s ease;
      border: 1px solid rgba(255, 255, 255, 0.34);
      backdrop-filter: blur(4px);
      background: rgba(22, 32, 43, 0.72);
      color: #ffffff;
    }
    .similarImageButton {
      min-height: 26px;
      padding: 4px 8px;
      font-size: 11px;
      border-radius: 999px;
      font-weight: 700;
      opacity: 0.2;
      transform: translateY(2px);
      transition: opacity 0.18s ease, transform 0.18s ease;
      border: 1px solid rgba(255, 255, 255, 0.34);
      backdrop-filter: blur(4px);
    }
    .mobileResultCard:hover .similarImageButton,
    .mobileResultCard:focus-within .similarImageButton,
    .mobileResultCard:hover .forceVectorizeButton,
    .mobileResultCard:focus-within .forceVectorizeButton {
      opacity: 1;
      transform: translateY(0);
    }
    .similarImageButton.isHidden {
      display: none;
    }
    .mobileResultCard.tileVariantThumb .similarImageActionRow {
      position: absolute;
      left: 8px;
      top: 8px;
      margin-top: 0;
      z-index: 3;
    }
    .mobileResultCard.tileVariantThumb .similarImageButton {
      min-height: 26px;
      padding: 4px 8px;
      background: rgba(22, 32, 43, 0.74);
      border-color: rgba(255, 255, 255, 0.34);
      color: #ffffff;
      backdrop-filter: blur(4px);
      opacity: 0.2;
    }
    .mobileResultCard.tileVariantThumb:hover .similarImageButton,
    .mobileResultCard.tileVariantThumb:focus-within .similarImageButton,
    .mobileResultCard.tileVariantThumb:hover .forceVectorizeButton,
    .mobileResultCard.tileVariantThumb:focus-within .forceVectorizeButton {
      opacity: 1;
    }
    .vectoringQueueStatus {
      min-height: 32px;
      display: inline-flex;
      align-items: center;
      padding: 5px 10px;
      border: 1px solid #d8e0ea;
      border-radius: 999px;
      font-size: 11px;
      font-weight: 700;
      color: #395063;
      background: rgba(255, 255, 255, 0.78);
    }
    .multiSimilarFloatingBar {
      position: fixed;
      left: 50%;
      transform: translateX(-50%);
      bottom: 16px;
      z-index: 38;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 10px 14px;
      border-radius: 999px;
      border: 1px solid #cfd8e6;
      background: rgba(255, 255, 255, 0.96);
      box-shadow: 0 12px 28px rgba(16, 24, 40, 0.2);
      backdrop-filter: blur(6px);
    }
    .multiSimilarFloatingBar .count {
      font-size: 12px;
      font-weight: 800;
      color: #233046;
      min-width: 90px;
      text-align: center;
    }
    .mobileResultCard.tileVariantThumb .datasetSummary,
    .mobileResultCard.tileVariantThumb .detailPair,
    .mobileResultCard.tileVariantThumb .reasonDetails,
    .researchCard.tileVariantThumb .researchCardBody {
      display: none;
    }
    .singleLineClamp,
    .clampedBadge {
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .researchCard {
      grid-template-columns: minmax(0, 1fr);
      gap: 14px;
    }
    .researchCard.tileVariantThumb {
      position: relative;
      overflow: hidden;
      padding: 0;
    }
    .researchCard.tileVariantThumb .researchCardVisual {
      border: 0;
      border-radius: 18px;
      aspect-ratio: 1 / 1;
      min-height: 0;
      margin: 0;
    }
    .researchCard.tileVariantThumb .researchCardBody {
      display: none;
    }
    .reasonDetails {
      margin-top: 8px;
      border: 1px solid var(--line);
      border-radius: 12px;
      background: #f8faff;
      padding: 6px 8px;
    }
    .reasonDetails summary {
      cursor: pointer;
      color: var(--ink);
      font-size: 12px;
      font-weight: 800;
    }
    .reasonDetails[open] summary {
      margin-bottom: 6px;
    }
    .researchGrid.tableMode {
      width: 100%;
      grid-template-columns: minmax(0, 1fr);
    }
    .researchCardVisual {
      width: 100%;
      aspect-ratio: 4 / 3;
      border-radius: 18px;
      overflow: hidden;
      border: 1px solid var(--line);
      background: linear-gradient(180deg, #eef2f6, #f8fafc);
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .researchCardBody,
    .researchCardHeadCopy {
      display: grid;
      gap: 8px;
      min-width: 0;
    }
    .cardSummaryClamp {
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 4;
      overflow: hidden;
    }
    .researchCardHeadCopy {
      gap: 4px;
      flex: 1;
    }
    .researchProjectLabel {
      color: var(--ink);
      font-size: 12px;
      font-weight: 700;
    }
    .researchSummary {
      min-height: 4.8em;
    }
    .researchMetaRow,
    .researchReasonRow {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
      align-items: stretch;
    }
    .researchBadge {
      width: auto;
      max-width: 180px;
      justify-content: flex-start;
    }
    .researchBadgePrimary {
      background: #edf6ff;
      border-color: #cfe0ff;
      color: #244b88;
    }
    .aiVersionBadge {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 22px;
      padding: 2px 8px;
      border-radius: 999px;
      border: 1px solid transparent;
      font-size: 11px;
      font-weight: 800;
      line-height: 1.2;
      white-space: nowrap;
      letter-spacing: 0.01em;
    }
    .aiVersionBadge.isV21 {
      color: #5b21b6;
      background: #ede9fe;
      border-color: #d8c7fb;
    }
    .aiVersionBadge.isV2 {
      color: #1d4ed8;
      background: #dbeafe;
      border-color: #bfd5ff;
    }
    .aiVersionBadge.isV1 {
      color: #334155;
      background: #e2e8f0;
      border-color: #cbd5e1;
    }
    .aiVersionBadge.isNone {
      color: #64748b;
      background: #f1f5f9;
      border-color: #e2e8f0;
    }
    .tagBadge {
      min-height: 28px;
      background: #eef1f6;
      color: var(--ink);
      border: 1px solid var(--line-strong);
      padding: var(--tile-chip-pad-y, 5px) var(--tile-chip-pad-x, 10px);
    }
    .licenseCell {
      display: inline-flex;
      align-items: center;
      max-width: 100%;
      white-space: nowrap;
    }
    .licenseBadge {
      display: inline-flex;
      align-items: center;
      min-height: 26px;
      padding: 4px 10px;
      border-radius: 999px;
      border: 1px solid #d7cff5;
      background: #f3effb;
      color: #3e1485;
      font-size: 11px;
      font-weight: 800;
      letter-spacing: 0.01em;
      margin-right: 0;
      white-space: nowrap;
    }
    .licenseOpen {
      background: #e9f5ec;
      border-color: #b9e0c3;
      color: #166534;
    }
    .licenseSample {
      background: #eef2ff;
      border-color: #d7cff5;
      color: #3e1485;
    }
    .licenseLicense {
      background: #eef1f6;
      border-color: #d6dce7;
      color: #334155;
    }
    .licenseRestricted {
      background: #fff7ed;
      border-color: #f8d3ae;
      color: #9a3412;
    }
    .licenseConfidential {
      background: #fef2f2;
      border-color: #f6c7ce;
      color: #b91c1c;
    }
    .licenseUnknown {
      background: #f3effb;
      border-color: #d7cff5;
      color: #3e1485;
    }
    .licenseOpenGroup {
      display: inline-flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 8px;
    }
    .licenseIconLink {
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }
    .licenseIconImage {
      height: 24px;
      width: auto;
      border-radius: 4px;
      border: 1px solid var(--line);
      background: #ffffff;
    }
    .emptyState {
      padding: 24px;
      color: var(--muted);
      text-align: center;
    }
    .loadState {
      padding: 4px 12px 12px;
      color: var(--muted);
    }
    .loadStateText {
      font-size: 13px;
      font-weight: 700;
      text-align: center;
    }
    .loadSentinel {
      width: 100%;
      height: 1px;
    }
    .loadingInline {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      width: 100%;
      padding: 10px 0;
      font-size: 13px;
      font-weight: 700;
    }
    .searchLoadingCenter {
      min-height: 220px;
      align-items: center;
    }
    .loadingSpinner {
      width: 18px;
      height: 18px;
      border-radius: 999px;
      border: 2px solid rgba(62, 20, 133, 0.2);
      border-top-color: var(--accent);
      animation: spin 0.9s linear infinite;
    }
    .skeletonCard {
      pointer-events: none;
    }
    .skeletonLine, .skeletonBlock {
      position: relative;
      overflow: hidden;
      border-radius: 999px;
      background: linear-gradient(90deg, #eef1f6 0%, #f7f9fc 50%, #eef1f6 100%);
      background-size: 240% 100%;
      animation: shimmer 1.3s ease-in-out infinite;
    }
    .skeletonLine {
      height: 12px;
    }
    .skeletonBlock {
      border-radius: 18px;
      min-height: 100%;
      width: 100%;
    }
    .skeletonThumb {
      min-height: 76px;
    }
    .skeletonLineWide { width: 100%; }
    .skeletonLineMedium { width: 72%; }
    .skeletonLineShort { width: 44%; }
    /* Task B: isLoading 状態時のモーダル内配置要素の不透明度 */
    #detailModal.isLoading #detailThumbnailButton { pointer-events: none; }
    #detailModal.isLoading #detailLink,
    #detailModal.isLoading #detailReportLink,
    #detailModal.isLoading #detailNanonetLink { pointer-events: none; }
    .dropdownPanel {
      position: relative;
      z-index: 6;
      padding: 14px;
      border: 1px solid var(--line);
      border-radius: 16px;
      background: #ffffff;
      box-shadow: 0 18px 42px rgba(18, 31, 38, 0.12);
    }
    .dropdownTitle {
      font-size: 12px;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: 10px;
    }
    .dropdownList {
      flex-direction: column;
      align-items: stretch;
    }
    .columnSettingsActions {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
    }
    .columnSettingsHint {
      font-size: 12px;
      color: var(--muted);
      margin: 0;
    }
    .checkboxRow {
      display: flex;
      gap: 10px;
      align-items: center;
      cursor: pointer;
    }
    .dragSortableList {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }
    .sortableRow {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 6px 8px;
      background: #fafafc;
      border: 1px solid var(--line);
      border-radius: 8px;
      transition: background-color 0.2s, box-shadow 0.2s;
    }
    .sortableRow:hover {
      background: #f1f3f7;
    }
    .sortableRow.dragOver {
      border-top: 2px solid var(--primary);
      background: #f0f7ff;
    }
    .sortableRow.isDragging {
      opacity: 0.5;
      background: #eef1f6;
    }
    .dragHandle {
      cursor: grab;
      color: var(--muted);
      user-select: none;
      padding: 0 4px;
      font-size: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .dragHandle:active {
      cursor: grabbing;
    }
    .sortableLabel {
      flex: 1;
      margin: 0;
    }
    .sortableActions {
      display: flex;
      gap: 4px;
    }
    .sortUpButton, .sortDownButton {
      background: none;
      border: 1px solid var(--line);
      border-radius: 4px;
      color: var(--muted);
      cursor: pointer;
      padding: 2px 6px;
      font-size: 12px;
      transition: all 0.2s;
    }
    .sortUpButton:hover, .sortDownButton:hover {
      background: #ffffff;
      color: var(--primary);
      border-color: var(--primary);
    }
    .mobileSheet {
      padding: 14px;
      display: grid;
      gap: 12px;
    }
    .mobileSheetActions {
      flex-direction: column;
      align-items: stretch;
    }
    .modal {
      position: fixed;
      inset: 0;
      z-index: 1060;
      background: rgba(18, 31, 38, 0.42);
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 14px;
    }
    .modalCard {
      width: min(1200px, 100%);
      max-height: calc(100vh - 28px);
      overflow: auto;
      background: #ffffff;
      border-radius: 24px;
      border: 1px solid var(--line);
      box-shadow: 0 24px 64px rgba(18, 31, 38, 0.24);
      padding: 18px;
      display: grid;
      gap: 16px;
    }
    .modalHead {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      align-items: flex-start;
    }
    .modalHead > button {
      flex-shrink: 0;
    }
    /* Modal keyboard navigation bar */
    .detailModalNavBar {
      display: flex;
      align-items: center;
      gap: 6px;
      padding: 6px 0 0;
    }
    .detailModalNavBar.hidden { display: none; }
    .detailNavArrow {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 32px;
      height: 32px;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: #fff;
      cursor: pointer;
      font-size: 15px;
      color: var(--ink);
      transition: background 0.15s;
    }
    .detailNavArrow:disabled { opacity: 0.3; cursor: default; }
    .detailNavArrow:not(:disabled):hover { background: var(--surface); }
    #detailNavCounter {
      font-size: 11px;
      font-weight: 700;
      color: var(--ink-muted);
      min-width: 48px;
      text-align: center;
    }
    /* Markdown rich rendering */
    .dpMarkdown { font-size: 14px; line-height: 1.65; }
    .dpMarkdown h1, .dpMarkdown h2, .dpMarkdown h3 { font-weight: 800; margin: 10px 0 4px; }
    .dpMarkdown h1 { font-size: 18px; }
    .dpMarkdown h2 { font-size: 15px; }
    .dpMarkdown h3 { font-size: 13px; }
    .dpMarkdown p { margin: 6px 0; }
    .dpMarkdown ul, .dpMarkdown ol { margin: 6px 0 6px 20px; }
    .dpMarkdown li { margin: 2px 0; }
    .dpMarkdown table { border-collapse: collapse; width: 100%; font-size: 12px; margin: 8px 0; }
    .dpMarkdown th, .dpMarkdown td { border: 1px solid var(--line); padding: 5px 8px; text-align: left; }
    .dpMarkdown th { background: var(--surface); font-weight: 800; }
    .dpMarkdown code { background: var(--surface); padding: 1px 4px; border-radius: 4px; font-size: 12px; }
    .dpMarkdown pre { background: var(--surface); padding: 10px; border-radius: 8px; overflow-x: auto; margin: 6px 0; }
    .dpMarkdown pre code { background: none; padding: 0; }
    .dpMarkdown blockquote { border-left: 3px solid var(--line); margin: 6px 0; padding: 4px 12px; color: var(--ink-muted); }
    /* Keyword chips */
    .dpAiKeywordsRow { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 0 4px; }
    .dpAiKeywordChip {
      display: inline-flex; align-items: center; gap: 4px;
      padding: 3px 8px; border-radius: 20px;
      background: rgba(87,130,240,0.10); border: 1px solid rgba(87,130,240,0.25);
      font-size: 11px; font-weight: 700; color: #3461c8; cursor: pointer;
      transition: background 0.12s;
    }
    .dpAiKeywordChip:hover { background: rgba(87,130,240,0.22); }
    .dpAiKeywordsLabel { font-size: 11px; font-weight: 800; color: var(--ink-muted); margin-bottom: 2px; }
    .choiceGrid, .detailGrid {
      display: grid;
      gap: 12px;
    }
    .field {
      display: grid;
      gap: 7px;
      padding: 12px;
      border: 1px solid var(--line);
      border-radius: 16px;
      background: #fbfcfe;
    }
    .fieldFull {
      grid-column: 1 / -1;
    }
    .settingsModalCard {
      width: min(960px, 100%);
    }
    .settingsTabBar {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      border-bottom: 1px solid var(--line);
      padding-bottom: 8px;
    }
    .settingsTab {
      min-height: 40px;
      border: 1px solid transparent;
      border-radius: 12px;
      background: transparent;
      padding: 9px 14px;
      color: var(--muted);
      font-weight: 800;
      cursor: pointer;
      white-space: nowrap;
    }
    .settingsTab.active {
      background: var(--accent);
      color: #ffffff;
    }
    .settingsTabPanel {
      display: grid;
      gap: 16px;
    }
    .settingsTabPanel.hidden {
      display: none;
    }
    /* 設定モーダル内では .field の個別カード装飾を外し、セクションカードの中身として
       ラベル+入力の単純な行にする（カードの入れ子が深くなるのを避けるため）。 */
    .settingsSection .field {
      padding: 0;
      border: none;
      background: transparent;
    }
    .settingsSection {
      display: grid;
      gap: 12px;
      padding: 14px;
      border: 1px solid var(--line);
      border-radius: 20px;
      background: linear-gradient(180deg, #fcfdff, #f7f9fe);
    }
    .settingsSectionHeader {
      display: grid;
      gap: 4px;
    }
    .settingsSectionEyebrow {
      color: var(--muted);
      font-size: 11px;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }
    .settingsSectionTitle {
      color: var(--ink);
      font-size: 16px;
      font-weight: 800;
      line-height: 1.4;
    }
    .settingsSectionGrid {
      display: grid;
      gap: 12px;
    }
    .settingsSectionNote {
      color: var(--muted);
      line-height: 1.7;
    }
    .checkboxLine {
      display: flex;
      align-items: center;
      gap: 10px;
      font-weight: 800;
    }
    .checkboxLine input {
      width: 18px;
      height: 18px;
      accent-color: var(--accent);
    }
    .settingsActionRow {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      align-items: center;
    }
    .settingsOutput {
      min-height: 96px;
      max-height: 220px;
      margin: 0;
      padding: 12px;
      border: 1px solid var(--line);
      border-radius: 14px;
      background: #ffffff;
      color: var(--text);
      overflow: auto;
      white-space: pre-wrap;
      word-break: break-word;
      font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
      font-size: 12px;
      line-height: 1.65;
    }
    .vectorProgress {
      height: 10px;
      border-radius: 999px;
      background: #dfe4ec;
      overflow: hidden;
    }
    .vectorProgress > span {
      display: block;
      width: 0;
      height: 100%;
      background: var(--accent);
      transition: width 0.18s ease;
    }
    .fieldTitleRow {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
    }
    .fieldIcon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 22px;
      height: 22px;
      border-radius: 999px;
      font-size: 12px;
      font-weight: 900;
    }
    .fieldIconCatalog {
      color: #1d4ed8;
      background: #dbeafe;
    }
    .fieldIconReport {
      color: #0f766e;
      background: #ccfbf1;
    }
    .detailSectionCard {
      display: grid;
      gap: 12px;
      padding: 14px;
      border-radius: 18px;
      border: 1px solid var(--line);
      background: #ffffff;
    }
    .detailSectionCardImageAi {
      gap: 2px;
      padding: 8px 10px;
      border-radius: 8px;
    }
    .detailSectionCardImageAi .detailSectionHeader {
      gap: 0;
      margin: 0;
      padding: 0;
    }
    .detailSectionCardImageAi .detailSectionEyebrow,
    .detailSectionCardImageAi .detailSectionTitle {
      margin: 0;
      padding: 0;
      line-height: 1.2;
    }
    .detailSectionCardCatalog {
      border-color: #cdddfd;
      background: linear-gradient(180deg, #f8fbff, #ffffff);
    }
    .detailSectionCardReport {
      border-color: #bfe8e1;
      background: linear-gradient(180deg, #f4fffd, #ffffff);
    }
    .detailSectionCardEmpty {
      min-height: 160px;
      align-content: start;
    }
    .detailSectionHeader {
      display: grid;
      gap: 4px;
    }
    .detailSectionEyebrow {
      font-size: 11px;
      font-weight: 800;
      letter-spacing: 0.08em;
      color: var(--muted);
      text-transform: uppercase;
    }
    .detailSectionTitle {
      font-size: 15px;
      font-weight: 800;
      line-height: 1.5;
      margin-top: 10px;
      margin-bottom: 10px;
      color: var(--ink);
    }
    .detailMetaList {
      display: grid;
      gap: 8px;
      margin: 0;
    }
    .detailMetaRow {
      display: grid;
      grid-template-columns: minmax(110px, 140px) minmax(0, 1fr);
      gap: 8px 12px;
      padding-top: 8px;
      border-top: 1px solid #edf1f6;
    }
    .detailMetaRow:first-child {
      padding-top: 0;
      border-top: 0;
    }
    .detailMetaRow dt {
      margin: 0;
      color: var(--muted);
      font-size: 12px;
      font-weight: 800;
    }
    .detailMetaRow dd {
      margin: 0;
      color: var(--ink);
      line-height: 1.7;
      min-width: 0;
      word-break: break-word;
    }
    .detailInlineLinkRow {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      align-items: center;
    }
    .detailInlineLink {
      min-height: 34px;
      padding: 7px 12px;
      border-radius: 999px;
      border: 1px solid var(--line-strong);
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 12px;
      font-weight: 800;
    }
    .detailInlineLinkPrimary {
      background: #eaf2ff;
      color: #1d4ed8;
      border-color: #c8dafd;
    }
    .detailInlineLinkSecondary {
      background: #f7fafc;
      color: var(--ink);
    }
    .detailNarrativeBlock {
      display: grid;
      gap: 8px;
      padding: 12px;
      border-radius: 14px;
      background: rgba(239, 244, 251, 0.72);
    }
    .detailNarrativeTitle {
      color: var(--ink);
      font-size: 12px;
      font-weight: 800;
      letter-spacing: 0.04em;
    }
    .detailNarrativeText {
      color: var(--muted);
      line-height: 1.8;
      word-break: break-word;
    }
    .detailNarrativeTextFull,
    .modalSummaryText.detailNarrativeTextFull {
      display: block;
      max-height: none;
      overflow: visible;
      white-space: normal;
      -webkit-line-clamp: unset;
    }
    .textClampContent {
      max-height: none;
    }
    .textClampContent.isClamped {
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 4;
      overflow: hidden;
    }
    .textClampToggle {
      margin-top: 8px;
      min-height: 30px;
      border: 1px solid var(--line-strong);
      border-radius: 999px;
      padding: 5px 10px;
      background: #ffffff;
      color: var(--ink);
      font-size: 12px;
      font-weight: 700;
      cursor: pointer;
    }
    .textClampToggle.hidden {
      display: none;
    }
    .field label, .fieldTitle {
      font-size: 13px;
      font-weight: 800;
      color: var(--ink);
    }
    .field label.disabledLabel {
      color: var(--muted);
      font-weight: 400;
      cursor: default;
    }
    .searchOperatorHint {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: var(--muted);
      font-size: 12px;
      font-weight: 700;
      line-height: 1.5;
    }
    .searchOperatorHint .hintIcon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 18px;
      height: 18px;
      border-radius: 999px;
      border: 1px solid #d7cff5;
      background: #f3effb;
      color: #3e1485;
      font-size: 11px;
      font-weight: 900;
    }
    .licenseCheckboxGrid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 6px 10px;
    }
    .licenseCheckboxGrid label {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-weight: 700;
      color: var(--ink);
    }
    .licenseCheckboxGrid input[type="checkbox"] {
      width: 16px;
      height: 16px;
      accent-color: var(--accent);
    }
    .fieldWide {
      grid-column: 1 / -1;
    }
    .semanticFacetPanel {
      display: grid;
      gap: 12px;
      padding: 14px;
      border: 1px solid var(--line);
      border-radius: 16px;
      background: #f8f9fd;
    }
    .semanticFacetIntro {
      color: var(--muted);
      font-size: 12px;
      line-height: 1.7;
    }
    .semanticFacetGroups {
      display: grid;
      gap: 12px;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
    .semanticFacetCategory {
      display: grid;
      gap: 10px;
      min-width: 0;
      padding: 12px;
      border: 1px solid #dbe3f0;
      border-radius: 14px;
      background: #ffffff;
    }
    .semanticFacetHeader {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 8px;
    }
    .semanticFacetTitle {
      font-weight: 800;
      color: var(--ink);
    }
    .semanticFacetHint {
      margin-top: 2px;
      color: var(--muted);
      font-size: 11px;
    }
    .semanticFacetSearch input {
      padding: 10px 12px;
      border-radius: 12px;
    }
    .semanticFacetOptionList {
      display: grid;
      gap: 8px;
      max-height: 280px;
      overflow: auto;
      padding-right: 4px;
    }
    .semanticFacetOption {
      display: grid;
      grid-template-columns: 16px minmax(0, 1fr) auto;
      align-items: center;
      gap: 8px;
      color: var(--ink);
      font-weight: 700;
    }
    .semanticFacetOption input[type="checkbox"] {
      width: 16px;
      height: 16px;
      accent-color: var(--accent);
    }
    .semanticFacetOptionText {
      min-width: 0;
      word-break: break-word;
    }
    .semanticFacetOptionCount {
      color: var(--muted);
      font-size: 12px;
      font-weight: 800;
    }
    .semanticFacetMoreButton {
      justify-self: start;
    }
    input[type="text"], input[type="date"], input[type="number"], select, textarea {
      width: 100%;
      min-width: 0;
      padding: 12px 13px;
      border-radius: 14px;
      border: 1px solid var(--line-strong);
      background: #ffffff;
      color: var(--text);
      box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
    }
    .textLink.isDisabled {
      pointer-events: none;
      opacity: 0.5;
    }
    .modalThumbButton {
      width: 100%;
      padding: 0;
      border: 0;
      background: transparent;
      cursor: zoom-in;
      text-align: left;
    }
    .modalThumbButton.isDisabled {
      cursor: default;
      opacity: 0.5;
      pointer-events: none;
    }
    .detailVisual {
      min-height: 180px;
      border: 1px solid var(--line);
      border-radius: 18px;
      overflow: hidden;
      background: linear-gradient(180deg, #eef2f6, #f8fafc);
    }
    .lightboxModal {
      z-index: 1080;
      background: rgba(10, 18, 32, 0.82);
      align-items: flex-start;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
    }
    .lightboxCard {
      width: min(1040px, 100%);
      max-height: 90vh;
      padding: 0;
      border: 0;
      background: transparent;
      box-shadow: none;
      overflow-x: hidden;
      overflow-y: auto;
      gap: 12px;
    }
    .lightboxHead {
      display: flex;
      justify-content: flex-end;
    }
    .lightboxStage {
      display: grid;
      gap: 12px;
      justify-items: center;
    }
    .lightboxFrame {
      width: 100%;
      max-height: min(58vh, 560px);
      padding: 18px;
      border-radius: 26px;
      border: 1px solid rgba(255, 255, 255, 0.16);
      background: rgba(255, 255, 255, 0.08);
      display: flex;
      align-items: center;
      justify-content: center;
      backdrop-filter: blur(10px);
    }
    .lightboxImage {
      display: block;
      max-width: 100%;
      max-height: min(52vh, 520px);
      object-fit: contain;
      border-radius: 18px;
      box-shadow: 0 24px 60px rgba(0, 0, 0, 0.26);
      background: #ffffff;
    }
    #imagePreviewAnnotationPanel {
      width: min(960px, 100%);
      margin: 0 auto 8px;
    }
    .lightboxCaption {
      color: #f6f7fb;
      font-size: 13px;
      font-weight: 700;
      text-align: center;
    }
    .detailStatus {
      color: var(--muted);
      font-weight: 700;
      font-size: 12px;
      padding: 6px 10px;
      border-radius: 999px;
      background: #eef1f6;
      border: 1px solid var(--line);
    }
    .detailStatus.isError {
      color: #991b1b;
      background: #fef2f2;
      border-color: #fecaca;
    }
    .footerRow {
      justify-content: space-between;
      color: var(--muted);
      padding: 0 4px;
    }
    .desktopOnly { display: none !important; }
    .mobileOnly { display: inline-flex !important; }
    .tippy-box[data-theme~='dpsearch'] {
      border-radius: 12px;
      background: rgba(22, 32, 43, 0.96);
      color: #ffffff;
      box-shadow: 0 18px 42px rgba(18, 31, 38, 0.2);
      font-size: 12px;
      line-height: 1.6;
    }
    .tippy-box[data-theme~='dpsearch'] .tippy-content {
      padding: 10px 12px;
      text-align: left;
    }
    .tippy-box[data-theme~='dpsearch'][data-placement^='top'] > .tippy-arrow::before {
      border-top-color: rgba(22, 32, 43, 0.96);
    }

    @keyframes spin {
      to { transform: rotate(360deg); }
    }

    @keyframes shimmer {
      0% { background-position: 200% 0; }
      100% { background-position: -40% 0; }
    }

    @media (max-width: 767px) {
      .lightboxModal {
        padding: 8px;
      }
      .lightboxCard {
        max-height: 92vh;
      }
      .lightboxFrame {
        max-height: 44vh;
        padding: 10px;
      }
      .lightboxImage {
        max-height: 40vh;
      }
      .topNavRow,
      .globalSearchForm,
      .searchNavControls,
      .heroSummary {
        overflow: visible;
      }
      #searchSubmitLabel {
        font-size: 12px;
      }
      .workspaceHeader {
        align-items: flex-start;
      }
      .workspaceActions,
      .resultViewControls,
      .resultTileOptions {
        flex-wrap: nowrap;
        white-space: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
      }
      .resultTileVariantRow {
        width: auto;
        justify-content: flex-start;
      }
    }

    @media (min-width: 768px) {
      .page {
        width: min(100%, calc(100% - 28px));
        padding: 18px 0 40px;
        gap: 18px;
      }
      .hero, .workspace, .modalCard { padding: 22px; }
      .choiceGrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
      .settingsSectionGrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
      .detailGrid {
        grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
      }
      .researchCard {
        grid-template-columns: 156px minmax(0, 1fr);
        align-items: start;
      }
      .researchTuningGrid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }
      .tableTopScroll,
      .tableWrap {
        display: block;
      }
      .mobileCardList {
        display: none;
      }
      .panel.tileMode .tableTopScroll,
      .panel.tileMode .tableWrap {
        display: none;
      }
      .panel.tileMode .mobileCardList {
        display: grid !important;
      }
      .multiSimilarFloatingBar {
        bottom: 14px;
        width: calc(100% - 20px);
        justify-content: center;
      }
    }

    @media (min-width: 1024px) {
      .desktopOnly { display: inline-flex !important; }
      .mobileOnly { display: none !important; }
      .hero {
        padding: 24px;
      }
      .workspace {
        padding: 24px;
      }
      .settingsSectionGrid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }
      .researchGrid {
        display: grid;
        grid-template-columns: repeat(var(--tile-columns, 2), minmax(0, 1fr));
        gap: 14px;
      }
      .modalCard {
        padding: 24px;
      }
    }

    /* v1.17.77: 汎用レイアウトユーティリティ（ui/modals.js のインラインstyle整理で使用） */
    .u-flex { display:flex; }
    .u-flex-col { display:flex; flex-direction:column; }
    .u-grid { display:grid; }
    .u-items-center { align-items:center; }
    .u-items-start { align-items:flex-start; }
    .u-wrap { flex-wrap:wrap; }
    .u-gap-6 { gap:6px; }
    .u-gap-8 { gap:8px; }
    .u-mt-6 { margin-top:6px; }
    .u-mt-8 { margin-top:8px; }
    .u-mt-10 { margin-top:10px; }
    .u-mb-8 { margin-bottom:8px; }
    .u-mb-10 { margin-bottom:10px; }
    .u-fw-700 { font-weight:700; }
    .u-font-label { font-size:12px; font-weight:700; color:var(--muted); display:block; margin-bottom:3px; }
    .u-btn-sm { padding:6px 12px; font-size:0.85rem; }
    .u-btn-xs { padding:4px 10px; font-size:0.8rem; }
    .u-form-control { width:100%; padding:6px 10px; border:1px solid #d9dee7; border-radius:8px; font-size:13px; box-sizing:border-box; }
    .u-form-control-resize { width:100%; padding:6px 10px; border:1px solid #d9dee7; border-radius:8px; font-size:13px; box-sizing:border-box; resize:vertical; }
