/* Keep Thai supporting text legible on both desktop and handheld screens. */
html{scroll-behavior:auto}
.status.approved{color:#33734f;background:#eaf5ed}

.status.rejected{color:#a54160;background:#fbeef2}
.form-step{scroll-margin-top:24px}
.stepper li{min-width:0}
.stepper li>b{font-size:12px;white-space:normal;text-align:center;padding:0 3px;overflow-wrap:anywhere}
label,.button{font-size:14px}
.form-subtitle,.consent{font-size:13px}
.field-help,.secure-note,.info-note,.upload-zone span,.history-privacy{font-size:12px}
.aside-features b,.prepare-note b{font-size:14px}
.aside-features p,.prepare-note p,.text-link{font-size:13px}
.campaign-strip{font-size:14px}
.campaign-strip a{font-size:12px}
.prize-tag>span{font-size:13px}
.prize-tag i,.prize-tag div>span{font-size:12px}
.prize-tag{width:380px}
.footer-bottom{font-size:12px}
.history-item dt{font-size:12px}
.history-item dd,.status{font-size:14px}
.history-profile{margin-top:30px}
.history-profile dl>div:last-child{grid-column:1/-1}
.history-profile-note{font-size:12px;color:#666;margin:0 0 16px}
.history-item h3{overflow-wrap:anywhere;min-width:0}
.history-item .status{font-weight:600;border:1px solid transparent}
.history-item .status.pending{color:#785000;background:#fff4ce;border-color:#efd47a}
.history-item .status.approved{color:#17653a;background:#e6f4eb;border-color:#a5d6b7}
.history-item .status.rejected{color:#a12632;background:#fdebed;border-color:#efb2ba}
@media(max-width:700px){
  .prize-tag{width:min(340px,86%)}
  .prize-tag>span,.prize-tag i,.prize-tag div>span{font-size:11px}
  .campaign-strip{font-size:12px}
  .stepper li>b{font-size:11px}
  .form-subtitle,.consent,.page-heading p,.intro-panel>p{font-size:13px}
  .fields input,.fields select,.phone-input input,.history-search input{font-size:16px!important}
  .terms-card ol{font-size:14px}
  .history-item header{flex-wrap:wrap}
  .footer-bottom{font-size:11px}
}

/* Additional campaign details share the existing terms card theme. */
.terms-detail{margin-top:24px}
.terms-detail h3{color:var(--red)}
.table-hint{font-size:12px;color:#66666d;margin:0 0 12px}
.terms-table-scroll{overflow-x:auto;max-width:100%;border:1px solid var(--line);border-radius:10px}
.terms-table-scroll:focus-visible{outline:3px solid #d75c80;outline-offset:4px}
.terms-table{width:100%;border-collapse:collapse;font-size:13px;line-height:1.8}
.terms-table th,.terms-table td{padding:16px 12px;border-bottom:1px solid var(--line);text-align:center;vertical-align:middle}
.terms-table thead th{background:var(--red);color:#fff;font-weight:600}
.terms-table tbody th{color:var(--red);font-weight:600}
.terms-table tbody tr:nth-child(even){background:var(--pink)}
.terms-table tbody tr:last-child>*{border-bottom:0}
.schedule-table{min-width:940px}
.schedule-table td{white-space:nowrap}
.terms-notes{padding-left:22px;margin:24px 0 0;font-size:14px;line-height:2;color:#66666d}
.terms-notes>li:last-child{margin-bottom:0}
.terms-notes ol{margin-top:6px}
.terms-notes ol li{margin-bottom:0}
.terms-count{display:inline-block;padding:4px 12px;border-radius:20px;background:var(--pink);font-size:13px;vertical-align:middle}
.terms-prizes h4{font-size:15px;color:var(--ink);margin:0 0 6px;font-weight:600}
.terms-prizes p{margin:0 0 8px}
.terms-prizes>li{padding-bottom:20px;margin-bottom:20px;border-bottom:1px solid var(--line)}
.terms-prizes>li:last-child{padding-bottom:0;margin-bottom:0;border-bottom:0}
.terms-prizes .prize-total{color:var(--red);font-weight:600;margin:12px 0 0}
.appliance-table{min-width:560px}
.appliance-table th:first-child{text-align:left}
.appliance-table tbody th{color:var(--ink);font-weight:500}
.appliance-table td{white-space:nowrap}
.terms-license p{font-size:14px;line-height:2;color:#66666d;margin:0;overflow-wrap:anywhere}
@media(max-width:700px){.terms-detail{margin-top:18px}.terms-count{margin-top:8px}.terms-table th,.terms-table td{padding:13px 10px}.terms-prizes h4{font-size:14px}}

.product-types{min-width:0;margin:0;padding:0;border:0}.product-types legend{font-size:13px;font-weight:500;padding:0}.product-types .field-help{margin:4px 0 12px}.product-option{display:flex;align-items:flex-start;gap:10px;margin:0;padding:9px 0;cursor:pointer;font-weight:400}.product-option input{width:18px;height:18px;flex-shrink:0;margin:2px 0 0;accent-color:var(--red)}.product-option span{min-width:0;overflow-wrap:anywhere}

/* Registration history: participant summary and compact contract list. */
.history-summary{margin-top:30px;background:#fff7ed;border:1px solid #edddcc;border-radius:14px;overflow:hidden;color:#361b17}
.history-summary header{display:flex;align-items:center;gap:14px;padding:18px 22px;background:#fbefdf;border-bottom:1px solid #edddcc}
.summary-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#eadbc8;font-size:24px;flex-shrink:0}
.history-summary h3{margin:0;font-size:18px;color:#785039}.history-summary header p{margin:3px 0 0;font-size:13px;color:#85674e}
.history-summary dl{margin:0;padding:10px 22px}.history-summary dl>div{display:grid;grid-template-columns:145px minmax(0,1fr);gap:18px;padding:10px 0;border-bottom:1px dotted #decbb7}.history-summary dl>div:last-child{border:0}
.history-summary dt{color:#85674e;font-weight:600}.history-summary dd{margin:0;text-align:right;overflow-wrap:anywhere;font-weight:600}
.history-total{display:flex;justify-content:space-between;gap:20px;padding:14px 22px;background:#fbefdf;border-top:1px solid #edddcc;color:var(--red)}
.history-table-wrap{border-radius:12px;overflow:hidden;border:1px solid #edddcc;background:#fff7ed}.history-table{width:100%;border-collapse:collapse;font-size:14px;color:#67412f}.history-table th{background:#950b29;color:#fff;padding:14px 10px;text-align:left}.history-table td{padding:18px 10px;border-bottom:1px dotted #decbb7;vertical-align:top}.history-table tr:last-child td{border-bottom:0}.history-table th:first-child,.history-number{width:34px;text-align:center}.history-number{color:#997b65}.history-contract{overflow-wrap:anywhere}.history-contract strong,.history-contract span{display:block}.history-contract strong{color:#361b17}.history-contract span{margin-top:3px}.rights-badge{display:inline-block;white-space:nowrap;border:1px solid #eed7bd;background:#fbefdf;color:#a50034;border-radius:24px;padding:3px 10px;font-weight:700}.history-table .status{white-space:nowrap;font-size:13px;padding:4px 10px}.history-table .status.approved{color:#087743;background:#d5f0e3}.history-table .status.rejected{color:#bd1239;background:#ffe6ec}.history-table .status.pending{color:#785000;background:#fff0bf}.history-rights-note{font-size:12px;color:#786656;margin-top:12px}
@media(max-width:600px){.history-summary dl>div{grid-template-columns:100px minmax(0,1fr);gap:10px}.history-summary header,.history-total{padding:14px}.history-summary dl{padding:6px 14px}.history-summary{font-size:14px}.history-table{font-size:12px}.history-table td,.history-table th{padding:12px 5px}.history-table .status{font-size:11px;padding:4px 6px}.rights-badge{padding:3px 6px;font-size:11px}.history-table th:first-child{width:22px}.history-contract{min-width:0}.history-table{table-layout:fixed}.history-table th:nth-child(3){width:55px}.history-table th:nth-child(4){width:82px}}
