.tn-form select, body.tn-readable #wpbody-content form select { text-overflow:clip; max-width:100%; padding-right:30px!important; }
.tn-form>label {max-width:100%;}
.tn-full-value {display:block;white-space:normal;overflow-wrap:anywhere;font-size:12px;line-height:1.4;color:inherit;max-width:100%;}
/* v39: preserve content-sized fields and logical registration rows. */
.tn-form>label,.tn-form.tn-registration>label{flex:0 1 auto!important;min-width:0;}
.tn-form.tn-registration>.tn-field-9{flex:0 1 100%!important;}
.tn-form.tn-registration>.tn-registration-row{flex:0 0 100%;height:0;margin-top:-16px!important;}
@media(max-width:600px){.tn-form>label,.tn-form.tn-registration>label{flex:1 1 100%!important;width:100%!important;}}

/* v40: compact wrapping, without stretching short fields across the page. */
.tn-form.tn-registration{row-gap:12px!important;column-gap:16px!important;max-width:100%;}
.tn-form.tn-registration>.tn-registration-row{margin:0!important;height:0;flex:0 0 100%;}
.tn-form.tn-registration>.tn-section{margin-top:4px;padding-top:10px;}
.tn-form>label{overflow-wrap:anywhere;}
.tn-form>label>input,.tn-form>label>select,.tn-form>label>textarea{min-width:0;box-sizing:border-box;}
.tn-form.tn-registration>.tn-field-25 textarea{min-height:42px;}
@media(max-width:900px){.tn-form.tn-registration>.tn-registration-row{display:none!important;}}
@media(max-width:600px){.tn-form.tn-registration{padding:12px!important;gap:10px!important;}.tn-form>label,.tn-form.tn-registration>label{flex:1 1 100%!important;width:100%!important;}.tn-form .tn-date-wrap{max-width:100%;}}

/* Receipt links: one per line, scoped to pilgrim record actions. */
.tn-actions .tn-receipt-line { display:block; margin:0 0 3px; line-height:1.35; max-width:100%; }
.tn-actions .tn-receipt-line > a { display:inline-block; max-width:100%; white-space:normal; overflow-wrap:break-word; }

/* v1.0.65: shared summary typography, without changing layout. */
.tn .tn-summary > div {font-size:15.6px;line-height:1.45;box-sizing:border-box;max-width:100%;overflow-wrap:anywhere;}
.tn .tn-summary > div > strong {font-size:17px;font-weight:700;font-variant-numeric:tabular-nums;}

