body { font-family: Arial, sans-serif; margin: 20px; color: #1d2733; }
.pin { max-width: 680px; margin: 0 auto; }
.pin-home a { color: #555; text-decoration: none; font-size: 14px; }
.pin h1 { font-size: 26px; margin: 18px 0 10px; }
.pin h2 { font-size: 19px; margin: 26px 0 10px; }
.pin-lead { color: #4b5563; line-height: 1.55; margin: 0 0 22px; }
.pin-form { display: grid; gap: 18px; }
.pin-field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.pin-field small, .pin-note { color: #6b7280; font-size: 13px; line-height: 1.5; }
.pin-label { font-weight: 700; font-size: 15px; padding: 0; }
.pin-field > input { padding: 10px; font-size: 16px; border: 1px solid #c9ced6; border-radius: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 6px; border: 1px solid #c9ced6; border-radius: 6px; min-height: 44px; box-sizing: border-box; }
.chips:focus-within, .pin-field > input:focus { outline: 2px solid #96d5f3; border-color: #229ed9; }
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 4px 4px 4px 11px; border-radius: 999px; background: #1f7fb3; color: #fff; font-size: 14px; font-weight: 600; }
.chip button { border: 0; background: transparent; color: #fff; opacity: .85; font-size: 17px; line-height: 1; cursor: pointer; padding: 0 6px; }
.chip button:hover { opacity: 1; }
.chip-input { position: relative; flex: 1 1 180px; }
.chip-input input { width: 100%; box-sizing: border-box; border: 0; outline: 0; padding: 6px 4px; font-size: 16px; }
.city-suggest { position: absolute; top: 100%; left: 0; right: 0; z-index: 10; margin: 4px 0 0; padding: 0; list-style: none; background: #fff; border: 1px solid #ccc; border-radius: 6px; box-shadow: 0 4px 12px rgba(0,0,0,.12); max-height: 300px; overflow-y: auto; }
.city-suggest li { padding: 8px 10px; cursor: pointer; font-size: 15px; }
.city-suggest li small { color: #777; }
.city-suggest li[aria-selected="true"], .city-suggest li:hover { background: #eef3f8; }
.pin-months { display: flex; flex-wrap: wrap; gap: 10px; }
.pin-months legend { margin-bottom: 6px; }
.month { flex: 1 1 150px; display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border: 1px solid #c9ced6; border-radius: 8px; cursor: pointer; font-size: 14px; line-height: 1.45; }
.month:has(input:checked) { border-color: #229ed9; background: #f3fafe; }
.pin-summary { padding: 12px 14px; border-radius: 8px; background: #f6f7f9; font-size: 15px; line-height: 1.5; }
.pin-error { color: #b42318; margin: 0; }
.pin-submit, .pay-button { display: inline-block; justify-self: start; padding: 12px 22px; border: 2px solid #229ed9; border-radius: 10px; background: #229ed9; color: #fff; font-size: 16px; font-weight: 600; cursor: pointer; text-decoration: none; }
.pin-submit:hover, .pay-button:hover { background: #1888bd; border-color: #1888bd; }
.pin-submit[disabled] { opacity: .6; cursor: progress; }
.order-title { margin-bottom: 4px; }
.order-number { color: #6b7280; font-size: 13px; margin: 0 0 16px; overflow-wrap: anywhere; }
.order-card { border: 1px solid #e3e6ea; border-radius: 10px; }
.order-card section { padding: 14px 16px; border-top: 1px solid #e3e6ea; line-height: 1.5; }
.order-card section:first-child { border-top: 0; }
.order-card h2 { font-size: 15px; margin: 0 0 10px; }
.order-preview { padding: 12px; border: 1px dashed #d5dae0; border-radius: 8px; }
.order-preview a { font-weight: bold; color: #000; text-decoration: none; }
.order-preview small { display: block; color: #666; margin-top: 2px; }
.badge { display: inline-block; padding: .1em .35em; font-size: .75em; font-weight: 600; line-height: 1; color: #212529; background: #f1f1f1; border-radius: 10rem; }
.order-city { margin: 0 0 6px; }
.order-keyword { display: inline-block; margin: 2px 2px; padding: 3px 10px; border-radius: 999px; background: #1f7fb3; color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; }
.order-keyword:hover { background: #17658f; }
.order-action p { margin: 0 0 10px; }
.order-action p:last-child { margin-bottom: 0; }
.order-ok { color: #1e7a3c; }
#captcha-dialog { box-sizing: border-box; max-width: 334px; width: calc(100% - 2px); border: 1px solid #ddd; border-radius: 10px; padding: 16px; }
#captcha-dialog::backdrop { background: #0007; }
#captcha-title { margin: 0 28px 12px 0; font-size: 18px; }
#captcha-close { position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; border: 0; background: transparent; color: #666; font-size: 24px; cursor: pointer; }
#captcha-message { margin: 10px 0 0; font-size: 14px; }
#captcha-message:empty { display: none; }
@media (max-width: 520px) { .pin-submit, .pay-button { justify-self: stretch; text-align: center; } }
.my-orders { margin-top: 28px; padding-top: 16px; border-top: 1px solid #e3e6ea; }
.my-orders h2 { font-size: 16px; margin: 0 0 10px; }
.my-orders ul { margin: 0; padding-left: 18px; line-height: 1.7; font-size: 14px; }
.my-status { font-weight: 600; }
.my-status--paid, .my-status--active { color: #1e7a3c; }
.my-status--pending, .my-status--new { color: #a15c00; }
.my-status--expired { color: #b42318; }
