:root{--bg:#f2f4f6;--panel:#fff;--text:#1a1d22;--muted:#66707d;--line:#dfe3e8;--accent:#d82335;--dark:#12151a}
*{box-sizing:border-box}
html,body{margin:0;background:var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans JP","Yu Gothic",sans-serif}
body{border-top:4px solid var(--accent)}
main{max-width:920px;margin:0 auto;padding:0 22px 72px}
.brand{margin:0 -22px 38px;padding:22px;background:var(--dark);font-size:21px;font-weight:900;letter-spacing:.08em}
.brand a,.brand span{background:none!important;color:#fff!important;-webkit-text-fill-color:#fff!important;text-decoration:none}
.eyebrow{color:#7b3440!important;font-size:12px!important;font-weight:800;letter-spacing:.08em}
h1{margin:0 0 20px!important;color:#171a20;font-size:clamp(27px,5vw,40px)!important;line-height:1.35}
h2{color:#20242a!important}
.card{margin-top:18px!important;padding:28px!important;border:1px solid var(--line)!important;border-radius:6px!important;background:#fff!important;box-shadow:0 9px 28px rgba(27,33,41,.07)}
p,li{color:#4f5a67!important;font-size:14px!important;line-height:1.9!important}
.muted,.note{color:var(--muted)!important}
.cta{display:block!important;margin-top:24px!important;padding:15px!important;border-radius:4px!important;background:var(--accent)!important;color:#fff!important;text-align:center;text-decoration:none;font-weight:850}
.cta:hover{background:#b91d2e!important}
.back{display:inline-flex!important;margin-top:28px!important;padding:11px 15px;border:1px solid #cfd5db;border-radius:4px;color:#252b33!important;background:#fff;text-decoration:none!important;font-size:13px!important;font-weight:750}
a{color:#a7192a}
a:focus-visible{outline:3px solid #f1abb3;outline-offset:2px}
@media(max-width:600px){main{padding:0 14px 52px}.brand{margin:0 -14px 28px;padding:18px 14px}.card{padding:20px!important}}

/* Comfortable mobile reading */
@media(max-width:600px){
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
main{padding:0 16px 60px;overflow-wrap:anywhere}
.brand{margin:0 -16px 28px;padding:22px 16px;font-size:22px}
p,li{font-size:16px!important;line-height:1.9!important}
.card{padding:22px 18px!important;border-radius:10px!important}
h1{font-size:28px!important;line-height:1.5}h2{font-size:21px;line-height:1.6}
.cta,.back{min-height:48px;font-size:16px!important;border-radius:8px!important}
}

/* Square billing dialog: mobile-first, no changes to search cards. */
.tp-square-dialog{box-sizing:border-box;width:min(580px,calc(100vw - 32px));max-height:calc(100dvh - 40px);overflow:auto;padding:28px;border:1px solid #d9e1ea;border-radius:16px;background:#fff;color:#172b43;box-shadow:0 24px 70px #142b4340;font-size:16px;line-height:1.7}
.tp-square-dialog::backdrop{background:#12283e88}.tp-square-dialog h2{margin:8px 36px 18px 0;font-size:22px}.tp-square-dialog p{margin:12px 0}.tp-square-price{font-weight:800;font-size:28px}.tp-square-price span{font-size:16px;font-weight:500}.tp-square-close{float:right;background:#eef2f6;border:0;border-radius:8px;min-width:44px;min-height:44px;font-size:24px;color:#172b43}.tp-square-actions{display:grid;grid-template-columns:1fr;gap:10px;margin:20px 0}.tp-square-dialog button{font:inherit;cursor:pointer;min-height:48px;border-radius:9px;padding:10px 14px}.tp-square-actions button,#tpSquareRefresh{border:1px solid #c6d3e0;background:#f5f8fb;color:#172b43}#tpSquareProceed{background:#173d65;border-color:#173d65;color:white;font-weight:700}.tp-square-dialog button:disabled{opacity:.55;cursor:wait}.tp-square-dialog .tp-square-small{font-size:14px;color:#52677b}#tpSquareMessage:not(:empty){padding:12px;background:#edf4fa;border-radius:8px}#tpSquareRefresh{width:100%}
@media(max-width:420px){.tp-square-dialog{padding:20px;font-size:16px}.tp-square-dialog h2{font-size:21px}.tp-square-price{font-size:26px}}
