/* Phone base for the guide and policy pages (mobile header, type) — was copied into each page.
   Shared — edit here, never copy it back into a page. Tokens: css/tokens.css. */
/* Mobile CSS prefixed */

.mobile-shell *, .mobile-shell *::before, .mobile-shell *::after{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
.mobile-shell{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
.mobile-shell{margin:0;font-family:Mulish,sans-serif;color:#241F1C;background:#241F1C;overscroll-behavior-y:contain}
.mobile-shell img{display:block;max-width:100%}
.mobile-shell a{color:#E8D5C4;text-decoration:none}
.mobile-shell button, .mobile-shell input, .mobile-shell textarea, .mobile-shell select{font-family:inherit;font-size:16px}
.mobile-shell .app{max-width:480px;margin:0 auto;background:#241F1C;min-height:100dvh;position:relative;overflow-x:clip}
.mobile-shell .pad{padding:0 20px}
.mobile-shell .sec{padding:44px 20px}
.mobile-shell .serif{font-family:Marcellus,serif;font-weight:400}
.mobile-shell .lbl{font-size:10px;letter-spacing:.26em;text-transform:uppercase}
.mobile-shell .arch{border-radius:999px 999px 0 0}
.mobile-shell .hide{display:none!important}
.mobile-shell .fade{animation:fade .5s ease backwards}
@keyframes fade{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}

/* top bar */
.mobile-shell .top{position:sticky;top:0;z-index:20;background:rgba(36,31,28,.92);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-bottom:1px solid rgba(232,213,196,.12);padding-top:env(safe-area-inset-top)}
.mobile-shell .topin{height:56px;display:flex;align-items:center;justify-content:space-between;padding:0 18px}
.mobile-shell .mark{display:flex;align-items:center;gap:11px}
.mobile-shell .mark i{display:block;width:13px;height:18px;border:1.4px solid #E8D5C4;border-bottom:none;border-radius:999px 999px 0 0}
.mobile-shell .mark span{font-family:Marcellus,serif;font-size:16px;letter-spacing:.32em;color:#E8D5C4}
.mobile-shell .acct{width:40px;height:40px;display:flex;align-items:center;justify-content:center;margin-right:-8px}
.mobile-shell .acct{border:1px solid rgba(232,213,196,.28);border-radius:50%}
.mobile-shell .acct i{display:block;width:19px;height:19px;position:relative}
.mobile-shell .acct i::before{content:"";position:absolute;left:50%;top:0;transform:translateX(-50%);width:7px;height:7px;border-radius:50%;border:1.4px solid #CBB49E}
.mobile-shell .acct i::after{content:"";position:absolute;left:50%;bottom:1px;transform:translateX(-50%);width:15px;height:9px;border:1.4px solid #CBB49E;border-bottom:none;border-radius:999px 999px 0 0}

/* tab bar */
.mobile-shell .tabs{position:fixed;left:0;right:0;bottom:0;z-index:30;background:rgba(36,31,28,.95);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-top:1px solid rgba(232,213,196,.14);padding-bottom:env(safe-area-inset-bottom)}
.mobile-shell .tabin{max-width:480px;margin:0 auto;display:grid;grid-template-columns:repeat(4,1fr);height:62px}
.mobile-shell .tab{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:none;background:none;color:#B39C88;font-size:10px;letter-spacing:.14em;text-transform:uppercase;position:relative;padding:0}
.mobile-shell .tab b{display:block;width:15px;height:15px;border:1.3px solid currentColor;border-bottom:none;border-radius:999px 999px 0 0}
.mobile-shell .tab.on{color:#E8D5C4}
.mobile-shell .tab.on::before{content:"";position:absolute;top:0;left:50%;transform:translateX(-50%);width:22px;height:2px;background:#E8D5C4}
.mobile-shell .tab:active{opacity:.6}

/* buttons */
.mobile-shell .btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:54px;border:none;font-family:Marcellus,serif;font-size:17px;border-radius:27px 27px 0 0;background:#E8D5C4;color:#3A322E}
.mobile-shell .btn:active{background:#F7F1EA}
.mobile-shell .btn-o{background:transparent;color:#E8D5C4;border:1px solid rgba(232,213,196,.34)}
.mobile-shell .btn-d{background:#3A322E;color:#F7F1EA}
.mobile-shell .btn-sm{min-height:46px;font-size:15px;border-radius:23px 23px 0 0;width:auto;padding:0 22px}

/* form */
.mobile-shell .field{width:100%;background:transparent;border:1px solid rgba(232,213,196,.3);color:#F7F1EA;padding:15px 16px;outline:none;border-radius:0}
.mobile-shell .field:focus{border-color:#E8D5C4}
.mobile-shell .field::placeholder{color:#8A7361}
.mobile-shell .flab{display:flex;flex-direction:column;gap:9px;font-size:10px;letter-spacing:.2em;text-transform:uppercase;color:#B39C88}
.mobile-shell .chip{min-height:46px;padding:0 18px;border-radius:23px 23px 0 0;background:transparent;border:1px solid rgba(232,213,196,.3);color:#E8D5C4;font-size:15px}
.mobile-shell .chip[aria-pressed="true"]{background:#E8D5C4;color:#3A322E;border-color:#E8D5C4;font-weight:600}
.mobile-shell .chip[disabled]{color:rgba(232,213,196,.28);border-color:rgba(232,213,196,.12);text-decoration:line-through}

/* carousel */
.mobile-shell .rail{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding:0 20px 4px;margin:0 -20px;scrollbar-width:none}
.mobile-shell .rail::-webkit-scrollbar{display:none}
.mobile-shell .rail>*{scroll-snap-align:start;flex:0 0 78%}

/* accordion */
.mobile-shell .acc{width:100%;display:flex;align-items:center;justify-content:space-between;gap:14px;background:none;border:none;padding:19px 0;text-align:left;color:inherit}
.mobile-shell .acc-b{overflow:hidden;transition:max-height .32s ease;max-height:0}

.mobile-shell .segwrap{position:sticky;top:calc(56px + env(safe-area-inset-top));z-index:15;background:#3A322E;padding:14px 20px 16px;border-bottom:1px solid rgba(232,213,196,.14)}
.mobile-shell .seg{display:flex;gap:6px}
.mobile-shell .seg::-webkit-scrollbar{display:none}
.mobile-shell .seg button{flex:1 1 0;min-height:42px;padding:0 10px;border-radius:21px 21px 0 0;background:transparent;border:1px solid rgba(232,213,196,.3);color:#CBB49E;font-size:12.5px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mobile-shell .seg button[aria-pressed="true"]{background:#E8D5C4;border-color:#E8D5C4;color:#3A322E;font-weight:600}
.mobile-shell .trow{display:flex;align-items:baseline;justify-content:space-between;gap:14px;padding:17px 0;border-bottom:1px solid #E0D2C2}


/* care page (mobile) */
.mobile-shell .btn{display:flex;align-items:center;justify-content:center;width:100%;min-height:54px;border:none;font-family:Marcellus,serif;font-size:17px;border-radius:27px 27px 0 0;background:#E8D5C4;color:#3A322E}
.mobile-shell .btn-d{background:#3A322E;color:#F7F1EA}
.mobile-shell .btn-o{background:transparent;color:#E8D5C4;border:1px solid rgba(232,213,196,.34)}
.mobile-shell .cseg{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.mobile-shell .cseg a{display:flex;align-items:center;justify-content:center;min-height:46px;border:1px solid rgba(232,213,196,.34);border-radius:23px 23px 0 0;color:#E8D5C4;font-size:15px}
.mobile-shell .cseg a.on{background:#E8D5C4;border-color:#E8D5C4;color:#3A322E;font-weight:600}
.mobile-shell section[id]{scroll-margin-top:58px}
