/* DEC-278 — store templates. Every length is in rem, and 1rem is 10 of the design's pixels on the screen's own design width
   (--w on <html>): a value here reads straight off the design, and the screen keeps its proportions on any phone. The designs
   are for phones only, so a wider window shows the same screen in a phone-width column. */
html { font-size: calc(min(100vw, 460px) * 10 / var(--w)); -webkit-text-size-adjust: 100%; }
html.is-wide { font-size: calc(100vw * 10 / var(--w)); }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: "Cairo", system-ui, "Segoe UI", Tahoma, sans-serif; font-size: 1.3rem; line-height: 1.35; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { padding: 0; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
s { text-decoration-thickness: .1rem; }
bdi { font-variant-numeric: lining-nums; }
.si { display: block; width: 2rem; height: 2rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
/* The shared department photos are not cut to one card shape, so the wearer's face stays in view. */
img[src*="/shared/"] { object-position: 50% 12%; }
:focus-visible { outline: .2rem solid currentColor; outline-offset: .2rem; }

.st-page { position: relative; width: calc(var(--w) * .1rem); min-height: 100vh; margin-inline: auto; overflow: hidden; }

/* The status bar the designs draw: a phone frame in the admin shows it; a real phone has its own. */
.st-status { display: none; direction: ltr; align-items: center; justify-content: space-between; font-weight: 700; }
.is-framed .st-status { display: flex; }
.st-status__end { display: flex; align-items: center; gap: .3rem; }
.st-sig { display: flex; align-items: flex-end; gap: .1rem; height: .9rem; }
.st-sig i { display: block; width: .22rem; background: currentColor; border-radius: .05rem; }
.st-sig i:nth-child(1) { height: 30%; } .st-sig i:nth-child(2) { height: 55%; } .st-sig i:nth-child(3) { height: 78%; } .st-sig i:nth-child(4) { height: 100%; }
.st-wifi { display: block; width: 1.2rem; height: .9rem; fill: currentColor; }
.st-bat { display: block; position: relative; width: 1.9rem; height: .92rem; padding: .1rem; border: .08rem solid currentColor; border-radius: .25rem; opacity: .95; }
.st-bat i { display: block; height: 100%; background: currentColor; border-radius: .12rem; }
