.pkc-route-planner{display:grid;gap:12px;padding:8px 0 4px}.pkc-route-head{display:grid;gap:2px}.pkc-route-head small{color:#69766f}.pkc-route-points{display:grid;gap:8px}.pkc-route-point{display:grid;grid-template-columns:30px minmax(0,1fr) 32px;gap:7px;align-items:start;padding:8px;border:1px solid #dfe5e1;border-radius:11px;background:#fff;user-select:none;-webkit-user-select:none}.pkc-route-point input,.pkc-route-point textarea{user-select:text;-webkit-user-select:text}.pkc-route-point.is-inactive{background:#eef1ef;color:#77817c}.pkc-route-point.is-inactive input{background:#e2e6e4;color:#6c7671;cursor:not-allowed}.pkc-route-point.is-inactive .pkc-route-badge{background:#87918c}.pkc-route-point.is-inactive .pkc-route-grip{visibility:hidden}.pkc-route-grip{width:30px;height:38px;border:0;background:transparent;color:#7d8983;font-size:20px;cursor:grab;padding:0}.pkc-route-grip:active{cursor:grabbing;color:#1f5b47}.pkc-route-point-main{display:grid;gap:6px}.pkc-route-point-line{display:grid;grid-template-columns:28px minmax(0,1fr);gap:6px;align-items:center}.pkc-route-badge{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#1f5b47;color:#fff;font-weight:800;font-size:.78rem}.pkc-route-point input{width:100%;box-sizing:border-box;min-height:38px;border:1px solid #cfd8d3;border-radius:8px;padding:7px 9px;font:inherit}.pkc-route-point-tools{display:flex;gap:5px;flex-wrap:wrap}.pkc-route-point-tools button{border:1px solid #d7dfda;border-radius:8px;background:#f6f8f7;color:#35453e;min-height:32px;padding:5px 8px;font:inherit;font-size:.77rem;cursor:pointer}.pkc-route-remove{width:32px;height:32px;border:0;border-radius:8px;background:#f1f4f2;color:#7b4545;font-size:18px;cursor:pointer}.pkc-route-remove:disabled{visibility:hidden}.pkc-route-point.is-dragging{opacity:.5;transform:scale(.985);box-shadow:0 8px 18px rgba(0,0,0,.14)}.pkc-route-point.is-drop-target{outline:2px solid #1f5b47;outline-offset:2px;background:#edf6f1}.pkc-route-add,.pkc-route-search,.pkc-route-navigation-start,.pkc-route-dimension-reroute,.pkc-route-poi-open{width:100%;min-height:46px}.pkc-route-options{display:grid;gap:7px;padding-top:4px;border-top:1px solid #e6ebe8}.pkc-route-options>strong{margin-top:5px;font-size:.86rem}.pkc-route-difficulty{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.pkc-route-difficulty button{display:grid;gap:1px;place-items:center;border:1px solid #d6dfda;border-radius:9px;background:#f7f9f8;color:#46544e;min-height:40px;font:inherit;font-size:.95rem;font-weight:650;cursor:pointer;padding:6px 4px}.pkc-route-difficulty button.is-active{background:#1f5b47;color:#fff;border-color:#1f5b47}.pkc-route-difficulty small{font-size:.56rem;font-weight:600;line-height:1.05}.pkc-route-fast-connection{display:flex;align-items:flex-start;gap:8px;margin-top:4px;padding:9px 10px;border:1px solid #d6dfda;border-radius:9px;background:#f7f9f8;cursor:pointer}.pkc-route-fast-connection input{margin-top:2px}.pkc-route-fast-connection span{display:grid;gap:2px}.pkc-route-fast-connection strong{font-size:.78rem}.pkc-route-fast-connection small{font-size:.68rem;color:#68756f;line-height:1.25}.pkc-route-avoid-restricted:has(input:checked){border-color:#1f5b47;background:#edf6f1}.pkc-route-legal-warning{display:grid;gap:2px;padding:10px 11px;border:2px solid #b42318;border-radius:9px;background:#fff0ee;color:#8c1d18;font-size:.78rem}.pkc-route-legal-warning span{font-size:.72rem;line-height:1.3}.pkc-route-legal-warning.is-hidden,.is-hidden{display:none}.pkc-route-extra-distance{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;font-size:.78rem}.pkc-route-extra-distance span{display:grid;gap:2px}.pkc-route-extra-distance small{color:#68756f}.pkc-route-extra-distance select{min-height:38px;border:1px solid #cfd8d3;border-radius:8px;padding:6px;background:#fff;font:inherit}.pkw-btn{appearance:none;border:1px solid #cad4cf;border-radius:10px;background:#f3f6f4;color:#26362f;padding:9px 12px;font:inherit;font-weight:600;line-height:1.2;cursor:pointer}.pkw-btn:hover{background:#e9efec}.pkw-btn:disabled{opacity:.55;cursor:not-allowed}.pkw-btn-primary{border-color:#1f5b47;background:#1f5b47;color:#fff}.pkw-btn-primary:hover{background:#194c3c}.pkc-muted{color:#68756f}.pkc-route-status{margin:0;line-height:1.35}.pkc-route-status[data-kind=error]{color:#8c1d18}.pkc-route-status[data-kind=success]{color:#1f5b47}.pkc-route-marker{display:grid!important;place-items:center;background:transparent!important;border:0!important;touch-action:none!important;cursor:grab!important;user-select:none!important;-webkit-user-select:none!important;filter:drop-shadow(0 2px 4px rgba(0,0,0,.22))}.pkc-route-marker:active{cursor:grabbing!important;filter:drop-shadow(0 4px 7px rgba(0,0,0,.32))}.pkc-route-marker span{display:grid;place-items:center;width:30px;height:30px;border:3px solid #fff;border-radius:50%;background:#1f5b47;color:#fff;font:800 12px/1 system-ui;box-shadow:0 2px 7px rgba(0,0,0,.38)}.pkc-route-marker.is-edit span{width:40px;height:40px;border-width:4px}.pkc-route-marker.is-pin-mode span{background:#f4c430;color:#27382f;box-shadow:0 0 0 4px rgba(244,196,48,.28),0 3px 9px rgba(0,0,0,.35)}.pkc-route-dimension-marker span{background:#b42318}.pkc-route-preview-line{stroke-dasharray:8 7;stroke-linecap:round}.pkc-route-result-line{stroke-linecap:round;stroke-linejoin:round}.pkc-route-analysis{display:block;padding:9px;border:1px solid #dfe5e1;border-radius:10px;background:#fff}.pkc-route-analysis-profile{display:grid;gap:8px}.pkc-route-analysis-profile>[data-wayora-surface-route]{min-height:72px}.pkc-route-save{display:grid;gap:7px;padding:9px;border:1px solid #dfe5e1;border-radius:10px;background:#fff}.pkc-route-save>label:not(.pkc-track-private){display:grid;gap:3px;font-size:.75rem}.pkc-route-save input,.pkc-route-save textarea{width:100%;box-sizing:border-box;border:1px solid #cfd8d3;border-radius:8px;padding:7px 9px;font:inherit}.pkc-route-save textarea{resize:vertical}.pkc-track-private{display:flex;align-items:flex-start;gap:7px;font-size:.78rem}.pkc-track-private input{width:auto;margin-top:2px}.pkc-route-poi-panel{position:absolute;z-index:1200;top:0;right:min(380px,88vw);width:min(360px,90vw);height:100%;background:#fff;box-shadow:-8px 0 28px rgba(0,0,0,.22);transform:translateX(calc(105% + min(380px,88vw)));transition:transform .22s ease;display:flex;flex-direction:column}.pkc-route-poi-panel.is-open{transform:translateX(0)}.pkc-route-poi-panel>header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:17px 16px 12px;border-bottom:1px solid #e0e5e2;font-size:1.05rem}.pkc-route-poi-panel>header button{width:42px;height:42px;border:0;border-radius:50%;background:#f0f2f1;font-size:1.8rem;line-height:1;cursor:pointer}.pkc-route-poi-body{display:grid;gap:11px;padding:15px 16px 20px;overflow:auto}.pkc-route-poi-categories{display:grid;grid-template-columns:1fr 1fr;gap:6px}.pkc-route-poi-categories label,.pkc-route-poi-public{display:flex;align-items:flex-start;gap:7px;font-size:.82rem}.pkc-route-poi-filters{display:grid;grid-template-columns:1fr 1fr;gap:8px}.pkc-route-poi-filters label{display:grid;gap:3px;font-size:.73rem}.pkc-route-poi-filters select{min-height:38px;border:1px solid #cfd8d3;border-radius:8px;background:#fff;padding:6px;font:inherit}.pkc-route-poi-results{display:grid;gap:8px}.pkc-route-poi-result{display:block;overflow:hidden;width:100%;box-sizing:border-box;border:1px solid #d9e0dc;border-radius:10px;background:#fff;color:#25342d}.pkc-route-poi-result>button{display:grid;grid-template-columns:76px minmax(0,1fr);gap:9px;width:100%;border:0;background:transparent;padding:9px;text-align:left;font:inherit;color:inherit;cursor:pointer}.pkc-route-poi-result img{width:76px;height:64px;object-fit:cover;border-radius:7px;background:#edf1ef}.pkc-route-poi-result-main{display:grid;gap:3px}.pkc-route-poi-result strong,.pkc-route-poi-result small{display:block}.pkc-route-poi-result small{color:#64716b}.pkc-route-poi-tag{display:inline-flex;align-self:start;width:max-content;padding:2px 7px;border-radius:999px;background:#edf1ef;font-size:.68rem;font-weight:700;color:#506058}.pkc-route-poi-detail{display:grid;gap:10px}.pkc-route-poi-detail img{width:100%;max-height:180px;object-fit:cover;border-radius:9px;background:#edf1ef}.pkc-route-poi-detail-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px}.pkc-route-poi-detail-actions .pkw-btn-primary{grid-column:1/-1}.pkc-route-poi-detail-mapnote{font-size:.75rem;color:#68756f}.pkc-route-dimension-reroute:not(.is-hidden){border-color:#b42318;color:#8c1d18;background:#fff0ee}@media(max-width:700px){.pkc-route-poi-panel{position:fixed;right:0;width:min(360px,90vw);height:100dvh;transform:translateX(105%)}}@media(max-width:420px){.pkc-route-point{grid-template-columns:25px minmax(0,1fr) 28px;gap:5px;padding:7px}.pkc-route-grip{width:25px}.pkc-route-point-tools button{font-size:.72rem;padding:5px 6px}.pkc-route-difficulty small{display:none}.pkc-route-poi-categories{grid-template-columns:1fr}}
.pkc-route-poi-result.is-selected{border-color:#1f5b47;box-shadow:0 0 0 1px #1f5b47}.pkc-route-poi-result.is-added{background:#f1f7f4}.pkc-route-poi-preview-marker span{display:grid;place-items:center;width:34px;height:34px;border:3px solid #fff;border-radius:50% 50% 50% 0;background:#1f5b47;color:#fff;box-shadow:0 2px 8px rgba(0,0,0,.35);transform:rotate(-45deg)}.pkc-route-poi-detail-popup .leaflet-popup-content{margin:10px;width:min(330px,calc(100vw - 70px))!important}.pkc-route-poi-map-detail{max-height:58vh;overflow:auto}.pkc-route-poi-map-detail>a>img{display:block;width:100%;max-height:180px;object-fit:cover;border-radius:8px}.pkc-route-poi-map-detail-body{display:grid;gap:7px;padding:8px 2px 2px}.pkc-route-poi-map-detail-body>strong{font-size:1.05rem}.pkc-route-poi-map-detail-body p{margin:0;white-space:pre-line}.pkc-route-poi-map-detail-body em{font-style:normal;color:#8a4d35}.pkc-route-poi-map-links{display:flex;gap:8px;flex-wrap:wrap}.pkc-route-poi-map-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px}.pkc-route-poi-map-actions button{min-height:38px;border:1px solid #cbd6d0;border-radius:8px;background:#fff;font:inherit;font-weight:700;cursor:pointer}.pkc-route-poi-map-actions button[data-pkc-route-poi-use="stop"]{background:#1f5b47;color:#fff}.pkc-route-poi-map-actions button:disabled{opacity:.58;cursor:default}

.pkc-route-query-wrap{position:relative;min-width:0}.pkc-route-query-wrap>input{display:block}.pkc-route-suggestions{position:absolute;z-index:1300;top:calc(100% + 3px);left:0;width:100%;box-sizing:border-box;max-height:280px;overflow-y:auto;border:1px solid #cfd8d3;border-radius:9px;background:#fff;box-shadow:0 8px 22px rgba(0,0,0,.16)}.pkc-route-suggestions[hidden]{display:none}.pkc-route-suggestions button{display:grid;gap:2px;width:100%;min-height:48px;border:0;border-bottom:1px solid #e5e9e7;background:#fff;padding:8px 10px;text-align:left;color:#26362f;font:inherit;cursor:pointer}.pkc-route-suggestions button:last-child{border-bottom:0}.pkc-route-suggestions button:hover,.pkc-route-suggestions button:focus{background:#edf6f1;outline:0}.pkc-route-suggestions strong{font-size:.86rem;line-height:1.2}.pkc-route-suggestions small{font-size:.72rem;line-height:1.2;color:#68756f}

/* Mobile route typography: keep normal form/content text readable without scaling the workspace. */
@media(max-width:700px){
  .pkc-route-save>strong,
  .pkc-route-analysis-profile>strong{font-size:18px;line-height:1.25}
  .pkc-route-save>label:not(.pkc-track-private){font-size:16px;line-height:1.35}
  .pkc-route-save input,
  .pkc-route-save textarea{font-size:16px;line-height:1.4}
  .pkc-track-private{font-size:16px;line-height:1.35}
  .pkc-route-save>.pkw-btn{font-size:16px}
}

/* Drag-to-route / shaping point */
.pkc-route-result-line,.pkc-route-difficulty-line,.pkc-route-edit-live{cursor:grab}.pkc-route-edit-live{stroke-linecap:round;stroke-linejoin:round}.pkc-route-marker.is-edit span{width:18px;height:18px;border:3px solid #fff;font-size:0;background:#52615a;box-shadow:0 2px 6px rgba(0,0,0,.32)}.pkc-route-marker.is-edit:active span{width:22px;height:22px}

/* Fast route shaping mode */
.pkc-route-edit-bar[hidden]{display:none}.pkc-route-edit-bar{position:fixed;z-index:1450;top:12px;left:50%;transform:translateX(-50%);display:flex;gap:6px;padding:5px;border:1px solid rgba(31,91,71,.18);border-radius:11px;background:rgba(255,255,255,.94);box-shadow:0 3px 12px rgba(0,0,0,.16)}.pkc-route-edit-bar button{display:grid;place-items:center;width:38px;height:38px;border:0;border-radius:8px;background:#1f5b47;color:#fff;font:700 19px/1 system-ui;cursor:pointer}.pkc-route-edit-bar .pkc-route-edit-cancel{background:#eef1ef;color:#34443d;font-size:24px}.pkc-route-edit-bar button:disabled{opacity:.55;cursor:default}.pkc-route-planner.is-route-editing .pkc-route-marker.is-edit span{width:18px;height:18px;border:3px solid #fff;background:#52615a}.pkc-route-planner:not(.is-route-editing) .pkc-route-marker.is-edit{display:none!important}.wayora-workapp.is-navigation-mode .pkc-route-edit-bar,.wayora-workapp.is-navigation-mode .pkc-route-marker.is-edit{display:none!important}

/* Route geometry editor controls */
.pkc-route-edit-bar .pkc-route-edit-pen.is-active{background:#f4c430;color:#27382f;box-shadow:inset 0 0 0 2px #1f5b47}.pkc-route-edit-bar .pkc-route-edit-cancel{width:30px;background:#eef1ef;color:#34443d;font-size:22px}.pkc-route-edit-point-popup{display:flex;align-items:center;gap:8px;min-width:120px}.pkc-route-edit-point-popup span{font-size:.78rem;font-weight:700}.pkc-route-edit-point-popup button{display:grid;place-items:center;width:28px;height:28px;margin-left:auto;border:0;border-radius:7px;background:#f3e9e7;color:#8c1d18;font:700 20px/1 system-ui;cursor:pointer}.pkc-route-planner.is-route-editing .pkc-route-analysis{display:none!important}.wayora-workapp.is-navigation-mode .pkc-route-edit-point-popup{display:none!important}
.wayora-workapp:has(.pkc-route-planner.is-route-editing) .pkc-navigation-hud,.wayora-workapp:has(.pkc-route-planner.is-route-editing) [data-wayora-navigation-roadbook]{display:none!important}

.pkc-route-planner.is-route-editing .pkc-route-marker.is-edit.is-edit-direct span{background:#f4c430;color:#27382f}