.tn65-payment-summary thead th{font-size:15.6px;font-weight:700;}
.tn65-payment-summary tbody td:not(:first-child){font-size:17px;font-weight:400;font-variant-numeric:tabular-nums;}
.tn65-payment-summary tbody tr:last-child th{font-weight:700;font-variant-numeric:tabular-nums;}
.tn65-payment-summary tbody tr:last-child th:not(:first-child){font-size:17px;}
.tn68-statement{max-width:1100px;margin:18px 0;border-collapse:collapse}.tn68-statement th{font-size:18px;font-weight:700;padding:12px}.tn68-statement th:last-child{text-align:right}.tn68-statement td{font-size:17px;line-height:1.45;padding:10px 12px;border-bottom:1px solid #e2e4e7}.tn68-statement td:last-child{font-variant-numeric:tabular-nums}.tn68-statement .tn68-section td{background:#eef1f4;font-size:19px;font-weight:700;text-align:left}.tn68-statement .tn68-total td{font-size:20px;font-weight:700;border-top:1px solid #aab2bc}@media(max-width:600px){.tn68-statement td,.tn68-statement th{font-size:15px;padding:8px}.tn68-statement .tn68-total td{font-size:17px}}

/* Report cells: preserve complete words and identifiers. */
.tn table th,.tn table td,.tn45 table th,.tn45 table td,.tn-list th,.tn-list td{overflow-wrap:normal!important;word-break:normal!important;hyphens:none;}

/* v1.0.99: scoped form layout and date control normalization. */
.tn-form .tn-date-wrap{display:flex!important;position:relative!important;min-width:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box;}
.tn-form .tn-date-wrap>input[data-tn-date]{flex:1 1 0!important;width:100%!important;min-width:0!important;padding-right:48px!important;box-sizing:border-box!important;}
.tn-form .tn-date-wrap>input.tn-calendar{position:absolute!important;right:1px!important;top:1px!important;width:40px!important;max-width:40px!important;min-width:0!important;height:40px!important;min-height:0!important;padding:0!important;}
.tn-form .tn-trip-duration{display:block;white-space:normal;overflow-wrap:normal;font-weight:700;line-height:1.4;font-size:14px;margin:0;}
.tn-form .tn-trip-duration:empty{display:none;}
.tn-form input[type=checkbox],.tn-form input[type=radio]{width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;max-height:18px!important;padding:0!important;flex:0 0 18px;vertical-align:middle;}
.tn-form.tn-trip-compact>label{flex:1 1 205px!important;width:auto!important;min-width:0!important;}
.tn-form.tn-trip-compact>label.tn-field-0,.tn-form.tn-trip-compact>label.tn-field-1{flex:2 1 300px!important;}
.tn-form.tn-trip-compact>label.tn-field-7,.tn-form.tn-trip-compact>label.tn-field-14{flex:0 0 100%!important;width:100%!important;}
.tn-form.tn-trip-compact>label>textarea{width:100%!important;max-width:100%!important;box-sizing:border-box;resize:vertical;}
.tn-form.tn-trip-compact>section{min-width:0;max-width:100%;box-sizing:border-box;}
.tn-form.tn-trip-compact>section label:not(.tn95-check){flex:1 1 210px;min-width:0;display:flex;flex-direction:column;gap:6px;}
.tn-form.tn-trip-compact>section label:not(.tn95-check)>input{width:100%;min-width:0;}
.tn-form.tn-trip-compact label[hidden]{display:none!important;}
@media(max-width:600px){.tn-form.tn-trip-compact>label,.tn-form.tn-trip-compact>section label:not(.tn95-check){flex:1 1 100%!important;width:100%!important;}.tn-form .tn95-check{align-items:flex-start!important;line-height:1.5;}}

/* v1.1.14: shared table hierarchy and compact top-level search. */
.tn table thead th,.tn45 table thead th,.tn68-statement thead th{font-weight:700!important;}
.tn table tfoot th,.tn table tfoot td,.tn45 table tfoot th,.tn45 table tfoot td{font-weight:700!important;}
.tn114-search{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px;margin:12px 0;}
.tn114-search label{display:flex;flex-direction:column;gap:4px;min-width:0;max-width:100%;font-weight:600;}
.tn114-search input[type=search]{width:245px;max-width:100%;box-sizing:border-box;}
.tn114-search select{max-width:100%;width:auto;}
.tn114-search .button{margin:0;}
@media(max-width:600px){.tn114-search label{flex:1 1 100%;}.tn114-search input[type=search],.tn114-search select{width:100%;}}
.tn .tn111-summary,.tn .tn115-passport{padding:0!important;overflow:hidden;border:1px solid #cbd5e1;border-radius:8px;background:#fff;margin:12px 0}.tn .tn111-summary>summary,.tn .tn115-passport>summary{cursor:pointer;padding:14px 18px!important;font-size:21px!important;font-weight:700!important;color:#fff!important;background:#183b60;line-height:1.4}.tn .tn115-passport>summary{background:#995000}.tn .tn111-summary> :not(summary),.tn .tn115-passport> :not(summary){margin:12px 16px}.tn115-mail{border:1px solid #849bb5;border-radius:8px;background:white;margin:12px 0;padding:12px;color:#183b60}.tn115-mail summary{cursor:pointer;font-size:18px;font-weight:700}.tn115-mail form{display:grid;gap:10px;margin-top:12px;max-width:850px}.tn115-mail label{display:grid;gap:4px;font-weight:600}.tn115-mail input,.tn115-mail textarea,.tn115-mail select{box-sizing:border-box;max-width:100%;width:100%}.tn115-mail select{max-width:430px}.tn115-mail textarea{min-height:130px}.tn115-mail [hidden]{display:none!important}.tn115-mail .tn115-address{display:flex;gap:8px;align-items:center;margin:6px 0;max-width:520px}.tn115-mail .tn115-address input{flex:1;min-width:0}.tn115-mail pre{white-space:pre-wrap;overflow-wrap:anywhere}.tn115-mail .tn115-buttons{display:flex;gap:8px;flex-wrap:wrap}.tn115-mail .tn115-buttons .button{width:auto}.tn115-mail .tn115-review{border:1px solid #cbd5e1;padding:12px;border-radius:6px}

/* Public registration package price: intrinsic wrapping, independent of theme breakpoints. */
.tn118-public .tn-form.tn-public-registration > .tn125-package-row{display:flex!important;flex-flow:row wrap!important;align-items:center!important;gap:12px!important;grid-column:1/-1;flex:0 0 100%;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;}
.tn118-public .tn125-package-row>.tn-trip-field{display:flex!important;flex-direction:column;gap:6px;flex:3 1 300px!important;width:0!important;min-width:min(100%,300px)!important;max-width:100%!important;margin:0!important;}
.tn118-public .tn125-package-row>.tn-trip-field select{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;}
.tn118-public .tn125-package-row>.tn-public-price{display:flex!important;flex-direction:column;justify-content:center;align-items:center;gap:4px;background:#183b60;color:#fff;border:1px solid #183b60;border-radius:8px;padding:10px 12px!important;flex:2 1 210px!important;width:0!important;min-width:min(100%,210px)!important;max-width:100%!important;box-sizing:border-box!important;text-align:center;}
.tn118-public .tn125-package-row .tn-public-price-title{color:#fff!important;font-size:16px!important;font-weight:600;line-height:1.35;}
.tn118-public .tn125-package-row .tn-public-price-value{display:block!important;background:transparent!important;border:0!important;padding:0!important;min-height:0!important;color:#fff!important;font-size:24px!important;font-weight:700;line-height:1.25;overflow-wrap:anywhere;}


.tn-registration .tn-visa-reminder{display:block;box-sizing:border-box;width:100%;padding:12px;border:1px solid #e6bb65;border-radius:8px;background:#fff5df;color:#704900;font-size:14px;line-height:1.5;white-space:normal;overflow-wrap:anywhere;font-weight:400}.tn-registration .tn-visa-reminder strong{display:block;margin-bottom:4px;color:inherit;font-size:15px}.tn-registration .tn-visa-warning{background:#fff0f0;border-color:#dc8888;color:#b42318}.tn-registration .tn-visa-reminder[hidden]{display:none!important}
