/* goyo license finder (LAS1): layout only. Faces, sizes and colors come from goyo.css. */
.lf .lf-who,.lf .lf-order,.lf .lf-note,.lf .lf-hint{margin:8px 0;text-align:left}
.lf .lf-order{color:var(--ink2,#3b4a5a)}
.lf .lf-row{display:flex;flex-wrap:wrap;gap:12px;margin:14px 0}
.lf .lf-row .btn{width:auto;min-height:48px}
.lf .lf-log{list-style:none;margin:10px 0;padding:0}
.lf .lf-log li{margin:0 0 4px;padding-left:14px;border-left:3px solid var(--line,#d7e0eb)}
.lf .lf-gh{margin:18px 0 6px}
.lf .lf-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px;margin:12px 0}
.lf .lf-card{border:1px solid var(--line,#d7e0eb);border-radius:10px;padding:14px 16px;background:var(--card,#fff);min-width:0}
.lf .lf-card.lf-picked{outline:3px solid var(--acc,#15335e);outline-offset:1px}
.lf .lf-name{margin:0 0 6px;overflow-wrap:anywhere}
.lf .lf-fit{margin:0 0 8px;font-weight:700}
.lf .lf-tag{margin:0 0 8px;padding:0 0 0 10px;border-left:3px solid var(--acc,#15335e);font-weight:700}
.lf .lf-tag .lf-from{font-weight:400}
.lf .lf-filterwrap{margin:12px 0}
.lf .lf-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:0 16px;margin:8px 0 0}
.lf .lf-filters .lf-f{margin:0 0 12px}
.lf .lf-shown:empty{display:none}
.lf .lf-facts{margin:0;display:grid;grid-template-columns:1fr;gap:2px}
.lf .lf-facts dt{font-weight:700;margin-top:8px}
.lf .lf-facts dd{margin:0;overflow-wrap:anywhere;text-align:left}
.lf .lf-chk{white-space:nowrap}
.lf .lf-num{font-variant-numeric:tabular-nums;font-feature-settings:"zero" 0}
.lf .lf-link{background:none;border:0;padding:0;min-height:44px;cursor:pointer;text-decoration:underline;color:inherit;text-align:left}
.lf .lf-off{margin:6px 0 10px;padding-left:20px}
.lf .lf-off li{margin:0 0 10px}
.lf .lf-cov{display:block}
.lf .lf-nonehead,.lf .lf-err{font-weight:700;margin:12px 0 6px}
.lf .lf-pickmsg:empty{display:none}
.lf .lf-pickmsg{margin:10px 0;font-weight:700}
.lf-form .lf-f{margin:0 0 16px;border:0;padding:0}
.lf-form .lf-f>label,.lf-form .lf-f>legend{display:block;font-weight:700;margin:0 0 6px;padding:0}
.lf-form input[type=text],.lf-form select{width:100%;max-width:420px;box-sizing:border-box}
.lf-form .lf-opt{display:flex;gap:12px;align-items:center;min-height:44px;cursor:pointer}
.lf-form .lf-opt input{position:static;opacity:1;display:inline-block;width:22px;height:22px;min-height:0;margin:0;padding:0;flex:none}
.lf-form .lf-hint{margin:0 0 6px}

/* Shared result status, source details and card layout. */
@layer site21 {
  html body .lf [hidden] { display: none !important; }
  html body .lf .lf-status {
    position: sticky; top: var(--goyo-header-h, 64px); z-index: 2;
    background: var(--card, #fff); border: 1px solid var(--line, #d7e0eb);
    border-radius: 10px; padding: 8px 12px; margin: 12px 0;
  }
  /* K-HDR-LOOKUP: the box stays on screen only while the search runs; once it ends it sits in the page and covers nothing. */
  html body .lf .lf-status:not([data-phase="running"]) { position: static; }
  html body .lf .lf-uncovered { margin: 12px 0; }
  html body .lf .lf-status-line { margin: 0; font-weight: 700; text-align: left; }
  html body .lf .lf-status-compact { display: none; margin: 0; text-align: left; font-weight: 700; }
  html body main#main .lf progress.lf-progress {
    appearance: none !important; display: block; width: 100%; min-height: 0 !important;
    height: 8px !important; border: 0; border-radius: 6px; overflow: hidden; background: var(--line, #d7e0eb);
  }
  html body .lf .lf-progress::-webkit-progress-bar { background: var(--line, #d7e0eb); }
  html body .lf .lf-progress::-webkit-progress-value { background: var(--navy, #15335e); }
  html body .lf .lf-progress::-moz-progress-bar { background: var(--navy, #15335e); }
  html body .lf .lf-new-matches:empty { display: none; }
  html body .lf .lf-status-note, html body .lf .lf-new-matches { margin: 4px 0; text-align: left; }
  html body .lf .lf-status-controls { display: flex; flex-wrap: wrap; gap: 8px; }
  html body .lf .lf-status-details > summary,
  html body .lf .lf-sources > summary,
  html body .lf .lf-card-details > summary {
    min-height: 44px !important; align-content: center; cursor: pointer;
  }
  html body .lf .lf-group > summary {
    min-height: 52px !important; align-content: center; cursor: pointer;
  }
  html body .lf .lf-chip {
    display: inline-block; margin-inline-end: 6px; padding: 3px 9px;
    border: 1px solid currentColor; border-radius: 6px; font-weight: 700;
    color: var(--ink, #152633); background: var(--card, #fff);
  }
  html body .lf .lf-chip-inactive { border-style: dashed; }
  html body .lf .lf-chip-action { border-inline-start: 5px double currentColor; }
  html body .lf .lf-chip-unknown { border-style: dotted; }
  html body .lf .lf-chip-check { border-color: transparent; }
  html body .lf .lf-chips, html body .lf .lf-date { margin: 4px 0; text-align: left; }
  html body .lf .lf-date { display: block; font-weight: 400; }
  html body .lf .lf-source-list { margin: 8px 0; padding: 0; list-style: none; }
  html body .lf .lf-source {
    padding: 10px 12px; margin: 0 0 8px; border: 1px solid var(--line, #d7e0eb);
    border-radius: 10px; background: var(--card, #fff); overflow-wrap: anywhere;
  }
  html body .lf .lf-source-name { margin: 0; text-align: left; font-weight: 700; }
  html body .lf .lf-source p { margin: 4px 0; }
  html body .lf .lf-source a { display: inline-block; align-content: center; min-height: 44px; }
  @media (max-width: 600px) {
    html body .lf .lf-status { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 8px; align-items: center; }
    html body .lf .lf-status-line { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
    html body .lf .lf-status-compact { display: block; grid-column: 1; grid-row: 1; }
    html body .lf .lf-progress { grid-column: 1 / -1; grid-row: 2; }
    html body .lf .lf-status-details { grid-column: 2; grid-row: 1; }
    html body .lf .lf-status-details[open] { grid-column: 1 / -1; grid-row: 3; }
    html body main#main .lf .lf-card .lf-row .btn { width: 100% !important; overflow-wrap: anywhere; }
    html body .lf .lf-list { grid-template-columns: minmax(0, 1fr); }
  }
  @media (forced-colors: active) {
    html body .lf .lf-chip { border-color: CanvasText; }
    html body .lf .lf-chip-check { border-color: transparent; }
  }
}
