/* v109 — clinical workspace and optional professional profiles. */
:root {
  --primary:#185fb5; --primary-2:#104b91; --primary-deep:#104b91; --primary-light:#eaf2fc;
  --navy:#102d4b; --ink:#263b50; --muted:#50647a; --bg:#f5f7fa; --card:#fff;
  --line:#dbe3ec; --soft:#eef3f8; --mint:#eaf3f7; --maxw:1240px; --radius:14px;
  --font-body:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --font-display:var(--font-body); --shadow:0 7px 24px #102d4b08; --shadow-soft:0 2px 5px #102d4b04;
}
html { scroll-padding-top:100px; }
body { font:1rem/1.6 var(--font-body); color:var(--ink); background:var(--bg); }
[hidden] { display:none!important; }
img { max-width:100%; height:auto; }
button,input,select,textarea { font-family:inherit; }
a,button,input,select,textarea,summary { touch-action:manipulation; -webkit-tap-highlight-color:transparent; }
button { cursor:pointer; }
:focus-visible { outline:3px solid #1766be!important; outline-offset:4px; }
#hovedinnhold:focus { outline:none; }
h1,h2,h3 { font-family:var(--font-display); letter-spacing:-.025em; line-height:1.25; overflow-wrap:break-word; }
h1 { font-size:clamp(1.9rem,3.2vw,2.6rem); } h2 { font-size:1.3rem; } h3 { font-size:1rem; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.skip-link { z-index:1000; }
.container { width:min(var(--maxw),calc(100% - 64px)); margin-inline:auto; }
.ico { flex-shrink:0; }
kbd { font:inherit; font-size:.75rem; display:inline-block; line-height:1.2; border:1px solid #c9d6e5; background:white; color:#465b73; border-radius:4px; padding:2px 6px; }
.lk-eyebrow { font-size:.69rem; font-weight:750; text-transform:uppercase; letter-spacing:.11em; color:var(--primary); margin-bottom:8px; }

/* Navigation and explicit environment status. */
.lk-preview-banner { background:#ecf2f9; color:#294d72; border-bottom:1px solid #d1deed; font-size:.78rem; }
.lk-preview-banner>.container { display:flex; flex-wrap:wrap; align-items:center; gap:8px 14px; padding-block:8px; }
.lk-preview-banner strong { font-weight:700; }
.lk-preview-banner a { display:inline-flex; align-items:center; gap:6px; margin-left:auto; color:#124f94; text-decoration:underline; text-underline-offset:3px; }
.lk-preview-banner .ico { width:14px; height:14px; }
.site-header.lk-header { position:sticky; top:0; z-index:80; background:#fff; backdrop-filter:none; border-bottom:1px solid var(--line); box-shadow:0 2px 10px #102d4b03; }
.lk-header-inner { display:flex; align-items:center; justify-content:space-between; gap:24px; min-height:78px; }
.lk-brand { display:flex; flex-shrink:0; width:220px; } .lk-brand img { width:220px; height:auto; display:block; }
.lk-nav { display:flex; align-items:center; gap:3px; }
.lk-nav>a,.lk-nav-more>summary { font-size:.84rem; font-weight:600; padding:10px 11px; border-radius:7px; color:#41566e; white-space:nowrap; display:flex; align-items:center; gap:7px; min-height:44px; }
.lk-nav a:hover,.lk-nav-more>summary:hover { color:var(--primary); background:#f1f5fa; }
.lk-nav a[aria-current="page"] { color:var(--primary); background:#eaf2fc; }
.lk-nav-more { position:relative; } .lk-nav-more>summary { list-style:none; cursor:pointer; } .lk-nav-more>summary::-webkit-details-marker { display:none; }
.lk-nav-more>summary span { font-size:1.1rem; }
.lk-nav-dropdown { position:absolute; top:calc(100% + 10px); right:0; width:270px; border:1px solid var(--line); border-radius:12px; padding:8px; background:#fff; box-shadow:0 16px 40px #14274120; z-index:90; }
.lk-nav-dropdown a { display:block; padding:10px 12px; border-radius:6px; font-size:.875rem; white-space:normal; }
.lk-nav .lk-nav-search { background:var(--navy); color:#fff; padding-inline:16px; margin-left:6px; }
.lk-nav-search .ico { width:17px; height:17px; } .lk-nav .lk-nav-search:hover { background:var(--primary); color:white; }
.lk-nav-icon>span:first-child { font-size:1.45rem; line-height:1; }
.lk-nav-mobile-label,.lk-nav-toggle { display:none; }
.lk-nav-toggle { border:1px solid var(--line); border-radius:8px; padding:9px 12px; align-items:center; gap:8px; background:white; color:var(--navy); font-size:.875rem; min-height:44px; }

/* Search is the primary task, with a compact clinical rather than marketing hero. */
.home-workspace { display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:30px; padding-top:32px; padding-bottom:44px; align-items:start; }
.home-primary,.home-sidebar { min-width:0; }
.home-finder { background:linear-gradient(130deg,#fff 58%,#f0f6fd); border:1px solid var(--line); border-radius:16px; padding:30px; box-shadow:var(--shadow-soft); }
.home-heading { margin-bottom:23px; }
.home-heading h1 { font-size:clamp(2rem,3.3vw,2.9rem); font-weight:750; letter-spacing:-.045em; line-height:1.12; color:var(--navy); }
.home-heading h1 span { color:var(--primary); }
.home-heading>p:last-child { color:var(--muted); font-size:.96rem; margin-top:15px; max-width:53ch; }
@media(min-width:801px) {
  .home-heading h1 br { display:none; }
  .home-heading h1 span::before { content:" "; }
  .home-heading>p:last-child { max-width:68ch; }
}
.finder-form { margin:0; }
.finder-input-wrap { display:flex; align-items:center; gap:12px; border:1.5px solid #8eaccd; border-radius:10px; background:white; min-height:62px; padding:6px 7px 6px 17px; box-shadow:0 4px 12px #104b9107; }
.finder-input-wrap:focus-within { border-color:var(--primary); box-shadow:0 0 0 3px #185fb51c; }
.finder-input-wrap>.ico { width:21px; height:21px; color:var(--primary); }
.finder-input-wrap input { flex:1; min-width:0; width:100%; background:transparent; border:0; outline:none!important; color:var(--navy); font-size:1rem; padding:9px 0; box-shadow:none; }
.finder-input-wrap input::placeholder { color:#60738a; opacity:1; }
.finder-submit { border:0; border-radius:7px; background:var(--navy); color:white; font-size:.93rem; font-weight:650; padding:10px 20px; min-height:46px; }
.finder-submit:hover { background:var(--primary); }
.finder-hint { font-size:.77rem; color:var(--muted); margin-top:10px; line-height:1.5; } .finder-hint>span { white-space:nowrap; }
.finder-filters { display:flex; flex-wrap:wrap; gap:4px; margin-top:19px; padding-top:17px; border-top:1px solid #e3eaf2; }
.finder-filter { display:flex; align-items:center; gap:5px; border:1px solid transparent; background:transparent; border-radius:6px; padding:7px 9px; color:#435970; font-size:.79rem; min-height:40px; }
.finder-filter:hover { background:#edf3fa; } .finder-filter.is-active { background:#e7effa; border-color:#c8d9ee; color:#164c91; font-weight:650; }
.finder-filter span { font-size:.7rem; color:inherit; opacity:.85; font-variant-numeric:tabular-nums; }
.finder-topics { display:flex; flex-wrap:wrap; align-items:center; gap:8px 16px; margin-top:17px; font-size:.77rem; }
.finder-topics>span { color:var(--muted); } .finder-topics>a { display:inline-flex; align-items:center; gap:4px; color:#285886; min-height:32px; }
.finder-topics>a:hover { text-decoration:underline; } .finder-topics .ico { width:12px; height:12px; }
.finder-results { margin-top:20px; border:1px solid var(--line); border-radius:10px; overflow:hidden; background:white; }
.finder-results-head { display:flex; justify-content:space-between; align-items:center; gap:15px; padding:10px 14px; background:#edf3fa; border-bottom:1px solid var(--line); font-size:.85rem; color:#405c79; }
.text-button { color:var(--primary); font-size:.85rem; background:none; border:0; padding:7px; min-height:40px; flex-shrink:0; }
.finder-result { display:flex; gap:14px; align-items:center; padding:16px 17px; border-bottom:1px solid #e7edf3; color:var(--ink); min-width:0; }
.finder-result:last-child { border-bottom:0; } .finder-result:hover,.finder-result:focus-visible { background:#f1f6fd; }
.finder-result-main { display:flex; flex-direction:column; gap:5px; flex:1; min-width:0; overflow-wrap:anywhere; }
.finder-result-main strong { font-size:.98rem; color:var(--navy); font-weight:650; line-height:1.4; }
.finder-result-main>span { font-size:.85rem; color:var(--muted); line-height:1.5; } .finder-result-main small { font-size:.74rem; color:#526980; line-height:1.4; }
.finder-arrow { flex-shrink:0; color:var(--primary); font-size:1.3rem; } .finder-arrow .ico { width:18px; height:18px; }
.finder-empty { padding:24px; } .finder-empty p { margin-top:8px; font-size:.9rem; color:var(--muted); } .finder-empty a { display:inline-block; color:var(--primary); margin-top:14px; text-decoration:underline; }
.finder-all { display:flex; align-items:center; justify-content:center; gap:12px; padding:14px; color:var(--primary); border-top:1px solid var(--line); font-size:.85rem; font-weight:600; }
.lk-status,.pub-beta { font-size:.71rem; line-height:1.4; color:#765016; background:#fff5df; border:1px solid #ecd4a1; border-radius:5px; padding:3px 7px; flex-shrink:0; max-width:140px; }

/* Curated entry points, without claims of clinical approval or usage analytics. */
.home-section { margin-top:31px; }
.lk-section-head { display:flex; align-items:center; justify-content:space-between; gap:16px; margin:0 0 15px; }
.lk-section-head h2 { font-size:1.16rem; font-weight:700; color:var(--navy); } .lk-section-head .lk-eyebrow { font-size:.64rem; margin-bottom:5px; }
.lk-section-head>a { display:inline-flex; align-items:center; gap:6px; font-size:.82rem; color:var(--primary); min-height:36px; }
.lk-section-head>a:hover { text-decoration:underline; } .lk-section-head>a .ico { width:14px; height:14px; }
.featured-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.featured-tool { display:flex; align-items:flex-start; gap:13px; border:1px solid var(--line); border-radius:12px; background:white; padding:18px; min-height:125px; transition:border-color .15s,box-shadow .15s; }
.featured-tool:hover { border-color:#88a9d0; box-shadow:0 5px 16px #143e6e0b; }
.featured-icon { background:#edf3fb; color:#205c9a; width:39px; height:42px; border:1px solid #e1eaf5; border-radius:9px; display:grid; place-items:center; flex-shrink:0; }
.featured-icon .ico { width:21px; height:21px; }
.featured-body { display:flex; flex-direction:column; gap:5px; min-width:0; flex:1; }
.featured-body strong { font-size:.96rem; font-weight:680; line-height:1.38; color:var(--navy); overflow-wrap:anywhere; }
.featured-body>span { font-size:.77rem; color:var(--muted); line-height:1.45; }
.featured-body>.featured-category { font-size:.64rem; font-weight:650; color:#4b6a89; letter-spacing:.04em; }
.featured-tool>.lk-status { font-size:.64rem; padding:2px 5px; }
.workflow-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; border:0; background:transparent; overflow:visible; }
.workflow-link { display:flex; align-items:center; gap:12px; padding:18px; background:white; border:1px solid var(--line); border-radius:11px; color:#294e76; min-height:88px; }
.workflow-link>span { flex:1; display:flex; flex-direction:column; gap:5px; min-width:0; } .workflow-link strong { font-size:.93rem; font-weight:650; } .workflow-link small { font-size:.76rem; color:var(--muted); }
.workflow-link>.ico { width:22px; height:22px; } .workflow-link>.ico:last-child { width:15px; height:15px; color:#577b9d; } .workflow-link:hover { background:#eff5fc; border-color:#9bb6d4; }
.home-categories { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:24px; }
.home-category { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:13px 0; border-bottom:1px solid var(--line); font-size:.86rem; min-height:48px; }
.home-category>span { display:flex; align-items:center; gap:10px; } .home-category .ico { width:18px; height:18px; color:#456c93; } .home-category small { font-size:.78rem; color:var(--muted); font-variant-numeric:tabular-nums; } .home-category:hover { color:var(--primary); }

/* Personal workspace: tool identifiers only, never patient answers. */
.home-sidebar { padding-top:0; }
.desk-card { border:1px solid var(--line); border-radius:14px; overflow:hidden; background:white; box-shadow:var(--shadow-soft); }
.desk-card-head { display:flex; align-items:center; gap:9px; padding:19px; background:#f0f5fb; border-bottom:1px solid var(--line); color:var(--navy); }
.desk-card-head .ico { width:19px; height:19px; } .desk-card-head h2 { font-size:.94rem; font-weight:700; white-space:nowrap; }
.desk-local { margin-left:auto; color:#326c70; font-size:.62rem; background:#e4f0ee; padding:2px 5px; border:1px solid #c4dfdc; border-radius:4px; }
.desk-card-body { padding:22px; }
.desk-empty>span { display:grid; place-items:center; width:43px; height:43px; border:1px solid #dce7f5; border-radius:11px; background:#f4f8fd; font-size:1.7rem; color:#406d9b; line-height:1; margin-bottom:17px; }
.desk-empty h3 { font-size:.94rem; font-weight:680; color:var(--navy); } .desk-empty p { font-size:.84rem; color:var(--muted); margin-top:9px; line-height:1.65; }
.desk-personal+.desk-personal,.desk-empty+.desk-personal { margin-top:21px; padding-top:17px; border-top:1px solid var(--line); }
.desk-personal h3 { font-size:.7rem; font-weight:700; text-transform:uppercase; letter-spacing:.07em; color:#506a85; margin-bottom:8px; }
.desk-links { display:flex; flex-direction:column; gap:0; } .desk-links .personal-chip { display:block; white-space:normal; overflow-wrap:anywhere; border:0; border-bottom:1px solid #e8eef5; border-radius:0; background:transparent; padding:10px 0; font-size:.84rem; font-weight:600; color:#254d75; line-height:1.4; box-shadow:none; }
.desk-links .personal-chip:last-child { border:0; } .desk-links .personal-chip:hover { color:var(--primary); text-decoration:underline; }
.desk-all { display:flex; align-items:center; justify-content:space-between; gap:9px; font-size:.83rem; font-weight:650; color:var(--primary); margin-top:21px; padding-top:17px; border-top:1px solid var(--line); min-height:38px; } .desk-all .ico { width:15px; height:15px; }
.desk-resources { margin-top:27px; } .desk-resources h2 { font-size:.92rem; margin-bottom:9px; color:var(--navy); }
.desk-resource { display:flex; align-items:center; gap:12px; padding:14px 0; border-bottom:1px solid var(--line); }
.desk-resource>span { flex:1; display:flex; flex-direction:column; gap:4px; } .desk-resource strong { font-size:.83rem; font-weight:650; color:var(--navy); } .desk-resource small { font-size:.76rem; color:var(--muted); } .desk-resource .ico { width:14px; height:14px; color:#567a9e; } .desk-resource:hover strong { color:var(--primary); }
.desk-note { display:flex; gap:10px; align-items:flex-start; padding:18px; background:#ecf3fa; border:1px solid #d6e4f2; border-radius:10px; margin-top:25px; color:#415f7e; }
.desk-note>.ico { width:18px; height:18px; margin-top:2px; } .desk-note h2 { font-size:.83rem; margin-bottom:7px; color:var(--navy); } .desk-note p { font-size:.77rem; line-height:1.65; }
.desk-note a { display:flex; align-items:center; gap:5px; color:var(--primary); margin-top:9px; text-decoration:underline; text-underline-offset:3px; } .desk-note a .ico { width:13px; height:13px; }
.desk-preference { display:flex; align-items:flex-start; gap:8px; margin-top:18px; font-size:.76rem; color:var(--muted); line-height:1.6; cursor:pointer; }
.desk-preference input { margin-top:3px; accent-color:var(--primary); width:16px; height:16px; flex-shrink:0; }

/* Calculator input, outcome and source information share a clear hierarchy. */
.kilde-lenke { align-items:flex-start; flex-wrap:wrap; border-radius:12px; }
.kilde-lenke a { flex:1 1 180px; min-width:0; white-space:normal; overflow-wrap:anywhere; }
.tool-header { padding:30px 0 21px; } .tool-title { font-size:clamp(1.8rem,3vw,2.5rem); letter-spacing:-.035em; line-height:1.2; color:var(--navy); }
.tool-desc { font-size:.98rem; line-height:1.7; max-width:80ch; color:var(--muted); margin-top:12px; }
.breadcrumb { font-size:.8rem; line-height:1.5; color:#536a83; } .breadcrumb a:hover { text-decoration:underline; } .calc-meta { flex-wrap:wrap; align-items:center; gap:8px; }
.tool-section-nav { display:flex; flex-wrap:wrap; gap:3px 18px; border-top:1px solid var(--line); margin-top:22px; padding-top:12px; }
.tool-section-nav a { display:inline-flex; align-items:center; font-size:.83rem; font-weight:600; min-height:40px; color:#3c6086; border-bottom:2px solid transparent; }
.tool-section-nav a:hover { color:var(--primary); border-bottom-color:var(--primary); }
#beregning,#resultPanel,#bruk-og-begrensninger,#kilde-og-kvalitet { scroll-margin-top:100px; }
.calc-panel,.result-panel,.all-panel,.info-panel,.ft-panel { border-radius:13px; background:#fff; border:1px solid var(--line); box-shadow:var(--shadow-soft); }
.two-col { grid-template-columns:minmax(0,1fr) minmax(320px,405px); gap:24px; } .two-col>* { min-width:0; }
.calc-panel,.result-panel { padding:26px; }
.calc-panel-heading { display:flex; gap:12px; align-items:center; margin:0 0 24px; padding-bottom:18px; border-bottom:1px solid #e4eaf2; }
.calc-panel-heading>span { display:grid; place-items:center; width:39px; height:39px; background:#edf3fb; color:var(--primary); border-radius:9px; flex-shrink:0; } .calc-panel-heading .ico { width:20px; height:20px; }
.calc-panel-heading h2 { font-size:1.06rem; font-weight:700; color:var(--navy); margin:0; } .calc-panel-heading p { font-size:.8rem; color:var(--muted); margin-top:4px; }
.result-panel { top:102px; border-top:3px solid var(--primary); max-height:calc(100dvh - 120px); overflow-y:auto; overscroll-behavior:contain; }
.result-panel-heading { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px; margin-bottom:13px; }
.result-kicker { font-size:.69rem; letter-spacing:.1em; font-weight:750; color:var(--primary); }
.result-panel-heading>span { font-size:.66rem; color:#4a6d88; background:#f0f5fb; border:1px solid #dce6f2; border-radius:5px; padding:3px 6px; }
.result-value { font-size:2.8rem; font-weight:750; letter-spacing:-.045em; color:var(--navy); overflow-wrap:anywhere; }
.result-unit { font-size:1rem; font-weight:500; color:var(--muted); letter-spacing:0; }
.result-title { font-size:1.15rem; line-height:1.45; color:var(--navy); font-weight:680; }
.result-summary { position:sticky; top:0; z-index:2; background:#fff; padding-block:8px 12px; margin-bottom:12px; border-bottom:1px solid #e5edf5; }
.field { margin-bottom:22px; } .field label,.wide-label { font-size:.92rem; font-weight:650; }
.field input,.field select,.wide-label textarea { font-size:1rem; border-radius:8px; min-height:48px; background:#fff; border-color:#bfcddb; }
.field input:focus,.field select:focus,.wide-label textarea:focus { border-color:var(--primary); box-shadow:0 0 0 3px #185fb516; }
.field .help,.help { font-size:.8rem; line-height:1.65; border-left-color:#8caed2; background:#f2f6fb; color:#47627d; border-radius:0 6px 6px 0; padding:9px 12px; }
.field label .unit { font-size:.79rem; color:#536c85; font-weight:550; }
.segmented { gap:6px; } .seg { min-height:44px; border-radius:7px; font-size:.9rem; }
.btn { border-radius:8px; background:var(--primary); box-shadow:none; min-height:44px; font-size:.88rem; font-weight:650; line-height:1.5; }
.btn.secondary { background:#edf3fa; color:#1b4f85; border:1px solid #d7e3f0; } .btn:hover { filter:brightness(.96); } .btn-row { align-items:stretch; gap:9px; }
.btn:disabled { opacity:.55; cursor:not-allowed; }
.copybox { font-size:.82rem; line-height:1.7; border-radius:8px; background:#f5f8fc; border:1px solid #dfe8f3; overflow-wrap:anywhere; }
.copy-h { font-size:.88rem; font-weight:650; color:var(--navy); } .jrnl-mode { font-size:.73rem; min-height:36px; }
.warning,.toolnote { font-size:.85rem; line-height:1.65; border-radius:8px; }
.toolnote { border:1px solid #eadab5; background:#fff9ed; color:#614c28; padding:12px 15px; }
.toolnote.high { background:#fff3f2; color:#7c2b27; border-color:#edc9c4; }
.kindtag,.kindbadge,.pubbadge { font-size:.72rem; line-height:1.4; white-space:normal; }
.kind-offisiell,.kindtag.kind-offisiell { color:#265b8c; background:#edf4fc; }
.fav-btn { min-height:42px; font-size:.84rem; border-radius:8px; } .info-grid { gap:18px; }
.info-card { border-radius:12px; border:1px solid var(--line); box-shadow:none; } .info-card h2 { font-size:1.03rem; color:var(--navy); } .info-card p { font-size:.9rem; line-height:1.75; }
.field-error { display:block; color:#a01b25; font-size:.88rem; margin-top:5px; } .field-error:empty { display:none; } [aria-invalid="true"] { outline:2px solid #a01b25!important; }

/* Catalogues and long-form reading. */
.katalog-head { padding:30px 0 22px; background:transparent; } .katalog-head h1 { font-size:clamp(1.95rem,3vw,2.5rem); color:var(--navy); } .katalog-head p { font-size:.96rem; line-height:1.65; }
.cat-row { gap:8px; margin-top:20px; } .cat-pill { font-size:.82rem; padding:7px 11px; border-radius:7px; box-shadow:none; line-height:1.5; } .cat-pill-n { font-size:.72rem; }
.all-toolbar .searchbar { min-width:min(260px,100%); } .all-toolbar .searchbar input { height:48px; border-radius:8px; font-size:1rem; box-shadow:none; }
.kchip,.vchip { font-size:.82rem; min-height:40px; } .all-panel { padding:24px; } .section { padding-block:25px; }
.category-label { font-size:1.12rem; line-height:1.4; scroll-margin-top:100px; } .cat-intro { font-size:.9rem; line-height:1.6; }
.row-calc { border-radius:8px; padding:15px; gap:10px; transform:none!important; flex-wrap:wrap; box-shadow:none; }
.row-body { flex:1 1 170px; } .row-name { font-size:.96rem; line-height:1.4; } .row-desc { font-size:.82rem; line-height:1.5; white-space:normal; overflow:visible; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
.row-calc .kindtag { font-size:.69rem; } .row-arrow { margin-left:auto; } .mini-calc h3 { font-size:.92rem; } .mini-calc p { font-size:.84rem; }
.mostused-grid { gap:12px; } .mu-card { border-radius:10px; box-shadow:none; } .mu-name { font-size:1rem; line-height:1.4; } .mu-sub { font-size:.84rem; } .small { font-size:.84rem; }
.legal { max-width:85ch; margin-inline:auto; } .legal p,.legal li { font-size:1rem; line-height:1.8; } .legal a { color:var(--primary); text-decoration:underline; text-underline-offset:3px; } .legal h2 { margin-top:28px; line-height:1.4; }
.search-page { max-width:960px; padding-top:32px; padding-bottom:56px; min-height:65vh; } .search-page h1 { margin-bottom:24px; }
.search-page-controls { display:flex; align-items:center; flex-wrap:wrap; gap:10px; margin:16px 0 25px; font-size:.9rem; } .search-page-controls select { font-size:1rem; border:1px solid var(--line); border-radius:8px; min-height:44px; padding:8px 32px 8px 12px; background:white; max-width:100%; }
.search-page-results { margin-top:0; } .search-pagination { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:16px; margin-top:24px; font-size:.84rem; }

/* Footer: useful context, without competing with the tools. */
.home-about { border-top:1px solid var(--line); padding-block:32px 40px; display:grid; grid-template-columns:1fr 1fr; gap:60px; }
.home-about h2 { font-size:1.2rem; margin-bottom:12px; color:var(--navy); } .home-about p { font-size:.86rem; color:var(--muted); } .home-about .lk-eyebrow { font-size:.69rem; color:var(--primary); }
.home-about-links { display:flex; gap:18px; flex-wrap:wrap; margin-top:16px; font-size:.84rem; color:var(--primary); } .home-about-links a:hover { text-decoration:underline; }
.lk-footer { padding:32px 0 22px; background:#edf2f7; border-top:1px solid #d8e2ee; }
.lk-footer-grid { display:grid; grid-template-columns:1.8fr 1fr 1.2fr 1fr; gap:32px; } .lk-footer h2 { font-size:1.23rem; margin-bottom:10px; color:var(--navy); }
.lk-footer h3 { font-size:.83rem; margin-bottom:13px; color:var(--navy); } .lk-footer p,.lk-footer a { font-size:.82rem; color:#4b627b; line-height:1.6; } .lk-footer p { margin-bottom:10px; } .lk-footer a { margin:9px 0; }
.lk-footer a:hover { color:var(--primary); text-decoration:underline; } .lk-footer-about>a { color:var(--primary); margin-top:18px; }
.lk-footer-bottom { font-size:.76rem; color:#4c647e; border-top:1px solid #d4dfeb; padding-top:18px; margin-top:26px; max-width:var(--maxw); }
.lk-offline { padding:10px 24px; background:#fff5df; border-bottom:1px solid #eed49d; color:#75501c; text-align:center; font-size:.84rem; }

@media(max-width:1100px) {
  .lk-header-inner { min-height:72px; flex-wrap:wrap; padding-block:10px; gap:10px; }
  .lk-brand,.lk-brand img { width:208px; }
  .lk-js .lk-nav-toggle { display:flex; }
  .lk-nav { flex:0 0 100%; flex-wrap:wrap; gap:4px; padding:12px 0 4px; border-top:1px solid var(--line); }
  .lk-js .lk-nav { display:none; } .lk-js .lk-nav.is-open { display:flex; }
  .lk-nav>a { flex:1 1 42%; padding:12px; } .lk-nav-more { flex:0 0 100%; order:3; } .lk-nav-more>summary { padding:12px; }
  .lk-nav-dropdown { position:static; width:100%; box-shadow:none; border:0; background:#f1f5fb; display:grid; grid-template-columns:1fr 1fr; padding:8px; max-height:40vh; overflow:auto; }
  .lk-nav-more:not([open])>.lk-nav-dropdown { display:none; } .lk-nav-mobile-label { display:inline; } .lk-nav .lk-nav-search { margin-left:0; justify-content:center; }
  .home-workspace { grid-template-columns:minmax(0,1fr) 275px; gap:23px; }
  .home-finder { padding:25px; } .home-heading h1 { font-size:2.5rem; }
  .featured-grid { grid-template-columns:1fr; } .featured-tool { min-height:104px; }
  .lk-footer-grid { grid-template-columns:1.6fr 1fr 1fr; gap:28px; } .lk-footer-grid>div:last-child { grid-column:2 / -1; }
}
@media(max-width:800px) {
  .container { width:calc(100% - 36px); }
  .home-workspace { grid-template-columns:minmax(0,1fr); padding-top:24px; gap:28px; }
  .featured-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .home-sidebar { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:22px; }
  .desk-resources,.desk-note,.desk-preference { margin-top:0; }
  .two-col { grid-template-columns:minmax(0,1fr); }
  .result-panel { position:static; max-height:none; overflow:visible; }
  .result-summary { position:static; }
  .calc-list { grid-template-columns:1fr; }
  .home-about { gap:26px; } .lk-footer-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .lk-footer-grid>div:last-child { grid-column:auto; }
}
@media(max-width:520px) {
  .container { width:calc(100% - 28px); }
  .lk-header-inner { min-height:66px; gap:8px; } .lk-brand,.lk-brand img { width:187px; } .lk-nav-dropdown { grid-template-columns:1fr; }
  .lk-preview-banner { font-size:.72rem; } .lk-preview-banner>.container { gap:3px 9px; padding-block:7px; } .lk-preview-banner span { flex:1 1 190px; } .lk-preview-banner a { margin-left:0; }
  .home-workspace { padding-top:18px; padding-bottom:28px; }
  .home-finder { padding:23px 18px 18px; border-radius:12px; }
  .home-heading { margin-bottom:20px; } .home-heading .lk-eyebrow { font-size:.61rem; letter-spacing:.07em; } .home-heading h1 { font-size:2.35rem; max-width:17ch; }
  .home-heading>p:last-child { font-size:.87rem; line-height:1.6; margin-top:13px; }
  .finder-input-wrap { padding:5px 6px 5px 11px; gap:8px; min-height:56px; } .finder-input-wrap>.ico { width:18px; height:18px; } .finder-submit { padding-inline:13px; min-height:44px; } .finder-input-wrap input { font-size:1rem; }
  .finder-hint { font-size:.73rem; } .finder-hint>span { display:none; }
  .finder-filters { flex-wrap:nowrap; overflow-x:auto; overscroll-behavior-x:contain; padding:13px 0 5px; margin-top:14px; gap:4px; scrollbar-width:thin; scrollbar-color:#b8cadd transparent; }
  .finder-filters::-webkit-scrollbar { height:4px; } .finder-filters::-webkit-scrollbar-thumb { background:#b8cadd; border-radius:3px; }
  .finder-filter { flex-shrink:0; font-size:.78rem; padding:7px 9px; } .finder-filter span { display:none; }
  .finder-topics { gap:3px 13px; font-size:.73rem; margin-top:10px; } .finder-topics>span { display:none; }
  .featured-grid { grid-template-columns:1fr; gap:9px; } .featured-tool { padding:16px; min-height:108px; } .featured-body strong { font-size:1rem; }
  .home-section { margin-top:27px; } .lk-section-head { gap:12px; align-items:baseline; flex-wrap:wrap; } .lk-section-head>a { font-size:.78rem; }
  .workflow-grid { grid-template-columns:1fr; gap:8px; } .workflow-link { padding:16px; min-height:78px; } .workflow-link strong { font-size:.94rem; } .workflow-link small { font-size:.79rem; }
  .home-categories,.home-sidebar { grid-template-columns:1fr; } .desk-card-body { padding:20px; }
  .home-about { grid-template-columns:1fr; gap:18px; padding-block:25px 30px; }
  .finder-result { gap:9px; padding:14px 13px; flex-wrap:wrap; } .finder-result-main { flex:1 1 210px; } .finder-result>.lk-status { margin-right:auto; } .finder-results-head { padding:9px 11px; } .finder-arrow { display:none; }
  .lk-footer-grid { gap:24px 18px; } .lk-footer-about { grid-column:1 / -1; }
  .all-panel,.calc-panel,.result-panel { padding:18px; } .catalog-bar .all-toolbar { gap:12px; } .search-page-controls .btn { flex:1; }
  .row-calc { gap:9px; } .row-body { flex-basis:180px; } .row-arrow { display:none; }
  .lk-install { align-items:flex-start; flex-wrap:wrap; } .lk-install-x { min-width:36px; min-height:36px; }
  .tool-header { padding-top:23px; } .tool-section-nav { gap:0 15px; margin-top:17px; } .tool-section-nav a { font-size:.78rem; min-height:40px; }
  .calc-panel-heading { margin-bottom:20px; gap:10px; } .calc-panel-heading h2 { font-size:1rem; } .calc-panel-heading p { font-size:.76rem; }
  .result-value { font-size:2.45rem; } .result-panel-heading>span { font-size:.63rem; }
}
@media(max-width:360px) {
  .lk-brand,.lk-brand img { width:165px; }
  .lk-nav-toggle { padding:8px 10px; }
  .featured-tool { gap:10px; padding:14px; } .featured-icon { width:34px; height:38px; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; } *,*::before,*::after { animation-duration:.01ms!important; animation-iteration-count:1!important; transition-duration:.01ms!important; scroll-behavior:auto!important; }
}
@media print {
  .lk-header,.lk-footer,.lk-preview-banner,.home-sidebar,.finder-form,.finder-results-head,.finder-topics,.tool-section-nav,.search-pagination,.lk-install,.fav-btn,.desk-preference,.lk-offline { display:none!important; }
  body { background:white; color:black; } .container { width:100%; } .home-workspace,.home-about,.two-col { display:block; padding:0; }
  .home-finder,.home-section,.result-panel,.calc-panel { box-shadow:none; } .result-panel { position:static; max-height:none; overflow:visible; border:1px solid #bbb; }
  .result-summary { position:static; }
  .home-about { margin-top:24px; } .finder-result { break-inside:avoid; } a { color:inherit; }
}

/* Optional work profile. The server still owns all publication decisions. */
.profile-header-link { display:flex; align-items:center; gap:6px; margin-left:auto; color:var(--primary); font-size:.77rem; font-weight:650; white-space:nowrap; min-height:44px; }
.profile-header-link .ico { width:17px; height:17px; }
.profile-header-short { display:none; }
.profile-banner { display:flex; align-items:center; gap:16px; background:#eaf2fc; border:1px solid #c9dbef; border-radius:14px; padding:20px; margin-bottom:20px; }
.profile-symbol { display:grid; place-items:center; width:42px; height:46px; border:1px solid #c9dbef; background:#fff; color:var(--primary); border-radius:10px; flex-shrink:0; }
.profile-banner-copy { flex:1; min-width:0; }
.profile-banner-copy .lk-eyebrow { margin-bottom:4px; font-size:.61rem; }
.profile-banner h2 { font-size:1.04rem; color:var(--navy); letter-spacing:-.015em; }
.profile-banner-copy>p:last-child { font-size:.8rem; color:#385a7c; line-height:1.55; margin-top:6px; overflow-wrap:anywhere; }
.profile-banner-actions { display:flex; flex-direction:column; gap:5px; align-items:center; flex-shrink:0; }
.profile-primary { display:inline-flex; align-items:center; justify-content:center; gap:8px; background:#185fb5; color:#fff; border:1px solid #185fb5; border-radius:8px; min-height:44px; padding:10px 16px; font-size:.86rem; font-weight:650; line-height:1.4; text-decoration:none; }
.profile-primary:hover { background:#104b91; color:#fff; }
.profile-banner-actions>a { font-size:.76rem; color:#22588d; display:flex; align-items:center; gap:6px; min-height:36px; }
.profile-banner-actions>a .ico { width:13px; height:13px; }
.profile-banner-actions .text-button { font-size:.73rem; padding:4px 8px; }
.profile-status { font-size:.8rem; color:#345c7c; margin:0 0 16px; }
.profile-status:empty { display:none; }
.profile-dialog { border:1px solid #c9d8e7; border-radius:18px; background:#fff; color:var(--ink); width:min(720px,calc(100% - 32px)); max-width:none; max-height:calc(100dvh - 48px); padding:28px; margin:auto; box-shadow:0 20px 90px #102d4b40; overflow:auto; overscroll-behavior:contain; }
.profile-dialog::backdrop { background:#102d4b80; }
body:has(.profile-dialog:modal) { overflow:hidden; }
.profile-dialog-head { display:flex; align-items:flex-start; gap:16px; justify-content:space-between; }
.profile-dialog-head h2 { font-size:1.6rem; color:var(--navy); }
.profile-close { width:44px; height:44px; border:1px solid var(--line); background:#f4f7fb; color:#294d70; border-radius:9px; flex-shrink:0; font-size:1.6rem; }
.profile-dialog>p { font-size:.88rem; color:var(--muted); margin:12px 0 22px; }
.profile-fields { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.profile-fields>label { display:block; font-size:.86rem; font-weight:650; color:var(--navy); min-width:0; }
.profile-fields>label>span { display:inline; color:var(--muted); font-weight:400; }
.profile-fields select,.profile-areas>input { width:100%; min-width:0; min-height:46px; border:1px solid #b9cadd; border-radius:8px; padding:10px; font:inherit; font-weight:400; background:#fff; color:var(--ink); box-sizing:border-box; }
.profile-fields select { display:block; margin-top:7px; font-size:1rem; }
.profile-areas { border:0; padding:0; margin:22px 0 0; min-width:0; }
.profile-areas legend { font-size:.93rem; font-weight:700; color:var(--navy); width:100%; }
.profile-areas legend span { font-size:.76rem; font-weight:400; color:var(--muted); margin-left:8px; }
.profile-hint { font-size:.79rem; color:var(--muted); line-height:1.6; margin:8px 0 12px; }
.profile-areas>input { font-size:1rem; margin-bottom:10px; }
.profile-area-grid { display:grid; grid-template-columns:1fr 1fr; gap:7px; max-height:245px; overflow:auto; padding:5px 7px 5px 5px; margin:-5px; scrollbar-gutter:stable; }
.profile-area-option { display:flex; align-items:center; gap:9px; border:1px solid #dce5ef; border-radius:7px; min-height:44px; padding:8px 10px; background:#fff; font-size:.8rem; cursor:pointer; min-width:0; }
.profile-area-option:has(input:checked) { background:#ecf4ff; border-color:#83aad7; color:#164f91; }
.profile-area-option:focus-within { outline:2px solid #185fb5; outline-offset:1px; }
.profile-area-option>span { flex:1; min-width:0; overflow-wrap:anywhere; }
.profile-area-option>small { color:var(--muted); font-size:.66rem; }
.profile-area-option input,.profile-remember input { appearance:auto; -webkit-appearance:checkbox; accent-color:#185fb5; position:static; opacity:1; width:18px; height:18px; flex-shrink:0; margin:0; }
.profile-selected { display:flex; flex-wrap:wrap; gap:6px; }
.profile-selected:not(:empty) { margin:0 0 12px; }
.profile-chip { border:1px solid #adc7e4; background:#edf4fc; color:#19548e; border-radius:7px; padding:7px 9px; min-height:36px; font-size:.76rem; }
.profile-remember { display:flex; align-items:flex-start; gap:10px; padding:16px; background:#f5f8fc; border:1px solid var(--line); border-radius:9px; font-size:.86rem; margin-top:20px; }
.profile-remember input { margin-top:3px; }
.profile-remember span { min-width:0; }
.profile-remember small { display:block; font-size:.74rem; color:var(--muted); line-height:1.6; margin-top:4px; }
.profile-dialog-actions { display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin-top:22px; }
.profile-dialog-inline { position:static; width:100%; margin:20px 0; max-height:none; box-shadow:none; }
.profile-tool-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.profile-tool { display:flex; align-items:center; gap:12px; border:1px solid var(--line); border-radius:11px; background:white; padding:18px; min-height:120px; color:var(--navy); }
.profile-tool:hover { border-color:#83a8d2; background:#fcfdff; }
.profile-tool-body { display:flex; flex-direction:column; gap:6px; flex:1; min-width:0; }
.profile-tool-body>small { color:#46698e; font-size:.66rem; }
.profile-tool-body>strong { font-size:.94rem; line-height:1.4; overflow-wrap:anywhere; }
.profile-tool-body>span:not(.profile-tool-tags) { font-size:.78rem; color:var(--muted); line-height:1.5; }
.profile-tool-tags { display:flex; flex-wrap:wrap; gap:5px; margin-top:3px; }
.profile-tool-tags>.lk-status { font-size:.64rem; max-width:none; }
.profile-tool-arrow { color:var(--primary); flex-shrink:0; }
.profile-workflow { display:block; padding:16px; margin-top:14px; background:#edf3fb; border:1px solid #d1deef; border-radius:8px; color:#20558b; font-size:.85rem; }
.profile-empty { padding:20px; font-size:.9rem; color:var(--muted); border:1px dashed var(--line); border-radius:10px; }
.profile-empty a { text-decoration:underline; color:var(--primary); }
.profile-patient-info { background:#edf5fc; border:1px solid #cadfef; border-radius:9px; padding:18px; margin-top:22px; }
.profile-patient-info p { font-size:.85rem; margin-top:8px; }
.profile-patient-home { padding:30px; border:1px solid var(--line); border-radius:16px; background:#fff; }
.profile-patient-home h1 { font-size:2rem; margin:10px 0 16px; color:var(--navy); }
.profile-patient-home>p { color:var(--muted); max-width:65ch; }
.profile-patient-home ol { padding-left:22px; margin:18px 0 22px; font-size:.92rem; }
.profile-patient-home li { margin:8px 0; }
.home-workspace.is-patient-profile { grid-template-columns:minmax(0,900px); justify-content:center; }
.has-work-profile .home-finder { padding:22px; }
.has-work-profile .home-heading { margin-bottom:16px; }
.has-work-profile .home-heading h1 { font-size:1.65rem; }
.has-work-profile .home-heading>p:last-child,.has-work-profile .finder-topics { display:none; }
@media(min-width:1101px) and (max-width:1280px) { .lk-header-inner { gap:14px; } .lk-brand,.lk-brand img { width:190px; } .lk-nav>a,.lk-nav-more>summary { padding-inline:8px; font-size:.78rem; } }
@media(max-width:800px) { .profile-banner { padding:17px; gap:12px; } .profile-symbol { display:none; } }
@media(max-width:540px) {
  .profile-header-link { font-size:.75rem; gap:4px; min-width:44px; justify-content:center; } .profile-header-link .ico,.profile-header-label { display:none; }
  .profile-header-short { display:inline; }
  .lk-header-inner { gap:8px; } .profile-banner { align-items:stretch; flex-direction:column; gap:13px; }
  .profile-banner-actions { flex-direction:row; flex-wrap:wrap; justify-content:flex-start; gap:7px 16px; }
  .profile-banner-actions>a { min-height:44px; }
  .profile-dialog { width:calc(100% - 16px); max-height:calc(100dvh - 16px); border-radius:12px; padding:20px 16px; }
  .profile-dialog-head h2 { font-size:1.35rem; } .profile-dialog-head .lk-eyebrow { font-size:.6rem; }
  .profile-fields { grid-template-columns:1fr; gap:14px; }
  .profile-area-grid { grid-template-columns:1fr; max-height:220px; }
  .profile-tool-grid { grid-template-columns:1fr; } .profile-tool { min-height:100px; }
  .profile-patient-home { padding:22px; } .profile-patient-home h1 { font-size:1.6rem; }
  .profile-dialog-actions .profile-primary { width:100%; }
}
@media(max-width:360px) {
  .lk-header-inner { gap:6px; } .lk-brand,.lk-brand img { width:150px; }
  .lk-nav-toggle { width:44px; padding:8px; justify-content:center; gap:0; } .lk-nav-toggle>span { display:none; }
}
@media print { .profile-banner,.profile-status,.profile-dialog,.profile-header-link { display:none!important; } .profile-tool { break-inside:avoid; box-shadow:none; } }

/* v110: keyboard-selected search suggestion. */
.finder-result.is-active {outline:2px solid var(--primary);outline-offset:-2px;background:#eef7f6;}

/* v112: local history controls and visible keyboard focus. */
.recent-controls { margin-top:16px; border-top:1px solid var(--line); padding-top:12px; }
.recent-controls label { display:flex; align-items:center; gap:8px; min-height:44px; }
.recent-controls button { min-height:44px; }
.recent-controls p { margin:6px 0; }
.recent-controls [data-recent-status]:empty { display:none; }
#resultPanel:focus-visible { outline:3px solid var(--primary); outline-offset:4px; }
@media print { .recent-controls { display:none!important; } }

/* v113: keyboard focus and recoverable technical failure. */
#resultPanel:focus, #calculatorStatus:focus { outline:3px solid #1766be; outline-offset:5px; }
.calculator-status:not([hidden]) { padding:12px; margin:12px 0; border:2px solid #8b4200; border-radius:8px; background:#fff6e8; color:#542800; }
.segmented [data-seg-btn]:focus-visible { outline:3px solid #1766be!important; outline-offset:3px; position:relative; z-index:1; }
.recent-controls input[type="checkbox"] { width:22px; height:22px; flex-shrink:0; }
@media (max-width:600px) { .recent-controls button { width:100%; text-align:left; } }
@media print { #calculatorStatus, #reloadCalculator { display:none!important; } }

/* v115: compact clinical directory; no new fonts, tracking or storage. */
.home-heading h1{font-size:clamp(1.9rem,3vw,2.65rem);max-width:none;letter-spacing:-.035em}
.home-heading>p:last-child{max-width:64ch}
.home-finder{box-shadow:none}
.library-shortcuts{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 6px}
.library-shortcuts a{display:inline-flex;align-items:center;min-height:44px;padding:8px 13px;border:1px solid var(--line);border-radius:7px;background:#fff;color:var(--navy);font-size:.88rem;font-weight:650;text-decoration:none}
.library-shortcuts a:hover{border-color:var(--primary);background:var(--primary-light)}
.featured-tool{min-height:100px;padding:14px;border-radius:8px;box-shadow:none}
.home-section{margin-top:25px}
.checklist-toolbar{display:grid;grid-template-columns:minmax(180px,2fr) minmax(160px,1.3fr) minmax(120px,.8fr) auto;gap:14px;align-items:end;padding:20px;background:#fff;border:1px solid var(--line);border-radius:10px}
.checklist-toolbar label{display:grid;gap:6px;font-size:.9rem;font-weight:600;min-width:0}
.checklist-toolbar input,.checklist-toolbar select{width:100%;min-height:44px;border:1px solid #aebdcb;background:#fff;border-radius:6px;padding:9px 11px;color:var(--ink);font-size:1rem;box-sizing:border-box}
.checklist-toolbar button{min-height:44px;white-space:nowrap}
.checklist-count{margin:20px 0 12px;color:var(--muted)}
.checklist-row{border-radius:6px;box-shadow:none}
.checklist-category{display:block;font-size:.78rem;color:var(--muted);margin-top:4px}
.checklist-group{margin-bottom:24px}
.checklist-group h2{font-size:1.18rem;margin:18px 0 10px}
.checklist-about{margin-top:28px;border-top:1px solid var(--line);padding-top:18px}
.checklist-about summary{cursor:pointer;font-weight:650;min-height:44px}
.checklist-about .veil-about{margin-top:14px}
@media(max-width:850px){.checklist-toolbar{grid-template-columns:1fr 1fr}.checklist-toolbar label:first-child{grid-column:1/-1}}
@media(max-width:520px){.checklist-toolbar{grid-template-columns:minmax(0,1fr);padding:15px}.library-shortcuts a{flex:1 1 42%;justify-content:center}.checklist-row .row-desc{display:block}.checklist-row{align-items:flex-start}.home-heading h1{max-width:none}}

/* v116 optional account controls */
.account-page{max-width:850px}.account-form{display:grid;gap:16px;max-width:530px;margin:24px 0;padding:24px;border:1px solid var(--line);border-radius:10px;background:#fff}
.account-form label{display:grid;gap:7px;font-weight:600}.account-form input:not([type=checkbox]):not([type=hidden]){min-height:44px;font:inherit;padding:9px;border:1px solid #9bafc1;border-radius:6px;width:100%;box-sizing:border-box}
.account-form .account-consent{display:block;font-weight:400}.account-consent input{margin-right:8px}.account-panel{margin:25px 0;padding:20px;border:1px solid var(--line);border-radius:8px;background:#fff}.account-panel h2{font-size:1.2rem}
.account-inline{display:inline-block;margin:8px 8px 8px 0}.account-actions{display:flex;gap:12px;flex-wrap:wrap}.account-message:empty{display:none}.account-message{padding-top:12px;color:var(--navy)}
.account-panel summary{cursor:pointer;min-height:44px;font-weight:650}

/* v117 visual layer — no clinical logic */
:root{--navy:#101d40;--ink:#26364b;--bg:#f1f6fd;--line:#d6e1ee;--primary:#1459a5;--radius:18px}
.site-header.lk-header{background:#fff}.lk-brand,.lk-brand img{width:245px}.home-workspace{padding-top:18px}.home-finder,.has-work-profile .home-finder{padding:0;background:transparent;border:0;box-shadow:none}.finder-input-wrap{border-radius:32px;border-color:#aab9cc;min-height:54px}.finder-submit{border-radius:24px}.finder-hint{margin:6px 8px 12px}.v117-hero{display:grid;grid-template-columns:1fr 1fr;align-items:center;background:linear-gradient(125deg,#e9efff,#d4e6ff);border-radius:20px;overflow:hidden;margin:12px 0 16px;padding:20px 12px 20px 24px;min-height:220px}.v117-hero h1{font-size:clamp(2rem,4vw,3.6rem);line-height:1.02;font-weight:800;letter-spacing:-.055em}.v117-hero p{font-size:clamp(.9rem,1.5vw,1.15rem);line-height:1.4}.v117-hero img{width:100%;max-height:260px}.library-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0}.library-shortcuts a{justify-content:flex-start;gap:12px;padding:14px;border-radius:15px;min-height:86px;font-size:1.05rem;font-weight:750;line-height:1.25}.v117-icon,.featured-icon,.row-ico,.cat-dot{display:grid;place-items:center;flex-shrink:0;background:linear-gradient(145deg,#e5f1ff,#c5dfff);color:#103967;border-radius:16px;width:60px;height:60px;border:0}.v117-icon img,.v117-icon .ico,.featured-icon .ico,.row-ico .ico,.cat-dot .ico{width:42px;height:42px}.library-shortcuts a:nth-child(2) .v117-icon,.library-shortcuts a:nth-child(3) .v117-icon,.featured-tool:nth-child(2) .featured-icon{background:linear-gradient(145deg,#e5f8f4,#c4ebe6);color:#007d79}.finder-topics{margin:8px 0}.home-section[data-default-featured]{background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px;margin-top:16px}.featured-grid{display:grid;grid-template-columns:1fr;gap:0}.featured-tool{border:0;border-top:1px solid var(--line);border-radius:0;min-height:86px;padding:12px 0;align-items:center}.featured-tool:after{content:'›';font-size:26px;color:#40566f}.featured-body strong{font-size:1.1rem;font-weight:750}.featured-body>span{font-size:.85rem}.featured-body>.featured-category{font-size:.68rem}.lk-section-head h2{font-size:1.35rem}.workflow-link,.desk-card,.calc-panel,.result-panel,.all-panel,.info-panel,.ft-panel,.profile-banner{border-radius:18px}.workflow-link>.ico:first-child,.home-category .ico{width:32px;height:32px;color:#1459a5}.row-calc{border-radius:15px}.v117-tool-title{display:flex;align-items:center;gap:16px;margin:14px 0}.v117-tool-title h1{margin:0}.tool-header{background:linear-gradient(125deg,#eaf1ff,#f5faff);border-radius:20px;padding:22px;margin-top:16px}.calc-panel-heading>span{width:52px;height:52px;border-radius:14px}.calc-panel-heading .ico{width:32px;height:32px}.toolnote{overflow-wrap:anywhere}.lk-nav-toggle .ico{width:25px;height:25px}
@media(max-width:800px){.home-workspace{padding-top:10px}.lk-brand,.lk-brand img{width:205px}.v117-hero{min-height:180px;padding:14px 8px 14px 16px}.v117-hero h1{font-size:clamp(1.8rem,7vw,3rem)}.library-shortcuts a{min-height:78px;padding:9px;gap:9px;font-size:.95rem}.v117-icon,.featured-icon,.row-ico,.cat-dot{width:50px;height:50px;border-radius:13px}.v117-icon img,.v117-icon .ico,.featured-icon .ico,.row-ico .ico,.cat-dot .ico{width:35px;height:35px}.tool-header{padding:16px}.finder-input-wrap input{font-size:.92rem}.home-section[data-default-featured]{padding:12px}.featured-tool{gap:10px}.featured-body strong{font-size:1rem}.lk-header-inner{gap:6px}.profile-header-link{margin-left:auto}.lk-nav-toggle{padding:7px}.lk-nav-toggle>span{display:none}}
@media(max-width:380px){.lk-brand,.lk-brand img{width:175px}.library-shortcuts a{font-size:.85rem;gap:6px}.library-shortcuts .v117-icon{width:42px;height:42px}.v117-hero h1{font-size:1.75rem}}
@media print{.v117-hero,.library-shortcuts{display:none}.tool-header{background:white;padding:0}.v117-tool-title .v117-icon{display:none}}

/* Compact home and narrow checklist fixes */
.is-home main>aside.toolnote{margin:8px auto 0;padding:7px 12px;font-size:.73rem;line-height:1.4}.finder-filters{margin-top:8px;padding-top:6px}.finder-form:not(:focus-within):has(#frontSearch:placeholder-shown) .finder-filters{display:none}.finder-form:focus-within .finder-filters{display:flex}.v117-hero h1 br{display:block}.checklist-row .row-body{min-width:0;overflow-wrap:anywhere}.checklist-toolbar select{min-width:0;max-width:100%}.checklist-group,.checklist-browser,.checklist-row{min-width:0;max-width:100%}@media(max-width:380px){.checklist-row .row-body{flex-basis:120px}.checklist-row .row-desc{overflow-wrap:anywhere}.checklist-toolbar button{white-space:normal}}

/* v118 illustration tiles */
.lk-visual-icon{display:block;width:72px;height:72px;object-fit:contain;flex-shrink:0}.featured-icon,.row-ico,.cat-dot,.v117-tool-title .v117-icon{background:none;width:72px;height:72px}.v117-tool-title .v117-icon,.v117-tool-title .lk-visual-icon{width:88px;height:88px}.home-categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.home-category{background:white;border:1px solid var(--line);border-radius:18px;padding:12px;align-items:flex-start;min-width:0}.home-category>span{flex-direction:column;align-items:flex-start;gap:8px;overflow-wrap:anywhere;min-width:0}.home-category small{flex-shrink:0}.workflow-link>.lk-visual-icon{width:56px;height:56px}.cat-pill-ico .lk-visual-icon{width:48px;height:48px}.finder-input-wrap{position:relative}.library-shortcuts .v117-icon{width:68px;height:68px}.library-shortcuts .v117-icon img{width:52px;height:52px}.featured-tool{min-height:96px}.tool-title{overflow-wrap:anywhere;min-width:0}@media(max-width:800px){.home-categories{grid-template-columns:repeat(2,minmax(0,1fr))}.lk-visual-icon,.featured-icon,.row-ico,.cat-dot{width:56px;height:56px}.v117-tool-title .v117-icon,.v117-tool-title .lk-visual-icon{width:66px;height:66px}.library-shortcuts .v117-icon{width:48px;height:48px}.library-shortcuts .v117-icon img{width:40px;height:40px}.workflow-link>.lk-visual-icon{width:44px;height:44px}}@media print{.lk-visual-icon{display:none}}

/* v119: persistent navigation and system theme */
.v119-global-search{display:flex;gap:8px;width:min(680px,92%);margin:0 auto 8px}.v119-global-search input{min-width:0;flex:1;border:1px solid var(--line);border-radius:14px;padding:8px 14px;background:var(--card);color:var(--ink);font-size:16px}.v119-global-search button{border:0;border-radius:12px;background:#185fb5;color:white;padding:8px 18px;font-weight:700}.finder-results{margin-top:8px}.finder-result{scroll-margin-top:120px}html{scroll-padding-top:150px}.lk-visual-icon{object-fit:contain}.row-ico .lk-visual-icon{width:100%;height:100%}
@media(prefers-color-scheme:dark){:root{color-scheme:dark;--primary:#8fc2ff;--primary-2:#a6ceff;--navy:#e8f1ff;--ink:#e1eaf5;--muted:#aebed1;--bg:#101923;--card:#1b2938;--soft:#223448;--line:#3a4c60;--shadow:none;--shadow-soft:none}body,.site-header.lk-header{background:var(--bg);color:var(--ink)}.lk-brand img{background:white;border-radius:8px;padding:3px}.home-section[data-default-featured],.home-category,.library-shortcuts a,.finder-results,.finder-input-wrap,.finder-results-head,.lk-nav,.lk-nav-dropdown,.workflow-link,.desk-card,.calc-panel,.result-panel,.all-panel,.info-panel,.info-card,.ft-panel,.profile-banner,.row-calc,.finder-result,.finder-filter,.searchbar input,.tool-header,.v117-hero,.lk-footer{background:var(--card);color:var(--ink);border-color:var(--line)}.v117-hero,.tool-header{background:linear-gradient(125deg,#23364e,#182635)}.lk-nav>a,.lk-nav-more>summary,.finder-input-wrap input,.featured-body>span,.tool-desc,.finder-hint,.finder-result-main span,.finder-result-main small,.home-heading p{color:var(--ink)}.finder-input-wrap input{background:transparent}.finder-result:hover,.finder-result.is-active,.lk-nav a:hover{background:var(--soft);color:var(--ink)}.finder-submit{background:#185fb5;color:white}.calc-panel input,.calc-panel select,.calc-panel textarea{background:var(--card);color:var(--ink);border-color:var(--line)}.toolnote{background:#fff3d7;color:#513700}.toolnote a{color:#164e91}}
@media print{.v119-global-search{display:none!important}:root{color-scheme:light;--ink:#111;--navy:#111;--card:#fff;--bg:#fff}body{background:white;color:black}}

/* v120: readable calculator surfaces and keyboard focus */
:where(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #2679d8;outline-offset:3px}
@media(prefers-color-scheme:dark){.result-summary,.field .help,.help,.copybox,.calc-panel-heading>span,.result-panel-heading>span,.btn.secondary,.desk-note,.kilde-lenke{background:var(--soft);color:var(--ink);border-color:var(--line)}.breadcrumb,.breadcrumb a,.tool-section-nav a,.field label .unit,.desk-links .personal-chip,.desk-personal h3,.desk-note p,.result-panel-heading>span{color:var(--muted)}.field input,.field select,.wide-label textarea{background:var(--card);color:var(--ink);border-color:var(--line)}.btn:not(.secondary){background:#185fb5;color:#fff}.calc-panel-heading{border-color:var(--line)}.tool-section-nav a:hover{color:var(--primary)}.result-summary{border-color:var(--line)}.lk-visual-icon{background:#f5f8fc;border-radius:14px}:where(a,button,input,select,textarea,summary):focus-visible{outline-color:#a6ceff}}

@media(prefers-color-scheme:dark){.seg:not(.is-active){background:var(--soft);color:var(--ink);border-color:var(--line)}.seg.is-active{background:#185fb5;color:#fff;border-color:#8fc2ff}}

.lk-order-row{display:flex;align-items:center;gap:.6rem;padding:.55rem 0;border-bottom:1px solid currentColor}.lk-order-row a{flex:1;min-width:0;overflow-wrap:anywhere}.lk-order-row button{min-width:44px;min-height:44px}#lkWorkspace{margin-bottom:1rem}#lkWorkspace[hidden]{display:none!important}

.lk-collection-controls{display:flex;flex-wrap:wrap;gap:12px;align-items:end}.lk-collection-controls label{display:grid;gap:4px;min-width:0;max-width:100%}.lk-collection-controls select{max-width:100%;min-height:44px;color:var(--ink);background:var(--card);border:1px solid var(--line)}#lkCollections{margin-bottom:1rem}#lkCollections[hidden],#lkMost[hidden]{display:none!important}

/* v128: respect reduced motion and make hidden radio focus visible. */
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto !important; }
 *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
.score-toggle input:focus-visible + span { outline: 3px solid #2679d8; outline-offset: 3px; }
@media (prefers-color-scheme: dark) { .score-toggle input:focus-visible + span { outline-color: #a6ceff; } }
