#planner,.tp-dialog {
  --tp-ink:#183b39;
  --tp-muted:#516865;
  --tp-green:#146451;
  --tp-line:#d6e1d9;
  --tp-pale:#f3f7f2;
  color:var(--tp-ink);
  font-family:inherit;
}
#planner *, .tp-dialog * {box-sizing:border-box}
#planner button,.tp-dialog button,.tp-dialog input,.tp-dialog select {font:inherit}
#planner button,.tp-dialog button {cursor:pointer}
#planner button:focus-visible,.tp-dialog :focus-visible,#planner a:focus-visible,#planner summary:focus-visible {outline:3px solid #cd692f;outline-offset:3px}
.tp-sr {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.tp-layout {display:grid;grid-template-columns:minmax(265px,0.85fr) minmax(0,1.85fr);gap:24px;align-items:start}
.tp-itinerary,.tp-checklist {border:1px solid var(--tp-line);background:#fff;border-radius:15px;overflow:hidden;min-width:0}
.tp-panel-title,.tp-panel-title>div {display:flex;align-items:center;gap:10px}
.tp-panel-title {min-height:73px;padding:16px 21px;justify-content:space-between;border-bottom:1px solid var(--tp-line)}
.tp-panel-title>div>svg {color:var(--tp-green);flex:none}
#planner h2 {font-size:clamp(1.17rem,2vw,1.43rem);line-height:1.2;font-weight:650;margin:0;letter-spacing:-.035em;color:var(--tp-ink)}
#planner h3 {font-size:1.04rem;line-height:1.35;color:var(--tp-ink);font-weight:650;margin:0;letter-spacing:-.015em}
.tp-btn,.tp-icon-btn,.tp-link,.tp-back,.tp-manual-choice,.tp-add-stop {display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px}
#planner .tp-btn,.tp-dialog .tp-btn {background:transparent;border:1px solid var(--tp-line);color:var(--tp-ink);border-radius:8px;padding:9px 14px;font-size:.91rem;line-height:1.3;font-weight:650}
#planner .tp-btn:hover,.tp-dialog .tp-btn:hover {background:var(--tp-pale);border-color:#83a299}
#planner .tp-primary,.tp-dialog .tp-primary {background:var(--tp-green);border-color:var(--tp-green);color:white}
#planner .tp-primary:hover,.tp-dialog .tp-primary:hover {background:#0a5046;color:white}
.tp-trip-body {padding:16px 20px 20px}
.tp-example {display:flex;align-items:center;gap:6px;font-size:.81rem;color:#486157;margin:0 0 18px;font-weight:650}
.tp-example span {font-weight:450}
.tp-example i {width:7px;height:7px;border-radius:50%;background:#c27f4b}
.tp-route {list-style:none;margin:0;padding:0}
.tp-route li {position:relative;display:grid;grid-template-columns:19px minmax(0,1fr);gap:9px;padding:0 0 15px;margin:0}
.tp-route li:not(:last-child)::before {content:"";position:absolute;top:19px;bottom:-3px;left:8px;border-left:1px dashed #a4b9ac}
.tp-track-mark {position:relative;display:grid;place-items:center;font-size:.69rem;line-height:1;width:17px;height:17px;border:1px solid #709587;background:#e4eee7;color:#294f40;border-radius:50%;font-weight:700;margin-top:3px}
.tp-home-stop .tp-track-mark {background:#fff;border-color:#a4b9ac}
.tp-track-mark i {width:6px;height:6px;background:var(--tp-green);border-radius:50%}
.tp-field-label {display:block;margin:0 0 6px;font-size:.83rem;font-weight:600;color:var(--tp-muted)}
.tp-country-btn {width:100%;border:1px solid #ccd9d0;display:flex;align-items:center;gap:9px;padding:9px 11px;background:#fff;border-radius:8px;min-height:44px;color:var(--tp-ink);text-align:left}
.tp-country-btn:hover {background:#f4f8f4}
.tp-country-btn strong {font-size:.98rem;font-weight:600}
.tp-country-btn svg {margin-left:auto;flex:none}
.tp-flag {font-size:1.2rem;line-height:1.1;flex:none}
.tp-stop-info {display:block;font-size:.82rem;line-height:1.5;color:var(--tp-muted);margin-top:5px}
#planner .tp-add-stop {border:1px dashed #8aa89b;background:var(--tp-pale);color:var(--tp-green);width:100%;border-radius:8px;font-size:.9rem;font-weight:650}
#planner .tp-add-stop:hover {background:#e4efe7}
.tp-print-actions {display:flex;gap:16px;align-items:center;justify-content:center;flex-wrap:wrap;border-top:1px solid var(--tp-line);padding:4px 10px;background:#fafcf9}
#planner .tp-print-actions .tp-btn {border:0;padding:8px 5px;border-radius:4px;color:var(--tp-muted);font-size:.86rem}
.tp-summary {display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 20px;color:var(--tp-muted);font-size:.83rem}
.tp-summary-out {display:flex;align-items:center;gap:5px;color:var(--tp-green);font-weight:600}
.tp-summary-out.has-open {color:#8a4c14}
.tp-device-list {display:grid;gap:15px;padding:0 18px 18px}
.tp-device {border:1px solid var(--tp-line);border-radius:10px;overflow:hidden;min-width:0}
.tp-device-head {display:flex;align-items:center;gap:12px;padding:15px;position:relative}
.tp-equipment-art {display:flex;align-items:center;justify-content:center;flex-direction:column;gap:1px;background:#f0f4eb;border:1px solid #dfe7d9;border-radius:9px;min-width:59px;width:59px;height:66px;color:#315647}
.tp-equipment-art svg {max-width:46px;height:41px;display:block}
.tp-equipment-art span {font-size:.73rem;line-height:1.3}
.tp-device-title {min-width:0}
.tp-device-spec,.tp-model {font-size:.83rem;color:var(--tp-muted);line-height:1.45;margin:3px 0 0;overflow-wrap:anywhere}
.tp-device-spec {color:#35584a}
.tp-icon-btn {width:44px;flex:0 0 44px;background:transparent;border:1px solid transparent;border-radius:8px;color:var(--tp-muted)}
.tp-icon-btn:hover {background:var(--tp-pale);border-color:var(--tp-line)}
.tp-item-edit {margin-left:auto}
.tp-verdict {padding:14px 15px 14px;border-top:1px solid var(--tp-line);background:#f6f9f5;--tp-status-fg:#23543c;--tp-status-bg:#deeddc}
.tp-confirm,.tp-adapter,.tp-unknown {background:#fdfaf3;--tp-status-fg:#69480e;--tp-status-bg:#f4e7c8}
.tp-incompatible,.tp-earth {background:#fcf5f1;--tp-status-fg:#82351e;--tp-status-bg:#f6dfd4}
.tp-verdict-head {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:5px 10px}
.tp-badge {display:inline-flex;align-items:center;gap:5px;border-radius:5px;background:var(--tp-status-bg);color:var(--tp-status-fg);font-size:.85rem;font-weight:680;padding:4px 8px;line-height:1.4}
.tp-verdict-place {display:inline-flex;align-items:center;gap:4px;font-size:.81rem;color:var(--tp-muted)}
.tp-verdict-place svg,.tp-badge svg {flex:none}
.tp-verdict p,.tp-purchase p {font-size:.94rem;line-height:1.5;color:#334b42;margin:9px 0 0}
.tp-verdict .tp-action {margin:4px 0 0}
.tp-action strong {font-weight:660}
.tp-action strong::after {content:" · "}
.tp-sources {display:block;font-size:.8rem;color:var(--tp-muted);line-height:1.65;overflow-wrap:anywhere;margin-top:9px}
.tp-sources span:first-child {font-weight:650;margin-right:3px}
#planner a,.tp-dialog a,#planner .tp-detail summary {color:var(--tp-green);text-underline-offset:3px}
.tp-purchase,.tp-group {padding:12px;border:1px solid var(--tp-line);border-radius:7px;background:white;margin:12px 0 0;font-size:.9rem}
.tp-purchase p {margin:4px 0}
.tp-purchase small {display:block;color:var(--tp-muted);margin-top:3px}
.tp-group {margin:0 18px 18px;line-height:1.5}
.tp-group ul,.tp-detail ul {padding-left:1.25rem;margin:.35rem 0}
.tp-group li+li,.tp-detail li+li {margin-top:.4rem}
.tp-detail {font-size:.86rem;line-height:1.5;margin-top:7px}
.tp-detail summary {text-decoration:underline;cursor:pointer;min-height:35px;align-content:center}
.tp-empty {font-size:.95rem;line-height:1.55;padding:16px;color:var(--tp-muted);margin:0}
.tp-print-spec {display:none}
.tp-dialog {border:1px solid var(--tp-line);border-radius:15px;padding:0;width:min(500px,calc(100% - 24px));max-height:86dvh;color:var(--tp-ink);background:white;box-shadow:0 15px 80px #17372d34;margin:auto;overflow:auto;overscroll-behavior:contain}
.tp-dialog::backdrop {background:#142c2bb0}
.tp-dialog-head {display:flex;align-items:center;gap:10px;border-bottom:1px solid var(--tp-line);padding:10px 12px 10px 20px;position:sticky;top:0;background:#fff;z-index:1}
.tp-dialog-head h2 {font-size:1.25rem;line-height:1.3;font-weight:650;letter-spacing:-.025em;margin:0}
.tp-dialog-head .tp-icon-btn {margin-left:auto}
.tp-dialog-content {padding:17px 20px 20px}
.tp-form {display:grid;gap:14px}
.tp-form label,.tp-share-label {display:grid;gap:6px;font-size:.93rem;font-weight:620;color:var(--tp-ink);text-align:start}
.tp-dialog input:not([type=checkbox]),.tp-dialog select {color:var(--tp-ink);border:1px solid #b9cdbf;border-radius:7px;min-height:45px;width:100%;background-color:white;padding:9px 11px;font-size:1rem;line-height:1.35}
.tp-dialog select {appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%233d6056' stroke-width='1.6'%3E%3Cpath d='m3 6 5 5 5-5'/%3E%3C/svg%3E");background-size:14px;background-position:right 12px center;background-repeat:no-repeat;padding-right:34px}
.tp-search {display:flex;align-items:center;gap:7px;position:relative}
.tp-search svg {position:absolute;left:12px;color:var(--tp-muted)}
.tp-search input[type=search] {padding-left:37px}
.tp-options {max-height:min(43dvh,350px);overflow:auto;margin:8px 0 0}
.tp-options button {background:transparent;text-align:left;display:flex;align-items:center;gap:12px;padding:10px 5px;width:100%;min-height:46px;border:0;border-bottom:1px solid var(--tp-line);color:var(--tp-ink)}
.tp-options button:hover {background:var(--tp-pale)}
.tp-options small,.tp-preview small {display:block;color:var(--tp-muted);font-size:.81rem;margin-top:3px;line-height:1.45}
.tp-options strong,.tp-preview strong {font-size:.96rem}
.tp-list-plug {display:grid;place-items:center;width:35px;height:35px;background:var(--tp-pale);border-radius:7px;flex:none}
.tp-manual-choice {margin-top:12px;border:1px solid var(--tp-line);border-radius:7px;background:var(--tp-pale);width:100%;color:var(--tp-green)}
.tp-help,.tp-model-heading p {font-size:.89rem;line-height:1.5;color:var(--tp-muted);margin:0}
.tp-dialog-content>.tp-help {margin-bottom:14px}
.tp-which-country {display:flex;align-items:center;gap:8px;margin-bottom:10px}
.tp-link,.tp-back,.tp-reorder button {border:0;background:transparent;color:var(--tp-green);font-size:.9rem;text-decoration:underline;text-underline-offset:3px;padding:0 4px}
.tp-help .tp-link {display:inline;min-height:0;font-size:inherit}
.tp-which-country .tp-link {margin-left:auto}
.tp-faces {display:flex;flex-wrap:wrap;gap:8px}
.tp-contact {margin:0;width:75px;text-align:center;padding:6px;border:1px solid var(--tp-line);border-radius:7px;background:var(--tp-pale)}
.tp-contact svg,.tp-preview-face svg {width:51px;height:48px}
.tp-contact figcaption {font-size:.82rem;color:var(--tp-muted);line-height:1.3}
.tp-modal-actions,.tp-reorder {display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.tp-reorder {border-top:1px solid var(--tp-line)}
.tp-reorder button {height:44px}
.tp-preview {display:flex;align-items:center;gap:12px;padding:10px 12px;color:var(--tp-ink);background:var(--tp-pale);border-radius:8px}
.tp-preview-face {background:#fff;border-radius:7px;border:1px solid var(--tp-line);display:grid;place-items:center;min-width:60px;height:60px}
.tp-model-heading {margin-bottom:15px}
.tp-ratings {margin:0;padding:0}
.tp-ratings>div {display:flex;justify-content:space-between;gap:10px;padding:7px 0;border-bottom:1px solid var(--tp-line);font-size:.86rem;line-height:1.4}
.tp-ratings dd {color:var(--tp-ink);font-weight:600;text-align:right;margin:0}
.tp-ratings dt {color:var(--tp-muted)}
.tp-label-example {padding:14px;background:#223f38;color:#fff;border-radius:9px}
.tp-label-example span {display:block;font-size:.82rem;margin-bottom:7px;color:#d8e5d9}
.tp-label-example strong {font-family:ui-monospace,monospace;font-size:.93rem}
.tp-label-example p {font-size:.85rem;line-height:1.45;margin:6px 0 0;color:#edf2ee}
.tp-field-pair {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}
.tp-check {display:flex!important;align-items:flex-start;gap:9px;line-height:1.45}
.tp-check input {width:18px;height:18px;flex:none;margin:.1em 0 0;accent-color:var(--tp-green)}
.tp-share-label {margin:0 0 15px}
@media(max-width:820px) {
  .tp-layout {grid-template-columns:minmax(225px,.85fr) minmax(0,1.5fr);gap:13px}
  .tp-panel-title {padding:13px}
  .tp-trip-body {padding:14px}
  .tp-device-list {padding:0 12px 14px}
  .tp-summary {padding:10px 13px}
  .tp-device-head,.tp-verdict {padding:12px}
}
@media(max-width:680px) {
  .tp-layout {display:block}
  .tp-itinerary {margin-bottom:14px}
  .tp-panel-title {min-height:55px;padding:9px 14px}
  .tp-summary {padding:10px 14px}
  .tp-device-list {padding:0 10px 12px}
  .tp-trip-body {padding:12px 14px}
  .tp-country-btn {padding:8px;gap:5px}
  .tp-country-btn strong {font-size:.9rem}
  .tp-route {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .tp-route li {padding:0;grid-template-columns:minmax(0,1fr);gap:0}
  .tp-route li>.tp-track-mark,.tp-route li::before {display:none}
  .tp-field-label {margin:0 0 4px}
  .tp-add-stop {margin-top:10px}
  .tp-example {margin:0 0 9px}
  .tp-print-actions {justify-content:flex-end;padding:0 12px}
  .tp-modal-actions {position:sticky;bottom:-20px;background:#fff;padding:8px 0;border-top:1px solid var(--tp-line)}
  .tp-dialog-head {padding:8px 10px 8px 16px}
  .tp-dialog-content {padding:14px 16px 20px}
}
@media(max-width:360px) {
  .tp-device-head {gap:7px}
  .tp-equipment-art {min-width:45px;width:45px}
  .tp-field-pair {grid-template-columns:1fr}
}
@media print {
  .tp-layout {display:block}
  .tp-itinerary,.tp-checklist,.tp-device {overflow:visible;background:#fff;color:#000;box-shadow:none}
  .tp-itinerary {margin:0 0 12px}
  #planner .tp-add-stop,#planner .tp-print-actions,#planner .tp-panel-title button,#planner .tp-item-edit,.tp-dialog,.tp-example,.tp-country-btn>svg {display:none!important}
  #planner .tp-country-btn {border:0;min-height:0;padding:0}
  .tp-panel-title {min-height:0;padding:9px 14px}
  .tp-route {display:flex;gap:20px;flex-wrap:wrap}
  .tp-route li {display:block;padding:0}
  .tp-track-mark,.tp-route li::before {display:none}
  .tp-trip-body {padding:10px 14px}
  .tp-print-spec {display:block;font-size:9pt;line-height:1.4;margin:0}
  .tp-device-head {flex-wrap:wrap;break-after:avoid}
  .tp-verdict {break-inside:avoid}
  .tp-sources {font-size:8pt}
  .tp-detail>ul {display:block}
  .tp-summary,.tp-verdict p,.tp-device-spec,.tp-help {color:#111}
  .tp-badge {outline:1px solid currentColor}
  #planner a {color:#000}
}
.tp-source-row {display:flex;align-items:center;flex-wrap:wrap;gap:3px 14px;margin-top:6px}
.tp-source-row .tp-sources {margin:0}
.tp-all-sources {font-size:.8rem;color:var(--tp-muted);line-height:1.5}
.tp-all-sources summary {cursor:pointer;min-height:28px;align-content:center}
.tp-all-sources[open] {flex:1 1 100%}
.tp-all-sources ul {padding:0 0 0 18px;margin:0}
.tp-all-sources li {margin:5px 0}
.tp-all-sources li span {display:block}
.tp-ratings {overflow-wrap:anywhere}
.tp-ratings dt {flex-shrink:0}
.custom-trip #planner:not([data-ready]) .tp-layout {visibility:hidden}
#planner button.tp-summary-out {background:transparent;border:0;border-radius:4px;padding:3px;color:#804811;text-decoration:underline;text-underline-offset:3px;font-size:.83rem}
.tp-verdict:focus-visible {outline:3px solid #bb6838;outline-offset:-3px}
.tp-form [hidden] {display:none!important}
#tp-earth-question .tp-help,#tp-load .tp-help {margin-top:5px}
.tp-home-plugs {font-size:.89rem;line-height:1.5}
.tp-home-plugs summary {cursor:pointer;color:var(--tp-green);font-weight:600;min-height:32px;align-content:center}
.tp-home-plugs>div {display:flex;gap:6px;flex-wrap:wrap;margin-top:7px}
.tp-home-plugs button {border:1px solid var(--tp-line);border-radius:7px;background:var(--tp-pale);color:var(--tp-ink);padding:6px;min-height:56px;display:grid;justify-items:center}
.tp-home-plugs button:hover {border-color:var(--tp-green)}
.tp-home-plugs button svg {width:53px;height:42px}
.tp-home-plugs button span {font-size:.8rem}
.tp-local-reference{display:inline-block;margin-top:3px;color:var(--tp-muted);font-size:.81rem}
