.tne{--tne-bg:#10171c;--tne-panel:#192229;--tne-line:#344149;--tne-text:#eef0ef;--tne-muted:#b3bdc2;--tne-silver:#dbe0e2;box-sizing:border-box;background:var(--tne-bg);color:var(--tne-text);font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;font-size:17px;line-height:1.8;letter-spacing:.01em;border-radius:4px;overflow:hidden;width:100%;margin:24px auto;text-align:left;color-scheme:dark}.tne *,.tne *:before,.tne *:after{box-sizing:border-box}.tne [hidden]{display:none!important}.tne h2,.tne h3,.tne p,.tne ul,.tne dl,.tne dd,.tne fieldset{margin:0;padding:0}.tne h2,.tne h3{border:0!important;background:none!important;color:var(--tne-text)!important;box-shadow:none!important}.tne h2:before,.tne h2:after,.tne h3:before,.tne h3:after{display:none!important}.tne button,.tne input,.tne select,.tne textarea{font:inherit;letter-spacing:inherit}.tne button{cursor:pointer;border-radius:3px;box-shadow:none;text-transform:none;line-height:1.6;white-space:normal;transition:background .15s,color .15s}.tne button:disabled{cursor:not-allowed;opacity:.5}.tne a{color:#e0e9ec;text-underline-offset:4px;text-decoration:underline}.tne a:hover{color:#fff}.tne :is(button,input,select,textarea,a,summary):focus-visible{outline:3px solid #a5cddd;outline-offset:4px}.tne-header{padding:38px 38px 30px;border-bottom:1px solid var(--tne-line);background:linear-gradient(120deg,#1b272e,var(--tne-bg) 80%)}.tne .tne-eyebrow{font-family:Arial,sans-serif;font-size:12px;letter-spacing:.2em;color:#b8c4c9;margin-bottom:14px;font-weight:500}.tne h2{font-size:clamp(24px,2.8vw,33px);font-weight:600;line-height:1.5;letter-spacing:.045em;padding:0!important;margin:0 0 14px!important}.tne .tne-intro{font-size:16px;max-width:660px;color:#c4cdd0;line-height:1.9}.tne-badges{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}.tne-badges>span{font-size:13px;line-height:1.8;padding:3px 10px;border:1px solid #45565e;color:#d5dfe2;border-radius:2px}.tne-badges .tne-preview-badge{border-color:#bcb18c;color:#e4d9b6}.tne-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(275px,34%);align-items:start}.tne-form{padding:32px;min-width:0;margin:0}.tne-section+.tne-section,.tne-result-jump+.tne-section{border-top:1px solid var(--tne-line);margin-top:34px;padding-top:30px}.tne h3{font-size:20px;font-weight:600;line-height:1.7;padding:0!important;margin:0 0 12px!important}.tne h3>span{display:inline-block;font:14px/1 Arial,sans-serif;color:#aebcc3;margin-right:14px;letter-spacing:.1em}.tne .tne-hint{font-size:14px;color:var(--tne-muted);line-height:1.8;margin:8px 0 18px}.tne-route-fields{border-left:1px solid #42525b;padding-left:19px;margin-left:3px}.tne-field{display:block;margin:22px 0}.tne-field>span{display:block;font-size:15px;font-weight:600;margin-bottom:8px}.tne-field small,.tne-option strong small{font-size:12px;font-weight:400;color:#bdccd3;border:1px solid #53636b;border-radius:2px;margin-left:8px;padding:1px 5px}.tne input[type=text],.tne input[type=number],.tne textarea,.tne select{display:block;background:#e8eded;border:1px solid #e8eded;color:#172129;border-radius:3px;min-height:46px;padding:11px 12px;max-width:100%;width:100%;box-shadow:none}.tne input::placeholder{color:#667780;opacity:1;font-size:14px}.tne input[type=checkbox],.tne input[type=radio]{appearance:auto;-webkit-appearance:auto;position:static;margin:3px 0 0;min-width:18px;width:18px;height:18px;padding:0;accent-color:#9bbed0;flex:0 0 18px;opacity:1}.tne input[type=checkbox]:before,.tne input[type=radio]:before{display:none!important}.tne .tne-add-stop{background:none;color:#c2d0d6;border:1px solid #445861;font-size:14px;padding:9px 12px;margin:2px 0 0;width:100%}.tne-add-stop span{font-size:13px;opacity:.8}.tne-stop{display:flex;gap:8px;align-items:center}.tne-stop .tne-field{flex:1;min-width:0;margin:20px 0 12px}.tne-stop>button{padding:8px;border:0;background:transparent;color:#cfb8b0;font-size:13px;min-height:44px;align-self:flex-end;margin-bottom:12px}.tne-checkbox{display:flex;gap:10px;font-size:14px;align-items:flex-start;margin:18px 0}.tne-checkbox>span{display:block}.tne-consent{background:#19232a;border:1px solid #2c3c45;padding:14px;margin:20px 0}.tne-consent .tne-checkbox{margin:0 0 12px}.tne-consent p{font-size:12px;line-height:2;padding-left:28px}.tne .tne-primary{background:var(--tne-silver);color:#15222a;border:1px solid var(--tne-silver);padding:14px 18px;width:100%;font-size:16px;font-weight:600;min-height:52px}.tne .tne-primary:not(:disabled):hover{background:#fff}.tne-primary>span{margin-left:8px}.tne .tne-secondary{border:1px solid #52656e;color:#e2e9ed;background:transparent;min-height:44px;padding:10px 12px;font-size:14px}.tne .tne-secondary:hover{background:#2c3c45}.tne .tne-sample{width:100%;margin-top:12px;font-size:13px}.tne .tne-error{padding:14px;background:#352d28;border:1px solid #b08b6e;color:#f0d9c6;margin-top:16px;font-size:15px}.tne-error button{display:block;margin-top:12px}.tne-route-result{margin:22px 0 0;border:1px solid var(--tne-line);background:#172128;padding:18px}.tne-route-metrics{display:flex;gap:24px;justify-content:space-between}.tne-route-metrics small{display:block;font-size:12px;color:var(--tne-muted)}.tne-route-metrics strong{display:block;font-size:28px;line-height:1.6;font-weight:500}.tne-route-metrics em{font-size:14px;font-style:normal;margin-left:5px}.tne-attribution{padding:10px 10px 5px;margin:10px -10px 6px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}.tne-attribution img{display:block;height:18px!important;width:auto!important;max-width:none!important;opacity:1}.tne-attribution span{font-size:12px;color:#cad0d2}.tne .tne-map-link{font-size:13px}.tne-route-result .tne-hint{margin:12px 0 0;font-size:12px}.tne .tne-route-warnings{padding:12px 0 0 17px;font-size:13px}.tne fieldset{border:0;min-width:0}.tne legend{font-size:15px;font-weight:600;margin-bottom:12px;padding:0;color:var(--tne-text)}.tne-modes{display:flex;gap:12px}.tne-modes label{display:flex;align-items:center;gap:9px;flex:1;background:#1b272f;border:1px solid #4a5d67;padding:11px 14px;cursor:pointer;font-size:15px}.tne-modes label:has(input:checked){background:#2c3f49;border-color:#9cb9c8}.tne-wait{margin-top:24px}.tne-wait-row{display:flex;align-items:center;gap:10px}.tne-wait-input{position:relative;flex:1;min-width:0}.tne .tne-wait input{max-width:100%;min-height:46px}.tne .tne-wait input::placeholder{color:#667780;white-space:nowrap}.tne-wait-placeholder{position:absolute;inset:12px 28px 12px 13px;display:flex;align-items:center;font-size:14px;line-height:1.6;color:#667780;pointer-events:none;overflow-wrap:anywhere}.tne-wait input:not(:placeholder-shown)+.tne-wait-placeholder{display:none}.tne-wait em{display:block;margin-top:8px;color:var(--tne-muted);font-size:13px;font-style:normal}.tne-options{margin-top:26px!important}.tne-option{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding:17px 0;border-top:1px solid var(--tne-line)}.tne-option>div{min-width:0;flex:1 1 130px}.tne-option strong{display:block;font-size:15px;font-weight:600}.tne-option-price{font-size:14px;color:#c0ccd1}.tne-option p{font-size:13px;color:var(--tne-muted);margin-top:6px;white-space:pre-line;overflow-wrap:anywhere}.tne-option-choice{display:flex;gap:8px;align-items:center;white-space:nowrap;font-size:14px;min-height:44px;padding:8px 10px;border:1px solid #607682;border-radius:4px;cursor:pointer}.tne-option-choice:has(input:checked){background:#2c3f49;border-color:#9cb9c8}.tne-quantity{flex:0 0 82px}.tne-quantity select{font-size:14px;padding:8px;min-height:44px}.tne-calculation{border-top:1px solid var(--tne-line);padding-top:20px;margin-top:26px;font-size:13px;color:#b2c1c8}.tne-calculation summary{cursor:pointer;color:#d7e0e4;font-size:14px;padding:4px 0}.tne-calculation p{margin:12px 0}.tne-summary{padding:32px 25px;background:#1b252c;min-width:0;align-self:stretch;border-left:1px solid #2d3a42}.tne-summary-inner{position:sticky;top:24px}.tne-summary h3{font-size:18px}.tne-summary .tne-eyebrow{font-size:12px;letter-spacing:.18em}.tne-empty{padding:35px 0 40px;border-top:1px solid var(--tne-line);border-bottom:1px solid var(--tne-line);margin:24px 0;text-align:center}.tne-empty>span{display:block;font-size:40px;color:#667c88;font-weight:300}.tne-empty p{font-size:14px;color:#bcc8ce;line-height:2}.tne-total-label{font-size:14px;color:#c0cdd2;margin-top:30px!important}.tne-total-label span{font-size:12px;margin-left:8px;border:1px solid #566b76;padding:2px 6px}.tne .tne-total{font-size:clamp(30px,3.3vw,40px);line-height:1.4;font-weight:500;letter-spacing:-.015em;margin:10px 0 15px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.tne .tne-exclusion{font-size:13px;line-height:1.9;background:#2b3439;border-left:2px solid #a0adb2;padding:10px 12px;color:#d4dce0;margin-bottom:20px}.tne-breakdown{border-top:1px solid #46545d}.tne-breakdown>div{display:flex;justify-content:space-between;gap:14px;padding:12px 0;border-bottom:1px solid #34434c;font-size:13px}.tne-breakdown dt{font-weight:400;color:#c4d0d5;overflow-wrap:anywhere}.tne-breakdown dd{white-space:nowrap;font-size:15px;font-variant-numeric:tabular-nums}.tne .tne-issued{font-size:12px;color:#98acb7;line-height:1.9;margin:14px 0 20px}.tne .tne-sample-notice{font-size:13px;color:#e4d6af;border-bottom:1px solid #a19a7d;padding:12px 0}.tne-quote-actions{display:flex;gap:8px;margin-top:20px}.tne-quote-actions button{flex:1;font-size:12px!important;padding:9px 5px!important}.tne .tne-copy-status{font-size:13px;color:#c8d7df;margin:10px 0;overflow-wrap:anywhere}.tne-copy-status textarea{font-size:13px;margin-top:8px}.tne .tne-inquiry{display:flex;justify-content:center;gap:12px;align-items:center;width:100%;min-height:60px;color:#17232b;background:#e8d6ac;padding:16px 14px;border:2px solid #f3e4c2;border-radius:8px;margin:28px 0 18px;font-size:17px;font-weight:700;line-height:1.6;text-decoration:none;box-shadow:0 4px 12px #0003;transition:background .15s,box-shadow .15s}.tne .tne-inquiry:hover{background:#f8eacb;color:#10171c;box-shadow:0 6px 18px #0004}.tne .tne-inquiry:active{box-shadow:none}.tne .tne-inquiry:focus-visible{outline:3px solid #a5cddd;outline-offset:5px}.tne .tne-inquiry>span{font-size:21px;flex-shrink:0}.tne .tne-inquiry-note{font-size:12px;margin-bottom:24px}.tne .tne-summary-note{font-size:12px;color:#b5c1c7;line-height:2.1;margin-top:22px}.tne-footer{padding:24px 32px;border-top:1px solid var(--tne-line);color:#b4c1c9}.tne-footer p{font-size:13px;line-height:2;white-space:pre-line}.tne-footer>span{font-size:12px;display:block;letter-spacing:.08em;margin-top:12px;color:#8399a5}.tne-trap,.tne-sr{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.tne-loading,.tne-unavailable{padding:40px;min-height:180px}.tne-unavailable p{margin:18px 0}.tne-unavailable .tne-secondary{margin-top:18px}.tne [aria-busy=true]{opacity:.7}@media(max-width:800px){.tne-layout{grid-template-columns:1fr}.tne-summary{border-left:0;border-top:1px solid var(--tne-line);padding:28px}.tne-summary-inner{position:static}.tne-header{padding:28px}.tne-form{padding:28px}.tne-summary .tne-total{font-size:42px}.tne-breakdown>div{font-size:14px}.tne-quote-actions button{font-size:14px!important}.tne-summary-note,.tne-inquiry-note{max-width:700px}.tne-empty{padding:24px 0}.tne-total-label{margin-top:20px!important}}@media(max-width:480px){.tne{font-size:16px;margin:16px auto}.tne-header{padding:25px 20px}.tne h2{font-size:25px;letter-spacing:.01em}.tne-intro{font-size:14px!important}.tne-form{padding:26px 20px}.tne-summary{padding:26px 20px}.tne-footer{padding:22px 20px}.tne-route-fields{padding-left:13px}.tne input[type=text],.tne input[type=number],.tne select{font-size:18px}.tne-consent{padding:12px}.tne-consent p{padding-left:0}.tne-modes label{padding:10px}.tne-option{gap:12px}.tne-option strong{font-size:14px}.tne-quantity{flex-basis:78px}.tne-route-metrics{gap:12px}.tne-route-result{padding:14px}.tne-attribution span{font-size:12px}.tne-header .tne-eyebrow{font-size:12px}.tne-wait em{font-size:12px}.tne-summary-note{font-size:13px!important}}@media(prefers-reduced-motion:reduce){.tne *{transition:none!important;scroll-behavior:auto!important}}@media print{.tne{color:#000!important;background:#fff!important}.tne-form,.tne-header,.tne-footer,.tne-quote-actions,.tne-inquiry{display:none!important}.tne-layout{display:block}.tne-summary{background:#fff!important;color:#000!important;border:0}.tne-summary *{color:#000!important}.tne-summary-inner{position:static}}

.tne{container-name:tne;container-type:inline-size}.tne .tne-exclusion,.tne .tne-summary-note{font-size:14px!important}.tne .tne-consent p{font-size:13px}.tne .tne-inquiry-note{font-size:13px}.tne .tne-quote-actions button{font-size:14px!important}@container tne (max-width:760px){.tne-layout{grid-template-columns:1fr}.tne-summary{border-left:0;border-top:1px solid var(--tne-line);padding:28px}.tne-summary-inner{position:static}.tne-header{padding:28px}.tne-form{padding:28px}.tne-summary .tne-total{font-size:42px}.tne-empty{padding:24px 0}}@container tne (max-width:440px){.tne-form,.tne-summary{padding:24px 18px}.tne-header{padding:26px 18px}.tne-footer{padding:20px 18px}.tne h2{font-size:24px}.tne input[type=text],.tne input[type=number],.tne select{font-size:18px}.tne-route-fields{padding-left:12px}.tne-consent p{padding-left:0}.tne-route-metrics{gap:12px}.tne-modes label{padding:10px}}

/* Places suggestions remain in document flow so narrow theme columns never clip the list. */
.tne .tne-place{position:relative;min-width:0;margin:22px 0}.tne .tne-place .tne-field{margin:0}.tne .tne-place-status{font-size:13px;line-height:1.8;color:var(--tne-muted);margin-top:7px;overflow-wrap:anywhere}.tne .tne-place-status button{display:block;margin-top:8px}.tne .tne-stop{align-items:flex-start}.tne .tne-stop .tne-place{flex:1;min-width:0;margin:20px 0 12px}.tne .tne-stop>button{align-self:flex-start;margin-top:49px}.tne .tne-place-panel{background:#202f38;border:1px solid #69818d;border-radius:3px;margin-top:6px;overflow:hidden}.tne .tne-place-panel ul{list-style:none!important;margin:0!important;padding:0!important}.tne .tne-place-panel li{list-style:none!important;cursor:pointer;padding:12px 14px;margin:0!important;min-height:58px;border-bottom:1px solid #42545f;line-height:1.6;overflow-wrap:anywhere}.tne .tne-place-panel li::before{display:none!important}.tne .tne-place-panel li:hover,.tne .tne-place-panel li[aria-selected=true]{background:#354e5d;outline:2px solid #a5cddd;outline-offset:-2px}.tne .tne-place-panel strong{display:block;font-size:15px;color:#f1f4f5;font-weight:600}.tne .tne-place-panel li span{display:block;font-size:13px;color:#cbd6dc;margin-top:3px}.tne .tne-place-attribution{padding:10px 10px 5px;background:#202f38;border-radius:2px}.tne .tne-place-attribution img{display:block!important;height:18px!important;width:auto!important;max-width:none!important;opacity:1!important}.tne .tne-place>.tne-place-attribution{margin-top:4px}.tne .tne-result-jump{width:100%;margin-top:14px}

/* Required acknowledgements: text plus an outline, not colour alone. */
.tne .tne-consent,.tne .tne-option{scroll-margin-top:100px}.tne .tne-invalid{outline:2px solid #f1a59e;outline-offset:4px;border-radius:4px;background:#382a2b}.tne .tne-field-error{flex-basis:100%;padding:10px 12px;margin:8px 0 0;border-left:3px solid #f1a59e;color:#ffdad6;background:#432e30;font-size:14px;line-height:1.8;white-space:normal}.tne .tne-consent .tne-field-error{padding-left:12px}.tne input[aria-invalid=true]{outline:2px solid #f1a59e;outline-offset:2px}

/* Waiting-field text reduced by exactly 0.5pt (2/3 CSS px). */
.tne .tne-wait input{font-size:calc(17px - .5pt)}.tne .tne-wait input::placeholder{font-size:calc(14px - .5pt)}@media(max-width:480px){.tne .tne-wait input{font-size:calc(18px - .5pt)}}

/* TRUE NORTH: matte silver actions on the charcoal surface. */
.tne .tne-route-button,.tne .tne-inquiry{background:#c4cdd2;color:#10171c;border:2px solid #e1e6e9;border-radius:8px;min-height:60px;font-size:17px;font-weight:700;box-shadow:0 4px 12px #0003;text-decoration:none}
.tne .tne-route-button:not(:disabled):hover,.tne .tne-inquiry:hover{background:#e1e6e9;color:#10171c;border-color:#f2f5f6;box-shadow:0 6px 18px #0004}
.tne .tne-route-button:focus-visible,.tne .tne-inquiry:focus-visible{outline:3px solid #fff;outline-offset:5px}
.tne .tne-route-button:not(:disabled):active,.tne .tne-inquiry:active{background:#aebbc3;color:#10171c;box-shadow:none}

/* Keep the estimate under the site header while the visitor edits the form. */
@media screen {
  #body_wrap.page-id-1307 .tne {
    --tne-header-height: var(--swl-fix_headerH, 0px);
    --tne-summary-top: calc((var(--swl-adminbarH, 0px) + var(--tne-header-height)) / var(--tne-content-zoom, 1));
    overflow: clip;
  }
  #body_wrap.page-id-1307 .tne .tne-summary {
    scroll-margin-top: var(--tne-summary-top);
  }
  #body_wrap.page-id-1307 .tne .tne-summary-heading {
    display: flow-root;
    background: #1b252c;
  }
}

@media screen and (max-width: 959px) {
  #body_wrap.page-id-1307 .tne {
    --tne-header-height: var(--swl-headerH, 0px);
  }
}

@media screen and (width > 720px) {
  #body_wrap.page-id-1307 .tne .tne-layout {
    grid-template-columns: minmax(0, 1fr) minmax(310px, .85fr);
  }
  #body_wrap.page-id-1307 .tne.tne-extended-rail {
    overflow: clip visible;
  }
  #body_wrap.page-id-1307 .tne-extended-rail .tne-layout > .tne-summary {
    margin-bottom: calc(-1 * var(--tne-rail-extension));
    border-bottom-right-radius: 4px;
  }
  #body_wrap.page-id-1307 .tne-layout:has(> .tne-footer) > .tne-form {
    grid-area: 1 / 1;
  }
  #body_wrap.page-id-1307 .tne-layout > .tne-footer {
    grid-area: 2 / 1;
    min-width: 0;
  }
  #body_wrap.page-id-1307 .tne-layout:has(> .tne-footer) > .tne-summary {
    grid-area: 1 / 2 / span 2;
  }
  #body_wrap.page-id-1307 .tne .tne-summary {
    position: static;
    align-self: stretch;
    padding-block: 0;
    border-top: 0;
    border-left: 1px solid var(--tne-line);
    --tne-summary-padding: 32px;
  }
  #body_wrap.page-id-1307 .tne .tne-summary-inner {
    position: sticky;
    top: var(--tne-summary-top);
    display: flex;
    flex-direction: column;
    max-height: var(--tne-panel-height, calc(100vh / var(--tne-content-zoom, 1) - var(--tne-summary-top)));
    padding-bottom: var(--tne-summary-padding);
    overflow-y: auto;
    scrollbar-width: thin;
  }
  #body_wrap.page-id-1307 .tne .tne-summary-heading,
  #body_wrap.page-id-1307 .tne .tne-summary-content > p {
    flex: none;
  }
  #body_wrap.page-id-1307 .tne .tne-summary-heading {
    padding-top: var(--tne-summary-padding);
  }
  #body_wrap.page-id-1307 .tne .tne-summary-heading > .tne-inquiry {
    margin-block: 12px 16px;
  }
  #body_wrap.page-id-1307 .tne .tne-summary-heading > .tne-field-error:not([hidden]) {
    margin-block: 0 16px;
  }
  #body_wrap.page-id-1307 .tne .tne-summary-content {
    display: contents;
  }
  /* The itemized fare can scroll independently of both explanatory paragraphs. */
  #body_wrap.page-id-1307 .tne .tne-breakdown-scroll {
    display: flow-root;
    flex: 0 1 auto;
    min-height: 64px;
    overflow-y: auto;
    scrollbar-width: thin;
  }
  #body_wrap.page-id-1307 .tne .tne-breakdown-scroll:has(> .tne-quote-details[hidden]) {
    display: none;
  }
  #body_wrap.page-id-1307 .tne .tne-summary-compact {
    --tne-summary-padding: 12px;
  }
  #body_wrap.page-id-1307 .tne .tne-summary-compact .tne-eyebrow {
    margin-bottom: 4px;
  }
  #body_wrap.page-id-1307 .tne .tne-summary-compact h3 {
    margin-bottom: 6px !important;
  }
  #body_wrap.page-id-1307 .tne .tne-summary-compact .tne-empty {
    padding-block: 8px;
    margin-block: 6px;
  }
  #body_wrap.page-id-1307 .tne .tne-summary-compact .tne-empty > span {
    font-size: 32px;
    line-height: 1.15;
  }
  #body_wrap.page-id-1307 .tne .tne-summary-compact .tne-empty p {
    line-height: 1.6;
  }
  #body_wrap.page-id-1307 .tne .tne-summary-compact .tne-total-label {
    margin-top: 6px !important;
  }
  #body_wrap.page-id-1307 .tne .tne-summary-compact .tne-total {
    margin: 4px 0 6px;
    line-height: 1.2;
  }
  #body_wrap.page-id-1307 .tne .tne-summary-compact .tne-inquiry {
    min-height: 48px;
    padding-block: 8px;
    margin-block: 6px 8px;
  }
  #body_wrap.page-id-1307 .tne .tne-summary-compact .tne-inquiry-note {
    line-height: 1.6;
    margin: 0 0 8px;
  }
  #body_wrap.page-id-1307 .tne .tne-summary-compact .tne-summary-note {
    line-height: 1.65;
    margin: 8px 0 0;
  }
  /* In shallow windows the title and amount each fit on one row. */
  #body_wrap.page-id-1307 .tne .tne-summary:has(.tne-summary-shallow) {
    padding-inline: 14px;
  }
  #body_wrap.page-id-1307 .tne .tne-summary-shallow {
    --tne-summary-padding: 6px;
  }
  #body_wrap.page-id-1307 .tne .tne-summary-shallow .tne-summary-heading {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    row-gap: 2px;
    column-gap: 6px;
  }
  #body_wrap.page-id-1307 .tne .tne-summary-shallow .tne-summary-heading > :is(.tne-quote, .tne-inquiry, .tne-field-error) {
    grid-column: 1 / -1;
  }
  #body_wrap.page-id-1307 .tne .tne-summary-shallow .tne-eyebrow {
    grid-area: 1 / 2;
    margin: 0;
    font-size: 10px;
    letter-spacing: .12em;
  }
  #body_wrap.page-id-1307 .tne .tne-summary-shallow h3 {
    grid-area: 1 / 1;
    margin: 0 !important;
  }
  #body_wrap.page-id-1307 .tne .tne-summary-shallow .tne-quote:has(.tne-total) {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    column-gap: 8px;
  }
  #body_wrap.page-id-1307 .tne .tne-summary-shallow .tne-quote > :is(.tne-total-label, .tne-total) {
    margin: 0 !important;
  }
  #body_wrap.page-id-1307 .tne .tne-summary-shallow .tne-sample-notice {
    width: 100%;
  }
  #body_wrap.page-id-1307 .tne .tne-summary-shallow .tne-empty {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding-block: 4px;
    margin: 0;
  }
  #body_wrap.page-id-1307 .tne .tne-summary-shallow .tne-inquiry {
    margin-block: 4px 6px;
    padding-block: 5px;
  }
  #body_wrap.page-id-1307 .tne .tne-summary-shallow .tne-breakdown-scroll {
    min-height: 46px;
  }
  #body_wrap.page-id-1307 .tne .tne-summary-shallow .tne-inquiry-note {
    margin-bottom: 4px;
  }
  #body_wrap.page-id-1307 .tne .tne-summary-shallow .tne-summary-note {
    margin-top: 4px;
    line-height: 1.55;
  }
}

