.support-page{font-weight:400;color:var(--skin-text,#252525);background:var(--skin-surface,#fff)}
.support-page h2{font-weight:400;font-size:19px}
.support-page p{font-size:14px;line-height:1.7;margin:10px 0;overflow-wrap:anywhere}
.support-types{padding:0;margin:18px 0;border:0;display:flex;gap:0;background:var(--skin-bg,#f7f7f7)}
.support-types legend{font-size:15px;margin-bottom:10px}
.support-types label{flex:1;min-width:0;position:relative;text-align:center}
.support-types input{position:absolute;opacity:0;width:1px;height:1px}
.support-types span{display:block;padding:10px 4px;border-bottom:2px solid transparent;font-size:14px}
.support-types input:checked+span{border-color:#777;background:#ededed}
.support-field{display:block;font-size:15px}
.support-field textarea{display:block;width:100%;margin:10px 0;padding:12px;background:var(--skin-bg,#f7f7f7);border:0;border-radius:0;resize:vertical;min-height:145px;line-height:1.6;box-shadow:none}
.support-page input:focus,.support-page textarea:focus{outline:none!important;box-shadow:none!important}
.support-image-heading,.support-switch-row{display:flex;align-items:center;justify-content:space-between;padding:14px 0;border-bottom:1px solid var(--skin-line,#e5e5e7);font-size:15px;gap:12px}
.support-add-image{color:var(--skin-accent,#087cf0);cursor:pointer;white-space:nowrap}
.support-images{display:flex;gap:10px;margin-top:12px}
.support-images>div{position:relative;width:calc((100% - 20px)/3)}
.support-images img{width:100%;height:90px;object-fit:cover}
.support-images button{position:absolute;top:0;right:0;background:var(--skin-surface,#fff);color:var(--skin-text,#333);border:0;border-radius:0;padding:1px 8px;font-size:24px}
.support-page .support-note{font-size:12px;color:#777}
.support-consent{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.7;margin:16px 0}
.support-consent input{width:18px;height:18px;flex:none;margin:3px 0 0;accent-color:#777}
.support-log-consent,.support-diagnostic-preview{padding:5px 0;border-bottom:1px solid var(--skin-line,#e5e5e7)}
.support-log-consent[hidden]{display:none}
.support-page .support-submit{width:100%;margin:8px 0 0;border:0;border-radius:0;padding:13px;font-size:16px;min-height:44px}
.support-page .support-text-entry{display:block;width:100%;padding:16px 0;border:0;border-bottom:1px solid var(--skin-line,#e5e5e7);border-radius:0;background:transparent;color:var(--skin-accent,#087cf0);text-align:center;min-height:44px}
.support-about-brand{text-align:center;padding:15px 0 24px}
.support-about-brand img{width:64px;height:64px;object-fit:contain}
.support-about-brand p{font-size:20px}
.support-menu-row{display:flex;align-items:center;justify-content:space-between;width:100%;padding:16px 0;background:transparent;border:0;border-bottom:1px solid var(--skin-line,#e5e5e7);border-radius:0;font-size:15px;color:var(--skin-text,#252525);text-align:left;text-decoration:none;gap:12px}
.support-menu-row span{color:#999;font-size:22px}
.support-history-row,.support-release{padding:12px 0;border-bottom:1px solid var(--skin-line,#e5e5e7)}
.support-release p{margin:6px 0}
.support-page :is(button,a,input,textarea):is(:focus,:focus-visible,:active){outline:none!important;box-shadow:none!important;-webkit-tap-highlight-color:transparent}
.support-page :is(.support-menu-row,.support-text-entry):is(:hover,:focus,:active){background:var(--skin-bg,#f7f7f7);border-color:var(--skin-line,#e5e5e7);color:inherit}
.support-page .support-submit:hover{background:var(--skin-accent,#087cf0);color:var(--skin-surface,white)}
.support-types input:focus-visible+span{background:#ededed}
.support-legal{max-width:780px;margin:auto;padding:20px 20px 60px;background:var(--skin-surface,white);color:var(--skin-text,#252525);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;font-size:15px;line-height:1.8}
.support-legal h1{font-size:22px;font-weight:400;margin:18px 0}
.support-legal h2{font-size:17px;font-weight:500;margin:20px 0 10px}
.support-legal p{margin:12px 0}.support-legal a{color:var(--skin-accent,#087cf0);overflow-wrap:anywhere}

/* Match the app's compact, flat iOS settings pages. */
.support-page{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif}
.support-page #help-form{padding-top:18px}
.support-types{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:3px;margin:0 0 22px;background:#f2f2f5;border-radius:6px;gap:2px}
.support-types legend{float:none;width:auto;padding:0 0 12px;font-size:13px;color:#86868b}
.support-types span{border:0;border-radius:4px;padding:9px 3px;font-size:14px}
.support-types input:checked+span{border:0;background:#fff;color:var(--skin-accent,#007aff)}
.support-field{font-size:14px;color:var(--skin-text,#252525)}
.support-field textarea{margin:10px 0 16px;min-height:160px;padding:12px;border:1px solid #dedee3;border-radius:4px;background:#f5f5f7;font-size:16px}
.support-image-heading,.support-switch-row{min-height:52px;padding:14px 0;border-bottom:1px solid #dedee3}
.support-page .support-submit{border-radius:4px;min-height:46px;font-size:16px;margin-top:16px;box-shadow:none}
.support-page .support-menu-row,.support-page .support-text-entry{min-height:50px;border-bottom:1px solid #dedee3;font-size:15px}
.support-page .support-note{font-size:12px;color:#86868b;line-height:1.65}
.support-consent{font-size:13px;gap:10px;margin:18px 0}

@media screen and (min-width:1100px){
 .support-page #help-form{max-width:800px;margin:auto;padding-top:14px}
 .support-page .support-field textarea{min-height:220px;font-size:15px}
 .support-page .support-submit{width:auto;min-width:180px;display:block;margin:24px 0 0 auto}
 .support-page .support-types{max-width:600px}
 .support-page .support-images>div{max-width:180px}
 .support-page .support-images img{height:130px}
 .support-page .support-text-entry{text-align:left;font-size:14px}
 .support-page .support-about-brand{padding:24px 0 30px}
}

/* Desktop pointer feedback. Touch layout and dimensions remain unchanged. */
@media (hover:hover) and (pointer:fine){
 html body :where(button,a[href],summary,select,[role="button"],[role="tab"],label:has(input:is([type="checkbox"],[type="radio"])),[data-action],[data-tab]):not(:disabled):not([aria-disabled="true"]):not([aria-hidden="true"]):not([inert]):not([class*="backdrop"]):not(:has(:where(button,a[href],summary,select,[role="button"],[role="tab"]):hover)):hover{filter:brightness(.92)!important;backdrop-filter:brightness(.92)!important;-webkit-backdrop-filter:brightness(.92)!important;cursor:pointer}
 html body :where(button,a[href],summary,select,[role="button"],[role="tab"],label:has(input:is([type="checkbox"],[type="radio"])),[data-action],[data-tab]):not(:disabled):not([aria-disabled="true"]):not([aria-hidden="true"]):not([inert]):not([class*="backdrop"]):focus-visible{filter:brightness(.92)!important;backdrop-filter:brightness(.92)!important;-webkit-backdrop-filter:brightness(.92)!important}
 html body :where(button,a[href],summary,select,[role="button"],[role="tab"],label:has(input:is([type="checkbox"],[type="radio"])),[data-action],[data-tab]):not(:disabled):not([aria-disabled="true"]):not([aria-hidden="true"]):not([inert]):not([class*="backdrop"]):not(:has(:where(button,a[href],summary,select,[role="button"],[role="tab"]):active)):active{filter:brightness(.84)!important;backdrop-filter:brightness(.84)!important;-webkit-backdrop-filter:brightness(.84)!important}
 /* Keep all three labels readable despite older desktop :hover background rules. */
 html body .order-main .order-row-actions>button[data-row-discount]:is(:not(:hover),:hover,:active,:focus,:focus-visible){background:#6e6e73!important;color:#fff!important;border-color:#dedee3!important}
 html body .order-main .order-row-actions>button[data-row-price]:is(:not(:hover),:hover,:active,:focus,:focus-visible){background:#5c5c62!important;color:#fff!important;border-color:#dedee3!important}
 html body .order-main .order-row-actions>button[data-row-delete]:is(:not(:hover),:hover,:active,:focus,:focus-visible){background:#d92e36!important;color:#fff!important;border-color:#dedee3!important}
}

/* Public legal documents: readable without JavaScript or a login session. */
html:has(.support-legal){background:#fff;color-scheme:light}.support-legal{box-sizing:border-box;padding-top:calc(20px + env(safe-area-inset-top));padding-bottom:calc(40px + env(safe-area-inset-bottom))}.support-legal h1{font-size:25px;font-weight:600;line-height:1.45}.support-legal h3{font-size:15px;font-weight:600;margin:20px 0 8px}.support-legal section{padding:8px 0 14px;border-bottom:1px solid #e5e5e7}.legal-header,.legal-footer{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:8px 0 18px;border-bottom:1px solid #e5e5e7}.legal-footer{border-top:1px solid #e5e5e7;border-bottom:0;margin-top:24px;padding-top:18px}.legal-meta{font-size:13px;color:#777}.legal-draft{border-top:1px solid #d5d5d8;border-bottom:1px solid #d5d5d8;background:#f7f7f8;padding:16px;margin:20px 0}.legal-draft p{margin-bottom:0}.legal-contents{display:flex;gap:8px 18px;flex-wrap:wrap;padding:16px 0;border-top:1px solid #e5e5e7;border-bottom:1px solid #e5e5e7}.legal-fields{margin:12px 0}.legal-fields>div{padding:12px 0;border-bottom:1px solid #e5e5e7}.legal-fields dt{color:#777;font-size:13px}.legal-fields dd{margin:4px 0 0}.support-legal li{margin:8px 0;overflow-wrap:anywhere}.support-legal code{overflow-wrap:anywhere}.support-legal :target{scroll-margin-top:16px}.support-legal a:focus-visible{outline:1px solid #999;outline-offset:3px}@media(hover:hover) and (pointer:fine){.support-legal a:hover{background:#f0f0f2;color:#333}}

/* Policy language links also work without JavaScript. */
.legal-languages{display:flex;gap:0;flex-wrap:wrap;margin:16px 0;border-bottom:1px solid #e5e5e7}.legal-languages[hidden]{display:none}.legal-languages a{display:block;padding:10px 18px;color:#666;text-decoration:none;border-bottom:2px solid transparent}.legal-languages a[aria-current="page"]{color:#222;font-weight:600;border-bottom-color:#777}.support-legal h1{overflow-wrap:anywhere}.support-legal :is(p,li){hyphens:auto}
