:root {
  color-scheme: light;
  --paper: #f7f8f4;
  --white: #fff;
  --ink: #17251e;
  --muted: #515e55;
  --line: #e0e5dd;
  --green: #376242;
  --lime: #defaa4;
  --content-max: 1176px;
  font-family: "Inter", "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  font-size: 100%;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; }
body { margin: 0; color: var(--ink); background: var(--paper); line-height: 1.55; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button, select { cursor: pointer; }
button { background: none; }
button:disabled { opacity: .58; cursor: wait; }
:focus-visible { outline: 3px solid #63853c; outline-offset: 3px; }
[hidden] { display: none !important; }
.icon { flex-shrink: 0; width: 1.15em; height: 1.15em; vertical-align: middle; }
.wrap { width: min(100% - 112px, var(--content-max)); margin-inline: auto; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 10; padding: 12px; inset: 6px auto auto 6px; background: var(--white); }
.header { border-bottom: 1px solid var(--line); background: #fbfcf9; }
.header-inner { display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; font-size: 1.45rem; font-weight: 790; line-height: 1; letter-spacing: -.074em; }
.brand-dot { color: #587b47; padding-inline: 1px; }
.brand-mark { width: 30px; height: 30px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5px; padding: 7px; border-radius: 8px; background: #20352a; }
.brand-mark i { border-radius: 1px; background: #defaa4; }
.brand-mark i:last-child { clip-path: polygon(0 0, 48% 0, 48% 50%, 100% 50%, 100% 100%, 0 100%); }
.top-nav { display: flex; align-items: center; gap: 28px; }
.top-nav a { display: flex; align-items: center; gap: 7px; color: #455349; font-size: .875rem; font-weight: 640; min-height: 36px; white-space: nowrap; }
.top-nav a:hover, .top-nav a[aria-current] { color: #20352a; }
.top-nav .saved-nav { border: 1px solid #d9e2d8; padding: 6px 12px; border-radius: 8px; }
.top-nav .saved-nav[aria-current], .top-nav .saved-nav:hover { background: #e8efdf; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .81fr); gap: 70px; align-items: center; padding-block: 64px 65px; }
.hero-note { display: inline-flex; align-items: center; gap: 8px; color: #435843; font-size: .75rem; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
.hero-note span { width: 7px; height: 7px; border: 1px solid #6d8a4d; border-radius: 50%; background: #c9ea92; }
.hero h1 { font-size: clamp(3.25rem, 6.4vw, 5.85rem); line-height: .99; font-weight: 780; letter-spacing: -.088em; margin: 16px 0 20px; }
.hero h1 em { color: #365d43; font-style: normal; }
.hero-copy > p { font-size: 1.0625rem; color: var(--muted); line-height: 1.62; margin: 0 0 25px; }
.search { display: flex; align-items: center; height: 54px; gap: 12px; width: 100%; max-width: 500px; border: 1px solid #d7dfd4; border-radius: 10px; padding: 0 13px 0 16px; background: var(--white); box-shadow: 0 3px 8px #18291d09; }
.search > .icon { color: #46654c; width: 19px; height: 19px; }
.search:focus-within { border-color: #73966b; box-shadow: 0 0 0 3px #dcebd8; }
.search input { min-width: 0; width: 100%; border: 0; background: transparent; padding: 0; height: 100%; outline: 0; }
.search input::placeholder { color: #617064; }
input[type=search]::-webkit-search-cancel-button { display: none; }
.search-key { background: #f3f5f0; border: 1px solid #e0e7da; border-radius: 5px; padding: 1px 7px; color: #687669; font-size: .8rem; }
.clear-search { border: 0; padding: 4px; border-radius: 4px; }
.clear-search:hover { background: #eef1ea; }
.quick { display: flex; flex-wrap: wrap; gap: 7px 8px; align-items: center; margin-top: 12px; font-size: .81rem; }
.quick > span { color: #5a665d; margin-right: 3px; }
.hero-art { min-width: 0; width: 100%; height: 351px; position: relative; border: 1px solid #d8e7c9; border-radius: 21px; overflow: hidden; color: #244331; background: radial-gradient(circle at 55% 45%, #eaf5d4 0, #e1eec9 58%, #e7f0d7 100%); isolation: isolate; }
.art-grid { position: absolute; inset: 0; background-image: linear-gradient(to right, #7eac5724 1px, transparent 1px), linear-gradient(to bottom, #7eac5724 1px, transparent 1px); background-size: 32px 32px; mask-image: radial-gradient(ellipse at 55% 49%, #000 45%, transparent 94%); }
.orb { position: absolute; border: 1px solid #9dbd74a6; border-radius: 50%; width: 62%; aspect-ratio: 1; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.orb-two { width: 80%; border-color: #8db06250; }
.art-tile { position: absolute; display: grid; place-items: center; border-radius: 20%; aspect-ratio: 1; box-shadow: 0 12px 24px #2944222b, inset 0 0 0 1px #ffffff4d; }
.art-tile .icon { width: 48%; height: 48%; stroke-width: 1.55; }
.art-type { width: 21%; min-width: 72px; top: 15%; left: 21%; transform: rotate(-13deg); background: #f7f9ee; }
.art-type span { font-size: clamp(1.7rem, 3.4vw, 3.35rem); font-weight: 690; letter-spacing: -.1em; line-height: 1; margin-right: .12em; }
.art-picture { width: 25%; min-width: 84px; top: 18%; right: 17%; transform: rotate(12deg); background: #f4f8e9; }
.art-braces { width: 22%; min-width: 72px; bottom: 13%; left: 18%; transform: rotate(9deg); background: #2b4736; color: #eff7db; }
.art-spark { z-index: 1; width: 29%; min-width: 96px; top: 32%; left: 37%; transform: rotate(-11deg); background: #dcf89f; color: #264631; }
.art-percent { width: 19%; min-width: 63px; bottom: 14%; right: 16%; transform: rotate(13deg); background: #eaf2d9; }
.art-cross { width: 18px; height: 18px; position: absolute; }
.art-cross::before, .art-cross::after { content: ''; background: #729557; position: absolute; inset: 8px 0; border-radius: 2px; }
.art-cross::after { transform: rotate(90deg); }
.cross-one { top: 20%; right: 12%; scale:.75; }
.cross-two { bottom: 29%; left: 10%; }
.art-dot { position: absolute; bottom: 20%; right: 10%; width: 7px; height: 7px; border-radius: 50%; background: #7c9a60; }
.directory { border-top: 1px solid var(--line); background: #fbfcf9; padding: 25px 0 58px; }
.category-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 37px; }
.category-button { display: inline-flex; gap: 7px; align-items: center; border: 1px solid #e1e6de; color: #425147; border-radius: 8px; padding: 8px 13px; min-height: 39px; font-size: .875rem; font-weight: 650; background: #fff; }
.category-button:hover { background: #f0f5ed; border-color: #c9d6c5; }
.category-button[aria-pressed=true] { color: #f9fcf4; background: #223a2d; border-color: #223a2d; }
.category-button[aria-pressed=true] .icon { color: #dcf8a5; }
.section-title { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 14px; }
.section-title h2 { margin: 0; font-size: 1.55rem; line-height: 1.2; letter-spacing: -.045em; }
.link-button { display: inline-flex; align-items: center; gap: 4px; border: 0; padding: 3px 0; font-weight: 650; font-size: .875rem; color: #376043; }
.link-button:hover { text-decoration: underline; text-underline-offset: 3px; }
.link-button .icon { width: .9rem; height: .9rem; }
.tool-count { color: var(--muted); font-size: .875rem; font-variant-numeric: tabular-nums; }
.tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.tool-card { position: relative; min-height: 137px; border: 1px solid #e0e6df; border-radius: 12px; padding: 14px 15px 15px; background: var(--white); transition: border-color .15s, box-shadow .15s; }
.tool-card:hover, .tool-card:focus-within { border-color: #b7c9ae; box-shadow: 0 5px 16px #223b2810; }
.card-top { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; }
.tool-icon { height: 36px; width: 36px; display: inline-grid; place-items: center; flex: 0 0 auto; border: 1px solid #263c2310; color: #354f3a; border-radius: 8px; }
.tool-icon .icon { width: 19px; height: 19px; }
.tint-images { background: #e9f2df; color: #365b36; }
.tint-ai { background: #e4f5c9; color: #355337; }
.tint-text { background: #f0eafa; color: #60447d; }
.tint-files { background: #e8eff9; color: #37557c; }
.tint-calculators { background: #faefdb; color: #74582e; }
.tint-generators { background: #f5e9e6; color: #794c43; }
.ai-label { border: 1px solid #dfe9d6; border-radius: 5px; color: #3f6144; background: #f1f7ed; font-size: .72rem; font-weight: 730; line-height: 1; padding: 4px 6px; }
.bookmark { background: transparent; color: #647267; border: 1px solid transparent; border-radius: 6px; padding: 5px; position: relative; z-index: 2; margin-left: auto; line-height: 1; }
.bookmark:hover { background: #f1f5ef; border-color: #e1e8df; }
.bookmark[aria-pressed=true] { color: #365d43; }
.bookmark[aria-pressed=true] .icon { fill: #c9e298; }
.tool-card h3 { margin: 0 0 3px; padding-right: 12px; font-size: 1.0625rem; line-height: 1.3; letter-spacing: -.025em; }
.tool-card p { color: var(--muted); margin: 0; font-size: .875rem; line-height: 1.4; padding-right: 18px; }
.card-link::after { position: absolute; content: ''; inset: 0; border-radius: 12px; }
.card-indicator { position: absolute; right: 15px; bottom: 17px; color: #79877b; line-height: 1; }
.card-indicator .icon { width: 15px; height: 15px; }
#all-section { scroll-margin: 24px; }
#featured-section:not([hidden]) + #all-section { margin-top: 42px; }
.empty-state { text-align: center; padding: 36px 20px; border: 1px dashed #cfd9ce; background: var(--white); border-radius: 12px; }
.empty-state h3 { margin: 10px 0 0; }
.empty-state p { margin: 5px 0 16px; color: var(--muted); }
.privacy-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; color: #4a5f4c; background: #edf3e7; border-radius: 9px; margin-top: 34px; padding: 13px 15px; font-size: .875rem; }
.privacy-strip a { color: #315b39; text-decoration: underline; text-underline-offset: 3px; margin-left: 4px; }
.footer { border-top: 1px solid var(--line); padding: 27px 0 30px; background: #f2f5ee; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.footer .brand { font-size: 1.3rem; }
.footer .brand-mark { width: 25px; height: 25px; padding: 6px; }
.footer p { color: var(--muted); margin: 8px 0 0; font-size: .875rem; }
.footer nav { display: flex; flex-wrap: wrap; gap: 22px; font-size: .875rem; color: var(--muted); }
.footer nav a:hover { text-decoration: underline; }
.detail { padding-block: 31px 62px; }
.breadcrumb { display: flex; align-items: center; gap: 7px; font-size: .875rem; color: #48604d; margin-bottom: 28px; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .icon { width: 13px; height: 13px; }
.detail-title { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 26px; }
.detail-title .tool-icon { height: 56px; width: 56px; border-radius: 13px; margin-top: 4px; }
.detail-title .tool-icon .icon { width: 27px; height: 27px; }
.detail h1, .info h1 { font-size: clamp(2rem, 5vw, 3.55rem); line-height: 1.03; letter-spacing: -.065em; margin: 0; }
.detail-title p { margin: 8px 0 0; color: var(--muted); }
.bookmark-detail { display: flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; min-height: 41px; border-color: #d4ddd1; padding: 8px 12px; color: #3f5945; font-size: .875rem; background: var(--white); }
.workspace { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid #dde5dc; border-radius: 15px; background: var(--white); overflow: hidden; }
.tool-form, .output { min-width: 0; padding: 21px; }
.output { border-left: 1px solid var(--line); background: #f7faf5; }
.form-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; gap: 14px; }
.form-heading h2 { font-size: 1.15rem; letter-spacing: -.022em; margin: 0; }
.controls, [data-pdf-fields] { display: grid; gap: 13px; }
.tool-options { min-width: 0; border: 1px solid var(--line); border-radius: 9px; padding: 8px 11px; }
.tool-options summary { cursor: pointer; min-height: 27px; color: var(--ink); font-size: .9375rem; font-weight: 650; }
.tool-options[open] > .controls { margin-top: 8px; }
[data-pdf-fields]:empty { display: none; }
[data-pdf-fields] textarea { resize: vertical; }
.field { display: grid; min-width: 0; gap: 6px; color: #3e5043; font-weight: 630; font-size: .875rem; }
.field small { font-size: .8rem; font-weight: 450; color: #57685a; }
.field output { color: #375f40; margin-left: 5px; }
.field :is(textarea, input:not([type=range],[type=file]), select) { border: 1px solid #d4dfd4; background: #fff; border-radius: 8px; min-width: 0; width: 100%; min-height: 44px; padding: 9px 11px; font-weight: 450; font-size: 1rem; }
.field input[type=range] { width: 100%; accent-color: #355d40; }
.field input[type=file] { max-width: 100%; font-weight: 450; font-size: .875rem; }
.field input[type=color] { padding: 4px; }
.field textarea[name=text] { resize: vertical; min-height: 158px; max-height: 480px; }
.field select { appearance: none; padding-right: 31px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='m3 5 4 4 4-4' fill='none' stroke='%23455e4b' stroke-width='1.4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 13px; }
.check { display: inline-flex; align-items: center; gap: 6px; font-size: .875rem; color: #465749; }
.checkbox { width: 17px; height: 17px; margin: 0; accent-color: #355d40; }
.actions, .result-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-top: 17px; }
.primary, .secondary { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 13px; line-height: 1.35; min-height: 41px; border-radius: 7px; font-weight: 670; font-size: .875rem; }
.primary { border: 1px solid #264c35; background: #264c35; color: #fafdf5; }
.primary:hover { background: #1c3a28; }
.secondary { border: 1px solid #d5ded2; background: var(--white); color: #3a5340; }
.secondary:hover { border-color: #aabd9f; background: #f2f7ee; }
.loading, .placeholder { color: #5d6e5f; margin: 0; padding: 10px 0; }
.loading { padding: 20px; }
.result-content { overflow-wrap: anywhere; }
.result-text { padding: 12px; min-height: 96px; margin: 0; max-height: 420px; overflow: auto; white-space: pre-wrap; border: 1px solid #dfE8db; border-radius: 8px; background: var(--white); font: .875rem/1.55 ui-monospace, "SFMono-Regular", Consolas, monospace; }
.result-note, .feedback { font-size: .875rem; color: #57685a; }
.feedback:not(:empty) { margin-top: 10px; }
.error { border: 1px solid #e6c9c7; background: #fcf0ef; border-radius: 7px; color: #852b27; padding: 9px 12px; margin: 0; }
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(112px, 1fr)); gap: 8px; margin: 0; }
.metrics > div { background: var(--white); border: 1px solid #dde7d9; border-radius: 8px; padding: 9px; }
.metrics dt { color: #536557; font-size: .84rem; }
.metrics dd { margin: 0; font-weight: 740; font-size: 1.05rem; }
.tags { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; gap: 7px; }
.tags li { padding: 5px 8px; border: 1px solid #cfdeca; background: #eaf3e6; color: #3b5e41; font-size: .875rem; border-radius: 6px; }
.result-lines { padding-left: 21px; margin: 0; }
.result-lines li + li { margin-top: 8px; }
.colour-swatch { height: 110px; border: 1px solid #1d2b2144; border-radius: 8px; margin-bottom: 10px; }
.drop-area { position: relative; display: grid; justify-items: center; gap: 4px; text-align: center; padding: 22px 12px; border: 1px dashed #a9bea7; background: #f5f8f2; border-radius: 9px; cursor: pointer; }
.drop-area:is(:hover,.dragging,:focus-within) { background: #eaf3e6; border-color: #6e9469; }
.drop-area > .icon { width: 24px; height: 24px; margin-bottom: 4px; color: #3f6c48; }
.drop-area strong { color: #315e3b; text-decoration: underline; text-underline-offset: 2px; }
.drop-area input { position: absolute; inset: 0; opacity: 0; width: 100%; cursor: pointer; }
.file-list:empty { display: none; }
.match-selection { overflow-wrap: anywhere; }
.match-selection:empty { display: none; }
.file-list { display: grid; gap: 7px; }
.file-row { border: 1px solid #e0e8df; border-radius: 7px; padding: 6px 8px; display: flex; justify-content: space-between; align-items: center; gap: 7px; font-size: .875rem; overflow-wrap: anywhere; }
.file-row > div { flex-shrink: 0; display: flex; gap: 3px; }
.file-row small { display: block; color: var(--muted); }
.batch-results { list-style: none; margin: 0; padding: 0; }
.batch-results .batch-file-info { display: block; min-width: 0; flex-shrink: 1; }
.batch-results .batch-error { color: #852b27; }
.batch-results .secondary { flex-shrink: 0; }
.batch-note:not([hidden]) { margin: 0; }
.mini-button { border: 1px solid #e0e8df; border-radius: 5px; min-width: 27px; min-height: 28px; padding: 2px; }
.mini-button:hover { background: #eef5eb; }
.result-preview { display: block; max-width: 100%; max-height: 310px; width: auto; object-fit: contain; border-radius: 6px; margin: 0 auto 12px; }
.tool-privacy { display: flex; align-items: center; gap: 7px; color: #506554; font-size: .875rem; margin: 12px 0 0; }
.tool-guide, .info { max-width: 750px; }
.tool-guide { margin-top: 30px; }
.tool-guide h2, .info h2 { margin: 0; font-size: 1.4rem; letter-spacing: -.035em; }
.tool-guide p, .info p { color: var(--muted); margin: 7px 0 13px; }
.example { background: #eaf2e6; border: 1px solid #e0eada; border-radius: 9px; padding: 11px 13px; }
.example p { margin: 3px 0 0; }
.related { margin-top: 33px; }
.info { padding-block: 31px 60px; min-height: 61vh; }
.info h2 { margin-top: 22px; }
.info .secondary { margin-top: 10px; }
.info p a { text-decoration: underline; }
.ad-placement { border-block: 1px solid var(--line); margin: 42px 0; padding: 15px 0; text-align: center; }
.ad-placement p { margin: 0 0 6px; font-size: .75rem; color: var(--muted); }
@media (max-width: 1050px) {
  .wrap { width: calc(100% - 64px); }
  .hero { gap: 36px; }
  .hero-art { height: 310px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { min-height: 62px; }
  .top-nav { gap: 11px; }
  .top-nav a { font-size: .8rem; gap: 4px; }
  .top-nav .saved-nav { padding: 4px 7px; }
  .brand { font-size: 1.32rem; gap: 7px; }
  .brand-mark { width: 27px; height: 27px; padding: 6px; }
  .hero { padding-block: 36px 31px; gap: 21px; }
  .hero h1 { font-size: clamp(2.65rem, 8.5vw, 4.8rem); }
  .hero-copy > p { font-size: 1rem; margin-bottom: 16px; }
  .wide-break { display: none; }
  .hero-art { height: 230px; }
  .art-tile { min-width: 0; }
  .category-bar { gap: 6px; margin-bottom: 25px; }
  .category-button { padding: 6px 8px; min-height: 35px; }
  .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .tool-card { padding: 11px; min-height: 126px; }
  .tool-form, .output { padding: 15px; }
}
@media (max-width: 535px) {
  .wrap { width: calc(100% - 30px); }
  .top-nav { gap: 8px; }
  .top-nav a:first-child { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(3.05rem, 11vw, 3.95rem); margin-block: 10px 13px; }
  .hero-art { height: 175px; }
  .art-tile { max-width: 80px; }
  .art-spark { max-width: 90px; }
  .art-picture { right: 24%; }
  .art-percent { right: 21%; }
  .art-type { left: 24%; }
  .art-braces { left: 20%; }
  .search { height: 48px; }
  .category-button { font-size: .8rem; }
  .directory { padding-block: 17px 34px; }
  .tool-card h3 { font-size: .97rem; }
  .tool-card p { font-size: .82rem; padding-right: 7px; }
  .card-indicator { display: none; }
  .tool-icon { width: 31px; height: 31px; }
  .tool-icon .icon { width: 17px; height: 17px; }
  .section-title h2 { font-size: 1.32rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 13px; }
  .detail-title { flex-wrap: wrap; gap: 10px; }
  .detail-title > div { flex: 1; }
  .detail-title .tool-icon { width: 42px; height: 42px; margin-top: 1px; border-radius: 8px; }
  .detail-title .tool-icon .icon { width: 22px; height: 22px; }
  .bookmark-detail { min-height: 35px; padding: 5px 7px; }
  .bookmark-detail span { display: none; }
  .workspace { grid-template-columns: 1fr; }
  .output { border-left: 0; border-top: 1px solid var(--line); min-height: 133px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.tint-everyday { background: #edf2dd; color: #4b662e; }
.section-actions { display: flex; align-items: center; gap: 14px; }
.pack { display: grid; gap: 10px; min-width: 0; border: 1px solid var(--line); border-radius: 9px; padding: 9px 11px 11px; margin: 0; }
.pack legend { padding-inline: 5px; color: #36583e; font-weight: 690; font-size: .875rem; }
.timer-presets { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; }
.timer-value { font-size: clamp(3rem, 9vw, 5rem); font-weight: 760; letter-spacing: -.06em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.checklist-items { padding: 0; margin: 0; list-style: none; }
.checklist-items li { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); min-height: 40px; }
.checklist-items .check { flex: 1; min-width: 0; padding-block: 8px; cursor: pointer; overflow-wrap: anywhere; }
.checklist-items .check input { flex-shrink: 0; }
.checklist-items .check input:checked + span { text-decoration: line-through; color: var(--muted); }
.checklist-items .mini-button { flex: 0 0 auto; }
.field textarea[name=items] { resize: vertical; min-height: 124px; }

@media (max-width: 380px) {
  .top-nav { gap: 8px; }
  .top-nav a { font-size: .75rem; }
  .top-nav a .icon { display: none; }
  .top-nav .saved-nav { min-height: 34px; }
  .section-actions { gap: 8px; }
}

.timer-sound { margin-top: 12px; }

.lap-scroll { max-height: 360px; overflow: auto; }
.lap-table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
.lap-table :is(th,td) { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: right; }
.lap-table thead { position: sticky; top: 0; background: #eaf2e6; }
.lap-table th:first-child { text-align: left; }

.calculator-keys { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 6px; }
.calculator-keys .secondary { min-width: 0; min-height: 42px; padding-inline: 3px; font-variant-numeric: tabular-nums; }
main[data-tool=background-remover] .result-preview {
  background-color: white;
  background-image: conic-gradient(#dbe3da 25%,transparent 0 50%,#dbe3da 0 75%,transparent 0);
  background-size: 18px 18px;
}

.typing-workspace { grid-template-columns: minmax(0,1.35fr) minmax(0,.65fr); }
.typing-reference { max-height: 126px; overflow: auto; padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px; background: #f8faf6; margin: 12px 0; }
.typing-passage { font: 1rem/1.8 ui-monospace, Consolas, monospace; color: #455849; margin: 0; }
.typing-passage .is-correct { color: #153b2c; background: #daf0ce; }
.typing-passage .is-wrong { color: #8a2721; background: #fbe1dd; text-decoration: underline; }
@media (max-width: 660px) { .typing-workspace { grid-template-columns: 1fr; } }

.tool-collections { display:flex; flex-wrap:wrap; justify-content:center; gap:10px 20px; margin:28px 0 0; }
.tool-collections a, .software-notice a { color:#325139; text-decoration:underline; text-underline-offset:2px; }
.collection-group + .collection-group { margin-top:35px; }
.collection-page .detail-title p { max-width:65ch; }
.software-notice { font-size:.85rem; }

.top-nav .build-nav { border-radius: 8px; background:#dceeca; color:#26472e; padding:4px 10px; }
.top-nav .build-nav:hover { background:#cfe6b6; }
.generator-workspace { display:grid; gap:14px; }
.generator-panel { background:var(--white); border:1px solid var(--line); border-radius:12px; padding:20px 22px; }
.generator-prompt textarea, .builder-editor textarea { min-height:112px; }
.generator-panel h2 { margin:0 0 8px; line-height:1.2; }
.builder-status { margin:8px 0 0; color:#455849; font-size:.92rem; }
.builder-status:empty { display:none; }
[data-edit-error] { color:#8a2721; }
.builder-examples { display:flex; flex-wrap:wrap; gap:7px; margin-top:16px; }
.builder-examples button { padding:6px 9px; min-height:34px; }
.builder-help { margin-top:16px; color:var(--muted); font-size:.91rem; }
.builder-help summary { cursor:pointer; color:#325139; }
.builder-help pre { background:#f6f8f4; border-radius:8px; padding:10px 12px; white-space:pre-wrap; overflow-wrap:anywhere; }
.builder-preview-header { display:flex; justify-content:space-between; align-items:start; gap:12px; }
.builder-kind { margin:0 0 4px; color:var(--muted); font-size:.88rem; }
.builder-actions { display:flex; flex-wrap:wrap; gap:6px; }
.builder-actions button { padding:6px 9px; }
.builder-running, .builder-editor { margin-top:14px; }
.builder-result, .generator-result { margin-top:14px; }
.generator-result:empty { display:none; }
.generator-fields { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
[data-edit-fields],.builder-checklist { display:grid; gap:10px; }
.builder-checklist .check input { width:17px; height:17px; accent-color:#325139; }
.builder-saved { display:grid; gap:7px; }
.builder-saved-row { display:flex; align-items:center; justify-content:space-between; gap:10px; border:1px solid var(--line); border-radius:7px; padding:5px 8px; }
.builder-open { border:0; background:transparent; text-align:left; padding:6px; color:var(--ink); }
.builder-open span { color:var(--muted); margin-left:8px; font-size:.86rem; }
.builder-open:hover strong { text-decoration:underline; }
[data-share-fallback] { margin-top:10px; }
.ad-rail { display:none; }
@media (min-width: 1200px) {
  .guide-with-ad { display:grid; grid-template-columns:minmax(0,1fr) 180px; gap:72px; align-items:start; }
  .guide-with-ad .ad-rail { display:block; margin:48px 0 24px; min-height:334px; }
}
@media (max-width: 640px) {
  .top-nav .build-nav { padding-inline:6px; }
  .top-nav .build-nav .icon { display:none; }
  .top-nav a[data-nav=ai] { display:none; }
  .generator-panel { padding:15px; }
  .builder-preview-header { flex-direction:column; }
  .generator-fields { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width: 350px) {
  .top-nav a[data-nav=recent] { display:none; }
  .generator-fields { grid-template-columns:1fr; }
}

.task-form { max-width: 550px; }
.task-form > label { display: block; margin-bottom: 8px; font-weight: 720; font-size: .925rem; }
.task-compose { display: flex; gap: 6px; align-items: stretch; padding: 5px; background: var(--white); border: 1px solid #cbdac5; border-radius: 13px; box-shadow: 0 6px 18px #2b453111; }
.task-compose:focus-within { border-color: #73966b; box-shadow: 0 0 0 3px #dcebd8; }
.task-input { position: relative; display: flex; flex: 1; min-width: 0; align-items: center; gap: 9px; padding-left: 9px; }
.task-input > .icon { color: #456f4c; }
.task-input input { width: 100%; min-width: 0; align-self: stretch; padding: 0 3px; border: 0; background: transparent; outline: 0; }
.task-input [data-task-hint] { position: absolute; left: 38px; right: 3px; color: #5d6b60; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; pointer-events: none; font-size: .9rem; }
.task-input input:focus + [data-task-hint], .task-input input:not(:placeholder-shown) + [data-task-hint] { visibility: hidden; }
.task-input .is-typing::after { content: ''; display: inline-block; width: 1px; height: 1em; background: #659763; margin-left: 2px; vertical-align: -.11em; }
.task-compose .primary { flex: 0 0 auto; padding-inline: 13px; min-height: 43px; border-radius: 9px; white-space: nowrap; }
.quick button { border: 1px solid #dfe6da; background: #f3f6ef; color: #344d39; border-radius: 5px; padding: 4px 8px; line-height: 1.4; }
.quick button:hover { background: #e5f1de; }
.directory-search { margin-bottom: 15px; }
.settings-status:empty { display: none; }
.settings-status { margin-bottom: 0; }
[data-settings-link] { margin-top: 8px; }
@media (prefers-reduced-motion: no-preference) {
  .art-spark { animation: settle-tile 800ms cubic-bezier(.2,.7,.3,1) both; }
  .task-compose .primary { transition: transform 140ms ease, background 140ms ease; }
  .task-compose .primary:active { transform: scale(.975); }
  @keyframes settle-tile {
    from { translate: 0 12px; opacity: .55; }
    to { translate: 0 0; opacity: 1; }
  }
}
@media (max-width: 535px) {
  .task-compose .primary { padding-inline: 8px; font-size: .82rem; }
  .task-compose .primary .icon { display: none; }
  .task-input input { font-size: 1rem; }
  .task-input [data-task-hint] { font-size: .83rem; }
  .hero-art { height: 150px; }
}

.task-attach { display: grid; place-items: center; flex: 0 0 auto; width: 40px; min-height: 43px; border: 0; border-radius: 8px; color: #365d43; }
.task-attach:hover { background: #edf4e7; }
.task-attachments { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; padding: 0; list-style: none; }
.task-attachments li { min-width: 0; max-width: 100%; display: flex; align-items: center; gap: 5px; padding-left: 8px; background: #eff5ea; border: 1px solid #dce7d6; border-radius: 7px; color: #304d39; font-size: .81rem; }
.task-attachments span { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.task-attachments button { display: grid; place-items: center; border: 0; min-width: 32px; min-height: 32px; font-size: 1.15rem; color: inherit; }
.task-attachments button:hover { background: #dbe9d4; border-radius: 6px; }
.audio-preview { display: block; width: 100%; margin-bottom: 12px; }
@media (max-width: 535px) {
  .task-attach { width: 36px; }
  .task-input { padding-left: 6px; gap: 5px; }
  .task-input [data-task-hint] { left: 29px; }
}
