/* Hallmark · existing LUMOS day theme · product detail pages */
/* Layout pairs a readable task and the real, full-size interface capture. */
html:has(.tool-page), body.tool-page { overflow-x: clip; }
body.tool-page { color: var(--ink); background: var(--day); }
.tool-page a:not(.btn) { text-underline-offset: .23em; }
.tool-page .btn { white-space: normal; text-align: center; }
.tool-bar, .tool-foot { border-block-end: 1px solid var(--line); }
.tool-nav, .tool-foot > div, .tool-foot nav, .hero-actions { display: flex; align-items: center; gap: var(--sp-300); }
.tool-nav { min-height: 76px; }
.tool-nav .brand { margin-right: auto; color: var(--ink); }
.tool-nav .brand-word { color: inherit; }
.tools-link, .tool-foot a { text-decoration: none; }
.tools-link:hover, .tool-foot a:hover { text-decoration: underline; }
.tool-hero, .tool-section { display: grid; gap: clamp(2rem, 6vw, 5rem); }
.tool-hero { grid-template-columns: minmax(0, 1fr) minmax(0, .84fr); align-items: center; padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.tool-page h1, .tool-page h2 { min-width: 0; overflow-wrap: break-word; letter-spacing: -.045em; line-height: 1.03; font-weight: 600; }
.tool-page h1 { font-size: clamp(2.8rem, 5.5vw, 5rem); }
.tool-page h2 { font-size: clamp(2rem, 3.6vw, 3.3rem); }
.lead { margin-block: 1.5rem 2rem; max-width: 34rem; color: var(--ink-2); font-size: clamp(1.15rem, 1.65vw, 1.5rem); line-height: 1.45; }
.hero-actions { flex-wrap: wrap; gap: .9rem 1.4rem; font-weight: 600; }
.tool-figure { min-width: 0; }
.shot-stage { display: flex; justify-content: center; align-items: flex-start; height: clamp(21rem, 37vw, 29rem); padding: 1.75rem 1rem 0; overflow: hidden; background: var(--day-2) url('assets/plan-light.webp') center / cover; border: 1px solid var(--line); border-radius: .85rem; }
.shot-stage img { flex: none; width: min(100%, 18rem); height: auto; border: 1px solid var(--line-strong); box-shadow: 0 6px 28px var(--line-strong); }
.tool-figure figcaption { display: flex; justify-content: space-between; gap: .5rem; flex-wrap: wrap; margin-block-start: .65rem; font-size: .875rem; color: var(--ink-2); }
.tool-band { background: var(--day-surface); border-block: 1px solid var(--line); }
.tool-section { padding-block: clamp(2.75rem, 6vw, 5.5rem); grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); scroll-margin-block-start: 1rem; }
.reading, .tool-steps, .section-note { font-size: 1.0625rem; line-height: 1.65; }
.reading > * + *, .section-note { margin-block-start: 1.2rem; }
.reading .context-note, .section-note { color: var(--ink-2); }
.context-note { border-inline-start: 3px solid var(--lamp); padding-inline-start: 1rem; }
.sheet-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.sheet-table caption { text-align: left; font-size: .9rem; color: var(--ink-2); margin-bottom: .5rem; }
.sheet-table :is(td,th) { padding: .6rem .4rem; border-bottom: 1px solid var(--line); text-align: left; }
.sheet-table tbody th { font-weight: 500; }
.sheet-table thead { background: var(--day-2); }
.tool-steps { list-style: decimal; padding-inline-start: 1.5rem; }
.tool-steps li + li { margin-top: 1.2rem; }
.tool-steps li::marker { color: var(--ink-2); }
.text-link { display: inline-block; font-weight: 600; }
.tool-foot > div { padding-block: 2rem; justify-content: space-between; flex-wrap: wrap; }
.tool-foot nav { flex-wrap: wrap; gap: .75rem 1.25rem; font-size: .9rem; color: var(--ink-2); }
@media (max-width: 720px) {
  .tool-nav { min-height: 64px; gap: .8rem; }
  .tool-nav .tools-link { font-size: .875rem; }
  .tool-hero, .tool-section { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .shot-stage { height: 22rem; }
}
@media (max-width: 380px) {
  .tool-nav { flex-wrap: wrap; padding-block: .55rem; gap: .5rem; }
  .tool-nav .brand { gap: .25rem; }
  .tool-nav .btn { padding-inline: .6rem; }
}
/* Long-form project browser guide */
.manager-guide { padding-block: clamp(2.75rem, 6vw, 5rem); background: var(--day-surface); border-block-start: 1px solid var(--line); }
.guide-layout { display: grid; grid-template-columns: minmax(12rem, .55fr) minmax(0, 1.6fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.guide-toc { position: sticky; top: 1rem; display: grid; gap: .65rem; font-size: 1rem; }
.guide-toc p { margin-bottom: .25rem; font-weight: 700; }
.guide-toc a { width: fit-content; }
.guide-copy { max-width: 45rem; font-size: 1.0625rem; line-height: 1.7; }
.guide-copy section { scroll-margin-top: 1.5rem; }
.guide-copy section + section { margin-top: 3rem; border-block-start: 1px solid var(--line); padding-top: 2.5rem; }
.guide-copy h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.12; }
.guide-copy h3 { font-size: 1.35rem; margin-top: 1.75rem; line-height: 1.35; }
.guide-copy p, .guide-copy table, .guide-shot { margin-top: 1rem; }
.guide-copy p { text-wrap: initial; }
.guide-copy .context-note { color: var(--ink-2); }
.guide-shot { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); align-items: end; gap: 1rem; }
.guide-shot img { border: 1px solid var(--line-strong); border-radius: .35rem; }
.guide-shot figcaption { color: var(--ink-2); font-size: .875rem; line-height: 1.5; }
@media(max-width: 760px) {
  .guide-layout { grid-template-columns: minmax(0, 1fr); }
  .guide-toc { position: static; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
  .guide-shot { display: block; }
  .guide-shot img { width: min(100%, 15rem); }
  .guide-shot figcaption { margin-top: .5rem; }
}

.article-index { padding-block: clamp(3rem, 8vw, 7rem); }
.article-index h1 { margin-bottom: clamp(2rem, 6vw, 5rem); }
.article-entry { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: baseline; border-top: 1px solid var(--line); padding-block: clamp(1.75rem, 4vw, 3.25rem); }
.article-entry h2 { font-size: clamp(1.8rem, 3.5vw, 3.1rem); }
.article-entry p { max-width: 37rem; color: var(--ink-2); font-size: 1.125rem; line-height: 1.55; }
.article-entry a { color: inherit; text-decoration-thickness: 1px; }
@media (max-width: 720px) { .article-entry { grid-template-columns: 1fr; gap: .85rem; } }
