/* THESIS: Shipment events, not the WooCommerce order status, explain delivery progress.
OWN-WORLD: Inherit KingStudioToy's cream surface, plum text, gold details and existing type.
STORY: Signed-in customers read their own orders and parcel events immediately; guests verify an order with its billing email.
FIRST VIEWPORT: Signed-in customers see their order list without a lookup form; guests see two labeled fields and one query action.
FORM: Existing-surface exemption under new-work.md (local extension): inherit the existing order page; no concept roll or seed applies.
FINISH: unreviewed and undocumented is unfinished; this build ends with the finish review, the verdict, and DESIGN.md */
.kst-logistics{--kst-lg-ink:#412d3b;--kst-lg-muted:#675663;--kst-lg-line:#d8cbd0;--kst-lg-paper:#fffdf9;--kst-lg-accent:#75415f;color:var(--kst-lg-ink);font-family:inherit;text-align:left;max-width:960px;margin:0 auto}
.kst-logistics *{box-sizing:border-box}.kst-logistics a{color:var(--kst-lg-accent);text-underline-offset:3px}.kst-logistics__intro{font-size:16px;line-height:1.7;max-width:70ch;margin:0 0 26px}.kst-logistics__form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr) auto;gap:16px;align-items:end;margin:0}.kst-logistics__form label{display:block;font-size:14px;font-weight:650;margin:0 0 8px}.kst-logistics__form input{display:block;width:100%;min-height:48px;margin:0;border:1px solid #bbaab3;border-radius:3px;background:#fffdf9;color:var(--kst-lg-ink);font:inherit;font-size:16px;padding:11px 12px;box-shadow:none}.kst-logistics__form input::placeholder{color:#766473;opacity:1}.kst-logistics__form button{min-height:48px;margin:0;padding:12px 22px;border:1px solid var(--kst-lg-accent);border-radius:3px;background:var(--kst-lg-accent);color:#fff;font:inherit;font-size:15px;font-weight:650;cursor:pointer;white-space:nowrap}.kst-logistics__form button:hover{background:#5e304a;border-color:#5e304a}.kst-logistics :is(a,button,input,summary):focus-visible{outline:3px solid #a26b2e;outline-offset:3px}.kst-logistics__help{font-size:13px;line-height:1.7;color:var(--kst-lg-muted);margin:14px 0 32px}.kst-logistics__help span{padding:0 8px}.kst-logistics__heading{display:flex;justify-content:space-between;gap:20px;align-items:baseline;margin:36px 0 20px}.kst-logistics__heading h2{font-size:26px;line-height:1.3;margin:0;color:var(--kst-lg-ink)}.kst-logistics__heading>span{font-size:14px;color:var(--kst-lg-muted);overflow-wrap:anywhere}.kst-logistics__parcel{padding:24px 0 30px;border-top:1px solid var(--kst-lg-line);margin:0}.kst-logistics__parcel-top{display:flex;justify-content:space-between;gap:16px;align-items:center}.kst-logistics__parcel-label{font-size:13px;color:var(--kst-lg-muted);margin:0 0 5px;line-height:1.5}.kst-logistics__parcel h3{font-size:22px;line-height:1.4;margin:0;color:var(--kst-lg-ink);overflow-wrap:anywhere}.kst-logistics__status{display:inline-block;max-width:280px;padding:7px 12px;border-radius:4px;background:#eee5eb;color:#593149;font-size:13px;font-weight:650;line-height:1.5}.kst-logistics__status.status-delivered{background:#e3eee4;color:#285a34}.kst-logistics__status:is(.status-exception,.status-attemptfail){background:#f5e5de;color:#823c28}.kst-logistics__facts{display:flex;flex-wrap:wrap;gap:14px 40px;margin:20px 0 26px}.kst-logistics__facts>div{min-width:150px}.kst-logistics__facts dt{font-size:12px;line-height:1.6;color:var(--kst-lg-muted);margin:0 0 4px;font-weight:400}.kst-logistics__facts dd{font-size:14px;line-height:1.6;color:var(--kst-lg-ink);margin:0;overflow-wrap:anywhere}.kst-logistics__number{letter-spacing:.02em;font-weight:600}.kst-logistics__timeline{list-style:none;padding:0!important;margin:12px 0 16px!important}.kst-logistics__timeline>li{list-style:none;position:relative;padding:0 0 22px 25px;margin:0;border-left:1px solid #c6b5bf}.kst-logistics__timeline>li::before{content:"";position:absolute;left:-4px;top:6px;width:7px;height:7px;background:#84536b;border-radius:50%}.kst-logistics__timeline>li:last-child{padding-bottom:4px;border-left-color:transparent}.kst-logistics__timeline time{display:block;font-size:12px;line-height:1.6;color:var(--kst-lg-muted);margin:0 0 3px}.kst-logistics__timeline p{font-size:15px;line-height:1.65;margin:0;overflow-wrap:anywhere;max-width:72ch}.kst-logistics__location{display:block;font-size:13px;line-height:1.6;color:var(--kst-lg-muted);margin-top:3px}.kst-logistics__history{margin:0 0 18px}.kst-logistics__history summary{cursor:pointer;font-size:14px;color:var(--kst-lg-accent);padding:8px 0}.kst-logistics__carrier-link{display:inline-block;font-size:14px;line-height:1.6;padding:8px 0}.kst-logistics__notice{padding:14px 16px;border:1px solid var(--kst-lg-line);border-radius:3px;background:#f5efec;font-size:14px;line-height:1.7;margin:18px 0}.kst-logistics__notice.is-error{border-color:#bb8f80;color:#743625;background:#fff4ee}.kst-logistics__empty{font-size:14px;line-height:1.8;max-width:70ch;color:var(--kst-lg-muted);margin:18px 0}.kst-logistics-preview{max-width:1080px;margin:40px auto;padding:0 24px}.kst-logistics-preview>h1{margin-bottom:28px}.kst-logistics-preview .kst-logistics{margin-bottom:40px}
@media(max-width:700px){.kst-logistics__form{grid-template-columns:1fr;gap:18px}.kst-logistics__form button{width:100%}.kst-logistics__heading{align-items:flex-start;gap:12px}.kst-logistics__heading h2{font-size:23px}.kst-logistics__parcel-top{align-items:flex-start;flex-direction:column;gap:12px}.kst-logistics__parcel h3{font-size:21px}.kst-logistics__facts{gap:14px 22px}.kst-logistics__facts>div{min-width:0;flex:1 1 180px}.kst-logistics__status{max-width:100%}.kst-logistics__timeline>li{padding-left:20px}.kst-logistics-preview{padding:0 18px;margin-top:24px}}
@media(max-width:700px){.kst-logistics__help{padding-right:70px}.kst-logistics__carrier-link svg{margin-left:5px;vertical-align:-2px}}
.kst-logistics__account-order{padding:24px 0 10px;border-top:1px solid var(--kst-lg-line)}.kst-logistics__order-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin:0 0 16px}.kst-logistics__order-heading h2{font-size:24px;line-height:1.4;margin:0;color:var(--kst-lg-ink)}.kst-logistics__order-heading p{font-size:13px;line-height:1.7;margin:5px 0 0;color:var(--kst-lg-muted)}.kst-logistics__order-heading>a{font-size:14px;line-height:1.8;white-space:nowrap}.kst-logistics--account .kst-logistics__parcel{border-top:0;padding-top:8px}.kst-logistics__pagination{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:24px;margin:26px 0;font-size:14px}.kst-logistics__pagination a{padding:9px 12px;border:1px solid var(--kst-lg-line);border-radius:3px}@media(max-width:700px){.kst-logistics__order-heading{gap:12px}.kst-logistics__order-heading h2{font-size:21px}.kst-logistics__pagination{gap:14px}}

/* The tracking route owns its body scrollport. This avoids a stalled viewport
   scroller while retaining native wheel, keyboard and touch scrolling. */
html:has(> body.page-id-1689){height:100%;overflow-y:hidden}
body.page-id-1689{height:100dvh;min-height:0;overflow-y:auto}
body.page-id-1689.admin-bar{height:calc(100dvh - var(--wp-admin--admin-bar--height,32px))}
