.wss-form, .wss-box { max-width: 760px; margin: 0 auto; font-size: 16px; line-height: 1.5; color: #111; }
.wss-form *, .wss-box * { box-sizing: border-box; }
.wss-section { border: 1px solid #e3e3e3; border-radius: 10px; padding: 20px; margin: 0 0 18px; background: #fff; }
.wss-section h3 { margin: 0 0 14px; font-size: 19px; }
.wss-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.wss-plan, .wss-method { display: flex; gap: 10px; align-items: center; border: 1px solid #d6d6d6; border-radius: 8px; padding: 12px 14px; cursor: pointer; margin-bottom: 8px; }
.wss-plan:has(input:checked), .wss-method:has(input:checked) { border-color: #111; box-shadow: 0 0 0 1px #111; }
.wss-method small { color: #666; margin-left: 6px; }
.wss-plan span small { display: block; color: #555; font-size: 13px; line-height: 1.35; margin-top: 2px; }
.wss-plan.wss-full { opacity: .5; cursor: not-allowed; }
.wss-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.wss-form label { display: block; font-weight: 600; font-size: 14px; }
.wss-form label.wss-plan, .wss-form label.wss-method, .wss-form label.wss-check { font-weight: 400; font-size: 16px; }
.wss-form input[type=text], .wss-form input:not([type]), .wss-form input[type=email], .wss-form input[type=tel], .wss-form input[type=date], .wss-form select, .wss-form textarea {
	display: block; width: 100%; margin-top: 4px; padding: 10px 12px; border: 1px solid #bbb; border-radius: 6px; font-size: 16px; font-weight: 400; background: #fff; color: #111;
}
.wss-wide { grid-column: 1 / -1; margin-top: 12px; }
.wss-hp { position: absolute !important; left: -9999px !important; height: 0; width: 0; opacity: 0; }
.wss-due { width: 100%; border-collapse: collapse; }
.wss-due td, .wss-due th { padding: 8px 0; border-bottom: 1px solid #eee; text-align: left; }
.wss-due td:last-child, .wss-due th:last-child { text-align: right; white-space: nowrap; }
.wss-due tfoot th { font-size: 18px; border-bottom: 0; border-top: 2px solid #111; }
.wss-monthly { margin: 10px 0 0; color: #333; font-size: 15px; }
.wss-agreement { white-space: pre-wrap; max-height: 320px; overflow-y: auto; border: 1px solid #ddd; border-radius: 6px; padding: 14px; background: #fafafa; font-size: 14px; line-height: 1.55; }
.wss-consents { margin: 14px 0 6px; }
.wss-check { display: flex !important; gap: 10px; align-items: flex-start; margin: 8px 0; }
.wss-check input { margin-top: 4px; flex: 0 0 auto; width: 18px; height: 18px; }
.wss-sign { margin-top: 14px; }
.wss-sign-head { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.wss-sign canvas { display: block; width: 100%; height: 180px; border: 1px dashed #888; border-radius: 6px; background: #fff; touch-action: none; cursor: crosshair; }
.wss-clear { background: none; border: 0; color: #0a58ca; cursor: pointer; text-decoration: underline; font-size: 14px; padding: 0; }
.wss-error { background: #fdecea; color: #8a1c13; border: 1px solid #f5c2bd; border-radius: 6px; padding: 12px 14px; }
.wss-submit, .wss-button { display: inline-block; width: 100%; padding: 16px; background: #111; color: #fff !important; border: 0; border-radius: 8px; font-size: 17px; font-weight: 700; cursor: pointer; text-align: center; text-decoration: none; }
.wss-submit[disabled], .wss-pay[disabled] { opacity: .6; cursor: wait; }
.wss-pay { display: block; width: 100%; padding: 16px; margin-top: 14px; background: #14263b; color: #fff; border: 0; border-radius: 8px; font-size: 18px; font-weight: 700; cursor: pointer; }
.wss-back { background: none; border: 0; color: #0a58ca; text-decoration: underline; cursor: pointer; margin-top: 10px; font-size: 14px; padding: 0; }
.wss-fee-note { font-size: 14px; color: #444; background: #f6f4ef; border-radius: 6px; padding: 10px 12px; }
.wss-confirm { border-color: #14263b; box-shadow: 0 0 0 1px #14263b; }
.wss-confirm-method { font-weight: 600; }
#wss-payment-element { min-height: 60px; }
.wss-small { font-size: 13px; color: #666; text-align: center; }
.wss-box { border: 1px solid #e3e3e3; border-radius: 10px; padding: 24px; background: #fff; }
[hidden] { display: none !important; }
@media (max-width: 600px) {
	.wss-grid { grid-template-columns: 1fr; }
	.wss-section { padding: 16px; }
}
