/* Shared public entrance and checkout presentation. */
.public-entry {background:#f3f7f5;color:#193e42;}
.public-entry .public-header {background:#fff;color:#153e42;border-bottom:1px solid #dfeae5;padding:18px clamp(20px,4vw,64px);gap:20px;}
.public-brand {display:flex;flex-direction:column;gap:3px;flex-shrink:0;}
.public-entry .kiosk-logo {color:#123e42;font-size:23px;line-height:1.2;}
.public-entry .kiosk-logo span {color:#b87323;}
.public-slogan {font-size:12px;color:#6a807c;letter-spacing:.025em;}
.public-nav {display:flex;align-items:center;gap:10px;flex-wrap:wrap;}
.public-nav a {display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 14px;min-height:44px;border:1px solid #dce8e1;border-radius:999px;background:#f5f9f6;color:#21564d;text-decoration:none;font-size:13px;font-weight:700;transition:background .15s,border-color .15s;}
.public-nav a:hover {background:#e5f2e9;border-color:#99c3ae;}
.public-nav svg {width:17px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;flex-shrink:0;}
.public-home .kiosk-qr-shell {max-width:1180px;padding:46px 28px;gap:64px;}
.public-home .kiosk-qr-copy {color:#163e40;}
.public-home .kiosk-tag {color:#477365;display:inline-block;background:#e2efe6;border-radius:999px;padding:7px 12px;font-size:10px;}
.public-home .kiosk-qr-copy h1 {font-size:clamp(38px,5vw,66px);margin:22px 0;line-height:1.08;}
.public-home .kiosk-qr-copy h1 em {color:#16755d;}
.public-home .kiosk-qr-copy p {color:#607972;font-size:17px;line-height:1.7;}
/* Clockwise order: choose → pay → collect → return → choose. */
.public-cycle {list-style:none;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 26px;margin:28px 0 0;max-width:470px;}
.public-cycle-step {position:relative;display:flex;align-items:center;gap:11px;min-height:82px;padding:12px;border:1px solid #d9e7dd;border-radius:16px;background:#fff;}
.cycle-step-3 {grid-column:2;grid-row:2;}
.cycle-step-4 {grid-column:1;grid-row:2;}
.cycle-icon {position:relative;display:grid;place-items:center;width:38px;height:38px;flex-shrink:0;border-radius:12px;background:#e7f3e9;color:#17644e;}
.cycle-icon>svg {width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
.cycle-number {position:absolute;top:-7px;left:-6px;display:grid;place-items:center;width:18px;height:18px;border-radius:50%;background:#17644e;color:white;font-size:10px;font-weight:750;border:2px solid white;}
.cycle-copy {display:flex;flex-direction:column;gap:3px;min-width:0;}
.cycle-copy strong {font-size:13px;color:#204e40;}
.cycle-copy small {font-size:11px;line-height:1.4;color:#65796e;}
.cycle-arrow {position:absolute;width:20px;height:20px;fill:none;stroke:#a97630;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
.cycle-step-1 .cycle-arrow {right:-24px;top:calc(50% - 10px);}
.cycle-step-2 .cycle-arrow {bottom:-22px;left:calc(50% - 10px);transform:rotate(90deg);}
.cycle-step-3 .cycle-arrow {left:-24px;top:calc(50% - 10px);transform:rotate(180deg);}
.cycle-step-4 .cycle-arrow {top:-22px;left:calc(50% - 10px);transform:rotate(-90deg);}
.public-home .kiosk-qr-panel {border:1px solid #deebe3;border-radius:26px;box-shadow:0 18px 55px #163f3310;padding:30px;min-width:0;}
.public-home .kiosk-qr-panel h2 {font-size:30px;margin:8px 0 16px;}
.public-home .kiosk-qr-art {max-width:280px;padding:10px;border:1px solid #e0ebe4;border-radius:16px;}
.public-home .station-identity {font-weight:750;color:#24564a;overflow-wrap:anywhere;}
.public-home .kiosk-qr-panel>p {font-size:13px;color:#647a73;}
.public-home .kiosk-station-switch {display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:20px;}
.public-home .kiosk-station-switch a {padding:8px 12px;border:1px solid #dce8e1;border-radius:10px;text-decoration:none;font-size:12px;overflow-wrap:anywhere;}
.public-home .kiosk-station-switch a[aria-current] {background:#e5f3e9;color:#136048;border-color:#a6cdb6;font-weight:750;}
.public-rent .kiosk-main {width:min(1180px,calc(100% - 48px));margin:32px auto;grid-template-columns:minmax(280px,.8fr) minmax(0,1.2fr);border:1px solid #dce8e1;border-radius:26px;overflow:hidden;box-shadow:0 16px 55px #193e4210;}
.public-rent .kiosk-side {padding:42px 34px;min-height:560px;background:linear-gradient(145deg,#154f47,#103d46);}
.public-rent .kiosk-side h1 {font-size:clamp(38px,4vw,54px);}
.public-rent .kiosk-side>p {font-size:16px;}
.public-rent .bank-illustration {margin:32px auto;width:110px;height:190px;}
.public-rent .kiosk-workflow {padding:34px;}
.public-rent .workflow-top {align-items:center;flex-wrap:wrap;}
.public-rent .workflow-label {font-size:10px;overflow-wrap:anywhere;}
.public-rent .progress {margin:16px 0 26px;}
.public-rent .screen-icon {width:48px;height:48px;font-size:26px;border-radius:14px;margin-bottom:16px;}
.public-rent .kiosk-screen h2 {font-size:30px;}
.public-rent .battery-option {border-radius:16px;min-height:78px;}
.public-rent .battery-option small {overflow-wrap:anywhere;}
.public-rent .kiosk-screen input {background:#f8fbf9;border-color:#c9dad1;border-radius:12px;}
.public-rent .touch-button {min-height:54px;font-size:15px;}
.public-entry .kiosk-footer {font-size:12px;flex-wrap:wrap;gap:8px;padding:18px 28px;}
@media(max-width:800px) {
 .public-home .kiosk-qr-shell {grid-template-columns:1fr;gap:26px;padding:26px 20px;max-width:580px;}
 .public-home .kiosk-qr-copy h1 {font-size:38px;margin:16px 0;}
 .public-home .kiosk-qr-copy p {font-size:15px;margin-bottom:0;}
 .public-cycle {margin-top:22px;}
}
@media(max-width:760px) {
 .public-rent .kiosk-main {width:calc(100% - 32px);margin:20px auto;display:block;border-radius:20px;}
 .public-rent .kiosk-workflow {padding:26px 20px;}
}
@media(max-width:580px) {
 .public-entry .public-header {flex-direction:column;align-items:stretch;padding:16px 20px;gap:14px;}
 .public-brand {align-items:center;}
 .public-entry .kiosk-logo {font-size:22px;}
 .public-nav {display:grid;grid-template-columns:1fr 1fr;gap:8px;}
 .public-nav a {font-size:12px;padding:9px 8px;gap:6px;white-space:nowrap;}
 .public-home .kiosk-qr-panel {padding:24px 18px;}
 .public-home .kiosk-qr-panel h2 {font-size:26px;}
}
@media(prefers-reduced-motion:reduce) {.public-nav a {transition:none;}}

@media(max-width:380px) {.public-cycle-step {flex-direction:column;align-items:flex-start;gap:8px;padding:12px;}.cycle-copy small {font-size:11px;}}

/* Give the promotion input and its verification action separate touch areas. */
.public-rent #preview-promotion {margin-top:14px;}
.public-rent #promotion-status {margin:10px 0 20px;font-size:12px;line-height:1.6;color:#61776d;}

/* Mobile battery cards: rental price first, refundable deposit secondary. */
.public-rent .battery-options {max-height:none;gap:9px;}
.public-rent .battery-option {background:white;gap:12px;padding:12px;border:1px solid #e0e8e2;box-shadow:none;border-radius:13px;align-items:center;}
.public-rent .battery-option:hover {background:#fafcfb;border-color:#94b9a4;}
.option-powerbank {position:relative;width:38px;height:72px;flex-shrink:0;border:1px solid #b8c3bc;border-radius:9px;background:linear-gradient(110deg,#fafbf9 0%,#e3e8e2 45%,#f6f8f5 78%,#d5ddd4 100%);box-shadow:inset 2px 0 3px #ffffff,2px 3px 5px #163c420c;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;color:#557163;}
.powerbank-ports {position:absolute;top:5px;width:17px;height:3px;border-radius:2px;background:#4c5c52;border:1px solid #c6cec8;}
.powerbank-light {position:absolute;top:12px;width:11px;height:2px;background:repeating-linear-gradient(to right,#528c6a 0 2px,transparent 2px 4px);}
.powerbank-bolt {font-size:20px;line-height:1;}
.powerbank-brand {font-size:4px;letter-spacing:.06em;color:#7b887e;}
.option-details {display:flex;flex-direction:column;flex:1;min-width:0;}
.option-topline {display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:6px;margin-bottom:4px;}
.option-slot {font-size:11px;color:#718277;}
.option-charge {display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:750;color:#36724f;white-space:nowrap;}
.option-charge svg {width:19px;height:13px;fill:none;stroke:currentColor;stroke-width:1.5;}
.option-charge .charge-fill {fill:currentColor;stroke:none;}
.option-rental-price {display:flex;align-items:baseline;gap:6px;line-height:1.15;}
.public-rent .option-rental-price strong {font-size:23px;font-weight:750;color:#244a3b;letter-spacing:-.035em;}
.option-rental-price>span {font-size:11px;color:#536d5f;font-weight:700;}
.option-price-caption {font-size:11px;color:#65796d;margin:3px 0 5px;}
.option-deposit-note {font-size:10px;color:#7b877e;padding-top:1px;line-height:1.5;}
.option-serial {display:none;font-size:9px;color:#8a968d;margin-top:3px;overflow-wrap:anywhere;}
.public-rent .battery-option .option-arrow {font-size:15px;color:#88998d;margin-left:0;}
@media(max-width:380px) {.public-rent .battery-option{gap:10px;padding:11px 10px;}.option-powerbank{width:34px;height:65px;}.public-rent .option-rental-price strong{font-size:22px;}.option-slot{font-size:10px;}}

@media(max-width:760px){.public-rent .kiosk-screen h2{font-size:25px;}.public-rent .screen-icon{width:38px;height:38px;font-size:22px;margin-bottom:12px;}.public-rent .kiosk-screen>p{font-size:13px;margin-bottom:18px;}.public-rent .kiosk-workflow{padding:22px 16px;}.public-rent .progress{height:4px;margin:12px 0 20px;}}
/* Optional promotion follows customer details and stays compact on mobile. */
.public-rent .checkout-promotion{margin:8px 0 16px;padding:12px;border:1px solid #dce5e3;border-radius:12px;background:#f8faf9}.public-rent .checkout-promotion>label{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0;font-size:13px;font-weight:600}.checkout-promotion label small{font-weight:400;color:#73817c;font-size:11px}.public-rent .checkout-promotion>p{font-size:11px;line-height:1.5;margin:7px 0;color:#64766e}.public-rent .promotion-input-row{display:flex;align-items:stretch;gap:8px;margin:10px 0}.public-rent .promotion-input-row input{flex:1;min-width:0;margin:0;padding:10px 12px;font-size:14px}.public-rent .promotion-input-row .touch-button{width:auto;flex:0 0 auto;margin:0;padding:10px 14px;font-size:12px;min-height:42px}.public-rent .promotion-input-row :disabled{opacity:.55;cursor:not-allowed}.public-rent .checkout-promotion #promotion-status{margin-bottom:0}
.public-rent .checkout-promotion #preview-promotion{margin:0}
