:root {
    --plan-orange: var(--bibursa-orange, #ff642d);
    --plan-text: #111827;
    --plan-muted: #737888;
    --plan-line: #e7e9ef;
    --plan-soft: #f5f6f9;
    --plan-shadow: 0 14px 36px rgba(17, 24, 39, .08);
}

* {
    box-sizing: border-box;
}

body.plan-create-page {
    background: #eef2f7;
    color: var(--plan-text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    margin: 0;
    width: min(100%, var(--app-mobile-width, 430px));
    max-width: var(--app-page-max-width, 430px);
    min-width: 320px;
    margin-inline: auto;
}

.plan-create-shell {
    background: #fff;
    margin: 0 auto;
    min-height: 100vh;
    max-width: var(--app-page-max-width, 430px);
    overflow-x: hidden;
    padding: 34px 28px 176px;
    width: 100%;
}

.plan-create-header {
    display: grid;
    gap: 12px;
    margin-bottom: 28px;
    position: relative;
}

.plan-close-button {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(17, 24, 39, .1);
    border-radius: 999px;
    color: var(--plan-text);
    display: inline-flex;
    height: 36px;
    justify-content: center;
    position: absolute;
    right: 0;
    text-decoration: none;
    top: 0;
    width: 36px;
}

.plan-close-button svg {
    fill: none;
    height: 20px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.8;
    width: 20px;
}

.plan-back-button {
    align-items: center;
    color: var(--plan-text);
    display: inline-flex;
    height: 38px;
    justify-content: center;
    text-decoration: none;
    width: 38px;
}

.plan-back-button svg {
    fill: none;
    height: 30px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3;
    width: 30px;
}

.plan-create-header h1 {
    font-size: 34px;
    line-height: 1.05;
    margin: 0;
}

.plan-create-header p {
    color: #8b91a0;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
    margin: 0;
}

.plan-create-form {
    display: grid;
    gap: 16px;
}

.plan-create-form label {
    display: grid;
    gap: 9px;
}

.plan-create-form label > span {
    font-size: 16px;
    font-weight: 800;
}

.plan-create-form input,
.plan-create-form textarea {
    background: var(--plan-soft);
    border: 1px solid transparent;
    border-radius: 11px;
    color: var(--plan-text);
    font: inherit;
    font-size: 16px;
    line-height: 1.45;
    outline: none;
    padding: 16px 18px;
    resize: vertical;
    width: 100%;
}

.plan-create-form textarea {
    min-height: 124px;
}

.plan-create-form input:focus,
.plan-create-form textarea:focus {
    background: #fff;
    border-color: rgba(255, 100, 45, .45);
    box-shadow: 0 0 0 4px rgba(255, 100, 45, .11);
}

.plan-create-form small {
    color: #9aa0ad;
    font-size: 13px;
    font-weight: 400;
    justify-self: end;
    margin-top: -2px;
}

.plan-create-form small b {
    font: inherit;
}

.plan-duration-field {
    border: 0;
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.plan-route-category-field {
    border: 0;
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.plan-route-category-field legend {
    color: var(--plan-text);
    font-size: 16px;
    font-weight: 800;
    padding: 0;
}

.plan-route-category-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.plan-route-category-chip input {
    height: 1px;
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 1px;
}

.plan-route-category-chip span {
    align-items: center;
    background: #fff;
    border: 1px solid #e1e5ee;
    border-radius: 999px;
    color: #3c4658;
    display: inline-flex;
    font-size: 14px;
    font-weight: 500;
    min-height: 38px;
    padding: 0 14px;
}

.plan-route-category-chip input:checked + span {
    background: #fff2ec;
    border-color: rgba(255, 100, 45, .65);
    color: var(--plan-orange);
}

.plan-duration-field legend {
    color: var(--plan-text);
    font-size: 16px;
    font-weight: 800;
    padding: 0;
}

.plan-duration-options {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.plan-duration-options label {
    display: block;
}

.plan-duration-options input {
    height: 1px;
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 1px;
}

.plan-duration-options span {
    align-items: center;
    background: #fff;
    border: 1px solid #e1e5ee;
    border-radius: 14px;
    color: #3c4658;
    display: flex;
    font-size: 15px;
    font-weight: 500;
    height: 44px;
    justify-content: center;
    padding: 0 8px;
}

.plan-create-form .plan-duration-options label > span {
    font-size: 15px;
    font-weight: 500;
}

.plan-duration-options input:checked + span {
    background: #fff2ec;
    border-color: rgba(255, 100, 45, .65);
    color: var(--plan-orange);
    box-shadow: 0 8px 18px rgba(255, 100, 45, .12);
}

.plan-primary-button {
    align-items: center;
    background: var(--plan-orange);
    border: 0;
    border-radius: 13px;
    box-shadow: 0 10px 20px rgba(255, 100, 45, .26);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font-size: 17px;
    font-weight: 800;
    gap: 9px;
    height: 60px;
    justify-content: center;
    margin-top: 4px;
    padding: 0 18px;
    width: 100%;
}

.plan-primary-button:disabled {
    background: #d9dde6;
    box-shadow: none;
    color: #8d94a4;
    cursor: not-allowed;
}

.plan-primary-button svg {
    fill: none;
    height: 22px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.7;
    width: 22px;
}

.plan-form-status {
    color: #6f7685;
    font-size: 14px;
    font-weight: 700;
    min-height: 0;
}

.plan-form-status:empty {
    display: none;
}

.plan-form-status.is-error {
    color: #c2410c;
}

.plan-form-status.is-success {
    color: #15803d;
}

.plan-drafts-section {
    margin-top: 14px;
}

.plan-drafts-section header {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.plan-drafts-section h2 {
    font-size: 17px;
    margin: 0;
}

.plan-drafts-section header button {
    background: transparent;
    border: 0;
    color: #8c92a0;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    padding: 6px 0;
}

.plan-draft-list {
    display: grid;
    gap: 12px;
}

.plan-draft-card,
.plan-draft-empty {
    align-items: center;
    background: #fff;
    border: 1px solid var(--plan-line);
    border-radius: 12px;
    box-shadow: 0 7px 22px rgba(17, 24, 39, .05);
    display: grid;
}

.plan-draft-card {
    column-gap: 10px;
    grid-template-columns: 58px minmax(0, 1fr) 34px;
    min-height: 86px;
    overflow: hidden;
    padding: 10px 12px;
    position: relative;
}

.plan-draft-empty {
    color: #818898;
    font-size: 14px;
    font-weight: 400;
    min-height: 80px;
    padding: 18px;
}

.plan-draft-thumb {
    align-items: center;
    background: linear-gradient(135deg, rgba(255, 100, 45, .18), rgba(255, 255, 255, .96));
    border-radius: 8px;
    color: var(--plan-orange);
    display: flex;
    height: 58px;
    justify-content: center;
    overflow: hidden;
    width: 58px;
}

.plan-draft-thumb svg {
    fill: none;
    height: 29px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.4;
    width: 29px;
}

.plan-draft-main {
    background: transparent;
    border: 0;
    color: inherit;
    cursor: pointer;
    display: grid;
    gap: 5px;
    min-width: 0;
    padding: 0;
    text-align: left;
}

.plan-draft-main strong {
    font-size: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.plan-draft-main span {
    color: #8a91a0;
    font-size: 14px;
    font-weight: 650;
}

.plan-draft-menu {
    align-items: center;
    background: transparent;
    border: 0;
    color: #4b5563;
    cursor: pointer;
    display: inline-flex;
    height: 42px;
    justify-content: center;
    width: 34px;
}

.plan-draft-menu svg {
    fill: none;
    height: 24px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 2.8;
    width: 24px;
}

.plan-draft-actions {
    background: #fff;
    border: 1px solid var(--plan-line);
    border-radius: 12px;
    box-shadow: 0 14px 34px rgba(17, 24, 39, .14);
    display: grid;
    min-width: 132px;
    overflow: hidden;
    padding: 6px;
    position: absolute;
    right: 10px;
    top: 58px;
    z-index: 10;
}

.plan-draft-actions[hidden] {
    display: none;
}

.plan-draft-actions button {
    background: transparent;
    border: 0;
    border-radius: 9px;
    color: var(--plan-text);
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    padding: 11px 12px;
    text-align: left;
}

.plan-draft-actions button:hover,
.plan-draft-actions button:focus-visible {
    background: #f4f6f9;
    outline: none;
}

.plan-draft-actions button:last-child {
    color: #dc2626;
}

.plan-bottom-nav {
    align-items: center;
    background: rgba(255, 255, 255, .96);
    border-top: 1px solid var(--plan-line);
    bottom: 0;
    box-shadow: 0 -16px 26px rgba(17, 24, 39, .04);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    left: 50%;
    max-width: 480px;
    min-height: 92px;
    padding: 8px 14px calc(9px + env(safe-area-inset-bottom));
    position: fixed;
    transform: translateX(-50%);
    width: 100%;
    z-index: 50;
}

.plan-bottom-nav a,
.plan-bottom-nav button {
    align-items: center;
    background: transparent;
    border: 0;
    color: #374151;
    cursor: pointer;
    display: grid;
    font: inherit;
    font-size: 12px;
    font-weight: 650;
    gap: 4px;
    justify-items: center;
    min-width: 0;
    text-decoration: none;
}

.plan-bottom-nav a.active,
.plan-bottom-nav button.active {
    color: var(--plan-orange);
}

.plan-bottom-nav svg {
    fill: none;
    height: 28px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.4;
    width: 28px;
}

.plan-bottom-nav .plan-create-main {
    align-self: start;
    background: var(--plan-orange);
    border: 6px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 9px rgba(255, 100, 45, .08), 0 12px 24px rgba(255, 100, 45, .28);
    color: #fff;
    height: 70px;
    margin-top: -34px;
    place-items: center;
    width: 70px;
}

.plan-bottom-nav .plan-create-main svg {
    height: 32px;
    stroke-width: 2.3;
    width: 32px;
}

body.plan-create-page .bottom-nav {
    grid-template-columns: none;
    max-width: var(--app-page-max-width, 430px);
}

body.plan-create-page .routes-bottom-nav .bottom-nav-item.active {
    color: var(--plan-orange);
}

.plan-next-step-card {
    background: #fff;
    border: 1px solid var(--plan-line);
    border-radius: 14px;
    box-shadow: var(--plan-shadow);
    display: grid;
    gap: 8px;
    margin-top: 22px;
    padding: 22px;
}

.plan-next-step-card strong {
    font-size: 21px;
}

.plan-next-step-card span {
    color: var(--plan-muted);
    font-size: 16px;
    line-height: 1.45;
}

.plan-stops-page {
    overflow-x: hidden;
}

.plan-stops-shell {
    background: #fff;
    margin: 0 auto;
    max-width: var(--app-page-max-width, 430px);
    min-height: 100vh;
    padding: 0 0 132px;
    position: relative;
    width: 100%;
}

body.plan-stops-page .routes-bottom-nav,
body.plan-create-page .routes-bottom-nav {
    left: 50%;
    max-width: var(--app-page-max-width, 430px);
    width: 100%;
}

body.plan-stops-page .routes-bottom-nav .bottom-nav-items,
body.plan-create-page .routes-bottom-nav .bottom-nav-items {
    min-height: 76px;
}

.plan-stops-map {
    background:
        radial-gradient(circle at 75% 13%, rgba(115, 199, 255, .46) 0 12%, transparent 13%),
        radial-gradient(circle at 18% 78%, rgba(90, 176, 112, .2), transparent 34%),
        linear-gradient(145deg, rgba(105, 190, 124, .34), transparent 40%),
        linear-gradient(24deg, transparent 0 21%, rgba(255, 255, 255, .68) 22% 25%, transparent 26% 100%),
        linear-gradient(132deg, transparent 0 46%, rgba(255, 255, 255, .72) 47% 50%, transparent 51% 100%),
        linear-gradient(180deg, #bfe6ff 0%, #dff0cf 54%, #c5e7ae 100%);
    height: 38vh;
    max-height: 350px;
    min-height: 292px;
    overflow: hidden;
    position: relative;
}

.plan-stops-map::before,
.plan-stops-map::after {
    content: "";
    inset: 0;
    position: absolute;
}

.plan-stops-map::before {
    background:
        repeating-linear-gradient(18deg, transparent 0 78px, rgba(255, 255, 255, .36) 79px 82px, transparent 83px 156px),
        repeating-linear-gradient(96deg, transparent 0 116px, rgba(91, 129, 84, .18) 117px 120px, transparent 121px 232px);
    opacity: .68;
}

.plan-stops-map::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .45));
}

.plan-stops-back {
    align-items: center;
    background: rgba(255, 255, 255, .92);
    border-radius: 50%;
    color: #111827;
    display: inline-flex;
    height: 44px;
    justify-content: center;
    left: 18px;
    position: absolute;
    text-decoration: none;
    top: 42px;
    width: 44px;
    z-index: 3;
}

.plan-stops-back svg {
    fill: none;
    height: 28px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3;
    width: 28px;
}

.plan-map-label {
    color: #111827;
    display: grid;
    justify-items: center;
    left: 50%;
    max-width: 280px;
    position: absolute;
    top: 86px;
    transform: translateX(-50%);
    z-index: 3;
}

.plan-map-label strong {
    font-size: 19px;
    line-height: 1.15;
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

.plan-map-label span {
    color: #5f6878;
    font-size: 13px;
    font-weight: 700;
    margin-top: 4px;
}

.plan-map-pins {
    inset: 0;
    position: absolute;
    z-index: 2;
}

.plan-map-pins[hidden] {
    display: none;
}

.plan-google-map {
    inset: 0;
    position: absolute;
    z-index: 1;
}

.plan-google-map:not(:empty) {
    z-index: 2;
}

.plan-stops-map.has-google-map::before,
.plan-stops-map.has-google-map::after,
.plan-preview-map.has-google-map::before,
.plan-preview-map.has-google-map::after {
    display: none;
}

.plan-stops-map.has-google-map .plan-map-city-labels,
.plan-stops-map.has-google-map .plan-map-pins,
.plan-preview-map.has-google-map .plan-map-pins,
.plan-preview-map.has-google-map .plan-preview-cover {
    display: none;
}

.plan-google-map.is-unavailable {
    display: none;
}

.plan-map-fallback {
    background: rgba(255, 255, 255, .92);
    border-radius: 999px;
    color: #5f6878;
    font-size: 14px;
    font-weight: 850;
    left: 50%;
    margin: 0;
    padding: 10px 14px;
    position: absolute;
    top: 58%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.plan-map-fallback[hidden] {
    display: none;
}

.plan-map-city-labels {
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: 2;
}

.plan-map-city-labels span,
.plan-map-city-labels small {
    color: rgba(17, 24, 39, .36);
    font-weight: 900;
    position: absolute;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .4);
}

.plan-map-city-labels span {
    font-size: 30px;
    left: 50%;
    top: 56%;
    transform: translate(-50%, -50%);
}

.plan-map-city-labels small {
    font-size: 13px;
}

.plan-map-city-labels small:nth-child(2) {
    left: 24%;
    top: 58%;
}

.plan-map-city-labels small:nth-child(3) {
    left: 13%;
    top: 42%;
}

.plan-map-city-labels small:nth-child(4) {
    right: 19%;
    top: 44%;
}

.plan-map-city-labels small:nth-child(5) {
    right: 12%;
    top: 65%;
}

.plan-map-pulse {
    background: var(--plan-orange);
    border: 10px solid rgba(255, 255, 255, .88);
    border-radius: 50% 50% 50% 8px;
    box-shadow: 0 12px 30px rgba(255, 100, 45, .28);
    height: 72px;
    left: 50%;
    position: absolute;
    top: 60%;
    transform: translate(-50%, -50%) rotate(-45deg);
    width: 72px;
}

.plan-map-pulse-bursa {
    height: 52px;
    top: 62%;
    width: 52px;
}

.plan-map-pulse-bursa b {
    color: var(--plan-orange);
    font-size: 12px;
    left: 50%;
    position: absolute;
    top: 72px;
    transform: translateX(-50%) rotate(45deg);
    white-space: nowrap;
}

.plan-map-pulse::after {
    background: rgba(255, 255, 255, .92);
    border-radius: 50%;
    content: "";
    height: 18px;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 18px;
}

.plan-map-pin {
    align-items: center;
    background: var(--plan-orange);
    border: 4px solid #fff;
    border-radius: 50% 50% 50% 7px;
    box-shadow: 0 9px 18px rgba(255, 100, 45, .28);
    color: #fff;
    display: inline-flex;
    font-size: 13px;
    font-weight: 900;
    height: 38px;
    justify-content: center;
    position: absolute;
    transform: translate(-50%, -50%) rotate(-45deg);
    width: 38px;
}

.plan-map-pin b {
    display: block;
    line-height: 1;
    transform: rotate(45deg);
}

.plan-stops-sheet {
    background: rgba(255, 255, 255, .98);
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -18px 42px rgba(17, 24, 39, .12);
    margin-top: -34px;
    min-height: calc(100vh - 230px);
    padding: 14px 18px 154px;
    position: relative;
    z-index: 4;
}

.plan-sheet-handle {
    background: #c9ced7;
    border-radius: 999px;
    display: block;
    height: 4px;
    margin: 0 auto 18px;
    width: 34px;
}

.plan-stop-search {
    align-items: center;
    background: #f3f4f7;
    border-radius: 13px;
    display: grid;
    gap: 10px;
    grid-template-columns: 24px 1fr 28px;
    min-height: 54px;
    padding: 0 12px;
}

.plan-stop-search svg {
    fill: none;
    height: 22px;
    stroke: #737888;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.4;
    width: 22px;
}

.plan-stop-search input {
    background: transparent;
    border: 0;
    color: var(--plan-text);
    font: inherit;
    font-size: 16px;
    height: 52px;
    outline: none;
    min-width: 0;
}

.plan-stop-search button {
    align-items: center;
    background: #fff;
    border: 0;
    border-radius: 50%;
    color: #111827;
    cursor: pointer;
    display: inline-flex;
    height: 28px;
    justify-content: center;
    width: 28px;
}

.plan-stop-status {
    color: #737888;
    display: block;
    font-size: 13px;
    font-weight: 700;
    min-height: 24px;
    padding: 7px 2px 0;
}

.plan-stop-status.is-error {
    color: #c2410c;
}

.plan-stop-status.is-success {
    color: #15803d;
}

.plan-stop-empty {
    align-items: center;
    display: grid;
    justify-items: center;
    min-height: 276px;
    padding: 24px 10px;
    text-align: center;
}

.plan-stop-empty[hidden],
.plan-stop-results[hidden] {
    display: none;
}

.plan-stop-empty-illustration {
    align-items: center;
    background: rgba(255, 100, 45, .11);
    border-radius: 50% 50% 50% 10px;
    color: var(--plan-orange);
    display: inline-flex;
    height: 86px;
    justify-content: center;
    margin-bottom: 16px;
    width: 86px;
}

.plan-stop-empty-illustration svg {
    fill: none;
    height: 70px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.2;
    width: 70px;
}

.plan-stop-empty h1 {
    font-size: 21px;
    line-height: 1.15;
    margin: 0 0 8px;
}

.plan-stop-empty p {
    color: #737888;
    font-size: 15px;
    line-height: 1.35;
    margin: 0 0 18px;
}

.plan-stop-quick-types {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.plan-stop-quick-types span {
    border: 1px solid var(--plan-line);
    border-radius: 999px;
    color: #4b5563;
    font-size: 13px;
    font-weight: 750;
    padding: 8px 12px;
}

.plan-stop-results {
    display: grid;
    gap: 16px;
    padding-bottom: 18px;
}

.plan-result-group {
    display: grid;
    gap: 10px;
}

.plan-result-group header {
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding: 2px 2px 0;
}

.plan-result-group header strong {
    font-size: 15px;
}

.plan-result-group header span {
    color: #8c92a0;
    font-size: 12px;
    font-weight: 700;
}

.plan-result-card,
.plan-result-row {
    align-items: center;
    background: #fff;
    border: 1px solid var(--plan-line);
    border-radius: 13px;
    box-shadow: 0 8px 22px rgba(17, 24, 39, .05);
    display: grid;
    gap: 12px;
}

.plan-result-card-internal {
    border-color: rgba(255, 100, 45, .16);
}

.plan-result-card {
    grid-template-columns: 74px 1fr 42px;
    min-height: 92px;
    padding: 10px;
}

.plan-result-row {
    grid-template-columns: 30px 1fr 38px;
    min-height: 64px;
    padding: 9px 10px;
}

.plan-result-photo {
    align-items: center;
    background: #f2f4f7;
    border-radius: 10px;
    color: var(--plan-orange);
    display: inline-flex;
    height: 72px;
    justify-content: center;
    overflow: hidden;
    width: 72px;
}

.plan-result-photo img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.plan-result-card strong,
.plan-result-row strong {
    display: block;
    font-size: 14px;
    line-height: 1.25;
}

.plan-result-card p,
.plan-result-row p {
    color: #7b8290;
    font-size: 12px;
    line-height: 1.35;
    margin: 4px 0 0;
}

.plan-result-card em {
    background: rgba(255, 100, 45, .1);
    border-radius: 999px;
    color: var(--plan-orange);
    display: inline-block;
    font-size: 11px;
    font-style: normal;
    font-weight: 800;
    margin-top: 6px;
    padding: 4px 8px;
}

.plan-result-row > span svg,
.plan-result-photo svg {
    fill: none;
    height: 24px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.2;
    width: 24px;
}

.plan-result-row > span {
    color: #7b8290;
}

.plan-result-card button,
.plan-result-row button {
    align-items: center;
    background: var(--plan-orange);
    border: 0;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    height: 36px;
    justify-content: center;
    width: 36px;
}

.plan-result-row button {
    background: #fff;
    border: 1px solid #d9dde5;
    color: #4b5563;
}

.plan-result-card button svg,
.plan-result-row button svg {
    fill: none;
    height: 21px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 2.5;
    width: 21px;
}

.plan-provider-note,
.plan-result-none {
    color: #737888;
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
    padding: 12px 2px;
}

.plan-selected-stops {
    border-top: 1px solid var(--plan-line);
    display: grid;
    gap: 12px;
    padding-top: 18px;
}

.plan-selected-stops header {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.plan-selected-stops h2 {
    font-size: 18px;
    margin: 0;
}

.plan-selected-stops header span {
    color: #8c92a0;
    font-size: 13px;
    font-weight: 800;
}

.plan-selected-stop-list {
    display: grid;
    gap: 10px;
}

.plan-selected-stop,
.plan-selected-stop-empty {
    align-items: center;
    border: 1px solid var(--plan-line);
    border-radius: 12px;
    display: grid;
    min-height: 66px;
    padding: 10px;
}

.plan-selected-stop {
    cursor: pointer;
    grid-template-columns: 34px 82px minmax(0, 1fr) 34px;
    gap: 14px;
    min-height: 112px;
    padding: 14px;
}

.plan-selected-thumb {
    border-radius: 9px;
    height: 82px;
    object-fit: cover;
    width: 82px;
}

.plan-selected-thumb-empty {
    background: #f3f4f7;
}

.plan-selected-stop-empty {
    color: #818898;
    font-size: 14px;
}

.plan-stop-position {
    align-items: center;
    background: var(--plan-orange);
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    font-size: 14px;
    font-weight: 900;
    height: 30px;
    justify-content: center;
    width: 30px;
}

.plan-selected-stop strong {
    display: block;
    font-size: 17px;
    line-height: 1.2;
}

.plan-selected-stop p {
    color: #7b8290;
    display: -webkit-box;
    font-size: 12px;
    line-height: 1.3;
    margin: 4px 0 0;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    max-height: calc(1.3em * 3);
    overflow: hidden;
    text-overflow: ellipsis;
}

.plan-selected-stop em {
    color: var(--plan-orange);
    font-size: 11px;
    font-style: normal;
    font-weight: 850;
}

.plan-selected-stop button {
    align-items: center;
    background: transparent;
    border: 0;
    color: #8c92a0;
    cursor: pointer;
    display: inline-flex;
    height: 34px;
    justify-content: center;
    width: 34px;
}

.plan-selected-stop button svg {
    fill: none;
    height: 20px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 2.5;
    width: 20px;
}

.plan-preview-link {
    align-items: center;
    background: var(--plan-orange);
    border-radius: 13px;
    color: #fff;
    display: flex;
    font-size: 16px;
    font-weight: 850;
    height: 54px;
    justify-content: center;
    text-decoration: none;
}

.plan-preview-link[hidden] {
    display: none;
}

.plan-detail-shell,
.plan-preview-shell {
    background: #fff;
    margin: 0 auto;
    max-width: 480px;
    min-height: 100vh;
    padding: 24px 18px 42px;
    width: 100%;
}

.plan-detail-header,
.plan-preview-header {
    align-items: center;
    display: grid;
    grid-template-columns: 42px 1fr 64px;
    min-height: 52px;
}

.plan-detail-header a,
.plan-preview-header a {
    color: var(--plan-text);
    text-decoration: none;
}

.plan-detail-header svg,
.plan-preview-header svg {
    fill: none;
    height: 29px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3;
    width: 29px;
}

.plan-detail-header h1,
.plan-preview-header h1 {
    font-size: 20px;
    line-height: 1.15;
    margin: 0;
    text-align: center;
}

.plan-preview-header a:last-child {
    color: var(--plan-orange);
    font-size: 14px;
    font-weight: 850;
    justify-self: end;
}

.plan-detail-hero {
    align-items: end;
    background:
        linear-gradient(180deg, transparent, rgba(17, 24, 39, .42)),
        linear-gradient(135deg, rgba(255, 100, 45, .14), rgba(238, 242, 247, .9));
    border-radius: 0 0 22px 22px;
    color: #fff;
    display: flex;
    height: 230px;
    justify-content: flex-end;
    margin: 0 -18px 18px;
    overflow: hidden;
    padding: 16px;
    position: relative;
}

.plan-detail-hero img,
.plan-preview-cover img {
    height: 100%;
    inset: 0;
    object-fit: cover;
    position: absolute;
    width: 100%;
}

.plan-detail-hero span {
    background: rgba(17, 24, 39, .62);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 850;
    padding: 7px 10px;
    position: relative;
    z-index: 2;
}

.plan-detail-card,
.plan-media-section,
.plan-internal-media,
.plan-note-form,
.plan-preview-sheet {
    display: grid;
    gap: 12px;
}

.plan-detail-card {
    margin-bottom: 20px;
}

.plan-detail-card strong,
.plan-preview-sheet h2 {
    font-size: 22px;
    line-height: 1.2;
}

.plan-detail-card em {
    background: rgba(255, 100, 45, .1);
    border-radius: 999px;
    color: var(--plan-orange);
    font-style: normal;
    font-weight: 850;
    justify-self: start;
    padding: 6px 10px;
}

.plan-detail-card p,
.plan-preview-sheet p {
    color: #727987;
    font-size: 15px;
    line-height: 1.4;
    margin: 0;
}

.plan-media-section,
.plan-internal-media {
    margin-bottom: 22px;
}

.plan-preview-photo-link {
    align-self: center;
    color: var(--plan-orange);
    font-size: 11px;
    font-weight: 800;
    grid-column: 2;
    text-decoration: none;
    white-space: nowrap;
}

.plan-preview-photo-prompt {
    align-items: center;
    background: #fff8f4;
    border: 1px dashed rgba(255, 100, 45, .55);
    border-radius: 14px;
    color: var(--plan-text);
    display: grid;
    gap: 2px 10px;
    grid-template-columns: 34px 1fr;
    margin: 12px 0 4px;
    padding: 12px;
    text-decoration: none;
}

.plan-preview-photo-prompt span {
    align-items: center;
    background: var(--plan-orange);
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    font-size: 25px;
    grid-row: span 2;
    height: 34px;
    justify-content: center;
    line-height: 1;
    width: 34px;
}

.plan-preview-photo-prompt strong {
    font-size: 14px;
}

.plan-preview-photo-prompt small {
    color: var(--plan-muted);
    font-size: 11px;
}

.plan-preview-stop > .plan-preview-photo-link {
    display: block;
    font-size: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.plan-media-section header,
.plan-internal-media header {
    align-items: end;
    display: flex;
    justify-content: space-between;
}

.plan-media-section h2,
.plan-internal-media h2,
.plan-note-form label > span {
    font-size: 17px;
    margin: 0;
}

.plan-media-section header span,
.plan-internal-media header span {
    color: #8c92a0;
    font-size: 13px;
    font-weight: 800;
}

.plan-media-list {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.plan-media-item {
    align-items: stretch;
    border: 1px solid var(--plan-line);
    border-radius: 13px;
    display: grid;
    gap: 7px;
    grid-template-columns: 1fr;
    padding: 7px;
}

.plan-media-item img {
    border-radius: 10px;
    aspect-ratio: 1;
    height: auto;
    object-fit: cover;
    width: 100%;
}

.plan-media-item div {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.plan-media-empty {
    grid-column: 1 / -1;
}

.plan-media-item button,
.plan-preview-stop button {
    align-items: center;
    background: #f3f4f7;
    border: 0;
    border-radius: 9px;
    color: #4b5563;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-size: 16px;
    font-weight: 850;
    height: 36px;
    justify-content: center;
    width: 36px;
}

.plan-media-item button:disabled,
.plan-preview-stop button:disabled {
    cursor: not-allowed;
    opacity: .38;
}

.plan-media-empty {
    border: 1px dashed #d8dce5;
    border-radius: 13px;
    color: #818898;
    font-size: 14px;
    padding: 18px;
}

.plan-photo-upload {
    align-items: center;
    border: 1px dashed #d8dce5;
    border-radius: 13px;
    color: #6f7685;
    cursor: pointer;
    display: flex;
    font-size: 15px;
    font-weight: 850;
    gap: 10px;
    height: 58px;
    justify-content: center;
}

.plan-photo-upload input {
    position: absolute;
    transform: scale(0);
}

.plan-photo-upload svg,
.plan-add-stop-link svg {
    fill: none;
    height: 22px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 2.6;
    width: 22px;
}

.plan-internal-media > div {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, 1fr);
}

.plan-internal-media button {
    background: #fff;
    border: 1px solid var(--plan-line);
    border-radius: 13px;
    cursor: pointer;
    height: 94px;
    overflow: hidden;
    padding: 0;
}

.plan-internal-media button:disabled {
    opacity: .45;
}

.plan-internal-media img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.plan-note-form label {
    display: grid;
    gap: 10px;
}

.plan-note-form textarea {
    background: var(--plan-soft);
    border: 1px solid transparent;
    border-radius: 13px;
    color: var(--plan-text);
    font: inherit;
    min-height: 146px;
    padding: 15px;
    resize: vertical;
    width: 100%;
}

.plan-note-form small {
    color: #9aa0ad;
    font-size: 13px;
    justify-self: end;
}

.plan-preview-shell {
    padding: 18px 0 44px;
}

.plan-preview-header {
    padding: 0 18px;
}

.plan-preview-map {
    background:
        radial-gradient(circle at 78% 22%, rgba(115, 199, 255, .5), transparent 20%),
        linear-gradient(160deg, #d9f0c6, #bfe6ff);
    height: 260px;
    margin-top: 8px;
    overflow: hidden;
    position: relative;
}

.plan-preview-cover {
    inset: 0;
    opacity: .28;
    position: absolute;
}

.plan-preview-sheet {
    background: #fff;
    border-radius: 22px 22px 0 0;
    box-shadow: 0 -14px 34px rgba(17, 24, 39, .1);
    margin-top: -24px;
    padding: 22px 18px;
    position: relative;
    z-index: 4;
}

.plan-preview-meta {
    display: flex;
    gap: 18px;
}

.plan-preview-meta span {
    color: #6f7685;
    font-weight: 800;
}

.plan-preview-stop-list {
    display: grid;
    gap: 12px;
    margin-top: 8px;
}

.plan-preview-stop {
    align-items: center;
    display: grid;
    gap: 10px;
    grid-template-columns: 34px 56px minmax(0, 1fr) auto 82px;
}

.plan-preview-stop > span {
    align-items: center;
    background: var(--plan-orange);
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    font-weight: 900;
    height: 30px;
    justify-content: center;
    width: 30px;
}

.plan-preview-stop img,
.plan-preview-stop em {
    background: #f0f2f6;
    border-radius: 10px;
    display: block;
    height: 56px;
    object-fit: cover;
    width: 56px;
}

.plan-preview-stop a {
    color: inherit;
    display: grid;
    gap: 4px;
    min-width: 0;
    text-decoration: none;
}

.plan-preview-stop strong,
.plan-preview-stop small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.plan-preview-stop strong {
    font-size: 14px;
}

.plan-preview-stop small {
    color: #7b8290;
    font-size: 13px;
    font-weight: 650;
}

.plan-preview-stop div {
    display: flex;
    gap: 6px;
}

.plan-add-stop-link {
    align-items: center;
    border: 1px dashed #d9dde5;
    border-radius: 13px;
    color: #6f7685;
    display: flex;
    font-size: 15px;
    font-weight: 850;
    gap: 8px;
    height: 54px;
    justify-content: center;
    text-decoration: none;
}

@media (max-width: 380px) {
    .plan-create-shell {
        padding-left: 22px;
        padding-right: 22px;
    }

    .plan-create-header h1 {
        font-size: 31px;
    }

    .plan-primary-button {
        font-size: 17px;
    }

    .plan-stops-sheet {
        padding-left: 14px;
        padding-right: 14px;
    }

    .plan-result-card {
        grid-template-columns: 64px 1fr 38px;
    }

    .plan-result-photo {
        height: 62px;
        width: 62px;
    }
}
