
.h5-body{background:#eee9ff}.h5-body .h5-shell{--h5-text:#10132a;--h5-subtle:#79768e;--h5-accent:#7955c9;--h5-paper:#fff;--h5-border:#e5ddf4;max-width:480px;margin:auto;padding:0 10px 18px;background:#eee9ff;color:var(--h5-text)}
.h5-body .h5-brand{height:auto;min-height:58px;margin:0;display:flex;flex-direction:column;justify-content:center;gap:2px;text-align:center}.h5-brand strong{font-size:16px;overflow-wrap:anywhere}.h5-brand span{font-size:11px;color:var(--h5-subtle)}
.h5-body .h5-welcome{position:relative;aspect-ratio:8 / 5;margin:0 0 8px;border-radius:12px;overflow:hidden;background:var(--h5-paper)}.h5-body .h5-shell .h5-banner{position:absolute;inset:0;display:block;width:100%;height:100%;max-height:none;object-fit:fill;margin:0;border-radius:0}.h5-body .h5-shell .h5-hero{padding:18px;background:transparent;color:inherit}.h5-body .h5-hero:after{display:none}.h5-body .h5-hero h1{font-size:23px;color:inherit;margin:8px 0}.h5-body .h5-hero p{color:var(--h5-subtle)}
.h5-body .h5-service-sections{display:block}.h5-body .h5-shell .nfc-module,.h5-body .h5-section,.h5-body .h5-arrival-card{background:var(--h5-paper);border:1px solid transparent;border-radius:16px;margin:0 0 9px;overflow:hidden;box-shadow:none}.h5-body .h5-shell .nfc-module-head{display:flex;align-items:center;gap:9px;padding:11px 14px 0;margin:0;font-size:19px;font-weight:800;line-height:1.4;color:inherit}.nfc-module-head i{font-size:24px;color:var(--h5-accent)}.h5-body .h5-shell.h5-layout-lavender .nfc-module-head i{display:none}.h5-body .h5-shell .nfc-module-body{padding:10px 13px 12px}.h5-body .h5-shell .nfc-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 5px}.h5-body .h5-shell .nfc-item{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0;min-height:62px;background:transparent;border:0;padding:0;color:inherit;font-size:14px;font-weight:700;line-height:1.45;box-shadow:none}.h5-body .h5-shell .nfc-icon{width:48px;height:48px;object-fit:contain;border-radius:12px}.h5-body .h5-shell .nfc-item span{overflow-wrap:anywhere}.h5-body .h5-arrival-card{padding:14px}.h5-arrival-card h2{font-size:19px;font-weight:800;margin:5px 0 10px}.h5-card-kicker{font-size:11px;color:var(--h5-subtle)}.h5-arrival-card>p{font-size:11px;color:var(--h5-subtle)}.h5-body .h5-section{padding:14px}.h5-body .h5-section h2{font-size:19px;font-weight:800;color:inherit}.h5-body .h5-package{background:transparent;color:inherit}.h5-body .h5-footer{font-size:10px;text-align:center;color:var(--h5-subtle);margin-top:18px}.h5-body .h5-unavailable{background:var(--h5-paper);border-radius:14px;color:inherit}.h5-body .h5-unavailable summary{padding:14px}.h5-body .h5-unavailable-note{padding:0 14px;font-size:12px}.h5-body .h5-shell .primary-btn{background:var(--h5-accent);border:0;border-radius:20px;color:white;padding:10px 16px}
.h5-body .h5-shell.h5-layout-ice{--h5-accent:#008dff;--h5-paper:#f3fbffeb;background:#c4ebff}.h5-body .h5-shell.h5-layout-ice .nfc-module{border-color:white;box-shadow:inset -20px -10px 35px #a5e6ff60,0 3px 9px #579fea22}
.h5-body .h5-shell.h5-layout-peach{--h5-accent:#ff7737;--h5-paper:#fffdf8;--h5-subtle:#8e8176;background:#ffe6c8}.h5-body .h5-shell.h5-layout-peach .nfc-module-body{margin:7px;padding:9px 6px;border:1px solid #fff0dd;border-radius:12px;background:#fffefd}.h5-body .h5-shell.h5-layout-peach .nfc-module-head{padding-top:9px}
.h5-body .h5-shell.h5-layout-neon{--h5-accent:#a860ff;--h5-paper:#271865;--h5-text:#fff;--h5-subtle:#bcafe5;--h5-border:#955bd0;background:#170b4c;color:#fff}.h5-body .h5-shell.h5-layout-neon .nfc-module,.h5-body .h5-shell.h5-layout-neon .h5-arrival-card,.h5-body .h5-shell.h5-layout-neon .h5-section{background:linear-gradient(110deg,#332275,#22185e 70%,#351783);border-color:#b579ff;box-shadow:inset 0 0 12px #9f36ffb0,0 0 7px #892df3}.h5-body .h5-shell.h5-layout-neon .nfc-module-head{background:#211350b8;padding-bottom:8px}.h5-body .h5-shell.h5-layout-neon .nfc-module-head i{color:#d3a3ff;text-shadow:0 0 8px #ad2cff}.h5-body .h5-shell.h5-layout-neon .h5-welcome{border:2px solid #be75ff;box-shadow:0 0 8px #a13fff}.h5-body .h5-shell.h5-layout-neon .h5-package p,.h5-body .h5-shell.h5-layout-neon .h5-link{color:white}
@media(max-width:360px){.h5-body .h5-shell .nfc-module-head{font-size:18px}.h5-body .h5-shell .nfc-icon{width:44px;height:44px}.h5-body .h5-shell .nfc-item{font-size:13px}.h5-body .h5-shell{padding-left:8px;padding-right:8px}}
.h5-body .h5-shell .nfc-module{position:relative}.h5-module-art{position:absolute;right:0;bottom:0;width:70px;pointer-events:none;opacity:.55;mix-blend-mode:multiply;mask-image:radial-gradient(ellipse at center,#000 60%,transparent 90%)}.h5-body .h5-shell .nfc-module-body{position:relative;z-index:1}.h5-body .h5-shell .nfc-item:focus-visible{outline:2px solid var(--h5-accent);outline-offset:3px}.h5-body .h5-shell.h5-layout-peach .h5-module-art{width:65px;opacity:.75}

.h5-body .h5-shell .nfc-module,.h5-body .h5-shell .nfc-module-head,.h5-body .h5-shell .nfc-item{color:var(--h5-text)}.h5-body .h5-shell .nfc-module-body{background:transparent}.h5-body .h5-shell .h5-store-details p{background:transparent;color:var(--h5-subtle);border:0}.h5-body .h5-shell .h5-phone{color:var(--h5-accent)}


/* Keep the approved reference hierarchy: banner, grouped four-column services. */
.h5-body .h5-shell{padding-top:12px}
.h5-body .h5-shell .h5-welcome{padding:0;margin-bottom:10px}
.h5-body .h5-shell .nfc-item[aria-disabled=true]{opacity:1;background:transparent;color:var(--h5-text);cursor:pointer}
.h5-body .h5-shell .nfc-item[aria-disabled=true]:hover{background:transparent}
.h5-body .h5-shell .nfc-item[aria-disabled=true] .nfc-icon{opacity:1;filter:none}
.h5-body .h5-shell .nfc-item{min-height:66px;gap:6px}
.h5-body .h5-shell .nfc-item:focus-visible{outline:2px solid var(--h5-accent);outline-offset:2px}

/* Sharing and service dialogs inherit the selected customer theme. */
.h5-body{--dialog-paper:#fcfaff;--dialog-ink:#16152c;--dialog-muted:#716983;--dialog-line:#e4dcef;--dialog-field:#f4f0fc;--dialog-accent:#7955c9}
.h5-body[data-h5-theme=ice]{--dialog-paper:#f3fbff;--dialog-field:#e7f5ff;--dialog-line:#c6e2f5;--dialog-accent:#0078d7}
.h5-body[data-h5-theme=peach]{--dialog-paper:#fffbf5;--dialog-field:#fff1e1;--dialog-line:#efdbc6;--dialog-accent:#bc521f}
.h5-body[data-h5-theme=neon]{--dialog-paper:#241849;--dialog-ink:#f6f1ff;--dialog-muted:#c2b5dd;--dialog-line:#7956a677;--dialog-field:#1c123b;--dialog-accent:#a674eb}
.h5-body #dialog{width:min(440px,calc(100vw - 24px));max-height:calc(100dvh - 32px);border:1px solid var(--dialog-line);border-radius:20px;background:var(--dialog-paper);color:var(--dialog-ink);box-shadow:0 18px 70px #0b061650;overflow:hidden}
.h5-body #dialog::backdrop{background:#1009258c;backdrop-filter:blur(5px)}
.h5-body #dialog .modal-head,.h5-body #dialog .modal-footer{background:var(--dialog-paper);border-color:var(--dialog-line);padding:16px 18px}
.h5-body #dialog .modal-head h2{color:var(--dialog-ink);font-size:18px;line-height:1.4}
.h5-body #dialog .modal-head button{color:var(--dialog-muted);border:0;background:var(--dialog-field);width:32px;height:32px;border-radius:50%}
.h5-body #dialog .modal-body{padding:18px;max-height:calc(100dvh - 196px);overflow:auto;color:var(--dialog-ink)}
.h5-body #dialog .work-preview{display:grid;gap:14px}
.h5-body #dialog .work-preview video{display:block;width:100%;height:auto;max-height:38dvh;object-fit:contain;background:#100c19;border-radius:12px;margin:0}
.h5-body #dialog .work-preview img{display:block;max-height:38dvh;max-width:100%;object-fit:contain;border-radius:12px;margin:auto}
.h5-body #dialog textarea{border:1px solid var(--dialog-line);background:var(--dialog-field);color:var(--dialog-ink);border-radius:12px;min-height:105px;padding:12px;line-height:1.7;font-size:14px;resize:vertical}
.h5-body #dialog .h5-share-hint{margin:0;color:var(--dialog-muted);font-size:12px;line-height:1.7}
.h5-body #dialog .btn{min-height:42px;border-radius:11px;border:1px solid var(--dialog-line);background:var(--dialog-field);color:var(--dialog-ink);padding:10px 15px;font-size:13px}
.h5-body #dialog .btn.primary{background:var(--dialog-accent);color:white;border-color:transparent;box-shadow:none}
.h5-body #dialog .modal-footer{display:flex;gap:9px;flex-wrap:wrap;justify-content:flex-end}
.h5-body #dialog .btn:focus-visible,.h5-body #dialog textarea:focus-visible{outline:2px solid var(--dialog-accent);outline-offset:2px}

/* Share previews keep media, editable text and actions in separate mobile sections. */
.h5-body #dialog:is(.h5-share-dialog,.h5-review-dialog){display:flex;flex-direction:column}
.h5-body #dialog:is(.h5-share-dialog,.h5-review-dialog):not([open]){display:none}
.h5-body #dialog:is(.h5-share-dialog,.h5-review-dialog) .modal-head,
.h5-body #dialog:is(.h5-share-dialog,.h5-review-dialog) .modal-footer{flex-shrink:0}
.h5-body #dialog:is(.h5-share-dialog,.h5-review-dialog) .modal-body{min-height:0;max-height:none;overflow-y:auto;overscroll-behavior:contain;display:grid;gap:20px}
.h5-body #dialog .h5-share-section{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.h5-body #dialog .h5-share-section :is(h3,label){font-size:14px;font-weight:600;color:var(--dialog-ink)}
.h5-body #dialog .h5-share-section span{font-size:12px;color:var(--dialog-muted)}
.h5-body #dialog .h5-share-gallery{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:8px}
.h5-body #dialog .h5-share-asset{flex:0 0 100%;min-width:0;margin:0;scroll-snap-align:start;overflow:hidden;border:1px solid var(--dialog-line);border-radius:12px;background:var(--dialog-field)}
.h5-body #dialog .h5-share-asset img{display:block;width:100%;height:32dvh;max-height:300px;object-fit:contain;margin:0;border-radius:0}
.h5-body #dialog .h5-share-asset video{height:32dvh;max-height:300px;border-radius:0}
.h5-body #dialog .h5-share-asset figcaption{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;font-size:12px;color:var(--dialog-muted)}
.h5-body #dialog .h5-share-asset figcaption a{display:inline-flex;align-items:center;min-height:44px;margin:-10px 0;color:var(--dialog-accent);font-weight:600}
.h5-body #dialog:is(.h5-share-dialog,.h5-review-dialog) textarea{display:block;width:100%;min-height:150px;margin:0}
.h5-body #dialog:is(.h5-share-dialog,.h5-review-dialog) .modal-footer{display:grid;grid-template-columns:repeat(auto-fit,minmax(90px,1fr));padding-bottom:max(14px,env(safe-area-inset-bottom));gap:8px}
.h5-body #dialog:is(.h5-share-dialog,.h5-review-dialog) .modal-footer .btn{padding-inline:8px;min-height:46px;white-space:normal;text-align:center}

.h5-body .h5-store-name{position:absolute;left:12px;right:12px;bottom:12px;display:flex;align-items:center;gap:14px;padding:7px 14px;border:1px solid #ffffff80;border-radius:18px;background:rgb(74 42 113 / 38%);color:#fff;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);max-height:50%;overflow:auto}
.h5-body .h5-store-initial{display:grid;place-items:center;flex:none;width:44px;height:44px;border:2px solid #fff;border-radius:14px;background:linear-gradient(135deg,#ffffff30,transparent),var(--h5-accent);color:#fff;font-size:24px;font-weight:800;line-height:1;box-shadow:0 3px 10px #28133f26}
.h5-body .h5-store-title{flex:1;min-width:0;font-size:20px;font-weight:800;line-height:1.25;overflow-wrap:anywhere;text-shadow:0 1px 2px rgb(35 15 58 / 28%)}
@media(max-width:360px){.h5-body .h5-store-name{gap:10px;padding:6px 12px;border-radius:16px}.h5-body .h5-store-initial{width:38px;height:38px;border-radius:12px;font-size:22px}.h5-body .h5-store-title{font-size:18px}}

/* The fifth template uses solid layered surfaces without changing the service order. */
.h5-body .h5-shell.h5-layout-depth{--h5-accent:#3656af;--h5-text:#233451;--h5-subtle:#596b87;--h5-paper:#fff;--h5-border:#d4ddea;background:linear-gradient(155deg,#eef3fc,#e1e9f6);padding:14px 14px 24px}
.h5-body .h5-shell.h5-layout-depth .h5-welcome{border:1px solid #fff;border-radius:22px;box-shadow:0 5px 0 #c6d2e5,0 12px 20px #344b6d18;margin-bottom:20px}
.h5-body .h5-shell.h5-layout-depth .nfc-module,.h5-body .h5-shell.h5-layout-depth .h5-section{border:1px solid #fff;border-radius:22px;box-shadow:0 5px 0 #cbd7e9,0 10px 18px #344b6d12;margin-bottom:20px}
.h5-body .h5-shell.h5-layout-depth .nfc-module-head{padding:16px 16px 12px;border-bottom:1px solid #edf1f8;background:linear-gradient(120deg,#fff,#f3f6fc)}
.h5-body .h5-shell.h5-layout-depth .nfc-module-head i{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:11px;background:#eaf0fc;font-size:22px;box-shadow:inset 0 1px 0 #fff,0 2px 0 #ccd8ef}
.h5-body .h5-shell.h5-layout-depth .nfc-module-body{padding:16px 10px 20px}
.h5-body .h5-shell.h5-layout-depth .nfc-grid{gap:18px 6px}
.h5-body .h5-shell.h5-layout-depth .nfc-item{gap:10px}
.h5-body .h5-shell.h5-layout-depth .nfc-icon{width:56px;height:56px;padding:4px;background:#fff;border:1px solid #edf1f8;border-radius:15px;box-shadow:0 4px 0 #dbe3f1,0 6px 10px #23345112}
.h5-body[data-h5-theme=depth]{--dialog-paper:#fbfcff;--dialog-ink:#233451;--dialog-muted:#596b87;--dialog-line:#d4ddea;--dialog-field:#edf2fa;--dialog-accent:#3656af}
@media(max-width:360px){.h5-body .h5-shell.h5-layout-depth .nfc-icon{width:52px;height:52px}.h5-body .h5-shell.h5-layout-depth{padding-inline:10px}.h5-body .h5-shell.h5-layout-depth .nfc-module-head{padding-inline:12px}.h5-body .h5-shell.h5-layout-depth .nfc-module-body{padding-inline:8px}}
