/* sa-um: the five frames and the collapsed reference of post 300 (Umami pricing) on setupanalytics.com.
   Phone first: drawn for the 342 px text column of a 390 px screen and checked at 312 px (360 px screen).
   Hand of the site: a documentation figure. A heavy top rule, hairlines instead of cards, Inter for the reading,
   JetBrains Mono for the source line, and the theme's status dot, in the accent blue, on the one thing the frame is about.
   Sizes: labels 16, values 18 to 20, one main value 28 to 44, the source line 14. Nothing smaller.
   Colours are the theme's own tokens, written out so the frames do not depend on the theme's variables. */
.sa-um,.sa-um *,.sa-um-ref,.sa-um-ref *{box-sizing:border-box}
.sa-um{--um-ink:#0a0a0a;--um-soft:#525252;--um-mute:#737373;--um-rule:#e5e5e5;--um-rule2:#d4d4d4;--um-accent:#2563eb;--um-halo:rgba(37,99,235,.18);--um-gray:#8f8f8f;
  --um-sans:"Inter",ui-sans-serif,system-ui,-apple-system,sans-serif;--um-mono:"JetBrains Mono",ui-monospace,monospace;color-scheme:only light}
figure.sa-um.sa-um{display:block;max-width:560px;margin:38px 0 40px;padding:20px 0 0;border:0;border-top:2px solid var(--um-ink);background:#fff;color:var(--um-ink);font:400 16px/22px var(--um-sans);-webkit-text-size-adjust:100%;text-size-adjust:100%}
.sa-um i{font-style:normal}
.sa-um b{font-weight:600}
.sa-um .sa-um-nb{white-space:nowrap}
.sa-um .sa-um-t.sa-um-t{display:block;margin:0 0 24px;font:600 20px/26px var(--um-sans);letter-spacing:-.012em;color:var(--um-ink);text-wrap:balance}
.sa-um .sa-um-b{display:block;margin:0}
.sa-um .sa-um-src{display:block;margin:24px 0 0;padding:13px 0 0;border-top:1px solid var(--um-rule);font:400 14px/20px var(--um-mono);letter-spacing:-.01em;color:var(--um-mute)}
.sa-um .sa-um-n{font:600 16px/23px var(--um-sans);color:var(--um-ink)}
.sa-um .sa-um-v{font:400 18px/26px var(--um-sans);color:var(--um-soft)}
.sa-um .sa-um-v b{color:var(--um-ink)}
.sa-um .sa-um-hero{font-family:var(--um-sans);font-weight:700;color:var(--um-ink)}
.sa-um .sa-um-dot{display:inline-block;width:10px;height:10px;margin:0 0 1px 12px;border-radius:50%;background:var(--um-accent);box-shadow:0 0 0 4px var(--um-halo);vertical-align:baseline}

/* K1. Three price tags */
.sa-um .sa-um-tier{display:flex;align-items:flex-end;gap:14px;padding:18px 0}
.sa-um .sa-um-tier:first-child{padding-top:0}
.sa-um .sa-um-tier:last-child{padding-bottom:0}
.sa-um .sa-um-tier+.sa-um-tier{border-top:1px solid var(--um-rule)}
.sa-um .sa-um-tier-a{flex:0 0 124px}
.sa-um .sa-um-tier-a .sa-um-n{display:block}
.sa-um .sa-um-tier-z{flex:1 1 auto;min-width:0;padding-bottom:2px}
.sa-um .sa-um-tier-z .sa-um-v{display:block}
.sa-um-k1 .sa-um-hero{display:block;margin-top:4px;font-size:44px;line-height:48px;letter-spacing:-.03em}

/* K2. Bars on one track of 60 months with a notch at every year; the value stands at the right of the plan's name */
.sa-um .sa-um-kr+.sa-um-kr{margin-top:18px}
.sa-um .sa-um-kh{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:8px}
.sa-um .sa-um-kh>b{white-space:nowrap}
.sa-um .sa-um-kh>.sa-um-v{font-weight:600;color:var(--um-ink)}
.sa-um-k2 .sa-um-hero{font-size:28px;line-height:34px;letter-spacing:-.02em}
.sa-um .sa-um-track{position:relative;display:block;height:24px;overflow:hidden;border-radius:3px;background:#e8e8e8}
.sa-um .sa-um-track::after{content:"";position:absolute;left:0;top:0;bottom:0;width:calc(100% + 2px);background:linear-gradient(90deg,transparent calc(100% - 2px),#fff calc(100% - 2px)) 0 0/20% 100%}
.sa-um .sa-um-bar{display:block;height:100%;background:var(--um-gray)}
.sa-um .sa-um-kr[data-months="6"] .sa-um-bar{width:10%}
.sa-um .sa-um-kr[data-months="24"] .sa-um-bar{width:40%}
.sa-um .sa-um-kr[data-months="60"] .sa-um-bar{width:100%}
.sa-um .sa-um-kr.is-key .sa-um-track{background:#dbe6fc}
.sa-um .sa-um-kr.is-key .sa-um-bar{background:var(--um-accent)}
.sa-um .sa-um-kr.is-open{margin-top:20px;padding-top:16px;border-top:1px solid var(--um-rule)}
.sa-um .sa-um-kr.is-open .sa-um-kh{margin-bottom:0}

/* K3. A column sum: the event, the two properties that hang on it, the total */
.sa-um .sa-um-add{display:grid;grid-template-columns:30px 134px minmax(0,1fr);align-items:center;min-height:40px}
.sa-um .sa-um-add+.sa-um-add{margin-top:10px}
.sa-um .sa-um-one{font:600 20px/24px var(--um-sans);font-variant-numeric:tabular-nums;color:var(--um-ink)}
.sa-um .sa-um-part{position:relative}
.sa-um .sa-um-tag{position:relative;z-index:1;display:inline-block;padding:8px 11px;border:1px solid var(--um-rule2);border-radius:3px;background:#fafafa;font:500 16px/22px var(--um-mono);color:var(--um-ink)}
.sa-um .sa-um-tag.is-event{border-color:var(--um-ink);background:var(--um-ink);color:#fff}
.sa-um .sa-um-add.is-prop .sa-um-part{padding-left:24px}
.sa-um .sa-um-add.is-prop .sa-um-part::before{content:"";position:absolute;left:9px;bottom:50%;width:12px;height:50px;border-left:2px solid var(--um-rule2);border-bottom:2px solid var(--um-rule2);border-bottom-left-radius:3px}
.sa-um .sa-um-add>.sa-um-n{font-weight:400;color:var(--um-soft)}
.sa-um .sa-um-total{margin-top:18px;padding-top:14px;border-top:2px solid var(--um-ink)}
.sa-um-k3 .sa-um-hero{display:block;font-size:40px;line-height:46px;letter-spacing:-.03em}
.sa-um-k3 .sa-um-hero .sa-um-dot{margin-left:14px;margin-bottom:5px}

/* K4. Pro's bill in columns on a linear scale of events (1M at the left edge, 10M at the right), Business as a flat line.
   The plot is 216 px high and stands for $348, so $290 is 180 px and $200 is 124.1 px. */
.sa-um .sa-um-plot{position:relative;height:216px;border-bottom:1px solid var(--um-rule2)}
.sa-um .sa-um-col{position:absolute;bottom:0;width:24px;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center}
.sa-um .sa-um-col>i{position:relative;display:block;flex:0 0 auto;width:24px;border-radius:3px 3px 0 0;background:var(--um-gray)}
.sa-um .sa-um-col>b{flex:0 0 auto;margin-bottom:6px;white-space:nowrap;font-weight:600;color:var(--um-ink)}
.sa-um .sa-um-col[data-m="1"]{left:0;align-items:flex-start}
.sa-um .sa-um-col[data-m="3"]{left:calc((100% - 24px)*2/9)}
.sa-um .sa-um-col[data-m="5"]{left:calc((100% - 24px)*4/9)}
.sa-um .sa-um-col[data-m="7"]{left:calc((100% - 24px)*6/9)}
.sa-um .sa-um-col[data-m="10"]{left:calc(100% - 24px);align-items:flex-end}
.sa-um .sa-um-col[data-usd="20"]>i{height:5.747%}
.sa-um .sa-um-col[data-usd="80"]>i{height:22.989%}
.sa-um .sa-um-col[data-usd="140"]>i{height:40.23%}
.sa-um .sa-um-col[data-usd="200"]>i{height:57.471%}
.sa-um .sa-um-col[data-usd="290"]>i{height:83.333%}
.sa-um .sa-um-col.is-key>i{background:var(--um-accent)}
.sa-um .sa-um-col.is-key>i::after{content:"";position:absolute;z-index:3;left:50%;top:-1px;width:12px;height:12px;margin:-6px 0 0 -6px;border-radius:50%;background:var(--um-accent);box-shadow:0 0 0 2px #fff,0 0 0 6px var(--um-halo)}
.sa-um .sa-um-col.is-key>b{margin-bottom:15px}
.sa-um-k4 .sa-um-hero{font-size:28px;line-height:34px;letter-spacing:-.02em}
.sa-um .sa-um-flat{position:absolute;z-index:2;left:0;right:0;bottom:57.471%;height:0;border-top:2px solid var(--um-ink)}
.sa-um .sa-um-flat>span{position:absolute;left:0;bottom:6px;white-space:nowrap}
.sa-um .sa-um-flat .sa-um-v{font-weight:600;color:var(--um-ink)}
.sa-um .sa-um-ticks{position:relative;height:22px;margin-top:8px}
.sa-um .sa-um-ticks>span{position:absolute;top:0;font-weight:400;color:var(--um-soft);white-space:nowrap;transform:translateX(-50%)}
.sa-um .sa-um-ticks>span[data-m="7"]{font-weight:600;color:var(--um-ink)}
.sa-um .sa-um-ticks>span[data-m="1"]{left:0;transform:none}
.sa-um .sa-um-ticks>span[data-m="3"]{left:calc((100% - 24px)*2/9 + 12px)}
.sa-um .sa-um-ticks>span[data-m="5"]{left:calc((100% - 24px)*4/9 + 12px)}
.sa-um .sa-um-ticks>span[data-m="7"]{left:calc((100% - 24px)*6/9 + 12px)}
.sa-um .sa-um-ticks>span[data-m="10"]{left:auto;right:0;transform:none}
.sa-um .sa-um-axis{margin-top:4px;text-align:center}
.sa-um .sa-um-axis>span{font-weight:400;color:var(--um-mute)}

/* K5. Four features, two columns */
.sa-um .sa-um-wh,.sa-um .sa-um-wr{display:grid;grid-template-columns:minmax(0,1fr) 78px 116px;column-gap:12px}
.sa-um .sa-um-wh{padding-bottom:10px}
.sa-um .sa-um-wh>.sa-um-n:first-child{grid-column:2}
.sa-um .sa-um-wr{padding:13px 0;border-top:1px solid var(--um-rule);align-items:start}
.sa-um .sa-um-wr:last-child{padding-bottom:0}
.sa-um .sa-um-wr>.sa-um-n{font-weight:400;color:var(--um-soft)}
.sa-um .sa-um-wr.is-key>.sa-um-n{font-weight:600;color:var(--um-ink)}
.sa-um .sa-um-wc>span{display:block}
.sa-um .sa-um-wc .sa-um-n{font-weight:400;color:var(--um-soft)}
.sa-um .sa-um-wc .sa-um-v{font-weight:600}
.sa-um-k5 .sa-um-hero{font-size:28px;line-height:34px;letter-spacing:-.02em}
.sa-um .sa-um-ws{display:flex;align-items:flex-start}
.sa-um .sa-um-ws>i{flex:0 0 auto;display:block;width:10px;height:10px;margin:8px 10px 0 4px;border-radius:50%}
.sa-um .sa-um-ws>.sa-um-ring{border:2px solid #a3a3a3}
.sa-um .sa-um-wt>span{display:block}
.sa-um .sa-um-wr.is-key .sa-um-wt .sa-um-v{font-weight:600;color:var(--um-ink)}
.sa-um .sa-um-wt .sa-um-n{font-weight:400;color:var(--um-soft)}
.sa-um .sa-um-wr:not(.is-key) .sa-um-wt .sa-um-v{color:var(--um-mute)}

/* Screens narrower than 350 px (the old 320 px phones): the feature's name takes a line of its own, the two cells stand under it */
@media (max-width:349px){
.sa-um .sa-um-wh,.sa-um .sa-um-wr{grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:12px}
.sa-um .sa-um-wh>.sa-um-n:first-child{grid-column:1}
.sa-um .sa-um-wr>.sa-um-n{grid-column:1/-1;margin-bottom:4px}
}

/* The collapsed reference: closed until the reader opens it */
details.sa-um-ref.sa-um-ref{display:block;max-width:640px;margin:38px 0 40px;border:1px solid #e5e5e5;border-radius:3px;background:#fff;color:#0a0a0a;color-scheme:only light}
.sa-um-ref.sa-um-ref>summary{display:flex;align-items:center;gap:14px;min-height:60px;margin:0;padding:14px 16px;cursor:pointer;list-style:none;font:600 16px/22px "Inter",ui-sans-serif,system-ui,-apple-system,sans-serif;color:#0a0a0a}
.sa-um-ref.sa-um-ref>summary::-webkit-details-marker{display:none}
.sa-um-ref.sa-um-ref>summary::before{content:"";flex:0 0 auto;width:9px;height:9px;margin:0 3px 0 2px;border-right:2px solid #2563eb;border-bottom:2px solid #2563eb;transform:rotate(-45deg)}
.sa-um-ref.sa-um-ref[open]>summary::before{transform:rotate(45deg);margin-top:-5px}
.sa-um-ref.sa-um-ref[open]>summary{border-bottom:1px solid #e5e5e5}
.sa-um-ref.sa-um-ref .sa-um-ref-b{padding:18px 16px 6px}
.sa-um-ref.sa-um-ref .sa-um-ref-b>p{margin:0 0 6px;font-size:15px;line-height:1.6;color:#525252}
.sa-um-ref.sa-um-ref .sa-um-ref-b h4{margin:28px 0 6px;font:600 17px/1.35 "Inter",ui-sans-serif,system-ui,-apple-system,sans-serif;color:#0a0a0a}
.sa-um-ref.sa-um-ref .sa-um-ref-b table{display:table;width:100%;margin:0 0 12px;border-collapse:collapse;table-layout:auto;font-size:15px;line-height:1.5}
.sa-um-ref.sa-um-ref .sa-um-ref-b th,.sa-um-ref.sa-um-ref .sa-um-ref-b td{padding:9px 12px 9px 0;border-bottom:1px solid #e5e5e5;text-align:left;vertical-align:top;overflow-wrap:anywhere}
.sa-um-ref.sa-um-ref .sa-um-ref-b th:last-child,.sa-um-ref.sa-um-ref .sa-um-ref-b td:last-child{padding-right:0}
.sa-um-ref.sa-um-ref .sa-um-ref-b tbody th{width:38%;font-weight:600;color:#0a0a0a}
.sa-um-ref.sa-um-ref .sa-um-ref-b thead th{white-space:nowrap;background:none;font-size:14px;font-weight:600;letter-spacing:0;text-transform:none;color:#525252}
.sa-um-ref.sa-um-ref .sa-um-ref-b td{color:#0a0a0a}

/* Real screens of Umami (second pass, 18.11.2026). Unlike the frames they have no heavy top rule: a grey field stands for
   the screen, the crop sits in it at its own size (one CSS px of the crop is one CSS px on the phone), the whole window opens
   by a tap on the picture or on "full screen". Caption 16, the source line 14 in the mono of the frames. */
figure.sa-um-shot.sa-um-shot{display:block;max-width:560px;margin:34px 0 36px;padding:0;border:0;color-scheme:only light}
.sa-um-shot.sa-um-shot .sa-um-shot-pane{display:flex;justify-content:center;align-items:center;padding:20px 12px;border-radius:6px;background:#f2f2f0;text-decoration:none}
.sa-um-shot.sa-um-shot img{display:block;max-width:100%;height:auto;margin:0;border:1px solid #dcdcd8;border-radius:4px;background:#fff;box-shadow:0 12px 26px -20px rgba(10,10,10,.45)}
.sa-um-shot.sa-um-shot figcaption{margin:12px 0 0;font:400 16px/24px "Inter",ui-sans-serif,system-ui,-apple-system,sans-serif;color:#404040}
.sa-um-shot.sa-um-shot .sa-um-shot-cap{display:block}
.sa-um-shot.sa-um-shot .sa-um-shot-src{display:block;margin-top:6px;font:400 14px/20px "JetBrains Mono",ui-monospace,monospace;letter-spacing:-.01em;color:#737373}
.sa-um-shot.sa-um-shot .sa-um-shot-src a{color:#2563eb;text-decoration:underline;text-decoration-color:#93b4f5;text-underline-offset:2px}
@media (max-width:379px){.sa-um-shot.sa-um-shot .sa-um-shot-pane{padding:16px 6px}}
