/* Shared product surfaces extend the approved monochrome notebook homepage. */
.product-app { --page: #fafafa; --field: #fff; --ink: #242424; --secondary: #686868; --border: #aaa; --divider: #dedede; --action: #292929; --action-hover: #111; --action-ink: #fff; --focus: #242424; --quiet-hover: #eee; --selected: #e7e7e7; --paper-dot: #bcbcbc5c; --brand-ink: #242424; }
.product-app a { color: inherit; text-underline-offset: 4px; }
.product-app p { overflow-wrap: anywhere; }
.product-app .wd-google-control > a { position: relative; z-index: 1; }
.product-app .site-header #account-entry { border: 0; border-radius: 999px; background: var(--quiet-hover); padding: 10px 17px; white-space: nowrap; }
.product-app .main { max-width: 40rem; }
.product-app .search-row { flex-wrap: nowrap; gap: 3px; }
.product-app .wd-search-bar-control { display: flex; width: 100%; }
.wd-search-bar-control::after { content: ''; position: absolute; inset: 1px; border-radius: inherit; background: var(--field); pointer-events: none; z-index: 0; }
.wd-search-bar-control > :not(.wd-google-glow):not([data-accessible-submit]) { position: relative; z-index: 1; }
.wd-search-bar-control > .wd-google-glow { opacity: .5; }
.wd-search-bar-control .wd-glow-plate { inset: 1px; }
.wd-search-bar-control .wd-glow-blur { inset: -2px; filter: blur(3px); }
.wd-search-bar-control .wd-glow-sharp { inset: 0; filter: blur(1px); }
.wd-search-bar-control .wd-glow-mask { scale: 1.2 1.1; mask-image: conic-gradient(from var(--wd-mask-angle), transparent 0%, transparent 44%, black 62%, black 81%, transparent 95%, transparent 100%); }
.wd-search-bar-control .wd-glow-sharp .wd-glow-mask { mask-image: conic-gradient(from var(--wd-mask-angle), transparent 0%, transparent 58%, black 78%, black 85%, transparent 93%, transparent 100%); }
@media (prefers-color-scheme: dark) { .wd-search-bar-control > .wd-google-glow { opacity: .7; } }
.product-app .input-wrap { gap: 12px; padding-left: 10px; }
.product-app .wd-search-lens-control { display: inline-flex; flex-shrink: 0; }
.search-tools { display: flex; align-items: center; gap: 1px; flex-shrink: 0; }
.product-app .tool-button { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; min-width: 44px; border: 0; border-radius: 999px; background: transparent; padding: 8px; color: var(--secondary); text-decoration: none; flex-shrink: 0; transition: background-color 160ms ease; }
.product-app .tool-button:hover { color: var(--ink); background: var(--quiet-hover); }
.product-app .ask-ai-link { gap: 6px; padding: 8px 12px; font-size: .9375rem; color: var(--ink); }
.product-app .search-submit { width: 5.8rem; }
.mobile-tools { display: flex; }
.tools-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; min-width: 15rem; padding: 6px; border: 1px solid var(--divider); border-radius: 16px; box-shadow: 0 8px 30px var(--dialog-shadow); background: var(--field); }
.tools-menu > :is(a,button) { display: flex; align-items: center; gap: 12px; padding: 12px; min-height: 48px; width: 100%; text-decoration: none; background: transparent; border: 0; border-radius: 10px; color: var(--ink); text-align: left; }
.tools-menu > :is(a,button):hover { background: var(--quiet-hover); }
.tools-menu small { display: block; color: var(--secondary); font-size: .75rem; margin-top: 2px; }
.product-app .shortcuts a { padding: 8px 16px; min-height: 44px; background: var(--quiet-hover); border: 0; border-radius: 999px; font-size: .9375rem; text-decoration: none; position: relative; overflow: hidden; isolation: isolate; transition: background-color 160ms ease, transform 220ms cubic-bezier(.2,.75,.3,1.15), box-shadow 220ms ease; }
.product-app .shortcuts a:hover { background: var(--selected); }
.product-app .shortcuts a:active { transform: translateY(1px); }
.home-page .shortcuts a:only-child { width: auto; min-width: 0; flex: 0 0 auto; }
.suggestions .suggestion-option { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 14px; min-height: 56px; border-radius: 10px; cursor: pointer; }
.suggestions .suggestion-option[aria-selected="true"], .suggestions .suggestion-option:hover { background: var(--quiet-hover); }
.suggestion-option .suggestion-label { min-width: 0; }
.suggestion-option strong { font-weight: 600; }
.suggestion-option small { display: block; color: var(--secondary); font-size: .8125rem; }
.suggestion-option svg { color: var(--secondary); }
.product-app .product-header { width: min(76rem, 100%); margin: 0 auto; padding-top: calc(22px + var(--safe-top)); justify-content: space-between; align-items: center; flex-wrap: wrap; column-gap: 28px; z-index: 3; }
.product-header .small-wordmark { padding: 0; width: 160px; flex-shrink: 0; background: transparent; border: 0; }
.product-header .small-wordmark:hover { background: transparent; }
.small-wordmark .wordmark-svg { width: 100%; height: auto; }
.product-header .header-actions { margin-left: auto; }
.product-header .compact-search { width: 100%; margin: 22px 0 0; }
.compact-search .search-row { min-height: 60px; padding: 5px; }
.compact-search .input-wrap input { font-size: 1rem; }
.product-header :is(.tool-button,.search-submit) { border-radius: 999px; }
.page-shell { width: min(68rem, calc(100% - 64px)); margin: 38px auto 90px; z-index: 1; }
.page-shell.narrow { max-width: 42rem; }
.page-shell.medium { max-width: 52rem; }
.page-title { margin: 0 0 7px; font-weight: 600; font-size: clamp(1.7rem, 3vw, 2.125rem); line-height: 1.2; letter-spacing: -.03em; }
.page-lead { color: var(--secondary); margin: 0; max-width: 42rem; }
.page-heading { margin-bottom: 28px; }
.eyebrow { margin: 0 0 8px; font-size: .8125rem; color: var(--secondary); letter-spacing: .055em; text-transform: uppercase; }
.page-shell h2 { font-size: 1.25rem; font-weight: 600; margin: 32px 0 12px; letter-spacing: -.015em; line-height: 1.3; }
.page-shell h3 { font-size: 1.0625rem; font-weight: 600; margin: 24px 0 8px; }
.quiet-tabs { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 0 0 22px; }
.quiet-tabs a { padding: 10px 17px; border-radius: 999px; min-height: 44px; text-decoration: none; color: var(--secondary); }
.quiet-tabs a[aria-current="page"] { color: var(--ink); background: var(--quiet-hover); }
.quiet-tabs a:hover { background: var(--quiet-hover); }
.filter-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin: 14px 0 24px; }
.filter-form label { display: flex; flex-direction: column; gap: 5px; color: var(--secondary); font-size: .8125rem; flex: 1; min-width: 130px; }
.product-app :is(.filter-form,.stack-form,.giving-form,.ai-form,.review-query) :is(input,select,textarea) { min-height: 46px; border: 1px solid var(--divider); border-radius: 12px; background: var(--field); color: var(--ink); padding: 10px 13px; width: 100%; }
.product-app textarea { resize: vertical; }
.product-app .primary-button, .product-app .secondary-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border-radius: 999px; padding: 10px 20px; border: 1px solid transparent; font-weight: 600; text-decoration: none; font-size: 1rem; transition: background-color 160ms ease; }
.product-app .primary-button { background: var(--action); color: var(--action-ink); }
.product-app .primary-button:hover { background: var(--action-hover); }
.product-app .secondary-button { background: var(--quiet-hover); color: var(--ink); }
.product-app .secondary-button:hover { background: var(--selected); }
.product-app :is(.primary-button,.secondary-button):disabled { opacity: .6; cursor: not-allowed; }
.text-link { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; text-decoration: underline; }
.tiny { font-size: .8125rem; color: var(--secondary); }
.muted { color: var(--secondary); }
.results-summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 8px; color: var(--secondary); font-size: .875rem; }
.result-list { list-style: none; padding: 0; margin: 0; }
.result-row { position: relative; border-top: 1px solid var(--divider); padding: 24px 0; }
.result-link { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; text-decoration: none; min-height: 44px; }
.result-name { font-weight: 600; font-size: 1.25rem; margin: 0 0 4px; line-height: 1.25; }
.result-row .result-name { margin: 0 0 4px; }
.result-meta { margin: 0 0 7px; color: var(--secondary); font-size: .875rem; }
.result-description { margin: 0; max-width: 46rem; color: var(--secondary); }
.result-link .row-arrow { margin-top: 5px; color: var(--secondary); transition: transform 160ms ease; }
.result-link:hover .result-name { text-decoration: underline; text-underline-offset: 5px; }
.result-link:hover .row-arrow { transform: translateX(3px); }
.availability { display: inline-flex; align-items: center; gap: 6px; font-size: .8125rem; color: var(--secondary); margin-top: 9px; }
.availability::before { content: ''; width: 5px; height: 5px; background: currentColor; border-radius: 50%; }
.availability.available { color: var(--ink); }
.pagination { display: flex; gap: 12px; justify-content: center; align-items: center; padding-top: 24px; border-top: 1px solid var(--divider); }
.coverage-note { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--divider); color: var(--secondary); font-size: .8125rem; }
.coverage-note summary { cursor: pointer; min-height: 44px; padding: 11px 0; }
.coverage-note p { margin: 4px 0 10px; }
.empty-state { padding: 36px 0; border-top: 1px solid var(--divider); }
.empty-state h2 { margin-top: 0; }
.empty-state p { max-width: 38rem; color: var(--secondary); }
.profile-heading { padding-bottom: 28px; border-bottom: 1px solid var(--divider); }
.profile-heading .page-title { font-size: clamp(2rem, 4vw, 2.7rem); }
.profile-topline { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.profile-content { display: grid; grid-template-columns: minmax(0,1fr) 18rem; gap: 48px; align-items: start; }
.profile-side { margin-top: 32px; border: 1px solid var(--divider); border-radius: 20px; padding: 24px; background: var(--field); }
.profile-side h2 { margin-top: 0; }
.profile-side p { color: var(--secondary); font-size: .9375rem; }
.profile-side .primary-button { width: 100%; }
.source-list { list-style: none; margin: 0; padding: 0; }
.source-list li { padding: 14px 0; border-top: 1px solid var(--divider); }
.source-list a { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; }
.source-list .tiny { display: block; }
.detail-list { margin: 12px 0; display: grid; grid-template-columns: 10rem 1fr; gap: 12px 18px; }
.detail-list dt { color: var(--secondary); }
.detail-list dd { margin: 0; }
.paper-panel { padding: 30px; border: 1px solid var(--divider); border-radius: 24px; background: var(--field); }
.stack-form { display: flex; flex-direction: column; gap: 18px; }
.stack-form label:not(.check-label), .giving-form label:not(.check-label), .review-query label { display: flex; flex-direction: column; gap: 7px; font-weight: 600; }
.stack-form input { font-weight: 400; }
.stack-form .primary-button { align-self: flex-start; }
.form-status { min-height: 24px; margin: 0; color: var(--secondary); line-height: 1.45; }
.form-status:empty { min-height: 0; }
.form-status[data-state="error"] { color: var(--ink); }
.form-status[data-state="error"]::before { content: '— '; }
.inline-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; margin-top: 22px; }
.check-label { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; font-size: .9375rem; min-height: 44px; padding: 8px 0; }
.product-app .check-label input { width: 18px; min-height: 18px; margin: 3px 0 0; accent-color: var(--ink); }
.legal-links { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 22px; font-size: .8125rem; }
.legal-links a { min-height: 44px; display: inline-flex; align-items: center; }
.signin-shell { margin-top: 54px; max-width: 29rem; }
.signin-shell .page-heading { margin-bottom: 24px; }
.giving-form { display: flex; flex-direction: column; gap: 22px; }
.segmented { display: flex; border: 1px solid var(--divider); border-radius: 999px; padding: 4px; background: var(--page); }
.segmented label { flex: 1; position: relative; }
.segmented input { position: absolute; opacity: 0; width: 1px !important; height: 1px; }
.segmented span { display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 999px; padding: 9px 16px; cursor: pointer; font-weight: 400; }
.segmented input:checked + span { background: var(--field); box-shadow: 0 1px 5px var(--shadow); font-weight: 600; }
.segmented input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.amount-presets { display: flex; gap: 8px; flex-wrap: wrap; }
.amount-presets button { min-height: 44px; padding: 8px 18px; border: 1px solid var(--divider); border-radius: 999px; background: var(--field); color: var(--ink); }
.amount-presets button[aria-pressed="true"] { border-color: var(--ink); background: var(--quiet-hover); }
.giving-recap { padding: 20px 0; margin: 0; border-top: 1px solid var(--divider); border-bottom: 1px solid var(--divider); }
.giving-recap div { display: flex; justify-content: space-between; gap: 24px; padding: 5px 0; }
.giving-recap dt { color: var(--secondary); }
.giving-recap dd { margin: 0; }
.giving-recap .total { padding-top: 12px; margin-top: 7px; border-top: 1px solid var(--divider); font-weight: 600; }
.flow-label { margin-bottom: 24px; color: var(--secondary); font-size: .875rem; }
.flow-label span { color: var(--ink); font-weight: 600; }
.warning-panel { padding: 20px 24px; background: var(--quiet-hover); border-radius: 16px; }
.warning-panel h2 { margin: 0 0 8px; }
.warning-panel p { margin: 0; color: var(--secondary); }
.account-links { list-style: none; margin: 20px 0 0; padding: 0; }
.account-links li { border-top: 1px solid var(--divider); }
.account-links a { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; min-height: 56px; text-decoration: none; }
.account-links a:hover { text-decoration: underline; }
.giving-list { padding: 0; list-style: none; }
.giving-item { padding: 22px 0; border-top: 1px solid var(--divider); }
.giving-item h3 { margin: 0 0 5px; }
.giving-item p { margin: 3px 0; }
.ai-form { display: flex; flex-direction: column; gap: 14px; }
.ai-form textarea { min-height: 100px; }
.ai-form .primary-button { align-self: flex-end; }
.ai-answer { padding: 24px 0; border-top: 1px solid var(--divider); margin-top: 28px; white-space: pre-wrap; overflow-wrap: anywhere; }
.ai-source-list { padding: 0; list-style: none; }
.ai-source-list li { padding: 12px 0; border-top: 1px solid var(--divider); }
.ai-source-list a { min-height: 44px; display: inline-flex; align-items: center; }
.prompt-examples { display: flex; gap: 8px; flex-wrap: wrap; margin: 20px 0; }
.prompt-examples button { min-height: 44px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--divider); background: transparent; color: var(--secondary); font-size: .875rem; text-align: left; }
.prompt-examples button:hover { color: var(--ink); background: var(--quiet-hover); }
.steps-list { list-style: none; padding: 0; counter-reset: steps; margin: 24px 0; }
.steps-list li { counter-increment: steps; display: grid; grid-template-columns: 36px 1fr; gap: 18px; border-top: 1px solid var(--divider); padding: 24px 0; }
.steps-list li::before { content: counter(steps); display: flex; justify-content: center; align-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--quiet-hover); font-size: .875rem; }
.steps-list h2 { margin: 0 0 7px; }
.steps-list p { margin: 0; color: var(--secondary); }
.article-copy p { margin: 0 0 16px; }
.article-copy ul { padding-left: 20px; }
.article-copy li { margin: 9px 0; }
.info-details { border-top: 1px solid var(--divider); }
.info-details summary { cursor: pointer; padding: 18px 0; min-height: 52px; font-weight: 600; }
.info-details p { color: var(--secondary); margin: 0 0 20px; }
.search-tool-dialog { width: min(32rem, calc(100% - 32px)); max-height: calc(100svh - 48px); padding: 26px; border: 1px solid var(--divider); border-radius: 24px; background: var(--field); color: var(--ink); box-shadow: 0 20px 60px var(--dialog-shadow); overflow: auto; z-index: 100; }
.search-tool-dialog::backdrop { background: var(--backdrop); }
.tool-dialog-heading { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 18px; }
.tool-dialog-heading h2 { margin: 0; font-size: 1.25rem; }
.tool-dialog-content p { color: var(--secondary); }
.tool-dialog-content .primary-button { margin-top: 12px; }
.review-query { margin-top: 20px; }
.review-query input { margin: 8px 0; }
.file-picker { display: block; min-height: 44px; width: 100%; margin: 20px 0; color: var(--ink); }
.file-picker::file-selector-button { border: 0; background: var(--quiet-hover); border-radius: 999px; padding: 12px 16px; margin-right: 12px; font: inherit; color: var(--ink); cursor: pointer; }
.service-state { margin: 24px 0; }
.service-state h2 { margin-top: 0; }
.service-state p { color: var(--secondary); max-width: 38rem; }
.screen-reader-status { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
.product-app .plain-button { padding: 0; border: 0; background: transparent; color: var(--ink); font: inherit; cursor: pointer; }
.plain-fieldset { border: 0; padding: 0; margin: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.closure-details, .help-tracking { margin-top: 30px; }
#wtd-app > .search-tool-dialog { position: fixed; inset: 0; margin: auto; }
.filter-details > summary { list-style: none; width: fit-content; cursor: pointer; }
.filter-details > summary::-webkit-details-marker { display: none; }
.citation-link { font-size: .8125rem; }
.receipt-status { display: inline-flex; min-height: 32px; padding: 3px 12px; border-radius: 999px; background: var(--quiet-hover); font-size: .875rem; margin-top: 16px; }
.receipt-print-heading { display: none; }
@media (hover:hover) and (pointer:fine) { .product-app .shortcuts a:hover { transform: translateY(-2px); box-shadow: 0 3px 7px var(--shadow); } }
@media (max-width: 900px) { .desktop-tools { display: none; } .mobile-tools { display: flex; } .profile-content { grid-template-columns: minmax(0,1fr) 16rem; gap: 28px; } }
@media (max-width: 600px) { .product-app .main { width: calc(100% - 32px); } .product-app .product-header { padding: calc(14px + var(--safe-top)) 16px 12px; gap: 8px 12px; } .product-header .small-wordmark { width: 135px; } .product-header .header-actions { gap: 4px; } .product-header .header-actions .header-link { display: none; } .product-header .compact-search { margin-top: 16px; } .page-shell { width: calc(100% - 32px); margin-top: 26px; margin-bottom: 64px; } .paper-panel { padding: 23px 20px; border-radius: 20px; } .profile-content { display: flex; flex-direction: column; gap: 0; } .profile-side { width: 100%; order: -1; margin-top: 24px; } .result-row { padding: 20px 0; } .result-name { font-size: 1.125rem; } .detail-list { grid-template-columns: 1fr; gap: 5px; } .detail-list dd { margin-bottom: 10px; } .profile-topline { flex-direction: column; gap: 12px; } .signin-shell { margin-top: 38px; } .filter-form { gap: 8px; } }
@media (max-width: 479px) { .product-app .search-row { gap: 1px; padding: 5px; } .product-app .input-wrap { flex-basis: 0; padding-left: 8px; gap: 9px; } .product-app .input-wrap input { font-size: .9375rem; } .product-app .search-submit { width: 4.5rem; min-height: 44px; padding: 8px 10px; font-size: .9375rem; } .product-app .search-clear { min-width: 44px; width: 44px; } .product-app .tool-button { min-width: 44px; width: 44px; padding: 8px; } .product-app .shortcuts a { padding: 8px 12px; } .product-app .wd-search-lens-control { display: none; } }
@media (prefers-color-scheme: dark) { .product-app { --page: #1e1e1e; --field: #282828; --ink: #f5f5f5; --secondary: #bdbdbd; --border: #949494; --divider: #444; --action: #f2f2f2; --action-hover: #fff; --action-ink: #202020; --focus: #f2f2f2; --quiet-hover: #303030; --selected: #3a3a3a; --paper-dot: #8f8f8f30; --brand-ink: #f5f5f5; } }
@media (prefers-reduced-motion: reduce), (forced-colors: active) { .product-app .shortcuts a, .product-app .row-arrow { transform: none !important; transition: none !important; } }
@media (forced-colors: active) { .product-app { --page: Canvas; --field: Canvas; --ink: CanvasText; --secondary: CanvasText; --border: CanvasText; --divider: CanvasText; --action: ButtonFace; --action-ink: ButtonText; --focus: Highlight; --quiet-hover: Canvas; --brand-ink: CanvasText; } .product-app .shortcuts a, .product-app .primary-button { border: 1px solid ButtonText; } }
@media print { .site-header, .notebook-field, .inline-actions, .skip-link { display: none !important; } #wtd-app, #wtd-app::before { background: #fff !important; background-image: none !important; } .receipt-print-heading { display: block; } .page-shell { width: 100%; margin: 0; } }