@media screen and (width > 1000px) {
  #body_wrap.page-id-1307 .tne .tne-layout {
    grid-template-columns: minmax(0, 1.35fr) minmax(340px, .85fr);
  }
}

/* A phone can fit both columns in landscape while having little vertical space. */
@media screen and (720px < width <= 959px) and (max-height: 480px) and (orientation: landscape) and (pointer: coarse) {
  #body_wrap.page-id-1307 .tne .tne-summary-inner {
    display: contents;
    position: static;
    max-height: none;
    overflow: visible;
    padding: 0;
  }
  #body_wrap.page-id-1307 .tne .tne-summary-heading {
    position: static;
  }
  #body_wrap.page-id-1307 .tne .tne-summary-content {
    display: flow-root;
    padding-bottom: var(--tne-summary-padding);
  }
}

@media screen and (max-width: 720px) {
  #body_wrap.page-id-1307 .tne .tne-result-jump {
    background: #1b252c;
  }
}

/* 概算料金シミュレーターの2列表示。明細を読む操作はページのスクロールにまとめる。 */
@media screen and (width > 720px) {
  html:lang(ja) #body_wrap.page-id-1307 .tne.tn-pinned-estimate .tne-layout:has(> .tne-footer) > .tne-summary {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: var(--tn-estimate-full-height);
  }

  html:lang(ja) #body_wrap.page-id-1307 .tne.tn-pinned-estimate .tne-layout .tne-summary-inner {
    flex: none;
    top: var(--tne-summary-top);
    bottom: auto;
    max-height: none;
    overflow: visible;
  }

  html:lang(ja) #body_wrap.page-id-1307 .tne.tn-pinned-estimate .tne-summary-inner .tne-summary-heading,
  html:lang(ja) #body_wrap.page-id-1307 .tne.tn-pinned-estimate .tne-summary-inner .tne-summary-note {
    position: static;
    z-index: auto;
  }

  html:lang(ja) #body_wrap.page-id-1307 .tne.tn-pinned-estimate .tne-summary-inner .tne-summary-content {
    display: flex;
    flex: none;
    flex-direction: column;
    overflow: clip;
  }

  html:lang(ja) #body_wrap.page-id-1307 .tne.tn-pinned-estimate .tne-summary-content .tne-breakdown-scroll {
    flex: none;
    min-height: 0;
    overflow: visible;
  }

  /* ページ上ですでに通過した行だけを、固定見出しの下端で区切る。 */
  html:lang(ja) #body_wrap.page-id-1307 .tne.tn-pinned-estimate .tne-summary-content::before {
    content: "";
    flex: none;
    height: 0;
    margin-top: calc(-1 * var(--tn-estimate-read, 0px));
  }
}

/* PC・タブレットの料金欄は、左の入力欄より下に出る注意書きまで描画する。 */
@media screen and (width > 720px) {
  html:lang(ja) #body_wrap.page-id-1307 .tne.tn-pinned-estimate.tne-extended-rail {
    overflow: visible;
  }
}
