/* Create My Trip: one visible entry form, with finances kept inside the trip. */
.tc-hero .tc-hero__inner{min-height:680px;padding-top:36px;padding-bottom:28px;gap:30px;display:flex;flex-direction:column;align-items:stretch;justify-content:space-between}
.tc-hero .tc-hero__copy{max-width:760px;margin-bottom:0}
.tc-hero .tc-trip-form.tb-hero-form{position:relative;inset:auto;width:100%;display:block;margin:0;padding:22px 26px;border:1px solid #d7e9e7;border-radius:20px;background:rgba(255,255,255,.97);box-shadow:0 8px 30px #12375214}
.tb-start-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:17px}
.tb-start-heading h2{margin:0 0 4px;color:#091e42;font-size:22px;font-weight:900;line-height:1.2}
.tb-start-heading p{margin:0;font-size:14px;color:#435b71;line-height:1.5}
.tb-start-heading>span{color:#007d73;display:flex;align-items:center;gap:7px;font-size:12px;font-weight:800;white-space:nowrap}
.tb-start-main,.tb-start-options,.tb-category-fields{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.tb-start-options{margin-top:14px}
.tb-hero-form .tc-field{min-width:0;margin:0}
.tb-hero-form .tc-field label{display:flex;align-items:center;gap:7px;font-size:12px;line-height:1.4;min-height:18px;margin:0 0 6px;color:#122b49;white-space:normal}
.tb-hero-form .tc-field input,.tb-hero-form .tc-field select{width:100%;min-width:0;min-height:45px;margin:0;padding:9px 11px;font-size:15px;color:#15334f;background:#fff;border:1px solid #c4d6df;border-radius:9px;line-height:1.4}
.tb-hero-form .tc-field input:focus,.tb-hero-form .tc-field select:focus{outline:2px solid #008f84;outline-offset:2px}
.tb-start-categories{min-width:0;margin:17px 0 0;padding:14px 0 0;border:0;border-top:1px solid #e2ecef}
.tb-start-categories legend{float:none;width:auto;margin:0 0 9px;padding:0;font-size:12px;font-weight:800;line-height:1.5;color:#435b71}
.tb-category-fields>.tc-field:nth-child(1) label i{color:#087cd4}.tb-category-fields>.tc-field:nth-child(2) label i{color:#e6564f}.tb-category-fields>.tc-field:nth-child(3) label i{color:#008f84}.tb-category-fields>.tc-field:nth-child(4) label i{color:#b57600}.tb-category-fields>.tc-field:nth-child(5) label i{color:#7166ad}
.tb-start-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;border-top:1px solid #e2ecef;padding-top:16px;margin-top:16px}
.tb-start-footer p{margin:0 0 4px;font-size:13px;font-weight:800;color:#15334f;line-height:1.5}
.tb-start-footer small{font-size:12px;color:#537071;line-height:1.5}
.tb-start-action{display:flex;gap:10px;flex-shrink:0;align-items:center}
.tb-start-action select{min-height:45px;padding:9px 12px;border:1px solid #c4d6df;border-radius:9px;background:white;color:#173c51;font:inherit;font-size:13px}
.tc-hero .tb-start-action .tc-button{min-height:46px;padding:12px 20px;font-size:15px;gap:8px;white-space:nowrap}
.tb-start-message{color:#a32f25;background:#fff0ec;padding:12px;margin:14px 0 0!important;border-radius:8px;font-size:14px}
.tb-hero-form [hidden]{display:none!important}
.tp-builder .tb-start-options,.tp-builder .tb-category-fields{grid-template-columns:1fr 1fr;gap:0 12px}
.tp-builder .tc-field input,.tp-builder .tc-field select{font-size:14px}
.tp-builder .tb-start-categories{margin-top:18px}
.tp-builder .tb-start-categories legend{font-size:12px}
.tp-app.has-trip .tp-layout{grid-template-columns:minmax(0,1fr)}
.tp-app.has-trip .tp-builder{display:none}
.tp-app[data-trip-view="budget"] #trip-daily-plan{display:none}
.tb-view-tabs{display:flex;gap:26px;border-bottom:1px solid #d9e5eb;margin:5px 0 24px}
.tb-view-tabs button{display:flex;gap:8px;align-items:center;border:0;border-bottom:3px solid transparent;border-radius:0;padding:14px 0;background:transparent;min-height:48px;font-size:16px;color:#536575}
.tb-view-tabs button.is-active{color:#007c72;border-bottom-color:#00998d}
.tb-section-heading h2{font-size:26px;line-height:1.2;font-weight:900;margin:0 0 8px;color:#091e42}
.tb-section-heading p{font-size:16px;line-height:1.6;color:#435b71;margin:0 0 22px}
.tb-trip-settings{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:22px;padding:20px 22px;border:1px solid #e0eaee;border-radius:12px;background:#f5f9fa}
.tp-app label.tb-control{display:flex;flex-direction:column;gap:7px;margin:0;font-size:13px;min-width:0}
.tp-app .tb-control>span{font-size:13px;color:#435b71;font-weight:800}
.tp-app .tb-control>input,.tp-app .tb-control>select{min-height:46px;font-size:16px}
.tb-total-people{display:flex;flex-wrap:wrap;align-items:center;align-content:center;gap:7px 10px;color:#007b71}
.tb-total-people small{flex-basis:100%;color:#536575;font-size:12px;line-height:1.5}
.tb-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:20px;border:1px solid #dfe9ec;border-radius:12px;overflow:hidden}
.tb-stats>div{padding:20px 22px;display:flex;flex-direction:column;gap:9px;border-right:1px solid #e2ecef;min-width:0}
.tb-stats>div:last-child{border:0;background:#edf9f3}
.tb-stats span{color:#435b71;font-size:13px;font-weight:700}
.tb-stats strong{color:#091e42;font-size:29px;font-weight:900;line-height:1.2;overflow-wrap:anywhere}
.tb-stats small{color:#536575;font-size:12px;line-height:1.6}
.tb-stats>div:last-child strong{color:#087d50}.tb-stats>div.is-over{background:#fff0ec}.tb-stats>div.is-over strong{color:#b13630}
.tb-day-picker{display:flex;gap:10px;overflow-x:auto;padding:3px 3px 12px;margin-top:25px;scrollbar-color:#00998d #eaf4f3;scrollbar-width:thin}
.tb-day-picker button{display:flex;align-items:flex-start;flex-direction:column;gap:4px;min-width:160px;padding:13px 16px;flex-shrink:0;font-size:14px}
.tb-day-picker button span{font-size:12px;font-weight:600}
.tb-day-picker button.is-active{background:#008c80;border-color:#008c80;color:white}
.tb-day-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:23px 0 17px}
.tb-day-heading h3{font-size:24px;font-weight:900;line-height:1.3;margin:0 0 6px;color:#091e42}
.tb-day-heading div>p{font-size:14px;color:#536575;margin:0}
.tb-day-state{font-size:13px;font-weight:800;color:#087b53;background:#edf9f3;border-radius:7px;padding:10px 12px;margin:0;line-height:1.5}
.tb-day-state.is-over{background:#fff0ec;color:#b13630}
.tb-budget-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(270px,1fr);gap:22px;align-items:start}
.tb-table-wrap{border:1px solid #dfe9ec;border-radius:12px;overflow:hidden}
.tb-budget-table{width:100%;border-collapse:collapse;table-layout:fixed;color:#17304b}
.tb-budget-table th:first-child{width:45%}
.tb-budget-table th,.tb-budget-table td{padding:17px 18px;border-bottom:1px solid #e6edf1;vertical-align:middle;text-align:right}
.tb-budget-table th{text-align:left}
.tb-budget-table thead{background:#f7fafb}
.tb-budget-table thead th{font-size:12px;font-weight:800;color:#536575;line-height:1.5}
.tb-budget-table thead th:not(:first-child){text-align:right}
.tb-category-name{display:flex;gap:13px;align-items:center}
.tb-category-name>i{color:#087cd4;font-size:22px;width:28px;flex-shrink:0;text-align:center}
.tb-budget-table tr:nth-child(2) .tb-category-name>i{color:#e6564f}.tb-budget-table tr:nth-child(3) .tb-category-name>i{color:#008f84}.tb-budget-table tr:nth-child(4) .tb-category-name>i{color:#b57600}.tb-budget-table tr:nth-child(5) .tb-category-name>i{color:#7166ad}
.tb-category-name strong{display:block;font-size:16px;font-weight:800;line-height:1.4}
.tb-category-name small{display:block;color:#607284;font-size:11px;font-weight:600;line-height:1.6;margin-top:3px}
.tp-app .tb-budget-table input{font-size:16px;min-height:44px;text-align:right;padding:8px 10px}
.tb-money-output{display:block;font-size:16px;font-weight:800}
.tb-inline-link{display:block;border:0;background:transparent;text-decoration:underline;text-underline-offset:3px;cursor:pointer;color:#007d73;font:inherit;font-size:12px;padding:4px 0 0;margin-left:auto;min-height:28px}
.tb-budget-table tfoot th,.tb-budget-table tfoot td{border:0;font-size:16px;font-weight:900;background:#f4faf9}
.tb-panel-note{margin:0;padding:13px 18px;font-size:12px;line-height:1.7;color:#536575;border-top:1px solid #e6edf1}
.tb-transport-panel{padding:24px;background:#eef9f8;border:1px solid #d8eae6;border-radius:12px}
.tb-transport-panel h3{font-size:24px;font-weight:900;line-height:1.25;margin:0 0 10px;color:#091e42}
.tb-panel-copy{font-size:14px;line-height:1.7;color:#536575;margin:0 0 20px}
.tp-app .tb-transport-panel .tb-control{margin-top:15px}
.tb-split-result{display:flex;flex-direction:column;gap:8px;padding-top:20px;margin-top:22px;border-top:1px solid #cfe2dd}
.tb-split-result span{font-size:12px;color:#536575}
.tb-split-result strong{font-size:26px;font-weight:900;line-height:1.4;color:#007d73}
.tb-split-result strong:last-child{font-size:21px}
.tb-trip-split{display:flex;gap:10px 15px;align-items:center;flex-wrap:wrap;margin:22px 0 28px;padding:17px 20px;background:#f5f9fc;border-radius:10px;color:#29465e;font-size:14px;line-height:1.6}
.tb-trip-split>i{color:#087cd4;font-size:21px}.tb-trip-split strong{margin-left:auto;color:#007d73}
.tb-activity-transport{max-width:440px;margin:18px 0}
@media(min-width:1600px){.tc-hero .tc-hero__inner{min-height:740px}.tb-hero-form .tc-field label{font-size:14px}.tb-hero-form .tc-field input,.tb-hero-form .tc-field select{font-size:17px;min-height:48px}.tb-start-heading h2{font-size:24px}}
@media(max-width:1100px){.tc-hero .tc-hero__inner{min-height:0;gap:28px;padding-block:30px}.tc-hero .tc-trip-form.tb-hero-form{padding:20px}.tb-start-main{grid-template-columns:repeat(3,minmax(0,1fr))}.tb-start-options{grid-template-columns:repeat(3,minmax(0,1fr))}.tb-category-fields{gap:10px}.tb-start-footer{align-items:flex-start}.tb-start-action{align-items:stretch;flex-direction:column}.tb-budget-layout{grid-template-columns:minmax(0,1.5fr) minmax(260px,1fr);gap:16px}.tb-budget-table th,.tb-budget-table td{padding:15px 12px}.tb-transport-panel{padding:20px}}
@media(max-width:800px){.tb-budget-layout{grid-template-columns:1fr}.tb-trip-settings{grid-template-columns:1fr 1fr;padding:18px;gap:16px}.tb-total-people{grid-column:1/-1}.tb-total-people small{flex-basis:auto}.tb-stats{grid-template-columns:1fr 1fr}.tb-stats>div{border-bottom:1px solid #e2ecef;padding:17px}.tb-stats>div:nth-child(2){border-right:0}.tb-stats>div:nth-child(3){border-bottom:0}.tb-stats strong{font-size:26px}.tb-start-footer{flex-direction:column;gap:14px}.tb-start-action{flex-direction:row;width:100%}.tb-start-action select{flex:1}.tc-hero .tb-start-action .tc-button{flex:1}.tb-start-heading>span{font-size:11px}.tb-day-heading{align-items:flex-start;flex-direction:column;gap:12px}}
@media(max-width:520px){.tc-hero .tc-hero__inner{padding-top:28px;padding-bottom:20px;gap:24px}.tc-hero .tc-trip-form.tb-hero-form{padding:19px 15px;border-radius:16px}.tc-hero .tc-hero__copy{padding-bottom:5px}.tb-start-heading{align-items:flex-start;flex-direction:column;gap:9px;margin-bottom:18px}.tb-start-heading h2{font-size:22px}.tb-start-heading p{font-size:13px}.tb-start-main,.tb-start-options,.tb-category-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 11px}.tb-start-main .tc-field:nth-child(3),.tb-start-main .tc-field:nth-child(4){grid-column:1/-1}.tb-start-options .tc-field:nth-child(4){grid-column:1/-1}.tb-hero-form .tc-field label{font-size:12px;min-height:17px}.tb-hero-form .tc-field input,.tb-hero-form .tc-field select{font-size:15px;min-height:46px}.tb-start-categories legend{font-size:12px}.tb-start-footer p{font-size:12px}.tb-start-footer small{font-size:12px}.tb-start-action{flex-direction:column}.tb-start-action select,.tc-hero .tb-start-action .tc-button{width:100%;min-height:48px;font-size:15px}.tb-section-heading h2{font-size:24px}.tb-section-heading p{font-size:15px}.tb-view-tabs{gap:23px;margin-bottom:21px}.tb-view-tabs button{font-size:15px}.tp-app .tb-control>span{font-size:12px}.tb-trip-settings{padding:15px;gap:15px 12px}.tp-app .tb-control>input,.tp-app .tb-control>select{font-size:14px}.tb-stats strong{font-size:24px}.tb-stats span{font-size:12px}.tb-stats small{font-size:11px}.tb-day-picker button{min-width:145px;font-size:14px}.tb-day-heading h3{font-size:22px}.tb-day-heading div>p{font-size:13px}.tb-day-state{font-size:12px}.tb-budget-table th:first-child{width:41%}.tb-budget-table th,.tb-budget-table td{padding:14px 9px}.tb-budget-table thead th{font-size:10px}.tb-category-name{gap:7px}.tb-category-name>i{font-size:17px;width:20px}.tb-category-name strong{font-size:13px}.tb-category-name small{font-size:10px}.tp-app .tb-budget-table input{font-size:14px;padding:8px 5px}.tb-money-output{font-size:14px}.tb-budget-table tfoot th,.tb-budget-table tfoot td{font-size:14px}.tb-panel-note{font-size:11px;padding:12px}.tb-transport-panel h3{font-size:22px}.tb-split-result strong{font-size:25px}.tb-trip-split{padding:15px;font-size:13px}.tb-trip-split strong{margin-left:0;flex-basis:100%;font-size:15px}}
@media print{[data-trip-finance],.tb-view-tabs{display:none!important}}
/* Keep all three input rows close to the first screen on a laptop. */
@media(min-width:1101px){
 .tc-hero .tc-hero__inner{min-height:0;padding-top:26px;padding-bottom:24px;gap:23px;justify-content:flex-start}
 .tc-hero .tc-hero__copy{max-width:1160px}
 .tc-hero .tc-hero__copy h1{max-width:none;font-size:clamp(52px,4.3vw,68px);line-height:1.05;margin:0 0 10px}
 .tc-hero .tc-hero__lede{max-width:1100px;font-size:17px;line-height:1.5;margin:0}
 .tc-hero .tc-trip-form.tb-hero-form{padding:18px 22px}
 .tb-start-heading{margin-bottom:12px}.tb-start-heading>div{display:flex;align-items:baseline;gap:14px;flex-wrap:wrap}.tb-start-heading h2{margin:0}.tb-start-heading p{font-size:13px}
 .tb-start-options{margin-top:12px}.tb-start-categories{padding-top:8px;margin-top:12px}.tb-start-categories legend{margin-bottom:6px}
 .tb-hero-form .tc-field input,.tb-hero-form .tc-field select{min-height:42px;padding:8px 10px;font-size:15px}
 .tb-start-footer{margin-top:12px;padding-top:12px}
}
.tb-inline-link{min-height:44px}
.tb-category-name>div{min-width:0}.tb-category-name strong,.tb-category-name small{overflow-wrap:anywhere}
.tb-mobile-plan-summary{display:none}
@media(max-width:360px){.tc-hero .tb-hero-form .tb-start-main>.tc-field:nth-child(-n+2){grid-column:1/-1}}
.tb-hero-form .tc-field{display:flex;flex-direction:column}.tb-hero-form .tc-field input,.tb-hero-form .tc-field select{margin-top:auto}
@media(max-width:520px){
 .tb-hero-form .tc-field{grid-column:auto}
 .tb-start-main .tc-field:nth-child(n+3){grid-column:1/-1}
 .tb-start-options{grid-template-areas:"people sharing" "mode mode" "maximum maximum" "scope scope"}
 .tb-start-options .tc-field:nth-child(1){grid-area:people}.tb-start-options .tc-field:nth-child(2){grid-area:mode}.tb-start-options .tc-field:nth-child(3){grid-area:sharing}.tb-start-options .tc-field:nth-child(4){grid-area:maximum}.tb-start-options .tc-field:nth-child(5){grid-area:scope}
 .tb-start-options .tc-field:nth-child(1) label,.tb-start-options .tc-field:nth-child(3) label{min-height:34px}
 .tc-hero .tb-hero-form .tb-category-fields>.tc-field{grid-column:auto}
 .tc-hero .tb-hero-form .tb-category-fields>.tc-field:last-child{grid-column:1/-1}
 .tp-app .tb-budget-table input{font-size:16px}
 .tb-stats>div:nth-child(-n+2){display:none}.tb-stats>div:nth-child(3){border-bottom:0}
 .tb-mobile-plan-summary{display:block;grid-column:1/-1;font-size:12px;line-height:1.7;color:#435b71;margin:0}
}
