/* the version of this file (prompt 167): app.js checks it against version.js after every start; tools/phone_version.mjs writes it at deploy time */
:root{--padd-version:"v0.153.0"}
/* the app's Text size (prompt 166): every text size below is <N>px * --ts; boot.js sets it from padd.textSize before the first screen (0.9 / 1 / 1.15 / 1.3) */
:root{--ts:1}
@font-face{font-family:'Figtree';font-style:normal;font-weight:400 700;font-display:swap;src:url(/fonts/Figtree-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Figtree';font-style:normal;font-weight:400 700;font-display:swap;src:url(/fonts/Figtree-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Caveat';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/Caveat-500-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Caveat';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/Caveat-500-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Caveat';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/Caveat-700-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
/* The look below is ported from docs/phone-mockup.html (the spec). Rules that exist only to make the mockup's buttons work are marked "app". */
:root{
  --desk:#EEF1F5; --card:#FFFFFF; --ink:#1B1F24; --ink2:#3D4652; --muted:#5B6573; --line:#E2E6EC;
  --blue:#1F4FC8; --blue-soft:#F4F7FE; --blue-edge:#9DB3E6; --chip:#F2F4F7;
  --green:#1D5E3C; --green-bg:#E8F4EE; --amber:#6B4A00; --amber-bg:#FFF6E5; --amber-edge:#F0D49A;
  --red:#B3261E; --red-bg:#FDECEA; --bezel:#1B1F24;
  --font:Inter,system-ui,sans-serif; --hand:Caveat,'Comic Sans MS',cursive;
  color-scheme:light;
}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{height:100%;margin:0;overflow:hidden;touch-action:manipulation}      /* prompt 165: a double-tap never zooms the screen (elements with their own touch-action keep it) */
body{background:var(--card);color:var(--ink);font-family:var(--font);overscroll-behavior-y:contain}
/* app: #app plays the part of the mockup's .screen (without its fake status bar) */
#app{position:relative;width:100%;height:100%;background:var(--card);overflow:hidden;display:flex;flex-direction:column;padding-top:env(safe-area-inset-top,0px)}
/* no long-press text selection on the app's chrome (prompt 164): never on #app itself or on the notepad's paper and the elements around it (#main, .nb), because
   iOS Safari will not focus or put a caret in a contenteditable with a user-select:none ancestor, even one overridden to text, so tapping the text never opened the keyboard */
:where(#app>:not(#main),#main>:not(.nb),.nb>:not(.paper),.nb .ttl>:not(.t),.nb .tgrow,.nb .hole){-webkit-user-select:none;user-select:none}      /* (:where: any field or text that asks for user-select:text still gets it) */
#main{flex:1;min-height:0;display:flex;flex-direction:column}
[data-act],[data-nact],[data-pa],[data-e2e],[data-cam],:is(#calv,#calsheet) [data-cact]{cursor:pointer}      /* prompt 176: iOS sends a tap's click up to the document listeners only from an element with cursor:pointer */
button{font:inherit;color:inherit;cursor:pointer}
a{color:inherit}

.appbar{flex:none;display:flex;align-items:center;gap:8px;padding:6px 14px 10px}
.appbar .name{font-size:calc(17px * var(--ts));font-weight:700;letter-spacing:-.01em;min-width:0}
.appbar .back{width:40px;height:40px;display:flex;align-items:center;justify-content:center;margin-left:-8px;flex:none}
.appbar .back svg{width:22px;height:22px}
.appbar .name.small{font-size:calc(15px * var(--ts));white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.stor{margin-left:auto;width:54px;height:6px;border-radius:3px;background:#DDE3EE;overflow:hidden;display:block}.stor i{display:block;height:100%;background:var(--blue)}.storl{font-size:calc(11px * var(--ts));color:#5b6577;margin-left:6px;white-space:nowrap;position:relative}
.storl::after{content:"";position:absolute;inset:-14px -8px}
.avatar{margin-left:auto;width:30px;height:30px;border-radius:50%;background:var(--blue);color:#fff;font-size:calc(13px * var(--ts));font-weight:600;display:flex;align-items:center;justify-content:center;flex:none}
.content{flex:1 1 auto;min-height:0;overflow-x:hidden;overflow-y:auto;display:flex;flex-direction:column;gap:10px;padding:0 14px}
.content::-webkit-scrollbar{display:none}
.tabbar{flex:none;display:flex;border-top:1px solid var(--line);background:var(--card);padding:6px 4px calc(14px + var(--sab,env(safe-area-inset-bottom,0px)))}      /* (--sab: the tests play an iPhone) */
.tab{flex:1;display:flex;flex-direction:column;align-items:center;gap:3px;font-size:calc(10.5px * var(--ts));font-weight:600;color:var(--muted);min-height:44px;justify-content:center}
.tab.on{color:var(--blue)}
.tab svg{width:22px;height:22px}
/* iPhone (prompt 172): no drawn home bar (app.js leaves it out, iOS draws its own) and no extra room under the tabs, only the inset */
.ios .tabbar{padding-bottom:var(--sab,env(safe-area-inset-bottom,0px))}
.homebar{position:absolute;bottom:calc(5px + env(safe-area-inset-bottom,0px));left:50%;transform:translateX(-50%);width:110px;height:4px;border-radius:4px;background:var(--ink);opacity:.85;z-index:60;pointer-events:none}

/* shared bits */
.pills{display:flex;gap:6px;flex-wrap:wrap}
.pill{border-radius:999px;padding:5px 10px;font-size:calc(11.5px * var(--ts))}
.pill.g{background:var(--green-bg);color:var(--green);font-weight:600}
.pill.n{background:var(--chip);color:var(--ink2)}
.chips{display:flex;gap:6px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}
.chips::-webkit-scrollbar{display:none}
.chip{flex:none;border:1px solid var(--line);border-radius:999px;padding:7px 12px;font-size:calc(12.5px * var(--ts));font-weight:600;color:var(--ink2);background:#fff;white-space:nowrap}
.chip.on{background:var(--blue);border-color:var(--blue);color:#fff}
.btn{min-height:44px;border-radius:10px;border:1px solid var(--blue);background:#fff;color:var(--blue);font:600 calc(14px * var(--ts)) var(--font);display:flex;align-items:center;justify-content:center;gap:8px;padding:0 14px;text-align:center}
.btn.p{background:var(--blue);color:#fff}
.btn.full{width:100%}
.btn:active{opacity:.8}
.grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.item{border:1px solid var(--line);border-radius:12px;padding:8px;display:flex;flex-direction:column;gap:6px;background:#fff;min-width:0}
.item.shelved{background:#F6F7F9;border:1.5px dashed #B9C2D0}
.item.shelved .thumb{opacity:.55}
.item .nm{font-size:calc(12px * var(--ts));font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.item .snip{margin-top:-4px;font-size:calc(10px * var(--ts));color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.item .snip b{font-weight:700}
.lpages{display:flex;flex-direction:column;gap:6px;margin:0 0 12px}
.lph{display:flex;align-items:baseline;justify-content:space-between;font-size:calc(13px * var(--ts))}
.lph .lpall{color:var(--blue);font-weight:600;cursor:pointer}
.lpg{border:1px solid var(--line);border-radius:12px;padding:8px 10px;background:#fff;cursor:pointer;min-width:0}
.lpg b{display:block;font-size:calc(13px * var(--ts));white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lpg small{display:block;font-size:calc(11.5px * var(--ts));color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.badge{align-self:flex-start;font-size:calc(10px * var(--ts));border-radius:999px;padding:2px 7px;border:1px solid #C9D3E3;color:var(--ink2)}
.badge.pc{background:var(--blue-soft);border-color:var(--blue-edge);color:var(--blue);font-weight:600}
.badge.dr{background:var(--green-bg);border-color:#BFE0CE;color:var(--green);font-weight:600}
.badge.ph{background:#EAF0FF;border-color:var(--blue-edge);color:var(--blue);font-weight:600}
.badge.both{background:#EDF0F5;border-color:#C5CEDD;color:#43536B;font-weight:600}
.thumb{height:78px;border-radius:8px;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}
.thumb svg{width:34px;height:34px}
.thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:#fff}
.thumb video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:#222;pointer-events:none}
.thumb .lockb{position:absolute;left:5px;top:5px;z-index:2;display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:999px;background:rgba(255,255,255,.92);border:1px solid #C9D3E3;color:#3D4652}
.thumb .lockb svg{width:12px;height:12px}
.privload{padding:40px 16px;display:flex;flex-direction:column;align-items:center;gap:10px}
.pbar2{width:100%;max-width:320px;height:8px;border-radius:999px;background:#E2E6EC;overflow:hidden}
.pbar2 i{display:block;height:100%;background:var(--blue);transition:width .2s}
.thumb .vpl{position:absolute;left:50%;top:50%;width:30px;height:30px;margin:-15px 0 0 -15px;border-radius:50%;background:rgba(0,0,0,.55);color:#fff;display:flex;align-items:center;justify-content:center;z-index:1;pointer-events:none}
.thumb .vpl svg{width:14px;height:14px;margin-left:2px}
.photo{background:linear-gradient(135deg,#DCE6FB,#C4D5F7);color:#2D58C4}
.video{background:linear-gradient(135deg,#FBE6D6,#F6CFB3);color:#A4521C}
.doc{background:linear-gradient(135deg,#E3EEE8,#CFE2D8);color:#3D6B54}
.folder{background:linear-gradient(135deg,#FFF1C9,#FBE3A0);color:#8A6200}
.audio{background:linear-gradient(135deg,#EBE1F7,#DACBF0);color:#6A3FA0}
.fab{position:absolute;right:16px;bottom:calc(78px + var(--sab,env(safe-area-inset-bottom,0px)));width:54px;height:54px;border-radius:16px;background:var(--blue);color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 16px rgba(31,79,200,.35);z-index:5}
.ios .fab{bottom:calc(64px + var(--sab,env(safe-area-inset-bottom,0px)))}      /* (the tab bar is 14px lower on an iPhone) */
.fab svg{width:26px;height:26px}
.scrim{position:absolute;inset:0;background:rgba(20,30,50,.38);z-index:20}
.sheet{position:absolute;left:0;right:0;bottom:0;z-index:21;background:#fff;border-radius:22px 22px 0 0;padding:10px 14px 24px;display:flex;flex-direction:column;gap:6px;max-height:90%;overflow-y:auto}
.grab{width:38px;height:4px;border-radius:4px;background:#C9D0DA;align-self:center;margin-bottom:6px;flex:none}
.row{display:flex;align-items:center;gap:12px;min-height:46px;border-radius:10px;padding:0 6px;font-size:calc(14px * var(--ts));font-weight:600;flex:none}
.row:active{background:var(--chip)}
.row svg{width:20px;height:20px;flex:none;color:var(--ink2)}
.row small{display:block;font-weight:400;font-size:calc(11.5px * var(--ts));color:var(--muted);margin-top:1px}
.row.main{background:var(--blue);color:#fff;padding:0 12px}.row.main svg{color:#fff}
.row.danger{color:var(--red)}.row.danger svg{color:var(--red)}
.note-box{border-radius:10px;padding:10px 12px;font-size:calc(12.5px * var(--ts));line-height:1.45}
.note-box.amber{background:var(--amber-bg);border:1px solid var(--amber-edge);color:var(--amber)}
.note-box.blue{background:var(--blue-soft);border:1px solid var(--blue-edge);color:var(--ink2)}
h2.t{margin:0;font-size:calc(19px * var(--ts))}
.sub{font-size:calc(12px * var(--ts));color:var(--muted)}
.bar{height:6px;border-radius:6px;background:var(--line);overflow:hidden}.bar i{display:block;height:100%;background:var(--blue)}
.up{border:1px solid var(--line);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:6px}
.up .top{display:flex;justify-content:space-between;gap:8px;font-size:calc(12.5px * var(--ts));font-weight:600}
.up .top span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.player{background:#10141A;border-radius:12px;aspect-ratio:16/9;position:relative;display:flex;align-items:center;justify-content:center;color:#fff}
.player .play{width:54px;height:54px;border-radius:50%;background:rgba(255,255,255,.18);display:flex;align-items:center;justify-content:center}
.player .play svg{width:26px;height:26px}
.player .scrub{position:absolute;left:12px;right:12px;bottom:10px;display:flex;align-items:center;gap:8px;font-size:calc(10.5px * var(--ts))}
.player .scrub .bar{flex:1;background:rgba(255,255,255,.25)}
.set{border:1px solid var(--line);border-radius:12px;display:flex;flex-direction:column}
.set .s{display:flex;align-items:center;gap:10px;padding:11px 12px;font-size:calc(13px * var(--ts))}
.set .s+.s{border-top:1px solid var(--line)}
.set .s div{flex:1;min-width:0}
.set .s small{display:block;color:var(--muted);font-size:calc(11.5px * var(--ts));margin-top:1px}
.when{border:1px solid var(--line);border-radius:12px;padding:12px;margin-top:12px}.when h4{margin:0 0 8px;font-size:calc(14px * var(--ts))}.when .r{display:flex;gap:10px;align-items:flex-start;padding:7px 0;font-size:calc(12.5px * var(--ts));line-height:1.4;cursor:pointer}.when .r b{font-weight:700}.rd{width:18px;height:18px;border-radius:50%;border:2px solid #9AA3B0;flex:none;margin-top:1px;position:relative}.rd.on{border-color:var(--blue)}.rd.on::after{content:"";position:absolute;inset:3px;border-radius:50%;background:var(--blue)}.when .sub{margin-top:4px;line-height:1.4}
/* Settings › Text size (prompt 166): four choices side by side; the buttons keep their size, their text wraps */
.tsz{display:flex;gap:6px}.tszb{flex:1 1 0;min-width:0;min-height:44px;border:1px solid var(--line);border-radius:10px;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:4px 2px;font:600 calc(13px * var(--ts))/1.2 var(--font);color:var(--ink);text-align:center;overflow-wrap:anywhere;cursor:pointer}
.tszb small{font-weight:500;font-size:calc(11px * var(--ts));color:var(--muted)}.tszb.on{border-color:var(--blue);background:var(--blue-soft);color:var(--blue)}.tszb.on small{color:var(--blue)}
.tsample{margin-top:10px;padding:10px 12px;border-radius:10px;background:var(--chip);font-size:calc(15px * var(--ts));line-height:1.4;color:var(--ink)}
.tog{width:40px;height:24px;border-radius:24px;background:var(--blue);position:relative;flex:none}
.tog::after{content:"";position:absolute;top:2px;right:2px;width:20px;height:20px;border-radius:50%;background:#fff}
.tog.off{background:#C9D0DA}
.tog.off::after{right:auto;left:2px}
.dot{width:8px;height:8px;border-radius:50%;background:#2E9E5F;flex:none}
.label{font-size:calc(12px * var(--ts));color:var(--muted);font-weight:600}
/* swipe down to refresh (pull.js): a round blue spinner that slides down from under the top bar; .still = reduced motion (no slide, the spinner just shows) */
.pull{position:fixed;z-index:45;height:150px;overflow:hidden;pointer-events:none;--py:-44px;--pr:0deg;--po:0}
.pull.still{--py:8px;--po:1}
.pull-c{position:absolute;left:50%;top:0;width:36px;height:36px;margin-left:-18px;border-radius:50%;background:#fff;box-shadow:0 2px 8px rgba(20,30,50,.22);display:flex;align-items:center;justify-content:center;transform:translateY(var(--py));opacity:var(--po)}
.pull-c i{display:block;width:20px;height:20px;border-radius:50%;border:2.5px solid #DDE3EE;border-top-color:var(--blue);transform:rotate(var(--pr))}
.pull.ready .pull-c i{border-right-color:var(--blue)}
.pull.turning .pull-c i{border-right-color:#DDE3EE;animation:sp .8s linear infinite}
.pull-t{position:absolute;left:0;right:0;top:0;transform:translateY(calc(var(--py) + 44px));text-align:center;font:600 calc(12px * var(--ts)) var(--font);color:var(--muted);opacity:var(--po)}
.pull.turning .pull-t,.pull.out .pull-t{opacity:0}
.pull.turning .pull-c,.pull.out .pull-c{transition:transform .2s ease,opacity .2s ease}
.pull.still .pull-c,.pull.still .pull-t{transition:none}

/* app: states that the mockup does not draw (loading, errors, empty) */
.empty,.msg{border:1px dashed var(--blue-edge);background:var(--blue-soft);border-radius:14px;padding:22px 16px;text-align:center;color:var(--ink2);font-size:calc(15px * var(--ts));line-height:1.5}
.msg.err{border:1px solid #F1B8B4;background:var(--red-bg);color:var(--red);font-weight:600;text-align:left}
.msg.err small{display:block;font-weight:400;color:var(--ink2);margin-top:6px;word-break:break-word}
.stack{display:flex;flex-direction:column;gap:10px}
.center{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:24px;text-align:center}
.center h1{margin:0;font-size:calc(26px * var(--ts));color:var(--blue)}
.center p{margin:0;color:var(--muted);font-size:calc(15px * var(--ts));line-height:1.45;max-width:30ch}
.center .logo{width:84px;height:84px;object-fit:contain}
.center .btn{width:100%;max-width:320px;min-height:56px;font-size:calc(17px * var(--ts))}
.center .msg{max-width:340px;width:100%}
.spin{width:30px;height:30px;border-radius:50%;border:3px solid var(--line);border-top-color:var(--blue);animation:sp .8s linear infinite}
@keyframes sp{to{transform:rotate(360deg)}}
.savednote{text-align:center}
.search{width:100%;min-height:44px;border:1px solid var(--line);border-radius:12px;padding:0 14px;font:max(16px, calc(16px * var(--ts))) var(--font);color:var(--ink);background:var(--chip);flex:none;-webkit-appearance:none;appearance:none;-webkit-user-select:text;user-select:text}
.search:focus{outline:2px solid var(--blue-edge);background:#fff}
.chip svg{width:14px;height:14px;display:inline-block;vertical-align:-2px;margin-right:4px}
.crumbs{display:flex;gap:2px;align-items:center;overflow-x:auto;white-space:nowrap;flex:none;scrollbar-width:none;font-size:calc(13px * var(--ts));color:var(--muted)}
.crumbs::-webkit-scrollbar{display:none}
.crumbs span{padding:8px 6px;min-height:36px;font-weight:600;color:var(--blue);border-radius:8px;display:flex;align-items:center}
.crumbs span:last-child{color:var(--ink)}
.crumbs i{font-style:normal;color:#9AA3B0}
.btnrow{display:flex;gap:8px}
.btnrow .btn{flex:1}
.divider{height:1px;background:var(--line);margin:4px 0;flex:none}
.pv-note{font-size:calc(12.5px * var(--ts))}
#toast{position:fixed;left:16px;right:16px;bottom:calc(84px + env(safe-area-inset-bottom,0px));z-index:70;background:#1B1F24;color:#fff;border-radius:12px;padding:13px 16px;font-size:calc(14px * var(--ts));line-height:1.4;text-align:center;opacity:0;transform:translateY(8px);pointer-events:none;transition:opacity .2s,transform .2s;max-width:420px;margin:0 auto}
#toast.show{opacity:1;transform:none}
/* "Update didn't finish. Try again" (update.js): a slim bar over the top of the screen */
#updbar{position:fixed;left:0;right:0;top:0;z-index:80;display:flex;align-items:center;justify-content:center;gap:10px;padding:calc(7px + env(safe-area-inset-top,0px)) 14px 7px;background:#1B1F24;color:#fff;font:500 calc(13px * var(--ts))/1.3 Inter,system-ui,sans-serif}
#updbar button{background:none;border:0;color:#9DBBFF;font:700 calc(13px * var(--ts)) Inter,system-ui,sans-serif;padding:4px 2px;cursor:pointer}
#updbar button:disabled{opacity:.5}
/* (prompt 352) right after an update reload (boot.js: html.upd-resume): the launch screen is only the app's own background, no blue, no logo */
html.upd-resume,html.upd-resume body,html.upd-resume #boot{background:var(--card)}
html.upd-resume #boot>*{display:none}
/* (prompt 352) "Padd updated to v…": a small pill at the top centre, under the top bar, for about 2 s; taps go through it */
#updpill{position:fixed;left:50%;top:calc(58px + env(safe-area-inset-top,0px));z-index:75;transform:translateX(-50%);background:#1B1F24;color:#fff;font:500 calc(13px * var(--ts))/1.3 Inter,system-ui,sans-serif;padding:7px 14px;border-radius:999px;white-space:nowrap;pointer-events:none;box-shadow:0 4px 14px rgba(0,0,0,.18);opacity:0;animation:updpill 2.2s ease both}
@keyframes updpill{0%{opacity:0}12%,85%{opacity:1}100%{opacity:0}}
@keyframes updpill-still{0%,100%{opacity:1}}
@media (prefers-reduced-motion:reduce){#updpill{animation:updpill-still 2s step-end both;opacity:1}}

/* viewer */
.viewer{position:absolute;inset:0;z-index:30;background:#fff;display:flex;flex-direction:column;padding-top:env(safe-area-inset-top,0px)}
.vstage{padding-bottom:16px}
.vstage img.full{max-width:100%;max-height:100%;object-fit:contain;margin:auto;border-radius:8px;touch-action:pan-x pan-y}
/* prompt 165: the photo's own pinch zoom (app.js): zoomed, a finger pans the photo, and the stage clips it instead of scrolling */
.vstage img.full.zoomed{touch-action:none;position:relative;z-index:1}.vstage.pzoom{overflow:hidden}
/* prompt 340: a note's picture full screen on black (app.js showPhoto): Close and Edit on top, the photo as big as the screen allows; the page never scrolls under it */
.viewer.pview{background:#000;color:#fff;padding-bottom:env(safe-area-inset-bottom,0px)}
.pview .pvbar{flex:none;display:flex;align-items:center;gap:8px;padding:6px 8px;position:relative;z-index:2}.pview .pvbar .sp{flex:1}
.pview .pvbar button{min-width:44px;height:44px;border:0;border-radius:22px;background:rgba(255,255,255,.12);color:#fff;display:grid;place-items:center;padding:0 16px;font:600 calc(15px * var(--ts))/1 Inter,system-ui,sans-serif;cursor:pointer}
.pview .pvbar .pvx{width:44px;padding:0}
.pview .pvstage{flex:1;min-height:0;display:flex;padding:0;background:#000;overflow:hidden;touch-action:none}
.pview .pvstage img.full{border-radius:0;transition:none}
.vstage video{width:100%;max-height:70vh;background:#10141A;border-radius:12px}
.vstage audio{width:100%;margin:auto 0}
.vstage iframe{flex:1;width:100%;border:1px solid var(--line);border-radius:10px;background:#fff}
.vstage pre{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font:calc(13px * var(--ts))/1.5 ui-monospace,Menlo,Consolas,monospace;border:1px solid var(--line);border-radius:10px;padding:12px;background:var(--blue-soft);-webkit-user-select:text;user-select:text}
.vwrap{position:relative}
.vwrap video{display:block}
.vstate{position:absolute;inset:0;display:none;align-items:center;justify-content:center;pointer-events:none;background:rgba(16,20,26,.28);border-radius:12px;color:#fff;font:600 calc(14px * var(--ts)) var(--font)}
.vstate.on{display:flex}
.vstate span{background:rgba(0,0,0,.62);padding:6px 14px;border-radius:999px}
.vstate .spin{border-color:rgba(255,255,255,.35);border-top-color:#fff}
#vmsg{display:flex;flex-direction:column;gap:8px}
.vdet{font-size:calc(11.5px * var(--ts))!important;color:#5B6573!important;font-weight:400}

/* Add to Padd: the SAVE TO line (docs/phone-attach-mockup.html) */
.saveto{display:flex;flex-direction:column;gap:6px}
.saveto .set .s{gap:10px}
.saveto .s b{overflow-wrap:anywhere}
.saveto .acic{flex:none;display:flex;color:var(--blue)}
.saveto .chg{flex:none;margin-left:auto;color:var(--blue);font-weight:700;font-size:calc(13px * var(--ts));padding:8px 0 8px 8px}
.arow[role=radio]{cursor:pointer}

/* storage sheet (opened from the top bar) */
.sheet .ttl{font-weight:700;font-size:calc(15px * var(--ts));overflow-wrap:anywhere;padding:0 6px}
.stobig{font-size:calc(22px * var(--ts));font-weight:700;letter-spacing:-.01em;padding:0 6px}
.sbar{display:flex;height:6px;border-radius:999px;overflow:hidden;background:#E9EDF2}
.sbar i{display:block;height:100%;background:var(--blue)}
.sbar i.g{background:#1F4FC8}
.sbar i.o{background:#9AA6B6}
.sbar.big{height:10px}
.sbar.sm{height:5px;margin-top:5px}
.sheet>.sub,.sheet>.legend,.sheet>.sbar{margin-left:6px;margin-right:6px}
.legend{display:flex;flex-wrap:wrap;gap:6px 12px;font-size:calc(12px * var(--ts));color:#3D4652}
.legend span{display:flex;align-items:center}
.sq{display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:5px}
.sq.g{background:#1F4FC8}.sq.o{background:#9AA6B6}.sq.f{background:#E9EDF2;border:1px solid #C9D3E3}
.alist{border:1px solid var(--line);border-radius:10px;overflow:hidden;margin:4px 0 2px}
.arow{display:grid;grid-template-columns:26px 1fr auto;align-items:center;gap:10px;padding:9px 12px;border-bottom:1px solid var(--line)}
.arow:last-child{border-bottom:0}
.av{width:26px;height:26px;border-radius:50%;background:#D9E3F8;color:#1F4FC8;font:700 calc(12px * var(--ts)) var(--font);display:flex;align-items:center;justify-content:center}
.arow .mid{min-width:0}
.em{display:flex;align-items:center;gap:6px;min-width:0}
.em .e{font-size:calc(13px * var(--ts));font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.chp{flex:none;font-size:calc(11px * var(--ts));border-radius:999px;padding:1px 7px;font-weight:600}
.c-fill{background:#E3EAFB;color:#1F4FC8}.c-full{background:#F2F4F7;color:#3D4652}.c-sign{background:var(--amber-bg);color:var(--amber)}
.fr{font-size:calc(12px * var(--ts));color:var(--muted);white-space:nowrap}
.fr b{color:var(--ink)}

/* sheet open on the Files screen: the mockup shows only the first cards, dimmed */
#app.sheeted #main .content{opacity:.5;overflow:hidden}
#app.sheeted #main .pills,#app.sheeted #main .chips,#app.sheeted #main .search,#app.sheeted #main .savednote{display:none}
#app.sheeted #main .grid .item:nth-child(n+5){display:none}
#app.sheeted .fab{display:none}

/* ---------- notes: the notepad. Ported from docs/phone-notepad-mockup.html (the "After" view): same rules and values, scoped under .nb.
   Four mockup class names collide with Files-screen classes, so here they are .nscrim .nsheet .ngrab .nchip. ---------- */
.np-wrap{position:relative;flex:1;min-height:0;display:flex;flex-direction:column;background:#fff}
.np-empty{margin:auto;padding:24px;text-align:center;display:flex;flex-direction:column;gap:14px;align-items:center;font-family:Inter,sans-serif;font-size:calc(14px * var(--ts));color:var(--ink2)}
.nb{--paper:#FFF3A8;--rule:#E7D77A;--ink:#22304A;--ui:'Figtree',system-ui,sans-serif;--hand:'Caveat','Segoe Print',cursive;--mono:'Courier New',monospace;
  position:relative;flex:1;min-height:0;display:flex;flex-direction:column;background:#fff;color:#18202F;font-family:var(--ui);overflow:clip}
.nb svg.i{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.nb button{font-family:var(--ui)}
.nb [contenteditable]{-webkit-user-select:text;user-select:text}

/* paper */
.nb .paper,.nb .drawer{scrollbar-width:thin;scrollbar-color:transparent transparent}
.nb .paper.sc,.nb .drawer.sc{scrollbar-color:rgba(60,50,0,.35) transparent}
.nb .paper{flex:1;min-height:0;overflow:auto;position:relative;background-color:var(--paper);
  background-image:linear-gradient(to bottom,transparent calc(36px * var(--ts) - 1px),var(--rule) calc(36px * var(--ts) - 1px),var(--rule) calc(36px * var(--ts)));background-size:100% calc(36px * var(--ts));background-attachment:local;padding:0 16px 10px 40px;transition:background-color .2s}
/* (prompt 183) the page runs under the frosted top bar and bottom: room for each at its real height (--ntoph / --nboth, measured), the ruled lines start
   with the text, and anything scrolled into view stops clear of both bars (prompt 193: 32px more at the bottom, so the phone's caret handle under the last line clears it) */
.nb .paper{padding-top:var(--ntoph,52px);padding-bottom:calc(var(--nboth,0px) + 42px);background-position:0 var(--ntoph,52px);scroll-padding:var(--ntoph,52px) 0 calc(var(--nboth,0px) + 32px);--pull-top:var(--ntoph,52px)}
/* an iPhone (prompt 181): iOS paints the paper (color too, as it is background-attachment:local) with the scrolling text, so the rubber-band bounce at the end of a note showed the white .nb behind it; there it is the paper too */
.ios .nb{background:var(--paper)}
.nb .paper:before{content:"";position:absolute;left:30px;top:0;bottom:0;width:2px;background:#D9534F;opacity:.55;pointer-events:none;height:2000px}
.nb .hole{position:absolute;left:10px;width:14px;height:14px;border-radius:50%;background:#B78A4B;opacity:.7}
.nb .ttl{display:flex;justify-content:space-between;align-items:baseline;height:calc(72px * var(--ts));padding-top:12px}
.nb .ttl .t{font:500 calc(28px * var(--ts)) var(--hand);color:#6B7280;outline:none;min-width:0;flex:1}
.nb .ttl .t:empty::before{content:attr(data-ph)}
:root[data-ts="large"] .nb .ttl .t,:root[data-ts="larger"] .nb .ttl .t{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}      /* Text size Large/Larger (prompt 166): a long title stays on its line (ends with …, scrolls while typing) instead of running into the tags */
.nb .ttl .d{font:500 calc(15px * var(--ts)) var(--hand);color:#6B7280}
.nb .paper.typed .t,.nb .paper.typed .ln,.nb .paper.typed .d{font-family:var(--mono)}
.nb .paper.typed .ln{font-size:max(16px, calc(16px * var(--ts)))}.nb .paper.typed .t{font-size:calc(22px * var(--ts))}
.nb .ln{font:500 calc(22px * var(--ts))/calc(36px * var(--ts)) var(--hand);color:var(--ink);min-height:calc(36px * var(--ts));outline:none;display:block;overflow-wrap:anywhere}
.nb .ln .g{color:#8c93a1}
.nb .tx{outline:none;white-space:pre-wrap;overflow-wrap:anywhere;min-width:0;caret-color:var(--blue)}
.nb .nkcar{position:absolute;width:2px;margin-left:-1px;background:var(--blue);pointer-events:none;z-index:1;animation:nkcar 1s steps(1) infinite}.nb .nkcar[hidden]{display:none}
@keyframes nkcar{0%{opacity:1}50%{opacity:0}}
@media (prefers-reduced-motion:reduce){.nb .nkcar{animation:none}}
.nb .cl{display:flex;gap:10px;align-items:center;min-height:calc(36px * var(--ts));font:500 calc(22px * var(--ts)) var(--hand);color:var(--ink)}
.nb .paper.typed .cl{font:max(16px, calc(16px * var(--ts))) var(--mono)}
.nb .cl .tx{flex:1;min-width:40px}
.nb .cb{width:20px;height:20px;border:2px solid #333;border-radius:5px;flex:none;background:rgba(255,255,255,.4);cursor:pointer;position:relative}
.nb .cl.done .cb:after{content:"";position:absolute;left:4px;top:0;width:5px;height:10px;border:solid #333;border-width:0 2px 2px 0;transform:rotate(40deg)}
.nb .cl.done span{text-decoration:line-through;opacity:.55}
.nb .cnt{font:500 calc(12px * var(--ts)) var(--ui);color:#8a8159;height:calc(36px * var(--ts));line-height:calc(36px * var(--ts))}
.nb .ln.u{display:none}
.nb.nocards .card{display:none}
.nb .card{display:flex;gap:10px;background:#fffdf4;border-radius:10px;box-shadow:0 1px 4px rgba(60,50,0,.25);padding:8px;margin:6px 0 6px;font-family:var(--ui);cursor:pointer}
.nb .card .th{width:64px;height:48px;border-radius:6px;background:#2B2F3A;flex:none;display:flex;align-items:center;justify-content:center;color:#fff}
.nb .card b{font-size:calc(12.5px * var(--ts));line-height:1.25;display:block}.nb .card small{font-size:calc(11px * var(--ts));color:#6b7280}
.nb .aud{display:inline-flex;align-items:center;gap:8px;background:#fffdf4;border-radius:18px;padding:5px 12px 5px 6px;box-shadow:0 1px 4px rgba(60,50,0,.25);font:600 calc(12px * var(--ts)) var(--ui);margin:5px 0;cursor:pointer}
.nb .aud i{width:24px;height:24px;border-radius:50%;background:#1F4FC8;color:#fff;display:flex;align-items:center;justify-content:center}
.nb .au{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}
.nb .aud i svg{width:14px;height:14px}
/* inside the text: web addresses, alarms, markers, pictures */
.nb .np-lk{color:#2E3FC4;text-decoration:underline;overflow-wrap:anywhere}
.nb .hl{background:rgba(255,200,40,.55);border-radius:3px;padding:0 1px}
.nb .wb{display:inline-flex;vertical-align:middle;margin-left:3px;width:20px;height:20px;border-radius:10px;background:#fffdf4;box-shadow:0 1px 3px rgba(60,50,0,.3);align-items:center;justify-content:center;color:#1F4FC8;cursor:pointer}.nb .wb svg{width:12px;height:12px}
/* words linked to another page: the PC's dotted blue underline and a small page after the last word; grey when the page is gone */
.nb .nlw{cursor:pointer}
.nb .nlt{text-decoration-line:underline;text-decoration-style:dotted;text-decoration-color:#1F4FC8;text-decoration-thickness:2px;text-underline-offset:5px}
.nb .nle::after{content:"";display:inline-block;width:.6em;height:.6em;margin:0 1px 0 2px;vertical-align:baseline;background-color:#1F4FC8;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3v5h5'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3v5h5'/%3E%3C/svg%3E") center/contain no-repeat}
.nb .nlw.gone{color:#8B8F98}.nb .nlw.gone .nlt{text-decoration-color:#9AA3AF}
.nb .nlw.gone .nle::after{background-color:#8B8F98;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3v5h5'/%3E%3Cpath d='M3 21L21 3'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3v5h5'/%3E%3Cpath d='M3 21L21 3'/%3E%3C/svg%3E")}
.nb .mk{display:inline-block;font:600 calc(11px * var(--ts))/calc(17px * var(--ts)) var(--ui);background:#EEF1F5;color:#5B6573;border-radius:999px;padding:0 8px;vertical-align:middle}
.nb .mk.ts{background:#E3EAFB;color:#1F3F9E;font-variant-numeric:tabular-nums}
.nb .mk.ts[data-url]{cursor:pointer}
/* text formatting (prompt 155; the sizes of the PC's prompt 154): nothing may make a line taller than one 36px rule, so styled words take exactly one rule, from its top
   (prompt 220: not line-height 0, the page has no doctype, and in quirks mode a wrapped line holding only styled words then had no height: the lines piled up) */
.nb .tx .f,.nb .hl .f,.nb .nlw .f{line-height:calc(36px * var(--ts));vertical-align:top}
.nb .tx .f.fw-sup,.nb .hl .f.fw-sup,.nb .nlw .f.fw-sup{line-height:0;vertical-align:super}.nb .tx .f.fw-sub,.nb .hl .f.fw-sub,.nb .nlw .f.fw-sub{line-height:0;vertical-align:sub}
.nb .fw-b{font-weight:700}.nb .fw-i{font-style:italic}
.nb .fw-u{text-decoration-line:underline}.nb .fw-s{text-decoration-line:line-through}.nb .fw-u.fw-s{text-decoration-line:underline line-through}
.nb .fw-z-s{font-size:calc(18px * var(--ts))}.nb .fw-z-l{font-size:calc(27px * var(--ts))}.nb .fw-z-xl{font-size:calc(32px * var(--ts))}
.nb .paper.typed .fw-z-s{font-size:calc(12px * var(--ts))}.nb .paper.typed .fw-z-l{font-size:calc(19px * var(--ts))}.nb .paper.typed .fw-z-xl{font-size:calc(22px * var(--ts))}
.nb .fw-sup{vertical-align:super;font-size:.7em}.nb .fw-sub{vertical-align:sub;font-size:.7em}
.nb .fw-c-red{color:#C0362C}.nb .fw-c-blue{color:#1F4FC8}.nb .fw-c-green{color:#2E7D32}.nb .fw-c-orange{color:#D9480F}.nb .fw-c-purple{color:#7048E8}.nb .fw-c-gray{color:#6B7280}
.nb [class*="fw-h-"]{border-radius:3px;-webkit-box-decoration-break:clone;box-decoration-break:clone}
.nb .fw-h-yellow{background:rgba(255,225,77,0.9)}.nb .fw-h-green{background:rgba(120,210,120,0.55)}.nb .fw-h-pink{background:rgba(255,130,180,0.5)}.nb .fw-h-blue{background:rgba(100,170,255,0.5)}.nb .fw-h-orange{background:rgba(255,160,60,0.55)}
.nb .ln.lp-h1{font-size:calc(32px * var(--ts));font-weight:700}.nb .ln.lp-h2{font-size:calc(28px * var(--ts));font-weight:700}
.nb .paper.typed .ln.lp-h1{font-size:max(16px, calc(22px * var(--ts)))}.nb .paper.typed .ln.lp-h2{font-size:max(16px, calc(19px * var(--ts)))}
.nb .ln.lp-ac{text-align:center}.nb .ln.lp-ar{text-align:right}
.nb .ln.lp-li{position:relative;padding-left:28px}
.nb .ln.lp-li::before{content:attr(data-pm);position:absolute;top:0;left:0;width:28px;box-sizing:border-box;padding-right:5px;text-align:right;line-height:calc(36px * var(--ts));-webkit-user-select:none;user-select:none;pointer-events:none}
.nb .ln.lp-lb::before{text-align:center;padding-right:0}
.nb .ln.lp-in1{padding-left:28px}.nb .ln.lp-li.lp-in1{padding-left:56px}.nb .ln.lp-li.lp-in1::before{left:28px}
.nb .ln.lp-in2{padding-left:56px}.nb .ln.lp-li.lp-in2{padding-left:84px}.nb .ln.lp-li.lp-in2::before{left:56px}
.nb .ln.lp-in3{padding-left:84px}.nb .ln.lp-li.lp-in3{padding-left:112px}.nb .ln.lp-li.lp-in3::before{left:84px}
.nb .ln.lp-in4{padding-left:112px}.nb .ln.lp-li.lp-in4{padding-left:140px}.nb .ln.lp-li.lp-in4::before{left:112px}
.nb .ln.lp-in5{padding-left:140px}.nb .ln.lp-li.lp-in5{padding-left:168px}.nb .ln.lp-li.lp-in5::before{left:140px}
.nb .ln.lp-in6{padding-left:168px}.nb .ln.lp-li.lp-in6{padding-left:196px}.nb .ln.lp-li.lp-in6::before{left:168px}
/* the format row: in the dock's place while the keyboard is open in the page; one 48px row that scrolls sideways with a finger (no scrollbar, a soft fade on the right) */
.nb .fmtbar{flex:none;position:relative;background:transparent;border-radius:24px}      /* (prompt 287: inside the floating pill) */
.nb .fmtbar[hidden]{display:none}
.nb .fmtrow{height:48px;display:flex;align-items:center;gap:2px;padding:0 30px 0 10px;border-radius:24px;overflow-x:auto;overflow-y:hidden;white-space:nowrap;scrollbar-width:none;overscroll-behavior-x:contain}
.nb .fmtrow::-webkit-scrollbar{display:none}
.nb .fmtbar::after{content:"";position:absolute;top:0;right:0;width:34px;height:48px;border-radius:0 24px 24px 0;background:linear-gradient(to right,rgba(255,255,255,0),#fff 80%);pointer-events:none}
.nb .fbt{flex:none;height:36px;min-width:36px;padding:0 8px;border:0;border-radius:8px;background:transparent;color:#2B3447;font:500 calc(16px * var(--ts)) var(--ui);display:inline-flex;align-items:center;justify-content:center;gap:3px;cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.nb .fbt:active{background:#F0F3FA}
.nb .fbt[aria-pressed=true]{background:#E8EDFB;color:#1F4FC8}
.nb .fbt.dd{border:1px solid #D5DBE7;background:#fff;font:500 calc(13px * var(--ts)) var(--ui);padding:0 10px}
.nb .fbt.more{min-width:18px;padding:0 3px;font-size:calc(10px * var(--ts))}
.nb .fbt svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.nb .fbt b{font-weight:700}.nb .fbt .fgi{font-family:Georgia,serif}
.nb .fbt sup,.nb .fbt sub{font-size:calc(10px * var(--ts))}
.nb .fsplit{display:inline-flex;align-items:center;flex:none}
.nb .fa{display:inline-block;line-height:calc(18px * var(--ts));border-bottom:3px solid #C0362C;font-weight:600}
.nb .fhab{display:inline-block;padding:0 3px;border-radius:3px;font-weight:600;font-size:calc(13px * var(--ts));line-height:calc(20px * var(--ts))}
.nb .fmthint{font:500 calc(11px * var(--ts)) var(--ui);color:#5B6573;text-align:center;padding:0 0 4px}
.nb .fmthint[hidden]{display:none}
.nb .fpop{position:absolute;bottom:calc(100% + 6px);left:8px;z-index:7;background:#fff;border:1px solid #D5DBE7;border-radius:12px;box-shadow:0 8px 24px rgba(20,30,50,.16);padding:6px;display:flex;flex-wrap:wrap;align-items:center;gap:4px;max-width:calc(100% - 16px);box-sizing:border-box}
.nb .fpop[hidden]{display:none}
.nb .fpi{height:40px;min-width:44px;padding:0 12px;border:0;border-radius:8px;background:transparent;font:500 calc(14px * var(--ts)) var(--ui);color:#1B1F24;cursor:pointer;-webkit-user-select:none;user-select:none}
.nb .fpi[aria-checked=true]{background:#E8EDFB;color:#1F4FC8}
.nb .fpi.sw{width:36px;min-width:36px;height:36px;padding:0;border-radius:50%;background:var(--sw);border:2px solid #fff;box-shadow:0 0 0 1px #D5DBE7}
.nb .fpi.sw[aria-checked=true]{box-shadow:0 0 0 2px #1F4FC8}
/* Attach: From Padd Files or From this phone (prompt 155) */
.nb .attsheet .aopt{width:100%;text-align:left;display:block;padding:14px 12px;border:0;border-radius:10px;background:#fff;font:600 calc(16px * var(--ts)) var(--ui);color:#1B1F24;cursor:pointer}
.nb .attsheet .aopt:active{background:#E8EDFB}
.nb .attsheet .aopt small{display:block;font:400 calc(13px * var(--ts)) var(--ui);color:#5B6573;margin-top:2px}
.nb .attsheet .acancel{width:100%;height:46px;margin-top:6px;justify-content:center;font-size:calc(15px * var(--ts))}
.nb .fcard.fup small{color:#5B6573}
.nb .fcard.ffail small{color:#A12C2C}
.nb .fcard.ffail small u{cursor:pointer;font-weight:700}
.nb .pic{display:flex;margin:4px 0}.nb .pic.right{justify-content:flex-end}
.nb .pic .ph{background:#F2F4F7;border-radius:8px;min-height:62px;width:60%;display:flex;align-items:center;justify-content:center;color:#9AA3B0;font:calc(12px * var(--ts)) var(--ui);line-height:1.3;flex-direction:column}
.nb .pic .ph svg{width:28px;height:28px}
.nb .pic .ph.on{background:none;min-height:0;display:block}
.nb .pic .ph img{width:100%;height:auto;border-radius:8px;display:block}
/* (prompt 185) an editor's picture on its way to the owner's note: "Loading picture from <name>…", or "Picture not available yet" with Retry */
.nb .pic .ph .edw{font-style:normal;text-align:center;padding:0 8px;color:#5A6472}
.nb .pic .ph .edw u{color:var(--blue);font-weight:600;text-decoration:none;margin-left:4px;cursor:pointer}

/* top bar */
.nb .top{height:52px;flex:none;display:flex;align-items:center;gap:4px;padding:0 8px;background:#fff;border-bottom:1px solid #E3E7F0}
.nb .ib{width:40px;height:40px;border-radius:12px;border:0;background:transparent;color:#2b3447;display:flex;align-items:center;justify-content:center;cursor:pointer;position:relative}
.nb .ib.fl{border:1px solid #D5DBE7;background:#fff}
.nb .ib:active{background:#E8EDF8}.nb .ib[disabled]{opacity:.35}
.nb .ib .bd{position:absolute;top:3px;right:2px;min-width:16px;height:16px;border-radius:8px;background:#D9534F;color:#fff;font:700 calc(10px * var(--ts))/calc(16px * var(--ts)) var(--ui);text-align:center;padding:0 4px}
.nb .pg{height:40px;border-radius:12px;border:1px solid #D5DBE7;background:#fff;padding:0 12px 0 10px;display:flex;align-items:center;gap:7px;font:600 calc(14px * var(--ts)) var(--ui);color:#18202F;cursor:pointer}
.nb .pg small{font-weight:500;color:#6b7280}
.nb .sp{flex:1}
/* (prompt 183) the top bar and the bottom (status row, dock, the phone's bottom inset) lie over the page, see-through and frosted; the page shows through them.
   No blur on this phone, or less transparency asked for: near-solid white (.nofrost: the same, set from JS) */
.nb{isolation:isolate}      /* (their z-index stays inside the notepad: the picture viewer and the app's sheets over it stay on top) */
.nb .top{position:absolute;top:0;left:0;right:0;z-index:4}
.nb .top{background:rgba(255,255,255,.55);-webkit-backdrop-filter:blur(12px) saturate(1.5);backdrop-filter:blur(12px) saturate(1.5)}
.nb .top{border-bottom:1px solid rgba(0,0,0,.06)}
.nb .top .ib.fl,.nb .top .pg{background:rgba(255,255,255,.6)}
.nb .nbot{position:absolute;left:12px;right:12px;bottom:calc(10px + var(--ndsab, env(safe-area-inset-bottom, 0px)));z-index:4;min-height:48px;box-sizing:border-box;border-radius:24px;
  display:flex;flex-direction:column;justify-content:center;background:rgba(255,255,255,.88);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:0 6px 20px rgba(0,0,0,.16);
  transition:transform .25s,opacity .2s,visibility 0s}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.nb .top{background:rgba(255,255,255,.94)}.nb .nbot{background:rgba(255,255,255,.96)}}
@media (prefers-reduced-transparency:reduce){.nb .top{background:rgba(255,255,255,.94)}.nb .nbot{background:rgba(255,255,255,.96)}}
.nb.nofrost .top{background:rgba(255,255,255,.94)}.nb.nofrost .nbot{background:rgba(255,255,255,.96)}
.nb .nbot :is(button,.dk,.nchev){-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}
/* the hide button at the pill's right end: blue, round, a white down-chevron; tools hidden, the pill slides down and fades, and a small blue round show button stays */
.nb .nchev{flex:none;align-self:center;width:36px;height:36px;margin:0 0 0 2px;padding:0;border:0;border-radius:50%;background:#1F4FC8;color:#fff;display:grid;place-items:center;cursor:pointer}
.nb .nchev svg,.nb .nshow svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.nb .nshow{position:absolute;left:50%;bottom:calc(10px + var(--ndsab, env(safe-area-inset-bottom, 0px)));z-index:4;width:36px;height:36px;margin-left:-18px;padding:0;border:0;border-radius:50%;background:#1F4FC8;color:#fff;
  display:none;place-items:center;box-shadow:0 4px 12px rgba(0,0,0,.25);cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}
.nb.nbhid .nbot{transform:translateY(calc(100% + 10px + var(--ndsab, 0px)));opacity:0;visibility:hidden;pointer-events:none;transition:transform .25s,opacity .2s,visibility 0s .25s}
.nb.nbhid .nshow{display:grid}
@media (prefers-reduced-motion:reduce){.nb .nbot,.nb.nbhid .nbot{transition:none}}
/* (prompt 287) the word count and the save state: a small grey line under the title, on its own ruled line (a tap on the save state: the whole sentence) */
.nb .nmeta{height:calc(36px * var(--ts));display:flex;align-items:center;gap:5px;font:500 calc(12px * var(--ts)) var(--ui);color:#777;white-space:nowrap;-webkit-user-select:none;user-select:none}
.nb .nrs{border:0;background:transparent;padding:0;margin:0;font:inherit;color:#2E9E62;display:flex;align-items:center;gap:4px;cursor:pointer;-webkit-tap-highlight-color:transparent}
.nb .nrs i{width:6px;height:6px;border-radius:50%;background:currentColor;flex:none}
.nb .nsr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
/* (prompt 195) words selected: the pill shows [Link to note] on the left and [Alarm on these words] on the right instead of the tools */
.nb .nrsel{display:none;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;justify-content:center;gap:8px;height:48px;padding:0 8px;box-sizing:border-box;animation:nrselin .15s}      /* (the fade plays each time they show) */
.nb .nbot.selon .nrsel{display:grid}
@keyframes nrselin{from{opacity:0}}
@media (prefers-reduced-motion:reduce){.nb .nrsel{animation:none}}
.nb .nrsel .selbell{position:static;display:flex;justify-content:center;min-width:0;height:40px;padding:0 8px;border-radius:20px;background:#EEF2FC;color:#1B3FA8;border:0;box-shadow:none;font:600 calc(13px * var(--ts)) var(--ui);-webkit-tap-highlight-color:transparent}      /* (prompt 358) three the same: equal width, light blue, no border or shadow */
.nb .nrsel .selbell:active{background:#DCE4F8}
.nb .nrsel .selbell>span{white-space:nowrap}
.nb .nrsel .selbell svg{flex:none;width:17px;height:17px}
/* the floating Mic (prompt 183): green (prompt 456; red before), a white mic; the finger moves it (only it: the page scrolls as before); it pulses while listening */
.nb .nfmic{position:absolute;left:-200px;top:0;z-index:4;width:54px;height:54px;border-radius:50%;border:0;padding:0;background:#1E8E4E;color:#fff;display:grid;place-items:center;
  box-shadow:0 6px 16px -4px rgba(30,142,78,.6),0 2px 6px rgba(0,0,0,.2);cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;
  transition:opacity .15s,transform .15s,visibility 0s}
.nb .nfmic svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.nb .nfmic.glide{transition:left .25s cubic-bezier(.3,.8,.3,1),top .25s cubic-bezier(.3,.8,.3,1),opacity .15s,transform .15s,visibility 0s}
.nb .nfmic.drag{transform:scale(1.1);cursor:grabbing}
.nb .nfmic.off{opacity:0;visibility:hidden;pointer-events:none;transition:opacity .15s,visibility 0s .15s}
.nb .nfmic.live{animation:nfmp 1.2s ease-out infinite}
@keyframes nfmp{0%{box-shadow:0 0 0 0 rgba(30,142,78,.5),0 2px 6px rgba(0,0,0,.2)}100%{box-shadow:0 0 0 18px rgba(30,142,78,0),0 2px 6px rgba(0,0,0,.2)}}
@media (prefers-reduced-motion:reduce){.nb .nfmic.glide{transition:none}}
/* (prompt 243) New page and Camera float like the Mic: the "+" a blue rounded square like the Files "+", the Camera a white circle with a blue edge */
.nb .nfb{position:absolute;left:-200px;top:0;z-index:4;width:54px;height:54px;border:0;padding:0;display:grid;place-items:center;
  box-shadow:0 6px 16px -4px rgba(31,79,200,.6),0 2px 6px rgba(0,0,0,.2);cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;
  transition:opacity .15s,transform .15s,visibility 0s}
.nb .nfplus{border-radius:16px;background:#1F4FC8;color:#fff}
.nb .nfcam{border-radius:50%;background:#1C1C1E;color:#fff;border:0}
.nb .nfb svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.nb .nfb.glide{transition:left .25s cubic-bezier(.3,.8,.3,1),top .25s cubic-bezier(.3,.8,.3,1),opacity .15s,transform .15s,visibility 0s}
.nb .nfb.drag{transform:scale(1.1);cursor:grabbing}
.nb .nfreset{position:absolute;z-index:6;white-space:nowrap;border:0;border-radius:999px;padding:10px 16px;background:#1B1F24;color:#fff;font:inherit;font-size:calc(14px * var(--ts));font-weight:600;line-height:1.2;box-shadow:0 6px 16px rgba(0,0,0,.25);cursor:pointer}.nb .nfreset[hidden]{display:none}      /* (prompt 405) hold a floating button 1 s: Reset button positions */
.nb .nfb.off{opacity:0;visibility:hidden;pointer-events:none;transition:opacity .15s,visibility 0s .15s}
@media (prefers-reduced-motion:reduce){.nb .nfb.glide{transition:none}}

/* the iPhone home bar (prompt 168): what sits on the bottom of the notepad keeps clear of it (0 on Android); none while the keyboard is open, the bar is behind it.
   --sab lets the tests play an iPhone */
.nb{--nsab:var(--sab,env(safe-area-inset-bottom,0px))}
.nb.kbon{--nsab:0px}
/* the dock's part of the inset (prompt 172): the empty strip under its labels is 60% of what prompt 168 gave (15px + inset), 0 on Android */
.nb{--ndsab:max(0px, calc(var(--nsab) * .6 - 6px))}
/* dock */
.nb .dock{flex:none;background:transparent;padding:0 6px 0 10px;display:flex;align-items:center;justify-content:space-between;position:relative;height:48px;box-sizing:border-box}      /* (prompt 287: one row of icons inside the floating pill) */
.nb .dk{flex:1;display:flex;align-items:center;justify-content:center;height:44px;min-width:44px;border:0;background:transparent;color:#2b3447;padding:0;border-radius:22px;cursor:pointer}
.nb .dk:active{background:#E8EDF8}
.nb .dk svg{width:22px;height:22px}
.nb .dk.rec svg{color:#D9534F}
.nb .strip{position:absolute;inset:0;background:#fff;border-radius:24px;display:none;align-items:center;gap:8px;padding:0 6px 0 14px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}
.nb .strip::-webkit-scrollbar{display:none;width:0;height:0}
.nb .strip .sbtn{flex:none;height:36px;border-radius:18px}
.nb .dock.mode .strip{display:flex}
.nb .pulse{width:12px;height:12px;border-radius:50%;background:#D9534F;animation:nbp 1s infinite}
@keyframes nbp{50%{opacity:.3}}
@media (prefers-reduced-motion:reduce){.nb .pulse{animation:none}}
.nb .strip b{font:700 calc(15px * var(--ts)) var(--ui);font-variant-numeric:tabular-nums}.nb .strip small{color:#6b7280;font-size:calc(12px * var(--ts));flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nb .sbtn{height:42px;border-radius:12px;border:1px solid #D5DBE7;background:#fff;padding:0 14px;font:600 calc(13px * var(--ts)) var(--ui);cursor:pointer;display:flex;align-items:center;gap:6px}
.nb .sbtn.pri{background:#D9534F;border-color:#D9534F;color:#fff}.nb .sbtn.blue{background:#1F4FC8;border-color:#1F4FC8;color:#fff}

/* overlays */
.nb .nscrim{position:absolute;inset:0;background:rgba(15,20,35,.35);opacity:0;pointer-events:none;transition:opacity .18s;z-index:5}
.nb .nscrim.on{opacity:1;pointer-events:auto}
.nb .nsheet{position:absolute;left:0;right:0;bottom:0;background:#fff;border-radius:20px 20px 0 0;padding:8px 16px calc(18px + var(--nsab));z-index:6;transform:translateY(105%);transition:transform .22s;box-shadow:0 -6px 24px rgba(0,0,0,.18)}
.nb .nsheet.on{transform:none}
.nb .nsheet:not(.on){box-shadow:none;transition:transform .22s,box-shadow 0s .22s}      /* (prompt 287: no opaque bottom any more, so a closed sheet's shadow no longer peeks in at the bottom edge) */
.nb .ngrab{width:36px;height:4px;border-radius:2px;background:#CBD2E0;margin:0 auto 10px}
.nb .nsheet h3{margin:0 0 10px;font-size:calc(15px * var(--ts))}
.nb .sw2{display:flex;gap:12px;margin-bottom:14px}
.nb .col{width:40px;height:40px;border-radius:50%;border:2px solid #D5DBE7;cursor:pointer}
.nb .col[aria-pressed=true]{border-color:#1F4FC8;box-shadow:0 0 0 2px #fff inset}
.nb .row2{display:flex;gap:10px;margin-bottom:6px}
.nb .fnt{flex:1;height:46px;border-radius:12px;border:1px solid #D5DBE7;background:#fff;cursor:pointer;font-size:calc(19px * var(--ts))}
.nb .fnt[aria-pressed=true]{background:#E8EEFD;border-color:#1F4FC8}
.nb .nchip{height:40px;border-radius:20px;border:1px solid #D5DBE7;background:#fff;padding:0 14px;font:600 calc(13px * var(--ts)) var(--ui);cursor:pointer}
.nb .nchip[aria-pressed=true]{background:#1F4FC8;color:#fff;border-color:#1F4FC8}
.nb .drawer{position:absolute;top:0;bottom:0;left:0;width:84%;background:#fff;z-index:6;transform:translateX(-105%);transition:transform .22s;padding:14px 12px;overflow:auto;box-shadow:6px 0 24px rgba(0,0,0,.2)}
.nb .drawer.on{transform:none}
.nb .drawer h3{margin:4px 4px 10px;font-size:calc(15px * var(--ts))}
.nb .pc{border-radius:10px;padding:10px 12px;margin-bottom:8px;font-size:calc(13px * var(--ts));cursor:pointer;border:2px solid transparent}
.nb .pc b{display:block;font-size:calc(14px * var(--ts))}.nb .pc small{color:#5b6577}
.nb .pc[aria-current=true]{border-color:#1F4FC8}
.nb .menu{position:absolute;right:10px;top:54px;background:#fff;border-radius:14px;box-shadow:0 8px 28px rgba(0,0,0,.25);padding:6px;z-index:6;display:none;min-width:200px}
.nb .menu.on{display:block}
.nb .menu button{display:flex;align-items:center;gap:10px;width:100%;border:0;background:transparent;padding:11px 10px;border-radius:10px;font:500 calc(14px * var(--ts)) var(--ui);color:#18202F;cursor:pointer;text-align:left}
.nb .menu button:active{background:#E8EDF8}.nb .menu hr{border:0;border-top:1px solid #E3E7F0;margin:4px 0}
.nb .toast{position:absolute;left:50%;bottom:calc(90px + var(--nsab));transform:translateX(-50%) translateY(20px);background:#18202F;color:#fff;font:500 calc(13px * var(--ts)) var(--ui);padding:9px 14px;border-radius:20px;opacity:0;transition:.2s;z-index:9;pointer-events:none;white-space:nowrap;max-width:calc(100% - 24px);box-sizing:border-box;overflow:hidden;text-overflow:ellipsis}
.nb .toast.on{opacity:1;transform:translateX(-50%)}
.nb .toast.act{pointer-events:auto;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:4px 12px;z-index:12;white-space:normal;width:max-content;max-width:calc(100% - 24px)}
.nb .toast.act button{background:none;border:0;color:#9DBBFF;font:600 calc(13px * var(--ts)) var(--ui);padding:4px 2px}
/* the Mic's alarm / event card above the dock (prompt 138): nothing is set until a button is tapped */
.nb .nvcard{position:absolute;left:12px;right:12px;bottom:calc(84px + var(--nsab));z-index:12;background:#fff;border:1px solid #D5DBE7;border-radius:14px;box-shadow:0 6px 24px rgba(0,0,0,.18);padding:12px 12px 12px 14px;font:500 calc(14px * var(--ts)) var(--ui);color:#18202F}
.nb .nvch{display:flex;align-items:flex-start;gap:8px;line-height:1.4}.nb .nvch span{flex:1;min-width:0;overflow-wrap:anywhere}
:is(.nb,.tio) .nvx{flex:none;width:30px;height:30px;margin:-6px -6px 0 0;border:0;background:none;font:400 calc(22px * var(--ts))/1 var(--ui);color:#6b7280;cursor:pointer}
.nb .nvcb{display:flex;justify-content:flex-end;gap:8px;margin-top:10px}
/* the voice Message / Email send card (prompt 156; sendcard.js, also in the floating mic's sheet .tio, prompt 161): a bottom sheet over a scrim; light colours even when the phone is dark; no scrollbars shown */
:is(.nb,.tio) .nvsheetw{position:absolute;inset:0;z-index:30}
.tio .nvsheetw{--ui:'Figtree',system-ui,sans-serif}
:is(.nb,.tio) .nvscrim{position:absolute;inset:0;background:rgba(16,20,28,.2)}
:is(.nb,.tio) .nvem{color-scheme:light;position:absolute;left:8px;right:8px;bottom:8px;max-height:calc(100% - 16px);overflow-y:auto;scrollbar-width:none;background:#fff;color:#1B2333;border-radius:24px;padding:14px 14px 16px;box-shadow:0 -6px 30px rgba(16,20,28,.19);font:500 calc(14px * var(--ts)) var(--ui);animation:nvup .3s cubic-bezier(.2,.9,.25,1.1)}
.tio .nvem{bottom:calc(8px + env(safe-area-inset-bottom,0px))}
:is(.nb,.tio) .nvem::-webkit-scrollbar,:is(.nb,.tio) .nvtxt::-webkit-scrollbar,:is(.nb,.tio) .nvtones::-webkit-scrollbar{display:none}
@keyframes nvup{from{transform:translateY(110%)}to{transform:none}}
:is(.nb,.tio) .nvgrab{width:40px;height:4px;border-radius:2px;background:#DFE3EC;margin:0 auto 10px}
:is(.nb,.tio) .nvh{display:flex;align-items:center;gap:8px;font-size:calc(16px * var(--ts))}:is(.nb,.tio) .nvh b{font-weight:800}
:is(.nb,.tio) .nvem .nvx{margin:0 0 0 auto;width:30px;height:30px;border-radius:50%;background:#F2F4F8;font-size:calc(18px * var(--ts));color:#5D6779}
:is(.nb,.tio) .nvheard{font-size:calc(12px * var(--ts));color:#5D6779;margin:2px 0 8px;overflow-wrap:anywhere}
:is(.nb,.tio) .nvtorow{display:flex;gap:6px;align-items:center;margin-bottom:8px;flex-wrap:wrap}:is(.nb,.tio) .nvtorow label{font-size:calc(12px * var(--ts));color:#5D6779}
:is(.nb,.tio) .nvtorow input,:is(.nb,.tio) .nvsubj{flex:1;min-width:120px;border:1px solid #DFE3EC;border-radius:10px;padding:7px 10px;font:max(16px, calc(16px * var(--ts))) var(--ui);background:#fff;color:#1B2333}
:is(.nb,.tio) .nvpick{border:1px solid #DFE3EC;background:#F2F4F8;color:#1B2333;border-radius:10px;padding:7px 10px;min-height:36px;font:600 calc(12px * var(--ts)) var(--ui);cursor:pointer}
:is(.nb,.tio) .nvsubj{display:block;width:100%;box-sizing:border-box;font-weight:700;margin-bottom:6px}
:is(.nb,.tio) .nvtxt{display:block;width:100%;box-sizing:border-box;border:0;background:#F2F4F8;color:#1B2333;border-radius:14px;padding:12px;font:max(16px, calc(16px * var(--ts)))/1.45 var(--ui);resize:none;min-height:72px;max-height:150px;overflow-y:auto;scrollbar-width:none}
:is(.nb,.tio) .nvcount{text-align:right;font-size:calc(11px * var(--ts));color:#5D6779;margin-top:3px}:is(.nb,.tio) .nvcount.over{color:#E8710A;font-weight:700}
:is(.nb,.tio) .nvtones{display:flex;gap:6px;overflow-x:auto;padding:8px 0 4px;scrollbar-width:none;-webkit-mask-image:linear-gradient(90deg,#000 85%,transparent);mask-image:linear-gradient(90deg,#000 85%,transparent)}
:is(.nb,.tio) .nvtones.end{-webkit-mask-image:none;mask-image:none}
:is(.nb,.tio) .nvtone{flex:none;display:flex;align-items:center;gap:5px;border:1px solid #DFE3EC;background:#fff;color:#1B2333;border-radius:999px;padding:6px 11px;min-height:32px;font:600 calc(12px * var(--ts)) var(--ui);cursor:pointer}
:is(.nb,.tio) .nvtone[aria-pressed="true"]{background:#E8EEFF;border-color:#1F4FD1;color:#1F4FD1}
:is(.nb,.tio) .nvspin{width:10px;height:10px;border:2px solid #C9D3EA;border-top-color:#1F4FD1;border-radius:50%;animation:nvspin .7s linear infinite}
@keyframes nvspin{to{transform:rotate(360deg)}}
:is(.nb,.tio) .nvlbl{font-size:calc(11px * var(--ts));letter-spacing:.08em;text-transform:uppercase;color:#5D6779;margin:10px 2px 8px}
:is(.nb,.tio) .nvapps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px 6px}
:is(.nb,.tio) .nvapp{position:relative;display:flex;flex-direction:column;align-items:center;gap:5px;min-width:48px;min-height:48px;border:0;background:none;padding:2px 0;font:600 calc(11.5px * var(--ts)) var(--ui);color:#1B2333;cursor:pointer}
:is(.nb,.tio) .nvan{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
:is(.nb,.tio) .nvic,:is(.nb,.tio) .nvbig{display:grid;place-items:center;width:52px;height:52px;border-radius:16px;box-shadow:0 3px 8px rgba(16,20,28,.13);transition:transform .15s}
:is(.nb,.tio) .nvic i,:is(.nb,.tio) .nvbig i{display:block;width:30px;height:30px;background:#fff;-webkit-mask:var(--m) center/contain no-repeat;mask:var(--m) center/contain no-repeat}
:is(.nb,.tio) .nvapp:active .nvic,:is(.nb,.tio) .nvapp.tap .nvic{transform:scale(.88)}
:is(.nb,.tio) .nvapp.pick .nvic{outline:3px solid #1F4FD1;outline-offset:3px}
:is(.nb,.tio) .nvapp.dead{opacity:.4;filter:grayscale(1)}
:is(.nb,.tio) .nvbadge{position:absolute;top:-4px;right:2px;background:#1F4FD1;color:#fff;font-size:calc(9px * var(--ts));padding:1px 5px;border-radius:6px}
:is(.nb,.tio) .ic-whatsapp{background:#25D366;--m:url(icons/send/whatsapp.svg)}
:is(.nb,.tio) .ic-telegram{background:#26A5E4;--m:url(icons/send/telegram.svg)}
:is(.nb,.tio) .ic-viber{background:#7360F2;--m:url(icons/send/viber.svg)}
:is(.nb,.tio) .ic-messenger{background:linear-gradient(135deg,#0099FF,#A033FF 60%,#FF5280);--m:url(icons/send/messenger.svg)}
:is(.nb,.tio) .ic-gmail{background:#fff;--m:url(icons/send/gmail.svg)}:is(.nb,.tio) .ic-gmail i{background:#EA4335}
:is(.nb,.tio) .ic-sms{background:#34A853}:is(.nb,.tio) .ic-mail{background:#5D6779}:is(.nb,.tio) .ic-more{background:#EEF1F6}
:is(.nb,.tio) .ic-sms i,:is(.nb,.tio) .ic-mail i,:is(.nb,.tio) .ic-more i{-webkit-mask:none;mask:none;background:center/contain no-repeat}
:is(.nb,.tio) .ic-sms i{background-image:url(icons/send/sms.svg)}:is(.nb,.tio) .ic-mail i{background-image:url(icons/send/mail.svg)}:is(.nb,.tio) .ic-more i{background-image:url(icons/send/more.svg)}
:is(.nb,.tio) .nvfoot{display:flex;gap:8px;margin-top:14px}
:is(.nb,.tio) .nvfoot button,:is(.nb,.tio) .nvhrow button{flex:1;min-height:44px;border-radius:14px;padding:10px;font:700 calc(14px * var(--ts)) var(--ui);cursor:pointer}
:is(.nb,.tio) .nvghost{border:1px solid #DFE3EC;background:#fff;color:#1B2333}:is(.nb,.tio) .nvsolid{border:0;background:#1F4FD1;color:#fff}
:is(.nb,.tio) .nvhand{position:absolute;inset:0;display:grid;place-items:center;background:#fff;border-radius:24px;text-align:center;padding:20px}:is(.nb,.tio) .nvhand[hidden]{display:none}
:is(.nb,.tio) .nvhand p{margin:4px 0;color:#5D6779}:is(.nb,.tio) .nvhand b{font-size:calc(16px * var(--ts))}
:is(.nb,.tio) .nvbig{width:76px;height:76px;border-radius:24px;margin:0 auto 12px;animation:nvpop .5s}:is(.nb,.tio) .nvbig i{width:44px;height:44px}
:is(.nb,.tio) .nvhrow{display:flex;gap:8px;margin-top:14px;justify-content:center}:is(.nb,.tio) .nvhrow button{flex:none;white-space:nowrap;padding:10px 14px}
@keyframes nvpop{0%{transform:scale(.6)}70%{transform:scale(1.08)}100%{transform:scale(1)}}
@media (prefers-reduced-motion:reduce){:is(.nb,.tio) .nvem,:is(.nb,.tio) .nvbig,:is(.nb,.tio) .nvspin{animation:none}:is(.nb,.tio) .nvic{transition:none}}

/* alarms (docs/phone-notepad-extras-mockup.html): the bell at the end of a checklist row, the form, the Alarms list, the selection bell, the ringing screen */
.nb .cl{position:relative}
.nb .rb{margin-left:auto;width:30px;height:30px;border-radius:15px;display:flex;align-items:center;justify-content:center;color:#7d7550;opacity:.75;cursor:pointer;flex:none}.nb .rb svg{width:16px;height:16px}
.nb .rbd{margin-left:auto;display:flex;align-items:center;gap:4px;height:26px;border-radius:13px;padding:0 9px;background:#fffdf4;box-shadow:0 1px 3px rgba(60,50,0,.3);font:600 calc(11.5px * var(--ts)) var(--ui);color:#1F4FC8;cursor:pointer;flex:none;white-space:nowrap}.nb .rbd svg{width:13px;height:13px}
.nb .cl.done .rb,.nb .cl.done .rbd{opacity:.5}
.nb .selbell{position:absolute;z-index:7;display:none;align-items:center;gap:6px;cursor:pointer}.nb .selbell.on{display:flex}
.nb .nfld{display:flex;flex-direction:column;gap:5px;margin-bottom:10px;font-size:calc(12px * var(--ts));font-weight:600;color:#4b5567}
.nb .nfld[hidden],.nb .sbtn[hidden]{display:none}
.nb .nfld input,.nb .nfld select{height:44px;border:1px solid #D5DBE7;border-radius:10px;padding:0 10px;font:500 max(16px, calc(16px * var(--ts))) var(--ui);color:#18202F;background:#fff;width:100%}
.nb .nfr{display:flex;gap:8px}.nb .nfr .nfld{flex:1;min-width:0}
.nb .asheet{max-height:92%;overflow:auto;transform:translateY(calc(100% + 40px))}.nb .asheet.on{transform:none}
.nb .alerr{color:#A12C2C;font-size:calc(12.5px * var(--ts));font-weight:600;margin:-4px 0 8px}.nb .alerr:empty{display:none}
.nb .sbtn.del{color:#A12C2C;border-color:#E3B9B9}
.nb .nalist{position:absolute;inset:0;background:#fff;z-index:8;display:none;flex-direction:column}.nb .nalist.on{display:flex}
.nb .ah{display:flex;align-items:center;gap:8px;padding:10px 12px;border-bottom:1px solid #E3E7F0}.nb .ah b{font-size:calc(17px * var(--ts));flex:1}
.nb .ar{display:flex;gap:10px;align-items:center;padding:12px 14px;border-bottom:1px solid #EEF1F7;cursor:pointer}.nb .ar .aic{width:34px;height:34px;border-radius:50%;background:#E8EEFD;color:#1F4FC8;display:flex;align-items:center;justify-content:center;flex:none}
.nb .ar .atx{flex:1;min-width:0}.nb .ar b{display:block;font-size:calc(14px * var(--ts));white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nb .ar small{color:#5b6577;font-size:calc(12px * var(--ts))}.nb .ar .tm{font:600 calc(12.5px * var(--ts)) var(--ui);text-align:right;white-space:nowrap}
.nb .ar.ringing .aic{background:#D9534F;color:#fff}.nb .ar.ringing .tm{color:#D9534F}
.nb .ar .dis{height:32px;padding:0 10px;font-size:calc(12px * var(--ts))}
.nb .aempty{margin:auto;color:#5b6577;font-size:calc(14px * var(--ts));text-align:center;padding:20px}
.alring{position:fixed;inset:0;z-index:60;background:#18202F;color:#fff;display:none;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:24px;text-align:center;font-family:'Figtree',system-ui,sans-serif}.alring.on{display:flex}
.alring .bell{width:84px;height:84px;border-radius:50%;background:#D9534F;display:flex;align-items:center;justify-content:center;animation:nbp 1s infinite}.alring .bell svg{width:40px;height:40px;stroke:#fff;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
/* an alarm on a picture, video, recording or file card: the bell badge on the block's top-right corner, the block lit up when the alarm opens it */
.nb .bbd{position:absolute;top:6px;right:6px;z-index:2;width:28px;height:28px;border-radius:14px;background:#fffdf4;box-shadow:0 1px 4px rgba(40,30,0,.45);display:flex;align-items:center;justify-content:center;color:#1F4FC8;cursor:pointer}.nb .bbd svg{width:15px;height:15px}
.nb .pic .ph,.nb .aud{position:relative}
.nb .ph .bbd,.nb .aud .bbd,.nb .fcard .bbd{top:-9px;right:-9px}
/* a block linked to a page: the page badge on the same corner, beside the bell badge when there is one */
.nb .bnl{position:absolute;top:6px;right:6px;z-index:2;width:28px;height:28px;border-radius:14px;background:#fffdf4;box-shadow:0 1px 4px rgba(40,30,0,.45);display:flex;align-items:center;justify-content:center;color:#1F4FC8;cursor:pointer}.nb .bnl svg{width:15px;height:15px}
.nb .bnl.gone{color:#8B8F98}
.nb .ph .bnl,.nb .aud .bnl,.nb .fcard .bnl{top:-9px;right:-9px}
.nb .vblk.bell .bnl,.nb .fpic.bell .bnl,.nb .fvid.bell .bnl{right:40px}
.nb .pic.bell .ph .bnl,.nb .au.bell .aud .bnl,.nb .fcard.bell .bnl{right:25px}
.nb .vblk.bell .vup,.nb .fvid.bell .flnk{right:40px}
@keyframes nbblk{0%,100%{box-shadow:0 0 0 0 rgba(230,126,0,0)}12%,70%{box-shadow:0 0 0 5px rgba(230,126,0,.75)}}
.nb .bflash{animation:nbblk 2s ease-in-out;border-radius:10px}.nb .pic.bflash{animation:none}.nb .pic.bflash .ph{animation:nbblk 2s ease-in-out}.nb .au.bflash{animation:none}.nb .au.bflash .aud{animation:nbblk 2s ease-in-out}
.nb .ar .ablk{display:block;font:700 calc(11px * var(--ts)) var(--ui);color:#5b6577;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nb .nchk{display:flex;align-items:center;gap:10px;margin:2px 0 2px;font-size:calc(14px * var(--ts));font-weight:600;color:#18202F}.nb .nchk input{width:20px;height:20px;margin:0;accent-color:#1F4FC8}
.nb .nhint{margin:0 0 10px 30px;font-size:calc(12px * var(--ts));color:#5b6577}
.alring h3{font-size:calc(24px * var(--ts));margin:6px 0 0}.alring p{margin:0;color:#B8C0D2;font-size:calc(14px * var(--ts))}.alring .big2{width:100%;height:52px;border-radius:14px;border:0;font:700 calc(16px * var(--ts)) 'Figtree',system-ui,sans-serif;cursor:pointer}
.alring .sn{display:flex;gap:8px;width:100%}.alring .sn button{flex:1;height:44px;border-radius:12px;border:1px solid #4a5570;background:transparent;color:#fff;font:600 calc(13px * var(--ts)) 'Figtree',system-ui,sans-serif;cursor:pointer}
@media (prefers-reduced-motion:reduce){.alring .bell{animation:none}}

/* drawing right on the note (prompt 226; the phone frame of the "Draw right on the note" mockup): the area is the paper itself, no box, border or tint;
   touch-action:none on its canvas only = one finger draws and never scrolls or bounces the page (two fingers scroll it in draw.js) */
.nb .ndz{position:relative;margin:0;padding:0}
.nb .ndz canvas{display:block;width:100%;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}
.nb .ndz #dlive{position:absolute;left:0;top:0;pointer-events:none}
.nb #nbody>.dzt{display:none!important}
.nb.drawing .paper,.nb.drawing .paper.sc{scrollbar-width:none}.nb.drawing .paper::-webkit-scrollbar{display:none;width:0;height:0}      /* (while drawing: no scrollbar on the page, two fingers scroll it) */
/* a drawing in the page: its line's full writing width (to the right edge of the paper, as it was drawn), right on its ruled lines */
.nb .pic.inkd{margin:0 -16px 0 0}
.nb .pic.inkd .ph{width:100%;flex:none;background:none}
.nb .pic.inkd .ph img{border-radius:0}
/* (prompt 339) a tapped photo: a thin blue outline and a corner grip to make it bigger or smaller (bottom-right; bottom-left on a photo on the right, .gl);
   over the page (above the scrim while the photo's menu is open, .up, under the menu); the grip looks like the small video window's (prompt 305) */
.nb .npsel{position:absolute;display:none;z-index:3;box-sizing:border-box;border:2px solid #1F4FC8;border-radius:10px;pointer-events:none}
.nb .npsel.on{display:block}.nb .npsel.up{z-index:6}
/* prompt 340: Edit photo (notes.js): full screen on black, the photo on a canvas under a crop frame (its corners and edges drag; a rule-of-thirds grid while dragging),
   the shapes, Rotate and Reset under it, Cancel and Save on top. Every control is 40px or more; nothing scrolls */
.nb .pedit{position:absolute;inset:0;z-index:21;background:#000;color:#fff;display:flex;flex-direction:column;padding:env(safe-area-inset-top,0px) 0 env(safe-area-inset-bottom,0px);-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;overflow:hidden}
.nb .pedit .petop,.nb .pedit .perow{flex:none;display:flex;align-items:center;gap:8px;padding:6px 10px}
.nb .pedit .petop b{flex:1;text-align:center;font:600 calc(16px * var(--ts))/1.2 var(--ui)}
.nb .pedit button{min-width:44px;min-height:44px;border:0;border-radius:22px;background:rgba(255,255,255,.12);color:#fff;padding:0 14px;font:600 calc(14px * var(--ts))/1 var(--ui);display:inline-flex;align-items:center;justify-content:center;gap:6px;cursor:pointer}
.nb .pedit button svg.i{width:20px;height:20px}
.nb .pedit button.pri{background:#1F4FC8}
.nb .pedit button[aria-pressed="true"]{background:#fff;color:#10141A}
.nb .pedit .perow{justify-content:center;flex-wrap:wrap}.nb .pedit .perow.pebot{padding-bottom:12px}
.nb .pedit .pestage{flex:1;min-height:0;position:relative;overflow:hidden;touch-action:none}
.nb .pedit canvas{position:absolute;left:0;top:0;width:100%;height:100%}
.nb .pedit .pefr{position:absolute;box-sizing:border-box;border:2px solid #fff;box-shadow:0 0 0 9999px rgba(0,0,0,.55);touch-action:none}
.nb .pedit .pefr .g{position:absolute;inset:0;display:none;background:linear-gradient(90deg,transparent calc(33.33% - .5px),rgba(255,255,255,.7) calc(33.33% - .5px),rgba(255,255,255,.7) calc(33.33% + .5px),transparent calc(33.33% + .5px),transparent calc(66.67% - .5px),rgba(255,255,255,.7) calc(66.67% - .5px),rgba(255,255,255,.7) calc(66.67% + .5px),transparent calc(66.67% + .5px)),linear-gradient(transparent calc(33.33% - .5px),rgba(255,255,255,.7) calc(33.33% - .5px),rgba(255,255,255,.7) calc(33.33% + .5px),transparent calc(33.33% + .5px),transparent calc(66.67% - .5px),rgba(255,255,255,.7) calc(66.67% - .5px),rgba(255,255,255,.7) calc(66.67% + .5px),transparent calc(66.67% + .5px))}
.nb .pedit .pefr.drag .g{display:block}
.nb .pedit .pefr i{position:absolute;width:44px;height:44px;margin:-22px 0 0 -22px;touch-action:none}
.nb .pedit .pefr i.nw,.nb .pedit .pefr i.w,.nb .pedit .pefr i.sw{left:0}.nb .pedit .pefr i.n,.nb .pedit .pefr i.s{left:50%}.nb .pedit .pefr i.ne,.nb .pedit .pefr i.e,.nb .pedit .pefr i.se{left:100%}
.nb .pedit .pefr i.nw,.nb .pedit .pefr i.n,.nb .pedit .pefr i.ne{top:0}.nb .pedit .pefr i.w,.nb .pedit .pefr i.e{top:50%}.nb .pedit .pefr i.sw,.nb .pedit .pefr i.s,.nb .pedit .pefr i.se{top:100%}
.nb .pedit .pefr i.n,.nb .pedit .pefr i.s,.nb .pedit .pefr i.e,.nb .pedit .pefr i.w{z-index:0}.nb .pedit .pefr i.nw,.nb .pedit .pefr i.ne,.nb .pedit .pefr i.sw,.nb .pedit .pefr i.se{z-index:1}
.nb .pedit .pefr i::after{content:"";position:absolute;left:50%;top:50%;width:14px;height:14px;margin:-7px 0 0 -7px;background:#fff;border-radius:3px;box-shadow:0 1px 3px rgba(0,0,0,.5)}
.nb .pedit .pefr i.e::after,.nb .pedit .pefr i.w::after{width:5px;height:22px;margin:-11px 0 0 -2.5px}
.nb .pedit .pefr i.n::after,.nb .pedit .pefr i.s::after{width:22px;height:5px;margin:-2.5px 0 0 -11px}
.nb .npgrip{position:absolute;right:-2px;bottom:-2px;width:36px;height:36px;pointer-events:auto;touch-action:none;cursor:nwse-resize;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.nb .npsel.gl .npgrip{right:auto;left:-2px;cursor:nesw-resize}
.nb .npgrip i{position:absolute;right:3px;bottom:4px;width:22px;height:22px;border-radius:6px;background:rgba(0,0,0,.55);display:grid;place-items:center;transform:scaleX(-1)}
.nb .npsel.gl .npgrip i{right:auto;left:3px;transform:none}
.nb .npgrip svg{width:20px;height:20px;fill:none;stroke:#fff;stroke-width:2.2;opacity:.95}
/* the tool row in the dock's place while drawing: Pen, Highlighter, Eraser | 4 inks | 3 sizes | Undo, Done (and "⋯" on a drawing drawn on again).
   Fits a 390px phone; a narrower one scrolls it with a finger, never with a bar. The dock's bottom room for the home bar (prompt 168) */
.nb .ndt{flex:none;display:flex;align-items:center;justify-content:space-between;gap:0;padding:0 6px 0 10px;height:48px;border-radius:24px;box-sizing:border-box;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.nb .ndt[hidden]{display:none}
.nb .ndt::-webkit-scrollbar{display:none;width:0;height:0}
.nb .ndt button{flex:none;height:32px;min-width:24px;padding:0 2px;border:0;border-radius:8px;background:transparent;cursor:pointer;font:600 calc(13px * var(--ts)) var(--ui);color:#1B1F24;display:inline-flex;align-items:center;justify-content:center;-webkit-tap-highlight-color:transparent}
.nb .ndt button[hidden]{display:none}
.nb .ndt button[aria-pressed=true]{background:#E8EDFB;color:#1F4FC8}
.nb .ndt button:disabled{opacity:.4}
.nb .ndt svg{width:18px;height:18px}
.nb .ndt .sw{width:20px;height:20px;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 1px #D5DBE7;box-sizing:border-box}
.nb .ndt .ink[aria-pressed=true]{background:transparent}.nb .ndt .ink[aria-pressed=true] .sw{box-shadow:0 0 0 2px #1F4FC8}
.nb .ndt .dot2 i{display:block;background:currentColor;border-radius:50%}
.nb .ndt .dsep{flex:none;width:1px;height:20px;background:#E2E6EC}
.nb .ndt .done{background:#1F4FC8;color:#fff;padding:0 10px}
.nb .ndt .dmore{font-size:calc(18px * var(--ts));letter-spacing:1px}
/* prompt 194: nothing on a sheet over the page can be long-pressed into a selection or the iOS callout (titles, labels, chips, buttons, pickers, the Draw canvas);
   only real fields stay selectable. The page under a sheet is inert while the sheet is there (coverPage in notes.js) */
.nb :is(.nsheet,.menu,.drawer,.nalist,.camov),#calsheet{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.nb :is(.nsheet,.menu,.drawer,.nalist,.camov) :is(input,textarea,[contenteditable]:not([contenteditable="false"])),#calsheet :is(input,textarea){-webkit-user-select:text;user-select:text;-webkit-touch-callout:default}

/* the Camera (docs/phone-camera-mockup.html): a full-screen camera over the notepad, its preview, the quality sheet, the video block in the page. Same rules and values as the mockup, under .nb.
   (The mockup draws a 28 px fake status bar inside its screen; the real app has none, so the distances measured from the top of the mockup's screen are 28 px smaller here.) */
.nb .camov svg.i,.nb .prev svg.i,.nb .cpm svg.i,.nb .cpbox svg.i,.nb .vplay svg.i{width:22px;height:22px}
.nb .camov{position:absolute;inset:0;background:#000;z-index:20;display:none;flex-direction:column;color:#fff;-webkit-user-select:none;user-select:none}
.nb .camov.on{display:flex}
.nb .vf{position:relative;flex:1;min-height:0;overflow:hidden;background:#6b7076}
.nb .vf video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.nb .vf .cgrid{position:absolute;inset:-28px 0 0 0;background:linear-gradient(transparent 33%,rgba(255,255,255,.22) 33% calc(33% + 1px),transparent calc(33% + 1px) 66%,rgba(255,255,255,.22) 66% calc(66% + 1px),transparent calc(66% + 1px)),linear-gradient(90deg,transparent 33%,rgba(255,255,255,.22) 33% calc(33% + 1px),transparent calc(33% + 1px) 66%,rgba(255,255,255,.22) 66% calc(66% + 1px),transparent calc(66% + 1px));pointer-events:none}
.nb .camtop{position:absolute;left:0;right:0;top:0;padding:6px 12px 10px;display:flex;align-items:center;gap:8px;background:linear-gradient(rgba(0,0,0,.371),transparent);z-index:3}
.nb .cbtn{width:42px;height:42px;border-radius:50%;border:0;background:rgba(0,0,0,.42);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0}
.nb .cbtn[hidden]{display:none}
.nb .qchip{height:36px;border-radius:18px;border:0;background:rgba(0,0,0,.42);color:#fff;padding:0 13px;font:700 calc(13px * var(--ts)) var(--ui);cursor:pointer;display:none;gap:6px;align-items:center}
.nb .camov.vid .qchip{display:flex}
.nb .rectime{position:absolute;left:50%;top:50px;transform:translateX(-50%);background:rgba(217,83,79,.95);padding:4px 12px;border-radius:14px;font:700 calc(14px * var(--ts)) var(--ui);font-variant-numeric:tabular-nums;display:none;z-index:3;gap:7px;align-items:center}
.nb .camov.recording .rectime{display:flex}
.nb .rectime i{width:8px;height:8px;border-radius:50%;background:#fff;animation:nbp 1s infinite}
.nb .lim{position:absolute;left:50%;top:88px;transform:translateX(-50%);font:600 calc(11.5px * var(--ts)) var(--ui);background:rgba(0,0,0,.45);padding:3px 10px;border-radius:10px;display:none;z-index:3;white-space:nowrap}
.nb .camov.recording .lim{display:block}
@media (prefers-reduced-motion:reduce){.nb .rectime i{animation:none}}
.nb .flash{position:absolute;inset:0;background:#fff;opacity:0;pointer-events:none;z-index:6}
.nb .flash.go{animation:nbfl .35s}
@keyframes nbfl{0%{opacity:.9}100%{opacity:0}}
.nb .camctl{flex:none;background:#000;padding:10px 16px 16px;display:flex;flex-direction:column;gap:12px;align-items:center}
.nb .modes{display:flex;gap:22px;font:700 calc(13px * var(--ts)) var(--ui);letter-spacing:.4px}
.nb .modes button{border:0;background:transparent;color:#aab;font:700 calc(13px * var(--ts)) var(--ui);padding:4px 2px;cursor:pointer;text-transform:uppercase}
.nb .modes button[aria-pressed=true]{color:#FFD84D;border-bottom:2px solid #FFD84D}
.nb .shrow{width:100%;display:flex;align-items:center;justify-content:space-between}
.nb .cthumb{width:46px;height:46px;border-radius:10px;border:2px solid #fff;background:#444 center/cover;overflow:hidden;font:700 calc(12px * var(--ts))/calc(42px * var(--ts)) var(--ui);text-align:center;color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.7)}
.nb .shut{width:70px;height:70px;border-radius:50%;border:4px solid #fff;background:transparent;padding:0;cursor:pointer;display:flex;align-items:center;justify-content:center}
.nb .shut i{display:block;width:54px;height:54px;border-radius:50%;background:#fff;transition:all .15s}
.nb .camov.vid .shut i{background:#E5484D}
.nb .camov.recording .shut i{width:28px;height:28px;border-radius:7px;background:#E5484D}
/* the preview after a photo or a clip */
.nb .prev{position:absolute;inset:0;background:#000;z-index:22;display:none;flex-direction:column;color:#fff}
.nb .prev.on{display:flex}
.nb .prev .vf{background:#000}
.nb .pimg{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:100%;height:100%}
.nb .pimg img,.nb .pimg video{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;background:#000}
.nb .prev.isvid .pimg img{display:none}
.nb .prev:not(.isvid) .pimg video{display:none}
.nb .prev .pl{position:absolute;left:50%;top:calc(50% - 14px);width:64px;height:64px;margin:-32px 0 0 -32px;border-radius:50%;background:rgba(255,255,255,.9);display:none;align-items:center;justify-content:center;color:#1F4FC8;z-index:3;pointer-events:none}
.nb .prev.isvid .pl{display:flex}
.nb .prev.isvid.playing .pl{display:none}
.nb .pinfo{position:absolute;left:12px;right:12px;top:6px;z-index:3;display:flex;gap:8px;flex-wrap:wrap;pointer-events:none}
.nb .pinfo span{background:rgba(0,0,0,.55);padding:4px 10px;border-radius:10px;font:600 calc(12px * var(--ts)) var(--ui);color:#fff;font-variant-numeric:tabular-nums}
.nb .stamp{position:absolute;left:10px;bottom:10px;z-index:3;font:600 calc(11px * var(--ts)) var(--ui);color:#fff;background:rgba(0,0,0,.5);padding:3px 7px;border-radius:6px;display:none}
.nb .pact{flex:none;background:#000;padding:12px 14px 16px;display:flex;flex-direction:column;gap:10px}
.nb .pact .crow{display:flex;gap:10px}
.nb .pb{flex:1;height:46px;border-radius:12px;border:1px solid #556;background:transparent;color:#fff;font:600 calc(14px * var(--ts)) var(--ui);cursor:pointer}
.nb .pb.pri{background:#1F4FC8;border-color:#1F4FC8}
.nb .pb.wait::after{content:"";display:inline-block;width:13px;height:13px;margin-left:8px;vertical-align:-2px;border-radius:50%;border:2px solid rgba(255,255,255,.35);border-top-color:#fff;animation:sp .8s linear infinite}      /* (prompt 364) Use photo waits for the still */
.nb .ctog{display:flex;align-items:center;gap:8px;font:500 calc(12.5px * var(--ts)) var(--ui);color:#cbd;cursor:pointer}      /* (a plain button, as the mockup draws it) */
.nb .ctog i{width:34px;height:20px;border-radius:10px;background:#556;position:relative;flex:none;transition:background .15s}
.nb .ctog i:after{content:"";position:absolute;left:2px;top:2px;width:16px;height:16px;border-radius:50%;background:#fff;transition:left .15s}
.nb .ctog[aria-pressed=true] i{background:#2E9E5F}.nb .ctog[aria-pressed=true] i:after{left:16px}
/* the quality sheet */
.nb .cscrim{position:absolute;inset:0;background:rgba(10,15,30,.5);z-index:30;display:none}.nb .cscrim.on{display:block}
.nb .csheet{position:absolute;left:0;right:0;bottom:0;z-index:31;background:#fff;color:#18202F;border-radius:20px 20px 0 0;padding:8px 16px 18px;transform:translateY(105%);visibility:hidden;transition:transform .22s,visibility 0s .22s}
.nb .csheet.on{transform:none;visibility:visible;transition:transform .22s}
@media (prefers-reduced-motion:reduce){.nb .csheet{transition:none}}
.nb .cgrab{width:38px;height:4px;border-radius:2px;background:#C9D0DD;margin:0 auto 10px}
.nb .csheet h3{margin:0 0 4px;font-size:calc(17px * var(--ts))}.nb .csheet p{margin:0 0 12px;font-size:calc(13px * var(--ts));color:#5b6577;line-height:1.45}
.nb .qopt{display:flex;align-items:center;gap:12px;width:100%;text-align:left;border:1.5px solid #D5DBE7;border-radius:14px;background:#fff;padding:11px 12px;margin-bottom:8px;cursor:pointer;color:#18202F}
.nb .qopt[aria-checked=true]{border-color:#1F4FC8;background:#F1F5FF}
.nb .qopt .rd{width:20px;height:20px;border-radius:50%;border:2px solid #A9B3C6;flex:none;position:relative}
.nb .qopt[aria-checked=true] .rd{border-color:#1F4FC8}.nb .qopt[aria-checked=true] .rd:after{content:"";position:absolute;inset:3px;border-radius:50%;background:#1F4FC8}
.nb .qopt b{display:block;font-size:calc(15px * var(--ts))}.nb .qopt small{font-size:calc(12px * var(--ts));color:#5b6577}
.nb .qopt .mb2{margin-left:auto;font:700 calc(12px * var(--ts)) var(--ui);color:#1F4FC8;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.nb .csheet .qdone{width:100%;height:46px;border-radius:12px;border:0;background:#1F4FC8;color:#fff;font:600 calc(15px * var(--ts)) var(--ui);cursor:pointer;margin-top:4px}
.nb .note2{font-size:calc(12px * var(--ts));color:#5b6577;margin:2px 0 10px;line-height:1.4}
/* the menu of a video in the page, the toast with Undo, the "Allow the camera?" box, the full-screen player */
.nb .cpm{position:absolute;z-index:32;background:#fff;color:#18202F;border-radius:14px;box-shadow:0 8px 28px rgba(0,0,0,.3);padding:6px;display:none;min-width:170px}
.nb .cpm.on{display:block}
.nb .cpm button{display:flex;gap:10px;align-items:center;width:100%;border:0;background:transparent;padding:11px 12px;font:600 calc(14px * var(--ts)) var(--ui);color:#18202F;border-radius:10px;cursor:pointer;text-align:left}
.nb .cpm button:active{background:#EEF2FA}.nb .cpm .dng{color:#C0392B}
.nb .ctoast{position:absolute;left:14px;right:14px;bottom:80px;z-index:40;background:#1d2433;color:#fff;border-radius:12px;padding:11px 14px;font:500 calc(13.5px * var(--ts)) var(--ui);display:none;align-items:center;gap:10px}
.nb .ctoast.on{display:flex}.nb .ctoast span{flex:1}.nb .ctoast button{border:0;background:transparent;color:#8fb0ff;font:700 calc(13px * var(--ts)) var(--ui);cursor:pointer}
.nb .cperm{position:absolute;inset:0;z-index:26;background:rgba(0,0,0,.6);display:none;align-items:center;justify-content:center;padding:26px}
.nb .cperm.on{display:flex}
.nb .cpbox{background:#fff;color:#18202F;border-radius:18px;padding:18px;width:100%}
.nb .cpbox h3{margin:0 0 6px;font-size:calc(16px * var(--ts))}.nb .cpbox p{margin:0 0 14px;font-size:calc(13px * var(--ts));color:#5b6577;line-height:1.45}
.nb .cpbox .crow{display:flex;gap:8px}.nb .cpbox button{flex:1;height:42px;border-radius:12px;border:1px solid #D5DBE7;background:#fff;font:600 calc(14px * var(--ts)) var(--ui);cursor:pointer;color:#000}.nb .cpbox button.p{background:#1F4FC8;border-color:#1F4FC8;color:#fff}
.nb .vplay{position:absolute;inset:0;z-index:50;background:#000;display:none;align-items:center;justify-content:center}.nb .vplay.on{display:flex}
.nb .vplay video{width:100%;max-height:100%;background:#000}
.nb .vplay .cbtn{position:absolute;left:12px;top:12px;z-index:2}
.nb .vplay .cvconv{position:absolute;left:16px;right:16px;bottom:24px;z-index:2;background:rgba(20,20,24,.92);color:#fff;border-radius:14px;padding:14px 16px;font-size:15px;line-height:1.35;text-align:center}
.nb .vplay .cvconv button{margin-top:10px;min-height:44px;padding:0 22px;border:0;border-radius:22px;background:#2f6bff;color:#fff;font:inherit;font-weight:600}.nb .vplay .cvconv button[disabled]{opacity:.6}
/* a video in the page (the mockup's media block) */
.nb .vblk{position:relative;margin:6px 0 8px;width:190px;border-radius:10px;overflow:hidden;box-shadow:0 2px 8px rgba(40,30,0,.35);cursor:pointer;background:#222;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.nb .vblk video{display:block;width:100%;aspect-ratio:300/220;object-fit:cover;background:#222;pointer-events:none}
.nb .vblk.miss video{visibility:hidden}
.nb .vblk .vbadge{position:absolute;left:6px;bottom:6px;background:rgba(0,0,0,.62);color:#fff;font:600 calc(11px * var(--ts)) var(--ui);padding:3px 7px;border-radius:8px;display:flex;gap:5px;align-items:center;font-variant-numeric:tabular-nums}
.nb .vblk .vpbtn{position:absolute;left:50%;top:50%;width:46px;height:46px;margin:-23px 0 0 -23px;border-radius:50%;background:rgba(255,255,255,.92);display:flex;align-items:center;justify-content:center;color:#1F4FC8}
.nb .vblk .vup{position:absolute;right:6px;top:6px;background:#fff;color:#1F4FC8;font:700 calc(10.5px * var(--ts)) var(--ui);padding:3px 7px;border-radius:8px}
.nb .vblk .vup[hidden]{display:none}
.nb .vblk .vup.ok{color:#2E7D4F}
.nb .vblk .vbar{position:absolute;left:0;bottom:0;height:3px;background:#1F4FC8;width:0;transition:width .25s}

/* install first screen */
.center.inst{justify-content:flex-start;overflow-y:auto;padding:16px}
.instbox{margin:auto;display:flex;flex-direction:column;align-items:center;gap:12px;width:100%;max-width:360px;padding:8px 0}
.inst h1{font-size:calc(26px * var(--ts));line-height:1.2}
.inst .logo{object-fit:contain;border-radius:0}
.inst .btn{max-width:none;min-height:48px;font-size:calc(17px * var(--ts))}
.inst .btn[disabled]{opacity:.6;cursor:default}
.linkbtn{background:none;border:0;color:var(--blue);font:600 calc(15px * var(--ts)) var(--font);min-height:44px;padding:0 12px;text-decoration:underline}
.steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px;width:100%;text-align:left;font-size:calc(14.5px * var(--ts));line-height:1.4;color:var(--ink2)}
.steps li{display:flex;align-items:center;gap:10px;background:var(--blue-soft);border:1px solid var(--blue-edge);border-radius:12px;padding:10px 12px}
.steps .n{flex:none;width:22px;height:22px;border-radius:50%;background:var(--blue);color:#fff;font-weight:700;font-size:calc(13px * var(--ts));display:flex;align-items:center;justify-content:center}
.steps .si{flex:none;color:var(--blue)}
.inst .hint{font-size:calc(13px * var(--ts));max-width:none}
.note-box .steps{margin-top:8px}
.note-box+.btn{margin-top:10px}
@media (orientation:landscape) and (max-height:500px){.inst .logo{width:48px;height:48px}.inst h1{font-size:calc(22px * var(--ts))}}
/* install page, installed, sign-in, Set up, "Let your alarms ring" and the computer page (prompt 98; the mockup claude.ai/artifact/NQnutMsmSyVgcjWx6fQAgo) */
.inst .fine{font-size:calc(12px * var(--ts));color:var(--muted);line-height:1.45;max-width:34ch}
.inst .btn svg{flex:none}
.inst .steps li:first-child{background:#fff;box-shadow:0 0 0 2px var(--blue)}
.car{width:100%;display:flex;gap:10px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;border-radius:16px;overscroll-behavior-x:contain}
.car::-webkit-scrollbar{display:none}
.car .slide{flex:0 0 100%;scroll-snap-align:center;scroll-snap-stop:always;border-radius:16px;background:var(--blue-soft);border:1px solid #DCE5F8;padding:14px;display:flex;flex-direction:column;gap:8px;text-align:left}
.car .slide>b{font-size:calc(15px * var(--ts));color:var(--ink)}
.car .slide>span{font-size:calc(13px * var(--ts));color:var(--ink2);line-height:1.4}
.car .ill{height:150px;border-radius:12px;overflow:hidden;position:relative;flex:none}
.car .pap{background:#FFF3B0 repeating-linear-gradient(transparent 0 23px,#E8D98A 23px 24px);padding:8px 12px 0 30px;font-family:var(--hand);font-size:calc(19px * var(--ts));color:#2B2B2B;line-height:calc(24px * var(--ts))}
.car .pap::before{content:"";position:absolute;left:22px;top:0;bottom:0;width:1px;background:#E3A0A0}
.car .pap .cb{display:inline-block;width:13px;height:13px;border:2px solid #333;border-radius:3px;margin-right:6px;vertical-align:-1px}
.car .pap .cb.x{background:#333;box-shadow:inset 0 0 0 2px #FFF3B0}
.car .pap .s{text-decoration:line-through;color:#777}
.car .pap .sm{font-size:calc(16px * var(--ts))}
.car .pap .ph{position:absolute;right:12px;top:30px;width:62px;height:48px;border-radius:6px;background:linear-gradient(135deg,#9CC3E8,#5C8FC9);box-shadow:0 2px 6px rgba(0,0,0,.2)}
.car .fil{background:#fff;display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:10px}
.car .fil div{border:1.5px dashed #C8D1E0;border-radius:10px;padding:6px;display:flex;flex-direction:column;gap:4px;font-size:calc(10.5px * var(--ts));font-weight:600;min-width:0;color:var(--ink)}
.car .fil em{font-style:normal;align-self:flex-start;font-size:calc(9px * var(--ts));font-weight:600;padding:1px 6px;border-radius:999px;background:var(--green-bg);color:var(--green)}
.car .fil s{display:block;height:28px;border-radius:6px;text-decoration:none}
.car .fil .f1{background:linear-gradient(135deg,#F2B880,#D9734E)}.car .fil .f2{background:linear-gradient(135deg,#C9D9F2,#7E9FD6)}.car .fil .f3{background:#EEF1F6}.car .fil .f4{background:linear-gradient(135deg,#CFE8D6,#6FB287)}
.car .alm{background:#16224A;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:#fff}
.car .alm .t{font-size:calc(34px * var(--ts));font-weight:300;letter-spacing:.02em;font-variant-numeric:tabular-nums}
.car .alm .n{background:rgba(255,255,255,.95);color:var(--ink);border-radius:14px;padding:8px 10px;width:84%;display:flex;gap:8px;align-items:center;font-size:calc(11.5px * var(--ts));text-align:left;animation:almring 2.4s ease-in-out infinite}
.car .alm .n img{width:26px;height:26px;border-radius:7px;flex:none}
@keyframes almring{0%,70%,100%{transform:translateX(0)}74%{transform:translateX(-3px)}78%{transform:translateX(3px)}82%{transform:translateX(-2px)}86%{transform:translateX(2px)}}
.cdots{display:flex;justify-content:center;margin-top:-6px}
.cdots button{width:26px;height:26px;border:0;background:none;padding:0;display:flex;align-items:center;justify-content:center}
.cdots button::before{content:"";width:7px;height:7px;border-radius:4px;background:#C9D3EA;transition:width .2s}
.cdots button.on::before{background:var(--blue);width:18px}
.iarrow{position:fixed;z-index:5;width:0;height:0;border:10px solid transparent;pointer-events:none}
.iarrow.down{left:50%;margin-left:-10px;bottom:calc(6px + env(safe-area-inset-bottom,0px));border-top:14px solid var(--blue);border-bottom:0;animation:iadown 1s ease-in-out infinite}
.iarrow.up{right:20px;top:calc(4px + env(safe-area-inset-top,0px));border-bottom:14px solid var(--blue);border-top:0;animation:iaup 1s ease-in-out infinite}
@keyframes iadown{50%{transform:translateY(6px)}}
@keyframes iaup{50%{transform:translateY(-6px)}}
.center.inst:has(+.iarrow.down){padding-bottom:34px}
.center.inst:has(+.iarrow.up){padding-top:30px}
.ihome{width:196px;border-radius:22px;padding:16px 14px;background:linear-gradient(170deg,#3C4C7A,#7C6F96 60%,#C69B8A);display:grid;grid-template-columns:repeat(4,1fr);gap:12px 8px;justify-items:center}
.ihome s{display:block;width:34px;height:34px;border-radius:10px;background:rgba(255,255,255,.25)}
.ihome .ip img{display:block;width:34px;height:34px;border-radius:10px;box-shadow:0 0 0 3px rgba(255,255,255,.9),0 0 16px 4px rgba(255,255,255,.55);animation:ipglow 1.6s ease infinite}
@keyframes ipglow{50%{box-shadow:0 0 0 3px rgba(255,255,255,.9),0 0 6px 1px rgba(255,255,255,.3)}}
#app.night{background:#0F2D6E}
.sgn{flex:1;min-height:0;overflow-y:auto;display:flex;flex-direction:column;background:var(--card)}
.sgn .hero{flex:none;background:#0F2D6E;color:#fff;border-radius:0 0 28px 28px;padding:32px 20px 30px;display:flex;flex-direction:column;align-items:center;gap:10px}
.sgn .hero img{width:64px;height:64px;border-radius:16px;display:block}
.sgn .hero h2{margin:0;font-size:calc(24px * var(--ts));font-weight:800;letter-spacing:-.02em}
.sgn .card{flex:1 0 auto;width:100%;max-width:420px;margin:0 auto;display:flex;flex-direction:column;align-items:center;gap:14px;padding:26px 20px calc(24px + env(safe-area-inset-bottom,0px))}
.sgn .card h1{margin:0;font-size:calc(22px * var(--ts));font-weight:700;color:var(--ink);text-align:center}
.sgn .msg{width:100%}
.gbtn{width:100%;min-height:52px;border-radius:12px;border:1px solid #DADCE0;background:#fff;color:#1F1F1F;font:600 calc(15px * var(--ts)) var(--font);display:flex;align-items:center;justify-content:center;gap:10px}
.gbtn svg{flex:none}
.gbtn:active{background:#F4F6FA}
.nogmail{margin-top:-6px;font-size:calc(12px * var(--ts));line-height:1.4;color:#6B7480;text-decoration:underline}
button.nogmail{background:none;border:0;padding:0;font:inherit;font-size:calc(12px * var(--ts));line-height:1.4;color:#6B7480;text-decoration:underline;cursor:pointer;white-space:nowrap;min-height:40px;margin-block:-17px -11px}
.trust{list-style:none;margin:4px 0 0;padding:0;width:100%;display:flex;flex-direction:column;gap:8px}
.trust li{display:flex;gap:10px;align-items:flex-start;font-size:calc(13px * var(--ts));color:var(--ink2);line-height:1.4}
.trust li::before{content:"";flex:none;margin:3px 4px 0;width:6px;height:10px;border:solid var(--green);border-width:0 2px 2px 0;transform:rotate(45deg)}
.frun .prog{list-style:none;margin:0;padding:14px 18px 2px;display:flex;gap:8px;flex:none}
.frun .prog li{flex:1;min-width:0;display:flex;flex-direction:column;gap:5px;font-size:calc(11px * var(--ts));font-weight:600;color:#8A94A6}
.frun .prog i{display:block;height:4px;border-radius:2px;background:#DCE3F1}
.frun .prog li.done,.frun .prog li.on{color:var(--blue)}
.frun .prog li.done i,.frun .prog li.on i{background:var(--blue)}
.frun .choice{width:100%;border:1.5px solid #D5DBE7;border-radius:14px;padding:14px;display:flex;gap:12px;align-items:flex-start;text-align:left;background:#fff;color:#18202F;font-family:var(--ui)}
.frun button.choice:active{border-color:var(--blue);background:var(--blue-soft)}
.frun .choice .ci{flex:none;width:38px;height:38px;border-radius:10px;background:var(--blue-soft);color:var(--blue);display:flex;align-items:center;justify-content:center}
.frun .choice>span:last-child{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.frun .choice b{font-size:calc(14.5px * var(--ts))}
.frun .choice small{font-size:calc(12.5px * var(--ts));line-height:1.45;color:#5b6577}
.frun .choice .big{margin-top:8px;width:100%}
.frun button.lnk{border:0;background:none;font-family:var(--ui);min-height:44px}
.pcblock{flex:1;min-height:0;overflow:auto;display:flex;background:linear-gradient(180deg,#fff,#F4F7FE);-webkit-user-select:text;user-select:text}
.pcin{margin:auto;padding:40px 28px;display:flex;flex-wrap:wrap;gap:32px;align-items:center;justify-content:center;max-width:860px}
.pcl{flex:1 1 260px;max-width:360px;min-width:0;display:flex;flex-direction:column;gap:12px}
.pcl .logo{width:56px;height:56px;object-fit:contain}
.pcl h1{margin:0;font-size:calc(28px * var(--ts));line-height:1.15;letter-spacing:-.02em;color:var(--ink)}
.pcl p{margin:0;color:var(--muted);font-size:calc(15px * var(--ts));line-height:1.5}
.pcbox{border-top:1px solid var(--line);padding-top:12px;display:flex;flex-direction:column;gap:8px;font-size:calc(14px * var(--ts))}
.pcbox span{color:var(--muted);font-size:calc(13.5px * var(--ts))}
.pcbox .btn{align-self:flex-start;text-decoration:none;min-height:42px;padding:0 16px}
.qr{flex:none;background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px;display:flex;flex-direction:column;align-items:center;gap:8px;box-shadow:0 6px 20px rgba(31,79,200,.12)}
.qr svg{width:184px;height:184px;display:block}
.qr b{font-size:calc(13px * var(--ts))}
.qr span{font-size:calc(12px * var(--ts));color:var(--blue);font-weight:600}
@media (orientation:landscape) and (max-height:500px){.car .ill{height:110px}.sgn .hero{flex-direction:row;justify-content:center;padding:12px 20px 14px;border-radius:0 0 20px 20px}.sgn .hero img{width:40px;height:40px;border-radius:10px}.sgn .card{padding-top:14px;gap:10px}}
@media (prefers-reduced-motion:reduce){.iarrow.down,.iarrow.up,.car .alm .n,.ihome .ip img{animation:none}.cdots button::before{transition:none}}
.content>*{flex-shrink:0}
.content{background:var(--card)}
#app.editing .tabbar,#app.editing .homebar{display:none}
.scrim{z-index:1}
.sheet{z-index:2}
.viewer{z-index:2}
.homebar{z-index:3}
.fab{z-index:1}

/* first-run screens (docs/first-run-mockup.html, the phone on the left): the Welcome screen and the empty Files screen. Same rules as the mockup, under .fx */
.fx{--ui:'Figtree',system-ui,sans-serif;flex:1;min-height:0;display:flex;flex-direction:column;background:#fff;color:#18202F;font-family:var(--ui)}
.fx .appbar{height:48px;flex:none;display:flex;align-items:center;gap:8px;padding:0 14px}.fx .appbar b{font-size:calc(17px * var(--ts));font-weight:700}.fx .appbar img{width:26px;height:26px}
.fx .appbar small{font-size:calc(11px * var(--ts));color:#5b6577}
.fx .stor{margin-left:auto;width:54px;height:6px;border-radius:3px;background:#DDE3EE;overflow:hidden}.fx .stor i{display:block;height:100%;background:#1F4FC8}
.fx .body{flex:1;min-height:0;overflow:auto;padding:8px 18px 18px;display:flex;flex-direction:column;gap:14px}.fx .body::-webkit-scrollbar{display:none}
.fx .body>*{flex-shrink:0}
.fx .body h4{font-size:calc(22px * var(--ts));margin:6px 0 0;font-weight:700}.fx .body p{margin:0;font-size:calc(14px * var(--ts));line-height:1.5;color:#3D4652}
.fx .acct{display:flex;gap:10px;align-items:center;border:1px solid #D5DBE7;border-radius:12px;padding:10px 12px;font-size:calc(13px * var(--ts))}
.fx .av{width:30px;height:30px;border-radius:50%;background:#1F4FC8;color:#fff;font:600 calc(13px * var(--ts)) var(--ui);display:flex;align-items:center;justify-content:center;flex:none}
.fx .big{min-height:52px;border-radius:12px;border:1px solid #D5DBE7;background:#fff;font:600 calc(15px * var(--ts)) var(--ui);color:#18202F;cursor:pointer;padding:0 14px;display:flex;align-items:center;justify-content:center;gap:8px;text-align:center}.fx .big.p{background:#1F4FC8;border-color:#1F4FC8;color:#fff}
.fx .opt{border:1px solid #D5DBE7;border-radius:14px;padding:14px;display:flex;flex-direction:column;gap:10px}.fx .opt small{font-size:calc(12.5px * var(--ts));line-height:1.45;color:#5b6577}
.fx .lnk{font-size:calc(13px * var(--ts));color:#1F4FC8;text-align:center;font-weight:600;cursor:pointer;padding:8px}
.fx .ban{display:flex;gap:10px;align-items:flex-start;background:#EEF3FF;border:1px solid #C9D6F5;border-radius:12px;padding:12px;font-size:calc(13px * var(--ts));line-height:1.45}.fx .ban b{display:block;font-size:calc(14px * var(--ts));margin-bottom:2px}.fx .ban .x{margin-left:auto;border:0;background:transparent;font-size:calc(18px * var(--ts));color:#5b6577;cursor:pointer;line-height:1;padding:1px 6px;font-family:Arial,sans-serif}
.fx .bt{min-height:40px;padding:0 14px;border-radius:8px;border:1px solid #C9D3E3;background:#fff;color:#1B1F24;font:600 calc(13px * var(--ts)) var(--ui);cursor:pointer}.fx .bt.p{background:#1F4FC8;color:#fff;border-color:#1F4FC8}
.fx .empty{text-align:center;color:#5b6577;font-size:calc(13.5px * var(--ts));line-height:1.5;padding:22px 10px;border:2px dashed #D5DBE7;border-radius:14px;background:none}.fx .empty b{display:block;color:#18202F;font-size:calc(16px * var(--ts));margin-bottom:4px;font-weight:700}

/* Attach to note (docs/phone-attach-mockup.html, screens 3 to 5): the Files grid in picking mode, and a link to a library file inside the page. The Files grid itself is untouched: the picker only adds the tick circle. */
.pickov{position:absolute;inset:0;z-index:30;background:#fff;display:flex;flex-direction:column;padding-top:env(safe-area-inset-top,0px)}
.pickov .phint{flex:none;margin:0 14px 8px;font-size:calc(12.5px * var(--ts));line-height:1.4;color:var(--muted)}
.pickov .phint b{color:var(--ink)}
.pickov .content{padding-bottom:14px}
.pickov .pbar{flex:none;border-top:1px solid #E3E7F0;padding:10px 14px 14px;display:flex;align-items:center;gap:10px;background:#fff}
.pickov .pbar span{flex:1;font-size:calc(13px * var(--ts));color:var(--muted)}
.pickov .pbar .btn{height:44px;min-height:44px;border-radius:12px;padding:0 18px;border-color:var(--blue)}
.pickov .pbar .btn[disabled]{opacity:.4}
.item.pk{position:relative;cursor:pointer}
.item.pk[aria-disabled=true]{cursor:default}
.item.pk .tk{position:absolute;right:6px;top:6px;z-index:1;width:24px;height:24px;border-radius:50%;border:2px solid #A9B3C6;background:#fff;color:#fff;display:flex;align-items:center;justify-content:center}
.item.pk .tk svg{width:16px;height:16px;opacity:0}
.item.pk.sel{box-shadow:0 0 0 2px var(--blue)}
.item.pk.sel .tk{background:var(--blue);border-color:var(--blue)}
.item.pk.sel .tk svg{opacity:1}
.item.hi{box-shadow:0 0 0 3px var(--blue)}

.nb .fblk{position:relative;margin:6px 0 8px;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;cursor:pointer}
.nb .fpic,.nb .fvid{width:min(190px,100%);border-radius:10px;overflow:hidden;box-shadow:0 2px 8px rgba(40,30,0,.35);background:#222}
.nb .fpic{min-height:62px;background:#F2F4F7;color:#9AA3B0;display:flex;align-items:center;justify-content:center}
.nb .fpic svg{width:28px;height:28px}
.nb .fpic img{display:block;width:100%;height:auto}
.nb .fpic.miss img{display:none}
.nb .flnk{position:absolute;right:6px;bottom:6px;background:rgba(0,0,0,.6);color:#fff;font:700 calc(10.5px * var(--ts)) var(--ui);padding:3px 7px;border-radius:8px}
.nb .fvid video{display:block;width:100%;aspect-ratio:300/220;object-fit:cover;background:#222;pointer-events:none}
.nb .fvid .vbadge{position:absolute;left:6px;bottom:6px;background:rgba(0,0,0,.62);color:#fff;font:600 calc(11px * var(--ts)) var(--ui);padding:3px 7px;border-radius:8px;display:flex;gap:5px;align-items:center;font-variant-numeric:tabular-nums}
.nb .fvid .vpbtn{position:absolute;left:50%;top:50%;width:46px;height:46px;margin:-23px 0 0 -23px;border-radius:50%;background:rgba(255,255,255,.92);display:flex;align-items:center;justify-content:center;color:#1F4FC8}
.nb .fvid .flnk{bottom:auto;top:6px}
.nb .fcard{display:flex;align-items:center;gap:12px;padding:10px 12px;width:min(100%,260px);border-radius:12px;background:#fffdf4;box-shadow:0 2px 8px rgba(40,30,0,.3)}
.nb .fcard .fic{width:40px;height:44px;border-radius:8px;background:#EAF0FF;color:#1F4FC8;display:flex;align-items:center;justify-content:center;flex:none;font:700 calc(10px * var(--ts)) var(--ui);overflow:hidden;position:relative}
.nb .fcard .fic img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.nb .fcard b{display:block;font:600 calc(13.5px * var(--ts)) var(--ui);color:#18202F;word-break:break-all}
.nb .fcard small{display:block;font:500 calc(12px * var(--ts)) var(--ui);color:#6b6540}
.nb .fcard.miss{background:#F6F0F0}.nb .fcard.miss .fic{background:#F3DEDC;color:#B3261E}
.nb .fcard.pc small{color:#8a8470}
.nb .fopt{display:flex;align-items:center;gap:12px;width:100%;text-align:left;border:1.5px solid #D5DBE7;border-radius:14px;background:#fff;padding:11px 12px;margin-bottom:8px;cursor:pointer;color:#18202F}
.nb .fopt:last-child{margin-bottom:0}
.nb .fopt b{display:block;font-size:calc(15px * var(--ts))}.nb .fopt small{font-size:calc(12px * var(--ts));color:#5b6577}
.nb .fopt.dng{color:#C0392B}
.nb #shFile p{margin:0 0 12px;font-size:calc(13px * var(--ts));color:#5b6577;line-height:1.45}
.nb #shFile h3{margin:0 0 4px;font-size:calc(17px * var(--ts));overflow-wrap:anywhere}
.nb .menu button[hidden]{display:none}
.nb .cpm button[hidden],.nb .fopt[hidden]{display:none}
.nb .card,.nb .pic{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}
.nb #nbody>.lift{position:relative;z-index:5;opacity:.82;transition:none;pointer-events:none}
.nb .ndrop{position:absolute;height:3px;margin-top:-1.5px;border-radius:2px;background:#1F4FC8;box-shadow:0 0 0 2px rgba(31,79,200,.18);z-index:6;pointer-events:none}
.nb .ndrop[hidden]{display:none}
.nb .card.rowc.done{opacity:.55}
.nb .tx .np-lk{cursor:pointer}
.nb .lkpop{max-width:280px}
.nb .lkpop .lkaddr.gone{color:#8B8F98}
/* "Link to note": next to the selection's alarm button; the sheet with the pages; "Back to" under the top bar after a link opened a page */
.nb .nlsheet{display:flex;flex-direction:column;max-height:72%;transition:transform .22s,visibility 0s .22s;visibility:hidden}.nb .nlsheet.on{visibility:visible;transition:transform .22s}      /* closed: none of it (its shadow, its search box) is left at the bottom edge */
.nb .nlq{height:44px;border:1.5px solid #D5DBE7;border-radius:12px;padding:0 12px;font:500 max(16px, calc(16px * var(--ts))) var(--ui);color:#18202F;outline:none;margin-bottom:8px;flex:none}.nb .nlq:focus{border-color:#1F4FC8}
.nb .nlrows{flex:1;min-height:0;overflow:auto;margin:0 -6px}
.nb .nlr{display:flex;align-items:center;gap:10px;width:100%;border:0;background:transparent;padding:11px 10px;border-radius:10px;font:500 calc(14px * var(--ts)) var(--ui);color:#18202F;cursor:pointer;text-align:left}
.nb .nlr b{flex:1;min-width:0;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nb .nlr small{color:#5b6577;font-size:calc(12px * var(--ts));white-space:nowrap}
.nb .nlr:active{background:#E8EDF8}.nb .nlr[aria-selected=true]{background:#E8EEFD;color:#163C9A}.nb .nlr[aria-selected=true] b::after{content:" \2713"}
.nb .nlr.nlnew{color:#1F4FC8;font-weight:600;border-top:1px solid #E3E7F0;border-radius:0}
.nb .nlnone{padding:10px;color:#5b6577;font:500 calc(13px * var(--ts)) var(--ui)}
.nb .nlrm{margin-top:10px;justify-content:center;color:#A12C2C;flex:none}
/* (prompt 269) "Save to which page?" for a share from another app: Link to note's sheet, over the whole app (a page open or not) */
.nb.nspick{position:absolute;inset:0;z-index:40;flex:none;background:transparent}
.nb .spwhat{margin:-6px 0 10px;color:#5b6577;font:500 calc(12.5px * var(--ts)) var(--ui);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nb .sptag{flex:none;font:600 calc(10.5px * var(--ts)) var(--ui);font-style:normal;color:#163C9A;background:#E8EEFD;border-radius:8px;padding:2px 7px}
.nb .spcancel{margin-top:10px;justify-content:center;flex:none}
.nb .nbk{position:absolute;top:60px;left:50%;transform:translateX(-50%);z-index:5;height:30px;max-width:calc(100% - 32px);padding:0 14px;border-radius:15px;border:1.5px solid #1F4FC8;background:#fff;color:#1F4FC8;font:600 calc(13px * var(--ts)) var(--ui);box-shadow:0 2px 10px rgba(0,0,0,.2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}
.nb .lkpop .lkaddr{padding:8px 10px 6px;font:500 calc(12.5px * var(--ts)) var(--ui);color:#5b6577;overflow-wrap:anywhere;border-bottom:1px solid #E3E7F0;margin-bottom:4px}
.nb .fpic.on svg{display:none}
.pickov .appbar,.pickov .phint,.pickov .pbar,.pickov .pbar .btn{font-family:'Figtree',system-ui,sans-serif}
.pickov .appbar{padding:10px 14px 6px;gap:8px}
.pickov .appbar .name{font-size:calc(19px * var(--ts));font-weight:700;letter-spacing:0;flex:1}
.pickov .appbar .back{color:#2b3447}
.pickov .phint,.pickov .phint b{color:#5b6577}
.pickov .pbar span{color:#5b6577}
.pickov .pbar .btn{border:0;background:#1F4FC8;color:#fff;font-size:calc(14px * var(--ts));font-weight:600}
.nb .menu #mAttach{padding:11px 12px;font-weight:600}.nb .menu #mAttach svg{width:18px;height:18px}
.item.pk .nm{margin-right:26px}

/* ---------- the Calendar tab (docs/calendar-mockup.html, "Phone: Calendar tab"); the colours are the mockup's ---------- */
.tab{min-width:0;white-space:nowrap}
.calv{--accent:#3B4CC0;--accentSoft:#E7EAFB;--cline:#E2E6EC;--cline2:#D5DBE3;--cink2:#3D4652;--cink3:#5B6573;--alarm:#9A5B00;--alarmSoft:#FFF3DC;--alarmLine:#F0D49A;
  --google:#1E7A4C;--googleLine:#BFE0CD;--paper:#FBF1B0;--paperLine:#E6D98C;--hand:Caveat,"Segoe Print","Comic Sans MS",cursive;flex:1;min-height:0;display:flex;flex-direction:column;position:relative}
.calv .calbar{padding:14px 16px 10px}
.calv .calbar .name{font-size:calc(20px * var(--ts))}
.calv .calbar .name.dayt{font-size:calc(17px * var(--ts));margin-left:4px}
.calv .calbar .sp{flex:1}
.calv .cbtn,#calsheet .cbtn{min-height:30px;padding:0 10px;border:1px solid var(--cline2,#D5DBE3);background:#fff;border-radius:8px;font:600 calc(12px * var(--ts)) var(--font);color:var(--ink);display:inline-flex;align-items:center}
.calv .cib{width:32px;height:30px;border:0;background:transparent;color:var(--cink2);display:flex;align-items:center;justify-content:center;padding:0}
.calv .calbody{padding:0 14px 90px;gap:10px}
.pseg{display:flex;background:#F2F4F7;border-radius:10px;padding:3px;flex:none}
.pseg div{flex:1;text-align:center;font-size:calc(13px * var(--ts));font-weight:600;padding:7px 0;border-radius:8px;color:var(--cink2)}
.pseg div.on{background:#fff;color:var(--accent);box-shadow:0 1px 2px rgba(0,0,0,.1)}
.pday{display:flex;flex-direction:column;gap:6px;flex:none}
.pday .d{font-size:calc(13px * var(--ts));font-weight:700;color:var(--cink2)}
.pday .d.today{color:var(--accent)}
.pitem{display:flex;gap:10px;align-items:center;border:1px solid var(--cline);border-radius:12px;padding:9px 11px;font-size:calc(13.5px * var(--ts));background:#fff;flex:none}
.pitem .t{font-size:calc(12px * var(--ts));color:var(--cink3);width:60px;white-space:nowrap;flex:none;font-variant-numeric:tabular-nums}
.pitem .w{flex:1;min-width:0;overflow-wrap:anywhere}
.pitem.al{background:var(--alarmSoft);border-color:var(--alarmLine)}
.pitem.go{border-color:var(--googleLine)}
.pitem.ev{background:#F7F8FE;border-color:#D6DBF6}
.pitem.ev.rose{background:#FDF3F5;border-color:#F2C9D3}.pitem.ev.green{background:#F3FAF6;border-color:#C9E6D5}.pitem.ev.amber{background:#FFF8EE;border-color:#F3D9B5}
.pitem.nt{background:var(--paper);border-color:var(--paperLine);font-family:var(--hand);font-size:calc(18px * var(--ts))}
.pitem.sh{border:1px dashed #9CCBB0;color:#1D5E3C}
span.ro{font-size:calc(10px * var(--ts));font-weight:700;color:#1E7A4C;border:1px solid #BFE0CD;border-radius:999px;padding:1px 6px;margin-left:6px;vertical-align:1px;white-space:nowrap;font-family:var(--font)}
.cempty{font-size:calc(12.5px * var(--ts));color:var(--cink3);padding:2px 2px 6px}
.cmore{height:1px;flex:none}
.calv .cfab{background:var(--accent);bottom:16px;width:56px;height:56px;box-shadow:0 6px 16px rgba(59,76,192,.35)}
.mhead{display:flex;justify-content:space-between;align-items:center;flex:none}.mhead b{font-size:calc(16px * var(--ts))}
.mhead .nav{display:flex;gap:4px}.mhead .nav button{border:0;background:transparent;color:var(--cink3);font-size:calc(20px * var(--ts));min-width:36px;min-height:32px;padding:0}
.pgrid{display:grid;grid-template-columns:repeat(7,1fr);gap:2px;text-align:center;flex:none}
.pgrid .w{font-size:calc(11px * var(--ts));color:var(--cink3);font-weight:600;padding:4px 0}
.pgrid .c{height:42px;font-size:calc(13px * var(--ts));border-radius:8px;display:flex;flex-direction:column;align-items:center;gap:3px;padding-top:4px;box-sizing:border-box}
.pgrid .c.out{color:#B3BAC5}
.pgrid .c.today b{background:var(--accent);color:#fff;border-radius:999px;padding:0 6px}
.pgrid .c.sel{background:var(--accentSoft)}
.dots{display:flex;gap:2px}.dots i{width:5px;height:5px;border-radius:50%}
.calv .paper{background:var(--paper);border-radius:8px;padding:8px 12px 10px 26px;font-family:var(--hand);font-size:calc(18px * var(--ts));line-height:calc(28px * var(--ts));color:#2B2A20;background-image:repeating-linear-gradient(transparent 0 27px,var(--paperLine) 27px 28px);position:relative;box-shadow:0 1px 3px rgba(0,0,0,.08);flex:none;overflow-wrap:anywhere}
.calv .paper::before{content:"";position:absolute;left:16px;top:0;bottom:0;width:1px;background:#E79B8C}
.calv .paper .ph{opacity:.55}
.calv .grp{display:flex;flex-direction:column;gap:6px;flex:none}
.calv .gh{font-size:calc(11px * var(--ts));font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--cink3)}
.calv .gcal{font:600 calc(12.5px * var(--ts)) var(--font);color:#1E7A4C;background:none;border:0;padding:2px 0;text-align:left;align-self:flex-start}
.calv .sres{display:flex;flex-direction:column;gap:6px}
.calv .sr{display:grid;grid-template-columns:110px 1fr;gap:8px;border:1px solid var(--cline);border-radius:12px;padding:9px 11px;font-size:calc(13.5px * var(--ts))}
.calv .sr b{font-size:calc(12px * var(--ts));color:var(--cink3)}.calv .sr small{display:block;color:var(--cink3);font-size:calc(12px * var(--ts));overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#calsheet{position:absolute;inset:0;z-index:40}
#calsheet .dim{position:absolute;inset:0;background:rgba(20,25,35,.35)}
#calsheet .csheet{gap:7px;padding:8px 14px 14px;border-radius:20px 20px 0 0;box-shadow:0 -8px 30px rgba(0,0,0,.18)}
#calsheet .grab{width:40px;height:4px;background:#D0D5DD;border-radius:4px;margin:0 auto 4px;flex:none}
#calsheet .sht{font-size:calc(17px * var(--ts))}
#calsheet .sub{font-size:calc(12.5px * var(--ts));color:#5B6573}
#calsheet .f{display:flex;flex-direction:column;gap:4px;min-width:0}
#calsheet .f label{font-size:calc(11.5px * var(--ts));color:#5B6573;font-weight:600}
#calsheet .in{border:1px solid #D5DBE3;border-radius:10px;padding:7px 10px;font:max(16px, calc(16px * var(--ts))) var(--font);color:var(--ink);background:#fff;min-height:36px;box-sizing:border-box;width:100%;min-width:0;-webkit-user-select:text;user-select:text}
#calsheet .in:disabled{background:#F2F4F7;color:#9AA3B0}
#calsheet .two{display:grid;grid-template-columns:1fr 1fr;gap:8px}
#calsheet .chips{display:flex;gap:6px;flex-wrap:wrap}
#calsheet .chips span{font-size:calc(11.5px * var(--ts));border:1px solid #D5DBE3;border-radius:999px;padding:3px 8px;cursor:pointer}
#calsheet .chips span.on{background:#3B4CC0;border-color:#3B4CC0;color:#fff}
#calsheet .chips.cols span{width:24px;height:24px;padding:0;box-sizing:border-box}
#calsheet .chips.cols span.on{border:2px solid #1B1F24;background-clip:padding-box}
#calsheet .calld{display:flex;align-items:center;gap:6px;font-size:calc(12.5px * var(--ts));font-weight:600;color:#3D4652}
#calsheet .tzline{font-size:calc(11.5px * var(--ts));color:#5B6573;background:#F7F8FA;border-radius:8px;padding:6px 8px}
#calsheet .cerr{font-size:calc(12px * var(--ts));color:#A12C2C;min-height:0}
#calsheet .sbtns{display:flex;gap:8px}
#calsheet .sbtns .btn{flex:1;min-height:40px;font-size:calc(13px * var(--ts));border-color:#D5DBE3;color:var(--ink)}
#calsheet .sbtns .btn.p{background:#3B4CC0;border-color:#3B4CC0;color:#fff}
#calsheet .btn.full{min-height:42px;font-size:calc(13.5px * var(--ts))}
#calsheet .btn.danger{border-color:#E5B5B5;color:#A12C2C}
#calsheet .ro{font-size:calc(10px * var(--ts))}
.gcalset{border:1px solid var(--line);border-radius:12px;padding:12px;margin-top:12px}.gcalset h4{margin:0 0 8px;font-size:calc(14px * var(--ts))}
.gcalset .set .s.gcl{gap:8px}.gcalset .gcl .search{min-height:40px;font-size:max(16px, calc(16px * var(--ts)));min-width:0;flex:1}
.gcalset .gcst{font-size:calc(12.5px * var(--ts));line-height:1.4}.gcalset .gcst.ok{color:#1D5E3C}.gcalset .gcst.bad{color:#A12C2C}
.paset{border:1px solid var(--line);border-radius:12px;padding:12px;margin-top:12px}.paset h4{margin:0 0 8px;font-size:calc(14px * var(--ts))}
.paset .set .s.gcl{gap:8px}.paset .gcl .search{min-height:40px;font-size:max(16px, calc(16px * var(--ts)));min-width:0;flex:1}
.paset .gcst{font-size:calc(12.5px * var(--ts));line-height:1.4}.paset .gcst.ok{color:#1D5E3C}.paset .gcst.bad{color:#A12C2C}
.paset .palnk{font-size:calc(13px * var(--ts));color:#5B6573;text-decoration:underline;cursor:pointer;padding:6px 0}
.gcalset .s.dis{color:#9AA3B0}.later{font-size:calc(10px * var(--ts));font-weight:700;background:#F2F4F7;color:#5B6573;border-radius:999px;padding:2px 7px;margin-left:4px}

/* ---------- tags (prompt 75): the PC's chips (#name, a soft colour from notetags.colorOf), the tag row on the paper, the tag sheet, the drawer filter ---------- */
.tg{display:inline-flex;align-items:center;gap:3px;flex:none;box-sizing:border-box;font:600 calc(12px * var(--ts))/1.35 var(--font);border-radius:999px;padding:3px 10px;border:none;white-space:nowrap;color:var(--ink2);background:var(--chip)}
.tg::before{content:"#";opacity:.55;font-weight:700}
.tg.c1{background:#D5EEDD;color:#14532D}.tg.c2{background:#FFD9BF;color:#8A3E08}.tg.c3{background:#D2E1FB;color:#1B3F8F}
.tg.c4{background:#EFD3E8;color:#7A1F61}.tg.c5{background:#FFE9A8;color:#6B4A00}.tg.c6{background:#CDEBEF;color:#12565F}
.tg.add{background:rgba(255,255,255,.75);border:1px dashed #98A2B3;color:var(--muted);padding:2px 10px}
.tg.add::before{content:"+";opacity:1}
.tg.sm{font-size:calc(10.5px * var(--ts));padding:1px 7px}
.tg.more{background:rgba(0,0,0,.07);color:#5A5140}.tg.more::before{content:none}
.tg.on{outline:2px solid var(--blue);outline-offset:0}
.nb .tgrow{height:36px;display:flex;align-items:center;gap:6px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;margin-right:-16px;padding-right:16px}
.nb .tgrow::-webkit-scrollbar{display:none}
.nb .tgrow .tg{font-family:var(--ui)}
.nb .tgsheet{display:flex;flex-direction:column;max-height:78%;overflow:hidden}
.nb .tgbody{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain}      /* (prompt 175) a long tag list scrolls here, Done stays put */
.nb .tgsheet .nlq,.nb .tgdone{flex:none}
.nb .tgw{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 10px}
.nb .tgw[hidden]{display:none}
.nb .tgw .tg{font-size:calc(13px * var(--ts));padding:5px 12px;font-family:var(--ui)}
.nb .tgw .tg.on{outline:none}
.nb .tglbl{font-size:calc(12px * var(--ts));color:var(--muted);font-weight:600;letter-spacing:.03em;margin:2px 0 8px}
.nb .tgnone{font-size:calc(13px * var(--ts));color:var(--muted)}
.nb .tgdone{align-self:flex-end;margin-top:4px}
.nb .pc .tgs{display:flex;gap:4px;flex-wrap:nowrap;overflow:hidden;margin-top:6px}
.nb .tgf{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;margin:0 2px 10px;padding:2px}
.nb .tgf::-webkit-scrollbar{display:none}
.nb .tgf:empty{display:none}
.nb .tgf .tg{font-size:calc(12.5px * var(--ts));padding:4px 11px;font-family:var(--ui)}
.nb .tgshow{font-size:calc(12px * var(--ts));color:var(--muted);padding:2px 4px}
.nb .tgshow button{border:none;background:none;color:var(--blue);font:600 calc(12px * var(--ts)) var(--ui);padding:0;cursor:pointer}

/* ---------- page templates: the "From template" sheet (rows like the Link to note sheet, chips like the tags), Manage, the Save as template sheet ---------- */
.nb .tpsheet{display:flex;flex-direction:column;max-height:78%;transition:transform .22s,visibility 0s .22s;visibility:hidden}.nb .tpsheet.on{visibility:visible;transition:transform .22s}
.nb .top .tpb{width:32px;flex:none}      /* "From template", next to New page */
.nb .menu .tpmenu{display:none}
@media (max-width:359px){.nb .top .tpb{display:none}.nb .menu .tpmenu{display:flex}}      /* a phone under 360 px has no room in the top bar: it is in the three-dot menu */
@media (max-width:419px){:root[data-ts="larger"] .nb .top .tpb{display:none}:root[data-ts="larger"] .nb .menu .tpmenu{display:flex}}      /* Text size Larger (prompt 166): the longer Pages label leaves no room for it either */
.nb .tph{display:flex;align-items:center;gap:8px}.nb .tph h3{flex:1}
.nb .tplk{border:none;background:none;color:#1F4FC8;font:600 calc(13px * var(--ts)) var(--ui);padding:4px 2px 10px;cursor:pointer}.nb .tplk[hidden]{display:none}
.nb .tprows{flex:1;min-height:0;overflow:auto;margin:0 -6px}
.nb .tpr{display:flex;flex-direction:column;align-items:stretch;gap:3px;width:100%;border:0;background:transparent;padding:10px;border-radius:10px;font:500 calc(14px * var(--ts)) var(--ui);color:#18202F;cursor:pointer;text-align:left}
.nb .tpr:active{background:#E8EDF8}
.nb .tpr b,.nb .tpm b{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nb .tpr small,.nb .tpm small{color:#5b6577;font-size:calc(12px * var(--ts));white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nb .tpr .tgs{display:flex;gap:4px;flex-wrap:nowrap;overflow:hidden;margin-top:3px}
.nb .tpm{display:flex;align-items:center;gap:8px;padding:9px 10px}.nb .tpm+.tpm{border-top:1px solid #E3E7F0}
.nb .tpmm{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}.nb .tpmm .nlq{margin:0}
.nb .tpm small{white-space:normal;display:flex;flex-wrap:wrap;align-items:center;gap:4px}
.nb .tpm .sbtn{height:36px;padding:0 11px;flex:none}
.nb .tpnone{padding:10px;color:#5b6577;font:500 calc(13px * var(--ts))/1.45 var(--ui)}
.nb .tplbl{font:600 calc(13px * var(--ts)) var(--ui);color:#3D4652;margin:0 0 6px}
.nb .tpchk{display:flex;align-items:flex-start;gap:8px;font:500 calc(13px * var(--ts))/1.4 var(--ui);color:#18202F;margin:0 0 8px}.nb .tpchk[hidden]{display:none}.nb .tpchk input{margin:2px 0 0;flex:none}
.nb .tphint{font:500 calc(12px * var(--ts)) var(--ui);color:#5b6577;margin:0 0 8px}
.nb .tperr{font:500 calc(13px * var(--ts))/1.4 var(--ui);color:#A12C2C;margin:0 0 8px}.nb .tperr:empty{display:none}

/* ---------- the Workspace tab: one group per tag, the same paper cards as the Pages drawer ---------- */
.wsq{margin-left:auto;width:40px;height:40px;display:flex;align-items:center;justify-content:center;margin-right:-8px;color:var(--ink2)}
.wsq svg{width:22px;height:22px}
.ws .wsgs{display:flex;flex-direction:column;gap:10px;padding-bottom:14px}
.ws .wsg{display:flex;flex-direction:column;gap:8px}
.ws .wsh{display:flex;align-items:center;gap:8px;min-height:36px;padding:2px 2px 0}
.ws .wsh b{font-size:calc(13px * var(--ts))}
.ws .wsh .n{margin-left:auto;font-size:calc(12px * var(--ts));color:var(--muted);display:flex;align-items:center;gap:2px}
.ws .wsh .n svg{width:16px;height:16px}
.ws .wsc{border-radius:12px;padding:10px 12px;border:2px solid transparent;cursor:pointer}
.ws .wsc.w{border-color:#E3E8F0}
.ws .wsc b{display:block;font-size:calc(15px * var(--ts));font-weight:700;color:var(--ink)}
.ws .wsc small{display:block;font-size:calc(12.5px * var(--ts));color:#4A4533;margin-top:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ws .wsc .m{display:flex;gap:5px;margin-top:6px;flex-wrap:wrap;align-items:center;font-size:calc(11.5px * var(--ts));color:#5A5440}
.ws .wsb{display:inline-flex;color:#5A5440}.ws .wsb svg{width:14px;height:14px}
.ws .wshint{margin:2px 2px 0}

/* ---------- Settings: Recent activity ---------- */
.actset{margin-top:12px}
.actset .acth b{font-size:calc(14px * var(--ts))}
.actset .s .fr{flex:none}

/* ---------- Share with viewers (sharenote.js): the same content as the PC's Share dialog, in the notepad's bottom-sheet look; every target at least 44 px ---------- */
.nb .shvsheet{display:flex;flex-direction:column;gap:10px;max-height:88%;overflow:hidden;transition:transform .22s,visibility 0s .22s;visibility:hidden;box-sizing:border-box}
/* (prompt 175) only the middle scrolls; Stop sharing / Done (and every other button row) is a footer that stays above the home bar (the sheet's padding keeps var(--nsab)) */
.nb .shvbody{display:flex;flex-direction:column;gap:10px;flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;margin:0 -16px;padding:0 16px}
.nb .shvsheet>.shvacts{background:#fff;border-top:1px solid #E3E7F0;margin:0 -16px;padding:10px 16px 0}
.nb .shvsheet.on{visibility:visible;transition:transform .22s}
.nb .shvsheet h3{margin:0}
.nb .shvsheet .ngrab{margin-bottom:0;flex:none}
.nb .shvlbl{font:600 calc(13px * var(--ts)) var(--ui);color:#3D4652}
.nb .shvchips{display:flex;flex-wrap:wrap;align-items:center;gap:6px;min-height:48px;max-height:156px;overflow-y:auto;box-sizing:border-box;padding:4px 6px;border:1.5px solid #D5DBE7;border-radius:12px;background:#fff;cursor:text;flex:none}
.nb .shvchips:focus-within{border-color:#1F4FC8}
.nb .shvchip{display:inline-flex;align-items:center;max-width:100%;height:36px;padding:0 0 0 12px;border-radius:18px;background:#E3EAFB;color:#1F3F9E;font:600 calc(13px * var(--ts)) var(--ui);box-sizing:border-box}
.nb .shvchip span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nb .shvchip button{width:44px;height:44px;margin:-4px -4px -4px 0;flex:none;padding:0;border:none;background:transparent;color:inherit;font:700 calc(18px * var(--ts))/1 var(--ui);cursor:pointer;border-radius:22px}
.nb .shvchip button:active{background:rgba(31,63,158,.15)}
.nb .shvchip.bad{background:#FDECEC;color:#A12C2C}
.nb .shvin{flex:1 1 140px;min-width:120px;height:40px;border:none;outline:none;padding:0 4px;font:500 max(16px, calc(16px * var(--ts))) var(--ui);color:#18202F;background:transparent}
.nb .shvcount{font:500 calc(12px * var(--ts)) var(--ui);color:#5b6577}
.nb .shvhint{font:500 calc(13px * var(--ts))/1.45 var(--ui);color:#4b5567}
.nb .shverr{font:500 calc(13px * var(--ts))/1.4 var(--ui);color:#A12C2C}.nb .shverr:empty{display:none}
.nb .shvnote{font:500 calc(13px * var(--ts))/1.45 var(--ui);border-radius:10px;padding:8px 10px;background:#FFF6E5;color:#6B4A00}
.nb .shvlink{display:flex;gap:8px;flex:none}
.nb .shvlink input{flex:1 1 auto;min-width:0;height:44px;box-sizing:border-box;padding:0 12px;border:1.5px solid #D5DBE7;border-radius:12px;font:500 calc(13px * var(--ts)) var(--ui);color:#18202F;background:#F7F9FC;outline:none}
.nb .shvviews{display:flex;flex-direction:column;border:1px solid #E3E7F0;border-radius:12px;max-height:150px;overflow-y:auto;flex:none}
.nb .shvview{display:flex;align-items:center;gap:10px;padding:8px 10px;font:500 calc(13px * var(--ts)) var(--ui)}
.nb .shvview+.shvview{border-top:1px solid #EEF1F5}
.nb .shvview b{flex:1 1 auto;min-width:0;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nb .shvview span{flex:0 0 auto;color:#5b6577;font-size:calc(12px * var(--ts))}
.nb .shvnone{padding:10px;font:500 calc(13px * var(--ts)) var(--ui);color:#5b6577}
.nb .shvacts{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:2px;flex:none}
@media (max-height:700px){      /* (prompt 175) short screens (iPhone SE / 8 / mini): tighter, so more fits */
.nb .shvsheet{max-height:92%;gap:6px}.nb .shvbody{gap:6px}.nb .shvsheet>.shvacts{padding-top:6px}
.nb .shvsheet .shvhint,.nb .shvsheet .shvcopyhelp{font-size:calc(12px * var(--ts))}}
.nb .shvbtn{min-height:44px;padding:0 16px;border:1px solid #D5DBE7;background:#fff;color:#18202F;border-radius:12px;font:600 calc(14px * var(--ts)) var(--ui);cursor:pointer;white-space:nowrap}
.nb .shvbtn:disabled{opacity:.55;cursor:default}
.nb .shvbtn.pri,.nb .shvbtn.blue{border-color:#1F4FC8;background:#1F4FC8;color:#fff}
.nb .shvbtn.blue{flex:none}
.nb .shvbtn.danger{border-color:#C0392B;background:#C0392B;color:#fff}
.nb .shvbtn.stop{border-color:#E3B4B4;color:#A12C2C;margin-right:auto}
/* "Shared notes are now end-to-end encrypted. Send your viewers the new link: Copy" (sharenote.js, prompt 96): stays until Copy or × */
/* "Save a copy to my Padd": the confirm sheet for a copy sent by a shared note's viewer page (importnote.js, prompt 104) */
.impscrim{position:fixed;inset:0;z-index:90;background:rgba(20,30,50,.38)}
.impsheet{position:fixed;left:0;right:0;bottom:0;z-index:91;max-width:560px;margin:0 auto;background:#fff;border-radius:22px 22px 0 0;padding:10px 16px calc(20px + env(safe-area-inset-bottom,0px));display:flex;flex-direction:column;gap:10px;font-family:var(--font);color:#1B1F24}
.impsheet .ttl{font-weight:700;font-size:calc(16px * var(--ts));line-height:1.35;overflow-wrap:anywhere;padding:0 4px}
.impsheet .sub{font-size:calc(13px * var(--ts));line-height:1.45;padding:0 4px}
.impsheet .btn{min-height:48px}
.shvcopy{display:flex;align-items:flex-start;gap:10px;min-height:44px;padding:4px 0;font:600 calc(14px * var(--ts))/1.4 var(--ui);color:#1B1F24;cursor:pointer}
.shvcopy input{width:22px;height:22px;margin:0;flex:0 0 auto;accent-color:#1F4FC8}
.shvcopyhelp{margin:-8px 0 4px 32px;font:400 calc(13px * var(--ts))/1.45 var(--ui);color:#5B6573}
.shvkinds{margin:0 0 4px 32px;display:flex;flex-direction:column;gap:6px}
.shvkinds[hidden]{display:none}
.shvkinds .shvcopyhelp{margin:0}
.shvkrow{display:flex;flex-wrap:wrap;gap:0 16px}
.shvkind{display:flex;align-items:center;gap:8px;min-height:44px;font:500 calc(14px * var(--ts))/1.3 var(--ui);color:#1B1F24;cursor:pointer}
.shvkind input{width:22px;height:22px;margin:0;accent-color:#1F4FC8}
.shvstoplist{display:flex;flex-direction:column;border:1px solid #E2E6EC;border-radius:12px;max-height:260px;overflow-y:auto}
.shvstoprow{display:flex;align-items:center;gap:10px;padding:4px 6px 4px 12px;font:500 calc(14px * var(--ts))/1.3 var(--ui)}
.shvstoprow+.shvstoprow{border-top:1px solid #EEF1F5}
.shvstoprow b{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.shvnote .shvbtn{margin-top:8px}
.shvnotice{position:fixed;left:16px;right:16px;bottom:calc(84px + env(safe-area-inset-bottom,0px));z-index:69;max-width:460px;margin:0 auto;display:flex;align-items:center;gap:10px;background:#1B1F24;color:#fff;border-radius:12px;padding:10px 8px 10px 16px;font:500 calc(14px * var(--ts))/1.4 var(--ui);box-shadow:0 8px 24px rgba(0,0,0,.3)}
.shvnotice span{flex:1 1 auto;min-width:0}
.shvnotice .shvbtn{min-height:40px;padding:0 14px;border:none;background:#1F4FC8;color:#fff;border-radius:10px;font:600 calc(14px * var(--ts)) var(--ui);cursor:pointer;white-space:nowrap}
.shvnotice .shvnx{min-width:40px;min-height:40px;border:none;background:none;color:#C9D3E3;font-size:calc(20px * var(--ts));cursor:pointer}
/* the "Shared" chip (the PC's .np-fchip[data-state=shared]): on the page title, in the Pages drawer and in the Workspace */
.shvtag{display:inline-block;padding:2px 8px;border-radius:999px;background:#E3EAFB;color:#1F3F9E;font:600 calc(11px * var(--ts))/1.3 var(--ui);white-space:nowrap;vertical-align:middle}
.shvtag[hidden]{display:none}
.nb .ttl .shvtag{align-self:center;margin:0 8px;flex:none}
.nb .menu #mShareV{min-height:44px}
/* alarms that ring with Padd closed (push.js): the health line, the amber dots, the test button, the Fix sheet */
.phl{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap}
.hdot{width:8px;height:8px;border-radius:50%;flex:none;background:#9AA6BA}
.hdot.green{background:#3A9B5C}
.hdot.amber{background:#E0A100}
.fixl{color:var(--blue);font-weight:700;text-decoration:underline;cursor:pointer}
.set .s.ptest{padding-top:2px}
.pdot{position:absolute;width:9px;height:9px;border-radius:50%;background:#E0A100;border:2px solid var(--card)}
.tab{position:relative}
.tab .pdot{top:4px;left:calc(50% + 8px)}
.nb .ib .pdot{bottom:4px;right:4px}
.psheet .fxlist{display:flex;flex-direction:column;gap:12px;margin:4px 6px 8px}
.psheet .fxs{display:flex;gap:12px;align-items:flex-start}
.psheet .fxs>div{display:flex;flex-direction:column;gap:3px;font-size:calc(13.5px * var(--ts));line-height:1.4;color:var(--ink2)}
.psheet .fxs b{color:var(--ink);font-size:calc(14px * var(--ts))}
.psheet .fxs .btn{margin-top:6px;align-self:flex-start;min-width:11em;white-space:nowrap}       /* (prompt 277) every step button the same width (fits "Allow notifications"), one line */
.psheet .fxpic{flex:none}
.psheet .steps{margin:4px 6px 8px;width:auto}
.scrim.pscrim{z-index:29}
.sheet.psheet{z-index:30}
/* (prompt 281) the Android app's "Set up alarms": full screen over the notes (below the toast), 14px text, 40px controls, every line on one line */
.alsetup{position:fixed;inset:0;z-index:65;background:var(--card);color:var(--ink);display:flex;flex-direction:column;gap:10px;overflow-y:auto;
  padding:calc(env(safe-area-inset-top,0px) + 14px) 16px calc(env(safe-area-inset-bottom,0px) + 16px);font-size:calc(14px * var(--ts))}
.alsetup .ash{display:flex;align-items:center;gap:8px;min-height:40px}
.alsetup .ash h2{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.alsetup .lnk{font-size:calc(13px * var(--ts));color:var(--blue);font-weight:600;padding:8px 4px;white-space:nowrap}
.alsetup .ass{margin-top:-6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.alsetup .asl{display:flex;flex-direction:column;gap:8px;margin:4px 0 6px}
.alsetup .asr{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:12px;padding:8px 10px;min-height:56px}
.alsetup .asr[data-ok="1"]{background:var(--green-bg);border-color:transparent}
.alsetup .fxpic{flex:none;width:30px;height:40px}
.alsetup .ast{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.alsetup .ast b,.alsetup .ast span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.alsetup .ast b{font-size:calc(14px * var(--ts))}
.alsetup .ast span{font-size:calc(12px * var(--ts));color:var(--muted)}
.alsetup .asi{flex:none;width:22px;height:22px;border-radius:50%;border:1.5px solid var(--muted);color:var(--muted);font:700 calc(12px * var(--ts))/1 var(--font);display:flex;align-items:center;justify-content:center}
.alsetup .asr .btn{flex:none;min-height:40px;padding:0 12px;font-size:calc(13px * var(--ts));white-space:nowrap}
.alsetup .asok{flex:none;display:flex;width:40px;height:40px;align-items:center;justify-content:center}
.alsetup>.btn{min-height:40px;flex:none}
.alsetup .asdone{align-self:center}
/* end-to-end encryption: Unlock your notes, Protect your notes (the Welcome screen's look), Settings › Security sheets (security.js) */
.e2e .appbar b{font-size:calc(17px * var(--ts));font-weight:700}
.e2ef{display:flex;flex-direction:column;gap:6px;font-size:calc(13px * var(--ts));font-weight:600;color:#3D4652}
.e2ef input{width:100%;min-height:48px;border:1px solid #D5DBE7;border-radius:12px;padding:0 14px;font:max(16px, calc(16px * var(--ts))) var(--ui,var(--font));color:#18202F;background:#fff;-webkit-appearance:none;appearance:none;-webkit-user-select:text;user-select:text}
.e2ef input:focus{outline:2px solid #1F4FC8;outline-offset:-1px}
.e2elrow{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-10px 0}.e2elrow label{white-space:nowrap}
.e2eshow{min-height:40px;min-width:48px;display:flex;align-items:center;justify-content:flex-end;color:#1F4FC8;font-weight:600;cursor:pointer;white-space:nowrap}
.e2esaved b{white-space:nowrap}
.e2erem{display:flex;align-items:center;gap:12px;border:1px solid #D5DBE7;border-radius:12px;padding:12px 14px;font-size:calc(13px * var(--ts));line-height:1.45;color:#3D4652}.e2erem>div{flex:1;min-width:0}.e2erem b{color:#18202F}
.e2ebars{display:flex;gap:6px;margin-top:-6px}.e2ebars i{flex:1;height:5px;border-radius:999px;background:#E2E6EC}
.e2ebars.weak i.on{background:#A12C2C}.e2ebars.ok i.on{background:#B7791F}.e2ebars.strong i.on{background:#1D7A4C}
.e2ehint{font-size:calc(12.5px * var(--ts));line-height:1.45;color:#5B6573;margin-top:-6px}.e2ehint.weak{color:#A12C2C}.e2ehint.ok{color:#B7791F}.e2ehint.strong{color:#1D7A4C}
.e2ecode{font:700 calc(19px * var(--ts))/1.3 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.04em;text-align:center;padding:16px 10px;border:1px dashed #9FB3E6;border-radius:12px;background:#F4F7FF;color:#18202F;word-break:break-all;-webkit-user-select:all;user-select:all}
.e2ewarn{font-size:calc(13.5px * var(--ts));line-height:1.5;border-radius:10px;padding:10px 12px;background:#FFF6E5;border:1px solid #F0D49A;color:#6B4A00}
.e2ebusy{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;min-height:60vh}.e2ebusy p{color:#5b6577}
.e2e .msg.err{margin:0}
.e2esheet{gap:12px}.e2esheet h3{margin:0;font-size:calc(17px * var(--ts))}.e2esheet .lnk{font-size:calc(13px * var(--ts));color:var(--blue);font-weight:600;padding:4px 0}

/* "Talk it out" (prompt 112, talkitout.js): the round mic bottom left above the tab bar (the "+" buttons are on the right), and its sheet */
.tiomic{position:absolute;left:16px;bottom:calc(78px + var(--sab,env(safe-area-inset-bottom,0px)));width:56px;height:56px;border-radius:50%;border:0;background:#1E8E4E;color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 16px -4px rgba(30,142,78,.6),0 2px 6px rgba(0,0,0,.2);z-index:4;padding:0}
.tiomic svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:2}
.tiomic[hidden]{display:none}
.ios .tiomic{bottom:calc(64px + var(--sab,env(safe-area-inset-bottom,0px)))}
#app.editing .tiomic{bottom:calc(16px + var(--sab,env(safe-area-inset-bottom,0px)))}
#app:has(#npaper) .tiomic,#app:has(.viewer) .tiomic{display:none}
/* prompt 224: the blue mic and the "+" can be dragged (floatbtn.js, as the notepad's red Mic): no scrolling, selecting or tap flash on them; a drag lifts it, a drop
   glides it to its side; hidden while the keyboard is open (app.js puts .kbup on #app), its place kept */
.tiomic,.fab{touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}
.tiomic.glide,.fab.glide{transition:left .25s cubic-bezier(.3,.8,.3,1),top .25s cubic-bezier(.3,.8,.3,1)}
.tiomic.drag,.fab.drag{transform:scale(1.1);cursor:grabbing}
#app.kbup .tiomic,#app.kbup .fab{visibility:hidden;pointer-events:none}
@media (prefers-reduced-motion:reduce){.tiomic.glide,.fab.glide{transition:none}}
.tio{position:fixed;inset:0;z-index:65;font-family:var(--font);color:var(--ink)}
.tio .tiodim{position:absolute;inset:0;background:rgba(20,25,35,.4)}
.tio .tiosheet{position:absolute;left:0;right:0;bottom:0;max-height:92%;overflow-y:auto;gap:10px;padding:8px 16px calc(18px + env(safe-area-inset-bottom,0px));box-shadow:0 -8px 30px rgba(0,0,0,.18);z-index:1}
.tio [data-tact]{cursor:pointer}
.tiohead{display:flex;align-items:center;justify-content:space-between;min-height:32px}
.tiohead b{font-size:calc(17px * var(--ts))}
.tiox{border:0;background:none;color:var(--blue);font:600 calc(14px * var(--ts)) var(--font);padding:6px 4px}
.tiomicbig{align-self:center;width:112px;height:112px;border-radius:50%;border:0;background:var(--blue);color:#fff;display:flex;align-items:center;justify-content:center;margin:14px 0 4px;box-shadow:0 8px 22px rgba(31,79,200,.35)}
.tiomicbig svg{fill:none;stroke:currentColor;stroke-width:2}
.tiomicbig.off{background:var(--blue-soft);color:var(--blue);box-shadow:none}
.tiomicbig.on{background:var(--red);box-shadow:0 0 0 0 rgba(179,38,30,.45);animation:tiopulse 1.6s ease-out infinite}
@keyframes tiopulse{0%{box-shadow:0 0 0 0 rgba(179,38,30,.45)}100%{box-shadow:0 0 0 22px rgba(179,38,30,0)}}
@media (prefers-reduced-motion:reduce){.tiomicbig.on{animation:none}}
.tiotime{text-align:center;font-size:calc(28px * var(--ts));font-weight:600;font-variant-numeric:tabular-nums}
.tiosub{text-align:center;font-size:calc(13px * var(--ts));color:var(--muted);line-height:1.4}
.tiotext{font-size:calc(15px * var(--ts));line-height:1.5;color:var(--ink2);margin:4px 2px}
.tiobusy{padding:36px 0;display:flex;flex-direction:column;align-items:center;gap:12px;font-size:calc(15px * var(--ts));color:var(--ink2)}
.tio .in{border:1px solid #D5DBE3;border-radius:10px;padding:8px 10px;font:max(16px, calc(16px * var(--ts))) var(--font);color:var(--ink);background:#fff;min-height:40px;width:100%;min-width:0;box-sizing:border-box}
.tio .sbtns{display:flex;gap:8px}
.tio .sbtns .btn{flex:1}
.tio .btn:disabled{opacity:.6}
/* the result sheet (prompt 182, the approved mockup): light even when the phone is dark; Figtree like the Send card; a scroll area and a bar fixed at the
   bottom above the safe area. Every class is its own tio… name (a plain "done" once broke the mockup's card). */
.tio .tiores{--ui:'Figtree',system-ui,sans-serif;--tink:#18202F;--tmut:#5B6573;--tline:#E2E6EC;--twash:#F4F6FA;--tblue:#1F4FC8;--tnavy:#0F2D6E;--tbsoft:#EAF0FF;--tbedge:#C9D6F5;
  --tgreen:#14855A;--tgsoft:#E3F5EC;--tamber:#B4650C;--tasoft:#FFF2DF;--tviolet:#6B3FD0;--tvsoft:#F0EAFF;
  color-scheme:light;background:#fff;color:var(--tink);font-family:var(--ui);padding:0;gap:0;overflow:hidden;display:flex;flex-direction:column;max-height:92%}
.tio .tiores .grab{margin:8px auto 2px}
.tioscroll{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;padding:4px 16px 12px;scrollbar-width:none;overscroll-behavior:contain}
.tioscroll::-webkit-scrollbar{display:none}
.tiohd{display:flex;align-items:center;gap:10px;padding:6px 0 10px;min-width:0}
.tiohd b{font-size:calc(19px * var(--ts));font-weight:800;letter-spacing:-.2px;white-space:nowrap}
.tiopill{display:inline-flex;align-items:center;gap:5px;min-width:0;font-size:calc(12px * var(--ts));font-weight:700;padding:4px 9px;border-radius:999px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:background .25s,color .25s}
.tiopill svg{width:13px;height:13px;flex:none}
.tiopill-amber{background:var(--tasoft);color:var(--tamber)}.tiopill-violet{background:var(--tvsoft);color:var(--tviolet)}
.tiopill-green{background:var(--tgsoft);color:var(--tgreen)}.tiopill-blue{background:var(--tbsoft);color:var(--tblue)}
.tioclose{margin-left:auto;flex:none;width:34px;height:34px;border-radius:50%;border:0;background:var(--twash);color:var(--tmut);display:grid;place-items:center;padding:0}
.tioclose svg{width:16px;height:16px}
.tioheard{border-radius:14px;background:var(--twash);padding:10px 12px;display:flex;gap:10px;align-items:flex-start}
.tioplay{flex:none;width:34px;height:34px;border-radius:50%;border:0;background:var(--tblue);color:#fff;display:grid;place-items:center;padding:0}
.tioplay svg{width:14px;height:14px}
.tioht{min-width:0;flex:1}
.tiohlab{font-size:calc(11px * var(--ts));font-weight:700;letter-spacing:.6px;text-transform:uppercase;color:var(--tmut);display:flex;justify-content:space-between;align-items:center;gap:8px}
.tioredo{border:0;background:none;color:var(--tblue);font:700 calc(12px * var(--ts)) var(--ui);text-transform:none;letter-spacing:0;padding:4px 0;min-height:28px;white-space:nowrap}
.tiowave{display:flex;gap:2px;align-items:center;height:16px;margin:4px 0 6px;overflow:hidden}
.tiowave i{display:block;flex:none;width:3px;border-radius:2px;background:#B8C6E6}
.tiowave i.on{background:var(--tblue)}
.tioquote{margin:2px 0 0;font-size:calc(14.5px * var(--ts));line-height:1.45;color:var(--tink);overflow-wrap:anywhere;white-space:pre-wrap;-webkit-user-select:text;user-select:text}
.tiosp{-webkit-box-decoration-break:clone;box-decoration-break:clone;background:none;color:inherit;border-bottom:2px solid;padding:0 1px;border-radius:3px;cursor:pointer}
.tiosp-what{border-color:var(--tblue)}.tiosp-when{border-color:var(--tamber)}.tiosp-rpt{border-color:var(--tgreen)}
.tioflash{animation:tioflash .9s ease}
@keyframes tioflash{0%,55%{background-color:var(--tbsoft);box-shadow:0 0 0 4px var(--tbsoft)}100%{box-shadow:0 0 0 0 rgba(234,240,255,0)}}
/* Make it: Note, Checklist, Alarm, Event with a white knob that slides */
.tioseg{margin-top:14px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:4px;border-radius:14px;background:var(--twash);position:relative}
.tioseg button{position:relative;z-index:1;border:0;background:none;border-radius:10px;padding:8px 2px 7px;min-width:0;display:flex;flex-direction:column;align-items:center;gap:3px;font:600 calc(12px * min(var(--ts), 1.1)) var(--ui);color:var(--tmut);transition:color .2s}
.tioseg button span{max-width:100%;text-align:center;line-height:1.15}
.tioseg button svg{width:18px;height:18px}
.tioseg button[aria-pressed="true"]{color:var(--tnavy)}
.tioseg button:disabled{cursor:default}
.tioknob{position:absolute;top:4px;bottom:4px;left:4px;width:calc((100% - 20px) / 4);border-radius:10px;background:#fff;box-shadow:0 1px 4px rgba(15,45,110,.15);transition:transform .28s cubic-bezier(.3,.8,.3,1)}
/* the style chips (Note only): sideways, an icon each, the chosen one navy */
.tiochips{display:flex;gap:7px;overflow-x:auto;margin:12px -16px 0;padding:0 16px 2px;scrollbar-width:none}
.tiochips::-webkit-scrollbar{display:none}
.tiochips .nchip{flex:none;display:inline-flex;align-items:center;gap:6px;min-height:36px;border:1.5px solid var(--tline);background:#fff;border-radius:999px;padding:6px 12px;font:600 calc(13px * var(--ts)) var(--ui);color:var(--tink)}
.tiochips .nchip svg{width:15px;height:15px;flex:none;color:var(--tblue)}
.tiochips .nchip[aria-pressed="true"]{background:var(--tnavy);border-color:var(--tnavy);color:#fff}
.tiochips .nchip[aria-pressed="true"] svg{color:#fff}
.tiochips .nchip:disabled{opacity:.6}
.tiocustom{display:flex;gap:8px;margin-top:10px}
.tiocustom .in{flex:1}
/* the card */
.tiocard{margin-top:12px;border:1.5px solid var(--tline);border-radius:18px;padding:14px;position:relative;overflow:hidden;background:#fff}
.tiocard.tioswap{animation:tiopop .3s ease}
@keyframes tiopop{from{opacity:.2;transform:translateY(6px)}to{opacity:1;transform:none}}
.tiocard.tioshim::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(100deg,transparent 30%,rgba(31,79,200,.10) 50%,transparent 70%);background-size:200% 100%;animation:tiosh 1s linear infinite}
@keyframes tiosh{from{background-position:150% 0}to{background-position:-50% 0}}
.tioctop{display:flex;align-items:center;gap:8px;margin-bottom:8px}
.tioclab{flex:1;min-width:0;font-size:calc(11px * var(--ts));font-weight:800;letter-spacing:.7px;text-transform:uppercase;color:var(--tmut);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tioib{flex:none;width:34px;height:34px;border-radius:10px;border:1.5px solid var(--tline);background:#fff;color:var(--tink);display:grid;place-items:center;padding:0}
.tioib svg{width:15px;height:15px}
.tio .tiobig{display:block;width:100%;min-width:0;box-sizing:border-box;border:0;border-bottom:1.5px solid var(--tline);border-radius:0;font:700 calc(19px * var(--ts)) var(--ui);color:var(--tink);padding:4px 0 8px;outline:none;background:transparent}
.tio .tiobig:focus,.tio .tiobig:focus-visible{border-color:var(--tblue);outline:none}
.tio .tiotxt{display:block;width:100%;box-sizing:border-box;border:0;font:400 max(16px, calc(15px * var(--ts)))/1.55 var(--ui);color:var(--tink);resize:none;outline:none;min-height:110px;padding:8px 0 0;background:transparent}
.tio .tiolist{border:1.5px solid var(--tline);border-radius:12px;padding:8px 10px;margin-top:4px}
.tiofl{font-size:calc(11px * var(--ts));font-weight:700;color:var(--tmut);letter-spacing:.5px;text-transform:uppercase;margin:14px 0 7px;display:flex;justify-content:space-between;align-items:center;gap:8px}
.tiofl em{font-style:normal;text-transform:none;letter-spacing:0;color:var(--tblue);font-weight:700;white-space:nowrap}
.tiofl em.tiohint{color:var(--tamber);background:var(--tasoft);padding:2px 8px;border-radius:999px}
/* the big clock */
.tioclock{display:flex;align-items:center;justify-content:center;gap:6px;padding:4px 0 2px}
.tiod{display:flex;flex-direction:column;align-items:center}
.tiod button{border:0;background:none;color:var(--tmut);width:48px;height:30px;display:grid;place-items:center;padding:0;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;touch-action:manipulation}
.tiod button svg{width:18px;height:18px}
.tionum{font:800 calc(44px * var(--ts))/1 var(--ui);font-variant-numeric:tabular-nums;color:var(--tink);min-width:1.4em;text-align:center}
.tiocolon{font:800 calc(40px * var(--ts))/1 var(--ui);color:var(--tmut);margin-top:-4px}
.tioampm{display:flex;flex-direction:column;gap:4px;margin-left:6px}
.tioampm button{border:1.5px solid var(--tline);background:#fff;border-radius:8px;padding:5px 9px;min-height:30px;font:700 calc(12px * var(--ts)) var(--ui);color:var(--tmut)}
.tioampm button[aria-pressed="true"]{background:var(--tblue);border-color:var(--tblue);color:#fff}
.tioquick{display:flex;gap:6px;flex-wrap:wrap;justify-content:center;margin-top:8px}
.tioquick button{border:0;background:var(--tbsoft);color:var(--tnavy);font:600 calc(12px * var(--ts)) var(--ui);padding:7px 11px;min-height:32px;border-radius:999px}
/* the day row */
.tiodays{position:relative;display:flex;gap:6px;overflow-x:auto;margin:0 -14px;padding:0 14px 2px;scrollbar-width:none}
.tiodays::-webkit-scrollbar{display:none}
.tioday{flex:none;width:calc(48px * var(--ts));border:1.5px solid var(--tline);background:#fff;border-radius:14px;padding:7px 0;display:flex;flex-direction:column;align-items:center;gap:1px;font-family:var(--ui)}
.tioday small{font-size:calc(11px * var(--ts));font-weight:700;color:var(--tmut);text-transform:uppercase}
.tioday b{font-size:calc(18px * var(--ts));color:var(--tink)}
.tioday span{font-size:calc(10px * var(--ts));color:var(--tmut);min-height:calc(12px * var(--ts))}
.tioday[aria-pressed="true"]{background:var(--tblue);border-color:var(--tblue)}
.tioday[aria-pressed="true"] *{color:#fff}
/* repeat */
.tiorep{display:flex;gap:6px;flex-wrap:wrap}
.tiorep button{border:1.5px solid var(--tline);background:#fff;border-radius:999px;padding:7px 11px;min-height:34px;font:600 calc(12.5px * var(--ts)) var(--ui);color:var(--tink)}
.tiorep button[aria-pressed="true"]{border-color:var(--tgreen);background:var(--tgsoft);color:var(--tgreen)}
/* the navy summary strip; amber when the time has passed */
.tiosum{margin-top:14px;border-radius:14px;background:var(--tnavy);color:#fff;padding:11px 12px;display:flex;gap:10px;align-items:center}
.tiosum.past{background:var(--tamber)}
.tiobell{width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.14);display:grid;place-items:center;flex:none}
.tiobell svg{width:18px;height:18px;transform-origin:50% 10%}
.tiosum.ring .tiobell svg{animation:tioring .9s ease}
@keyframes tioring{0%,100%{transform:rotate(0)}15%{transform:rotate(16deg)}30%{transform:rotate(-14deg)}45%{transform:rotate(10deg)}60%{transform:rotate(-6deg)}75%{transform:rotate(3deg)}}
.tiosumt{min-width:0;flex:1}
.tiosumt b{display:block;font-size:calc(14.5px * var(--ts))}
.tiosumt small{display:block;font-size:calc(12px * var(--ts));opacity:.85;margin-top:2px}
.tiodevs{display:flex;gap:6px;flex:none}
.tiodevs span{display:grid;place-items:center;width:26px;height:26px;border-radius:8px;background:rgba(255,255,255,.14)}
.tiodevs svg{width:14px;height:14px}
/* checklist rows */
.tiochecks{list-style:none;margin:2px 0 0;padding:0}
.tiocrow{display:flex;gap:10px;align-items:center;padding:4px 0;border-bottom:1px solid var(--tline)}
.tiocrow:last-child{border-bottom:0}
.tiobox{width:24px;height:24px;border-radius:7px;border:2px solid #9AA3B0;flex:none;display:grid;place-items:center;background:#fff;padding:0}
.tiobox.on{background:var(--tgreen);border-color:var(--tgreen)}
.tiobox svg{width:14px;height:14px;color:#fff}
.tio .tiocitem{flex:1;min-width:0;border:0;background:transparent;outline:none;font:400 max(16px, calc(15px * var(--ts))) var(--ui);color:var(--tink);padding:7px 0}
.tiockd .tiocitem{text-decoration:line-through;color:var(--tmut)}
.tiolink{border:0;background:none;color:var(--tblue);font:700 calc(13px * var(--ts)) var(--ui);padding:8px 0 0;min-height:32px}
/* event */
.tiotog{display:flex;align-items:center;justify-content:space-between;margin-top:12px;font-size:calc(14px * var(--ts));font-weight:600}
.tiosw{width:46px;height:28px;border-radius:14px;background:#CBD2DD;position:relative;border:0;padding:0;flex:none;transition:background .2s}
.tiosw::after{content:"";position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:#fff;transition:transform .2s}
.tiosw[aria-checked="true"]{background:var(--tblue)}
.tiosw[aria-checked="true"]::after{transform:translateX(18px)}
.tioevrow{display:flex;gap:8px}
.tioevbox{flex:1;min-width:0;text-align:left;border:1.5px solid var(--tline);background:#fff;border-radius:12px;padding:9px 11px;font-family:var(--ui);color:var(--tink)}
.tioevbox.on{border-color:var(--tblue);background:var(--tbsoft)}
.tioevbox small{display:block;font-size:calc(11px * var(--ts));font-weight:700;color:var(--tmut);text-transform:uppercase;letter-spacing:.5px}
.tioevbox b{font-size:calc(16px * var(--ts))}
.tioacts{margin:0;padding-left:20px;font-size:calc(14px * var(--ts));line-height:1.5}
.tioacts small{color:var(--tmut)}
.tioerr{font-size:calc(13px * var(--ts));color:var(--red);font-weight:600;margin-top:8px}
.tioerr:empty{display:none}
/* the bottom bar: the mic (Record again) and the button that says what it makes */
.tiofoot{flex:none;display:flex;gap:10px;padding:10px 16px calc(12px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--tline);background:#fff}
.tiomic2{flex:none;width:52px;height:52px;border-radius:16px;border:1.5px solid var(--tbedge);background:var(--tbsoft);color:var(--tblue);display:grid;place-items:center;padding:0}
.tiomic2 svg{width:22px;height:22px}
.tiosave{flex:1;min-width:0;min-height:52px;border-radius:16px;border:0;background:var(--tblue);color:#fff;font:700 calc(16px * var(--ts)) var(--ui);display:flex;align-items:center;justify-content:center;gap:8px;padding:6px 12px;box-shadow:0 6px 16px -6px rgba(31,79,200,.6)}
.tiosave:disabled{background:#9AA9CF;box-shadow:none;cursor:default}
.tiosave svg{width:19px;height:19px;flex:none}
.tiosave:active:not(:disabled){transform:scale(.98)}
/* after saving: the done view (Undo, Done) */
.tio .tiodone{min-height:min(360px,80%)}
.tiodonev{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;padding:24px 20px calc(28px + env(safe-area-inset-bottom,0px))}
.tiook{width:72px;height:72px;border-radius:50%;background:var(--tgsoft);display:grid;place-items:center;animation:tiopop .35s ease}
.tiook svg{width:36px;height:36px;color:var(--tgreen)}
.tiodonev h3{margin:4px 0 0;font-size:calc(20px * var(--ts))}
.tiodonev p{margin:0;color:var(--tmut);font-size:calc(14px * var(--ts));line-height:1.45;overflow-wrap:anywhere}
.tiodrow{display:flex;gap:10px;margin-top:10px}
.tiodrow button{border:1.5px solid var(--tline);background:#fff;border-radius:12px;padding:10px 18px;min-height:44px;font:700 calc(14px * var(--ts)) var(--ui);color:var(--tink)}
.tiodrow button.p{background:var(--tblue);border-color:var(--tblue);color:#fff}
.tiores button:focus-visible,.tiores input:not(.tiobig):not(.tiocitem):focus-visible,.tiores .tiosp:focus-visible{outline:2px solid var(--tblue);outline-offset:2px}
@media (prefers-reduced-motion:reduce){.tiores *,.tiores *::after{animation:none!important;transition:none!important}}
.voiceset{border:1px solid var(--line);border-radius:12px;padding:12px;margin-top:12px}.voiceset h4{margin:0 0 8px;font-size:calc(14px * var(--ts))}
/* (prompt 321) Settings › Voice on Padd Free: one row on one line (app.js fitFreeVoice shrinks it), and the locked sheet's own host away from the notepad */
.voiceset .fvrow{cursor:pointer}.voiceset .fvrow:active{background:var(--chip)}
.voiceset .fvt{flex:1;min-width:0;white-space:nowrap;overflow:hidden;display:flex;align-items:center;gap:6px;font-weight:600}
.voiceset .fvt b{font-weight:600;color:var(--muted)}.voiceset .fvt .plsoon{flex:none}
.ios .nb.plhost,.nb.plhost{position:fixed;inset:0;z-index:60;background:transparent;overflow:hidden}
/* prompt 198: reading the text of uploaded files. Settings › Search (the same card as Voice), its two smaller switches; the slim line at the top of Files; "Reading text…" on a card */
.srchset{border:1px solid var(--line);border-radius:12px;padding:12px;margin-top:12px}.srchset h4{margin:0 0 8px;font-size:calc(14px * var(--ts))}
.srchset .set .s.sm{padding:8px 12px 8px 26px;font-size:calc(12px * var(--ts))}.srchset .set .s.sm .tog{transform:scale(.85);transform-origin:right center}
.readline{font-size:calc(12px * var(--ts));color:var(--muted);margin:0 2px 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.readline .rlp{color:var(--blue);font-weight:600;cursor:pointer}
/* prompt 219: Add to Padd, photos uploaded with Settings › Search › Read text in photos off: one line and the button that turns it on */
.readhint{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;font-size:calc(12.5px * var(--ts));color:var(--muted);margin:2px 2px 0}
.readhint .rlp{color:var(--blue);font-weight:600;cursor:pointer;min-height:32px;display:inline-flex;align-items:center}
/* "Where should your files live?" (prompt 121): the first-run screen, the Settings section and the "Sign in to Padd" screen (Padd Cloud) */
.stocards{display:flex;flex-direction:column;gap:10px;width:100%}
.frun .choice.dis{opacity:.55;cursor:default}
.frun .choice[aria-current="true"]{border-color:var(--blue);background:var(--blue-soft)}
.frun .choice .nogmail{margin-top:2px;align-self:flex-start}
.choice .cwarn{display:block;margin-top:6px;padding:8px 10px;border-radius:10px;background:#FFF6E0;color:#6B4A00;font-size:calc(12px * var(--ts));line-height:1.45}
.choice .stin{font-size:calc(10px * var(--ts));font-weight:700;background:var(--blue);color:#fff;border-radius:999px;padding:2px 7px;margin-left:6px;vertical-align:1px}
.stoset{border:1px solid var(--line);border-radius:12px;padding:12px;margin-top:12px;display:flex;flex-direction:column;gap:10px}.stoset h4{margin:0;font-size:calc(14px * var(--ts))}
.sgn .card .pasub{margin:0;font-size:calc(13.5px * var(--ts));line-height:1.45;color:var(--ink2);text-align:center}
.sgn .card .pain{width:100%;min-height:48px;font-size:max(16px, calc(16px * var(--ts)))}
.sgn .card .big{width:100%;min-height:52px;border-radius:12px;border:1px solid #D5DBE7;background:#fff;font:600 calc(15px * var(--ts)) var(--ui);color:#18202F;cursor:pointer;padding:0 14px;display:flex;align-items:center;justify-content:center}.sgn .card .big.p{background:#1F4FC8;border-color:#1F4FC8;color:#fff}
.sgn .card .parow{display:flex;gap:6px;justify-content:center;flex-wrap:wrap}
.sgn .card button.lnk{border:0;background:none;font-family:var(--ui);min-height:44px;font-size:calc(13px * var(--ts));color:#1F4FC8;font-weight:600;cursor:pointer}
/* ---- edit sharing (prompt 160): the Pages drawer's My pages | Shared, the Shared cards, a live note's top bar, the Share sheet's roles ---- */
.nb .pg{position:relative}
.nb .pgdot{position:absolute;top:-3px;right:-3px;width:10px;height:10px;border-radius:50%;background:#1F4FC8;border:2px solid #fff}
.nb .pgdot[hidden]{display:none}
.nb .dswitch{display:flex;padding:3px;border-radius:10px;background:#E9EDF2;gap:2px;margin:0 0 12px}
.nb .dsw{flex:1 1 0;min-height:36px;border:0;border-radius:8px;background:transparent;color:#3D4652;font:600 calc(14px * var(--ts)) var(--ui);display:inline-flex;align-items:center;justify-content:center;gap:6px;cursor:pointer}
.nb .dsw.on{background:#fff;color:#1F4FC8;font-weight:700;box-shadow:0 1px 3px rgba(27,31,36,.15)}
.nb .dsbd{min-width:18px;height:18px;padding:0 5px;box-sizing:border-box;border-radius:999px;background:#1F4FC8;color:#fff;font:700 calc(11px * var(--ts))/calc(18px * var(--ts)) var(--ui);text-align:center}
.nb .shc{background:#FFF3A8;display:flex;flex-direction:column;gap:4px}
.nb .shc.wh{background:#fff;border-color:#e3e7f0}
.nb .shh{display:flex;align-items:center;gap:6px}.nb .shh b{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nb .shdot{width:8px;height:8px;border-radius:999px;background:#1F4FC8;flex:none}
/* (prompt 380) "New" next to the title of a shared note never opened: 12px, the Shared count's blue, one line */
.nb .shh.nw b{flex:0 1 auto}.nb .shh.nw .shdot{margin-left:auto}
.nb .shnew{flex:none;white-space:nowrap;background:#1F4FC8;color:#fff;font:700 12px/1 var(--ui);padding:3px 7px;border-radius:999px}
/* (prompt 380) "<owner> shared a note with you" with Open, when Padd opens: at the top, over any tab (never over the notepad's floating buttons) */
.shtoast{position:fixed;left:16px;right:16px;top:calc(12px + env(safe-area-inset-top,0px));z-index:71;background:#1B1F24;color:#fff;border-radius:12px;padding:10px 12px 10px 16px;font-size:calc(14px * var(--ts));line-height:1.4;max-width:420px;margin:0 auto;display:flex;align-items:center;gap:10px;box-sizing:border-box}
.shtoast span{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shtoast button{flex:none;border:0;background:transparent;color:#9DBBFF;font:700 calc(14px * var(--ts)) var(--font);padding:6px 4px;cursor:pointer}
.nb .shfrom{display:flex;align-items:center;gap:6px;font-size:calc(12px * var(--ts));color:#5b6577;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.nb .shrole{height:20px;padding:0 7px;border-radius:999px;background:#fff;color:#5B6573;font-weight:600;display:inline-flex;align-items:center;flex:none}
.nb .shrole.ed{color:#1F4FC8}.nb .shc.wh .shrole{background:#E8EEFC}.nb .shc.wh .shrole:not(.ed){background:#EEF1F5}
.nb .shst{font-size:calc(12px * var(--ts));color:#5b6577}.nb .shst.live{display:flex;align-items:center;gap:5px;color:#1D5E3C}
.nb .shst.live i{width:6px;height:6px;border-radius:999px;background:#2E9E5B;flex:none}
.nb .shfoot{margin:6px 2px 0;font-size:calc(12px * var(--ts));line-height:1.45;color:#5B6573}
.nb .shempty{padding:12px 4px;font-size:calc(13px * var(--ts));color:#5b6577}
.nb .shlink{margin-top:14px;padding-top:12px;border-top:1px solid #E3E7F0}
.nb .shlbl{display:block;font:600 calc(13px * var(--ts)) var(--ui);color:#3D4652;margin:0 2px 6px}
.nb .shlrow{display:flex;gap:6px}
.nb .shlin{flex:1 1 auto;min-width:0;height:40px;border:1.5px solid #D5DBE7;border-radius:10px;padding:0 10px;font:500 max(16px, calc(16px * var(--ts))) var(--ui);color:#18202F;background:#fff;box-sizing:border-box}
.nb .shlin:focus{outline:none;border-color:#1F4FC8}
.nb .sherr{font:500 calc(12.5px * var(--ts))/1.4 var(--ui);color:#A12C2C;margin:6px 2px 0}.nb .sherr:empty{display:none}
/* a live note: a compact Live pill and up to 3 people in the top bar (one row: the From template button moves into the three-dot menu, as on a narrow phone) */
.nb .lvbar{display:flex;align-items:center;flex:none}.nb .lvbar:empty{display:none}
/* a live note (prompt 169): the Live pill and the people are one compact button, a dot and up to 2 small circles; the state is in its label and the list it opens */
.nb .lvbtn{display:flex;align-items:center;gap:4px;height:40px;padding:0 6px;border:0;border-radius:12px;background:transparent;cursor:pointer;flex:none}
.nb .lvbtn:active{background:#E8EDF8}
.nb .lvdot{width:8px;height:8px;border-radius:50%;background:#1E9E5A;flex:none}
.nb .lvbtn.amb .lvdot{background:#D9930D}
.nb .lvbtn .lvav{width:18px;height:18px;font-size:calc(9px * var(--ts));line-height:18px}
.nb .lvbtn .lvav+.lvav{margin-left:-7px}
.nb .lvsr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.nb .lvav{width:22px;height:22px;border-radius:50%;color:#fff;font:700 calc(11px * var(--ts))/calc(22px * var(--ts)) var(--ui);text-align:center;border:2px solid #fff;box-sizing:content-box;flex:none}
.nb .top.fitm>*{flex-shrink:0}      /* (fitTop measures every button at its own width) */
.nb .menu #mUndo{display:none}
.nb.lvfit1 .top [data-nact="undo"]{display:none}.nb.lvfit1 .menu #mUndo{display:flex}
.nb.lvfit2 .top .pg .pgw{display:none}.nb.lvfit2 .top .pg{padding:0 10px}
.nb.islive .top .tpb{display:none}.nb.islive .menu .tpmenu{display:flex}
.nb .lvmenu{min-width:220px;padding:8px}
.nb .lvph{font:600 calc(12px * var(--ts)) var(--ui);color:#5b6577;margin:2px 6px 6px}
.nb .lvpr{display:flex;align-items:center;gap:10px;padding:8px 6px;font:500 calc(14px * var(--ts)) var(--ui);color:#18202F}
.nb .lvpr small{margin-left:auto;color:#5b6577;font-size:calc(12px * var(--ts))}
.lvcur{position:absolute;left:0;top:0;width:0;height:0;overflow:hidden;z-index:3;pointer-events:none}      /* (prompt 186) inside the notepad, the part of the paper no bar covers: under the bars and the floating Mic (4), scrims, menus and sheets (5+), toasts (9) */
/* a View only note: the page cannot be changed */
.nb.ro .nbot,.nb.ro .nshow,.nb.ro .nfmic,.nb.ro .nfcam{display:none!important}
/* the Share sheet's people with their roles */
.nb .shvpeople{display:flex;flex-direction:column;gap:8px;flex:none}
.nb .shvadd{display:flex;gap:6px;align-items:center}
.nb .shvadd .shvin{flex:1 1 auto;min-width:0;height:44px;border:1.5px solid #D5DBE7;border-radius:12px;padding:0 10px;box-sizing:border-box}
.nb .shvadd .shvin:focus{border-color:#1F4FC8}
.nb .shvsel{height:44px;border:1px solid #D5DBE7;border-radius:12px;background:#fff;color:#18202F;font:600 max(16px, calc(16px * var(--ts))) var(--ui);padding:0 6px;flex:none}
.nb .shvpadd[hidden]{display:none}
.nb .shvphead{display:flex;justify-content:space-between;align-items:baseline;gap:8px;flex-wrap:wrap}
.nb .shvrows{display:flex;flex-direction:column;border:1px solid #E3E7F0;border-radius:12px;max-height:240px;overflow-y:auto}
.nb .shvprow{display:flex;align-items:center;gap:8px;padding:8px 10px}
.nb .shvprow+.shvprow{border-top:1px solid #EEF1F5}
.nb .shvprow.amber{background:#FFF6E5}
.nb .shvwho{display:flex;align-items:center;gap:10px;flex:1 1 auto;min-width:0}
.nb .shvwho div{min-width:0}.nb .shvwho b{display:block;font:600 calc(13px * var(--ts)) var(--ui);color:#18202F;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nb .shvwho small{display:block;font:500 calc(12px * var(--ts)) var(--ui);color:#5b6577}.nb .shvwho small.live{color:#1D5E3C}.nb .shvwho small.amb{color:#6B4A00}
.nb .shvav{width:30px;height:30px;border-radius:50%;color:#fff;font:700 calc(13px * var(--ts))/calc(30px * var(--ts)) var(--ui);text-align:center;flex:none}
/* prompt 165: iPhone zooms the screen into a text box whose text is under 16px, so every box the user types into is 16px or more (rules above that set a size say 16px) */
input,textarea,select{font-size:max(16px,1em)}
/* Food photo help (prompt 235, foodphoto.js): its question sheet over everything, and "Looking at your food..." on the picture */
.fdq{position:absolute;inset:0;z-index:90}
.fdq .sub.fdhelp{color:#6B7280;font-size:calc(12.5px * var(--ts))}
.fdq .btnrow{margin-top:8px}
.nb .pic .ph .nfood,.nb .fpic .nfood{position:absolute;left:8px;bottom:8px;display:flex;align-items:center;gap:8px;padding:6px 12px 6px 10px;border-radius:999px;background:rgba(24,28,36,.88);color:#fff;font:600 calc(12.5px * var(--ts))/1.2 var(--ui);white-space:nowrap;pointer-events:none;z-index:2}
.nb .pic .ph .nfood i,.nb .fpic .nfood i{display:block;width:12px;height:12px;box-sizing:border-box;border:2px solid rgba(255,255,255,.35);border-top-color:#fff;border-radius:50%;animation:sp .8s linear infinite}
.fdq .sub.fdtext{color:#3D4652;font-size:calc(14px * var(--ts));line-height:1.45}
/* ---- smart pages (prompt 241): the PC's cards (padd/static/smartpage.js), laid out for the phone; the Business tab; Settings › Business; Print / PDF */
/* (prompt 249) the phone look: the card stays inside the red line (from the paper's text edge to 8px from the screen's edge); sections; no text on two lines
   (smartcard.js's fit step shrinks a text too long for its box, down to 10px, then ends it with …); an "i" for each explanation; tiles; row cards; sheets */
.nb .ln.spb{font:500 calc(14px * var(--ts))/1.4 var(--ui);color:#1B1F24;min-height:0;margin:10px -8px 10px 0;line-height:1.4}
.nb .spb .sp-card{box-sizing:border-box;width:100%;background:#FFFFFF;border-radius:14px;box-shadow:0 2px 12px rgba(40,30,10,.16);overflow:hidden;display:flex;flex-direction:column;text-align:left;
  font:500 calc(14px * var(--ts))/1.4 var(--ui);color:#1B1F24;white-space:nowrap}
.nb .spb .sp-card *{min-width:0;box-sizing:border-box}
.nb .spb .sp-cut{overflow:hidden;text-overflow:ellipsis}
.nb .spb .sp-top{display:flex;align-items:center;gap:8px;padding:10px 10px 2px}
.nb .spb .sp-chip{flex:0 1 auto;overflow:hidden;font-size:calc(10.5px * var(--ts));font-weight:700;color:#1F4FC8;background:#E8EEFC;border-radius:999px;padding:3px 9px;letter-spacing:.02em}
.nb .spb .sp-pill{margin-left:auto;flex:0 1 auto;overflow:hidden;font-size:calc(11px * var(--ts));font-weight:700;border-radius:999px;padding:2px 10px}
.nb .spb .sp-pill:empty{display:none}
.nb .spb .sp-pill[data-st=unpaid]{background:#FFF1D6;color:#7A4B00}.nb .spb .sp-pill[data-st=paid]{background:#E3F4EA;color:#1D6B3F}.nb .spb .sp-pill[data-st=overdue]{background:#FCE8E8;color:#A12C2C}
.nb .spb .sp-pill[data-st=cancelled]{background:#EEF1F5;color:#5B6573}.nb .spb .sp-pill[data-st=claimed]{background:#FFF1D6;color:#8A5300}
.nb .spb .sp-s{padding:10px;border-top:1px solid #EEF1F5;display:flex;flex-direction:column;gap:8px}
.nb .spb .sp-top+.sp-s{border-top:0}
.nb .spb .sp-h{display:flex;align-items:center;gap:6px;font-size:calc(10.5px * var(--ts));font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#5B6573;margin-bottom:-1px}
.nb .spb .sp-h>span{flex:0 1 auto;overflow:hidden}
.nb .spb .sp-h .ms-link,.nb .spb .sp-h .sp-hl{margin-left:auto;font-size:calc(13px * var(--ts));text-transform:none;letter-spacing:0;text-decoration:none}
.nb .spb .sp-lbl{display:block;font-size:calc(11.5px * var(--ts));font-weight:600;color:#5B6573}
.nb .spb .ms-form{display:flex;flex-direction:column;gap:4px}
.nb .spb .sp-muted{color:#5B6573;font-size:calc(11.5px * var(--ts))}
.nb .spb .sp-ph{color:#8A93A1;font-weight:500}
/* fields: 40px; the typed text stays 16px (an iPhone zooms the page for less) */
.nb .spb .sp-in{box-sizing:border-box;height:40px;min-height:40px;width:100%;border:1px solid #D5DBE3;border-radius:10px;padding:0 11px;font:500 max(16px, calc(16px * var(--ts))) var(--ui);color:#1B1F24;background:#FFFFFF;outline:none;min-width:0}
.nb .spb textarea.sp-in{height:auto;min-height:64px;padding:8px 11px;resize:vertical;line-height:1.35}
.nb .spb select.sp-in{padding:0 8px}
.nb .spb .sp-in:focus{border-color:#1F4FC8;box-shadow:0 0 0 3px rgba(31,79,200,.18)}
.nb .spb .sp-in:disabled,.nb .spb .sp-btn:disabled,.nb .spb button:disabled{opacity:.5}
.nb .spb .sp-num{text-align:right}
/* buttons: 40px, 13px bold */
.nb .spb .sp-btn{height:40px;min-height:40px;padding:0 10px;border:1px solid #C9D3E3;background:#FFFFFF;color:#1B1F24;border-radius:11px;font:700 calc(13px * var(--ts)) var(--ui);overflow:hidden}
.nb .spb .sp-btn.sp-pri{border-color:#1F4FC8;background:#1F4FC8;color:#FFFFFF}
.nb .spb .sp-acts{display:flex;gap:6px;align-items:center}.nb .spb .sp-acts>.sp-btn{flex:1 1 0}
.nb .spb .sp-acts.sp-g2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.nb .spb .sp-acts .sp-full{grid-column:1/-1}
.nb .spb .sp-acts.sp-stack{flex-direction:column;align-items:stretch}.nb .spb .sp-acts.sp-stack>.sp-btn{flex:0 0 auto}
.nb .spb .sp-g2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 8px}
.nb .spb .sp-dash{width:100%;height:40px;border:1.5px dashed #B9C6E4;background:#F7F9FE;color:#1F4FC8;border-radius:11px;font:600 calc(14px * var(--ts)) var(--ui);padding:0 10px}
.nb .spb .ms-link{border:0;background:none;padding:0;font:600 calc(13px * var(--ts)) var(--ui);color:#1F4FC8;text-decoration:none;flex:0 1 auto;overflow:hidden}
/* the "i": a small blue circle; its words open in a sheet */
.nb .spb .sp-i,.sp-dlg .sp-i{flex:0 0 20px;width:20px;height:20px;min-width:20px;padding:0;border:1.5px solid #1F4FC8;border-radius:50%;background:#FFFFFF;color:#1F4FC8;font:italic 700 12px/1 Georgia,'Times New Roman',serif;display:inline-grid;place-items:center;opacity:1}
.nb .spb .sp-i:disabled{opacity:1}
.nb .spb .sp-iw{display:flex;align-items:center;gap:6px}
/* number tiles: two columns */
.nb .spb .sp-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.nb .spb .sp-tile{border:1px solid #E2E6EC;border-radius:11px;padding:7px 9px;display:flex;flex-direction:column;gap:1px;background:#FFFFFF;text-align:left;font:inherit;color:inherit}
.nb .spb .sp-tile.sp-wide{grid-column:1/-1}
.nb .spb .sp-tile b{display:block;font-size:calc(16px * var(--ts));font-weight:700;font-variant-numeric:tabular-nums;overflow:hidden}
.nb .spb .sp-tile span{display:block;font-size:calc(11.5px * var(--ts));color:#5B6573;overflow:hidden}
.nb .spb .sp-tile b.iv-red,.nb .spb .sp-tile b.il-late{color:#A12C2C}
.nb .spb .ms-st.live{color:#1D6B3F}.nb .spb .ms-st.draft{color:#7A4B00}.nb .spb .ms-st.review{color:#A12C2C}
/* row cards: icon or photo, name and one grey line, the amount, a chevron; badges under; quick controls at the bottom */
.nb .spb .sp-rows{display:flex;flex-direction:column;gap:6px}
.nb .spb .sp-rc{border:1px solid #E2E6EC;border-radius:12px;background:#FFFFFF;padding:8px 9px;display:flex;flex-direction:column;gap:6px;cursor:pointer;-webkit-tap-highlight-color:transparent}
.nb .spb .sp-rc1{display:flex;align-items:center;gap:9px;width:100%;border:0;background:none;padding:0;font:inherit;color:inherit;text-align:left}
.nb .spb .sp-rcm{flex:1 1 auto;display:flex;flex-direction:column;gap:1px;overflow:hidden}
.nb .spb .sp-rcn{display:block;font-size:calc(14.5px * var(--ts));font-weight:700;overflow:hidden}
.nb .spb .sp-rcs{display:block;font-size:calc(11.5px * var(--ts));color:#5B6573;overflow:hidden}
.nb .spb .sp-rca{flex:0 0 auto;font-size:calc(14.5px * var(--ts));font-weight:700;font-variant-numeric:tabular-nums}
.nb .spb .sp-rca:empty{display:none}
.nb .spb .sp-chev{flex:0 0 auto;font-style:normal;color:#9AA3B0;font-size:calc(18px * var(--ts));line-height:1}
.nb .spb .sp-badges{display:flex;gap:4px;overflow:hidden}.nb .spb .sp-badges:empty{display:none}
.nb .spb .sp-badges>*{flex:0 1 auto;overflow:hidden}
.nb .spb .sp-badges .sp-pill,.nb .spb .iv-lo{margin-left:0;font-size:calc(10.5px * var(--ts));font-weight:700;border-radius:999px;padding:1px 8px}
.nb .spb .iv-lo{color:#A12C2C;background:#FCE8E8}.nb .spb .iv-out,.nb .spb .iv-hold{color:#7A4B00;background:#FFF1D6}
.nb .spb .sp-rcb{display:flex;align-items:center;gap:8px}
.nb .spb .sp-ic{flex:0 0 32px;width:32px;height:32px;border-radius:9px;background:#F1F4F8;display:grid;place-items:center;font-size:16px;overflow:hidden}
.nb .spb .sp-no1{font-size:calc(13px * var(--ts));font-weight:700;color:#5B6573}
.nb .spb .iv-ph{flex:0 0 46px;width:46px;height:46px;border-radius:10px;background:#F4F6F9;border:1px dashed #C9D3E3;display:grid;place-items:center;font-size:18px;overflow:hidden;padding:0;color:inherit}
.nb .spb .iv-ph:has(.spimg){border-style:solid;border-color:#E2E6EC}
/* the stepper: − value + */
.nb .spb .iv-q,.sp-dlg .iv-q{display:flex;align-items:center;gap:6px;flex:0 0 auto}
.nb .spb .iv-q .sp-btn,.sp-dlg .iv-q .sp-btn{flex:0 0 36px;width:36px;height:36px;min-height:36px;padding:0;border-radius:10px;font-size:18px;line-height:1}
.nb .spb .iv-q b,.sp-dlg .iv-q b{min-width:24px;text-align:center;font-size:calc(15px * var(--ts));font-weight:700;font-variant-numeric:tabular-nums}
.nb .spb .iv-al{margin-left:auto;font-size:calc(11.5px * var(--ts));color:#5B6573;overflow:hidden}
/* a secondary thing: a tappable row (icon tile, title and one grey line, chevron) that opens a sheet */
.nb .spb .sp-rl{display:flex;align-items:center;gap:9px;width:100%;border:1px solid #E2E6EC;border-radius:12px;background:#FFFFFF;padding:7px 9px;font:inherit;color:inherit;text-align:left;opacity:1}
.nb .spb .sp-rt{flex:1 1 auto;display:flex;flex-direction:column;gap:1px;overflow:hidden}
.nb .spb .sp-rt>b{display:block;font-size:calc(14px * var(--ts));font-weight:700;overflow:hidden}.nb .spb .sp-rt>span{display:block;font-size:calc(11.5px * var(--ts));color:#5B6573;overflow:hidden}
.nb .spb .sp-rlw{display:flex;align-items:center;gap:6px}.nb .spb .sp-rlw>.sp-rl{flex:1 1 auto}
.nb .spb .sp-ic.sp-qr{background:#FFFFFF;border:1px solid #E2E6EC;padding:2px}.nb .spb .sp-ic.sp-qr svg{width:100%;height:100%;display:block}
/* switch: 42×26 */
.nb .spb .sp-sw,.sp-dlg .sp-sw{-webkit-appearance:none;appearance:none;flex:0 0 42px;width:42px;height:26px;margin:0 0 0 auto;border-radius:999px;background:#C9D3E3;position:relative;transition:background .15s;cursor:pointer}
.nb .spb .sp-sw::after,.sp-dlg .sp-sw::after{content:"";position:absolute;left:3px;top:3px;width:20px;height:20px;border-radius:50%;background:#FFFFFF;box-shadow:0 1px 3px rgba(0,0,0,.25);transition:transform .15s}
.nb .spb .sp-sw:checked,.sp-dlg .sp-sw:checked{background:#1F4FC8}.nb .spb .sp-sw:checked::after,.sp-dlg .sp-sw:checked::after{transform:translateX(16px)}
.nb .spb .sp-sw:disabled,.sp-dlg .sp-sw:disabled{opacity:.5}
.nb .spb .sp-swl,.sp-dlg .sp-swl{display:flex;align-items:center;gap:6px;min-height:40px;font-weight:600;color:#1B1F24}
.nb .spb .sp-swt,.sp-dlg .sp-swt{flex:0 1 auto;overflow:hidden}
/* the invoice */
.nb .spb .sp-head{display:flex;align-items:center;gap:8px;font-size:calc(17px * var(--ts));font-weight:800;letter-spacing:.04em;color:#18202F}
.nb .spb .sp-head>span{flex:0 0 auto}
.nb .spb .sp-no{width:120px;flex:0 1 120px;font-size:max(16px, calc(17px * var(--ts)));font-weight:800;letter-spacing:.04em}
.nb .spb .sp-cols{display:flex;flex-direction:column;gap:8px}.nb .spb .sp-cols>div{display:flex;flex-direction:column;gap:4px}
.nb .spb .sp-from{display:flex;flex-direction:column;gap:1px}.nb .spb .sp-bname{font-weight:700;overflow:hidden}.nb .spb .sp-addr{color:#3D4652;font-size:calc(11.5px * var(--ts));overflow:hidden}
.nb .spb .sp-dates{display:flex;flex-direction:column;gap:8px}.nb .spb .sp-dates label{display:flex;flex-direction:column;gap:4px}
.nb .spb .sp-due{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:6px}
.nb .spb .sp-tax{display:flex;align-items:center;gap:8px}.nb .spb .sp-tax .sp-lbl{flex:0 0 auto}.nb .spb .sp-tax .sp-in{width:84px;flex:0 0 84px}.nb .spb .sp-tax>span:last-child{color:#5B6573;font-weight:600}
.nb .spb .sp-sent{display:flex;gap:4px 10px;font-size:calc(11.5px * var(--ts));color:#3D4652;overflow:hidden}.nb .spb .sp-sent:empty{display:none}.nb .spb .sp-sent>*{flex:0 1 auto;overflow:hidden}
.nb .spb .sp-err{white-space:normal;color:#7A2222;background:#FDF1F1;border-radius:8px;padding:4px 10px;font-weight:600;font-size:calc(12px * var(--ts));flex:1 1 100%}.nb .spb .sp-err:empty{display:none}
.nb .spb .sp-claim{color:#8A5300;background:#FFF1D6;border-radius:999px;padding:1px 8px;font-weight:700}.nb .spb .sp-gone{color:#A12C2C;font-weight:600}
.nb .spb .sp-menu{flex:0 0 auto}.nb .spb .sp-mb{width:32px;height:28px;border:0;border-radius:8px;background:transparent;color:#5B6573;font:700 18px/1 var(--ui);padding:0}
.nb .spb .sp-why{margin-top:6px;font-size:calc(12px * var(--ts));color:#7A4B00;background:#FFF6E5;border-radius:8px;padding:6px 10px;white-space:normal}
.nb .spb .ph.spimg{width:100%;height:100%;min-height:0;margin:0;border:0;border-radius:inherit;background:#F4F6F9;padding:0}.nb .spb .ph.spimg img{width:100%;height:100%;object-fit:cover;border-radius:inherit}
.nb .spb .ph.spimg>i{display:none}
.nb .spb .iv-code,.sp-dlg .iv-code{font-family:Consolas,monospace}
/* the Product catalog site */
.nb .spb .ms-addr{display:flex;align-items:center;height:40px;border:1px solid #D5DBE3;border-radius:10px;overflow:hidden;background:#FFFFFF}
.nb .spb .ms-addr:focus-within{border-color:#1F4FC8;box-shadow:0 0 0 3px rgba(31,79,200,.18)}
.nb .spb .ms-addr>span{flex:0 0 auto;align-self:stretch;display:flex;align-items:center;padding:0 8px;background:#F1F4F8;color:#5B6573;font-size:calc(13px * var(--ts));font-weight:600}
.nb .spb .ms-addr .sp-in{flex:1 1 auto;width:auto;border:0;border-radius:0;height:38px;min-height:38px;padding:0 6px;box-shadow:none}
.nb .spb .ms-colors{display:flex;gap:10px}
.nb .spb .ms-col{flex:0 0 32px;width:32px;height:32px;border-radius:50%;border:0;padding:0;box-shadow:inset 0 0 0 1px rgba(0,0,0,.08)}
.nb .spb .ms-col[aria-pressed=true]{box-shadow:0 0 0 2px #FFFFFF,0 0 0 4px #1F4FC8}
.nb .spb .ms-prof{display:flex;gap:10px;align-items:center}
.nb .spb .ms-pic{flex:0 0 56px;width:56px;height:56px;border-radius:50%;border:1px dashed #C9D3E3;background:#F4F6F9;display:grid;place-items:center;font-size:26px;overflow:hidden;padding:0;color:inherit}
.nb .spb .ms-pbox{flex:1 1 auto;display:flex;flex-direction:column;gap:6px}
.nb .spb .ms-pacts{display:flex;align-items:center;gap:10px}
.nb .spb .ms-emoji{display:flex;align-items:center;gap:8px}.nb .spb .ms-emoji .sp-lbl{flex:0 1 auto;overflow:hidden}.nb .spb .ms-emoji .sp-in{width:64px;flex:0 0 64px;text-align:center}
.nb .spb .ms-live{border:1px solid #CFE6D8;background:#F3FAF6;border-radius:11px;padding:2px 10px}
.nb .spb .ms-chip{flex:0 0 auto;font-size:calc(10.5px * var(--ts));font-weight:700;color:#1D5E3C;background:#E3F4EA;border-radius:999px;padding:1px 8px}
/* Connected pages and the orders */
.nb .spb .cn-orders{display:flex;flex-direction:column;gap:6px}
.nb .spb .cn-none{font-size:calc(11.5px * var(--ts));color:#5B6573;overflow:hidden}
.nb .spb .cn-ord .cn-cancel{flex:0 0 auto;height:36px;min-height:36px}
.nb .spb .cn-ord .sp-rc1.cn-open{color:inherit}
/* the Invoice list */
.nb .spb .il-kpi{cursor:pointer}
.nb .spb .il-kpi[aria-pressed=true]{border-color:#1F4FC8;box-shadow:0 0 0 2px #DCE3FB}
.nb .spb .il-late{color:#A12C2C;font-weight:600}
.nb .spb .il-bar{display:flex;gap:6px;align-items:center}.nb .spb .il-q{flex:1 1 auto;width:auto}.nb .spb .il-sel{flex:0 0 96px;width:96px}
.nb .spb .il-chips,.nb .spb .il-sorts{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;margin:0 -10px;padding:0 10px}
.nb .spb .il-chips::-webkit-scrollbar,.nb .spb .il-sorts::-webkit-scrollbar{display:none}
.nb .spb .il-chip,.nb .spb .il-sort{flex:0 0 auto;border:1px solid #D5DBE3;background:#FFFFFF;border-radius:999px;padding:0 11px;height:30px;font:600 calc(12px * var(--ts)) var(--ui);color:#3D4652}
.nb .spb .il-chip i{font-style:normal;color:#7A8494;font-weight:500;margin-left:5px}.nb .spb .il-chip[aria-pressed=true]{background:#18202F;color:#FFFFFF;border-color:#18202F}.nb .spb .il-chip[aria-pressed=true] i{color:#C9D3E3}
.nb .spb .il-sort{border-radius:8px;background:#F6F8FB;height:28px;font-size:calc(11.5px * var(--ts))}.nb .spb .il-sort[aria-sort=ascending],.nb .spb .il-sort[aria-sort=descending]{color:#1F4FC8;border-color:#9AA8C7}
.nb .spb .il-row.il-on{background:#EEF2FD;border-color:#9AB0EA}.nb .spb .il-row input{flex:0 0 20px;width:20px;height:20px;margin:0}
.nb .spb .il-open{flex:1 1 auto;display:flex;align-items:center;gap:9px;border:0;background:none;padding:0;font:inherit;color:inherit;text-align:left}
.nb .spb .il-none{text-align:center;color:#5B6573;padding:14px;font-size:calc(12px * var(--ts))}
.nb .spb .il-more{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:calc(11.5px * var(--ts));color:#5B6573}.nb .spb .il-more>span{flex:0 1 auto;overflow:hidden}
.nb .spb .il-more .sp-btn{flex:0 0 auto}
.nb .spb .il-bulk{display:flex;flex-direction:column;gap:6px;background:#18202F;color:#FFFFFF;border-radius:12px;padding:8px;font-weight:700;font-size:calc(13px * var(--ts))}
.nb .spb .il-bulk .sp-btn{background:#FFFFFF;color:#18202F;border-color:#FFFFFF}.nb .spb .il-bulk .sp-btn.sp-pri{background:#1F4FC8;color:#FFFFFF;border-color:#1F4FC8}.nb .spb .il-bulk .il-clear{background:transparent;color:#C9D3E3;border-color:#5B6573}
.nb .spb .il-crumb{display:flex;align-items:center;gap:6px;font:500 calc(12px * var(--ts)) var(--ui);overflow:hidden}.nb .spb .il-back-l{flex:0 1 auto;overflow:hidden;color:#5B6573}
.nb .spb .il-back{flex:0 1 auto;border:1px solid #C9D3E3;background:#F4F7FD;color:#1F4FC8;border-radius:999px;height:28px;padding:0 11px;font:600 calc(12px * var(--ts)) var(--ui);overflow:hidden}
.sp-dlg .cn-picks{display:flex;flex-direction:column;gap:6px;max-height:60vh;overflow:auto}
.sp-dlg .cn-pick{display:flex;flex-direction:column;gap:2px;text-align:left;border:1px solid #E2E6EC;border-radius:10px;background:#FFFFFF;padding:10px 12px;font:inherit;color:#1B1F24}
.sp-dlg .cn-pick span{font-size:calc(12.5px * var(--ts));color:#5B6573;font-weight:500}
.sp-dlg .ms-chk{display:flex;flex-direction:column;gap:6px}.sp-dlg .ms-chk>div{display:flex;gap:8px;align-items:flex-start}
.sp-dlg .ms-chk b{flex:0 0 18px}.sp-dlg .ms-chk b.yes{color:#1D6B3F}.sp-dlg .ms-chk b.no{color:#A12C2C}
.sp-dlg.ms-big2{max-width:none}
.sp-dlg .sp-top{display:flex;align-items:center;gap:8px}.sp-dlg .ms-title{flex:1 1 auto;min-width:0;overflow-wrap:anywhere}.sp-dlg .sp-top .sp-btn{flex:0 0 auto}
.sp-dlg .cn-test{font-size:calc(12px * var(--ts));color:#7A4B00;background:#FFF6E5;border-radius:8px;padding:6px 10px}
.sp-dlg .sp-need{font-size:calc(12.5px * var(--ts));color:#7A4B00}
.sp-dlg .sp-lbl{display:block;font-size:calc(11px * var(--ts));font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#5B6573;margin-bottom:4px}
.sp-dlg .ms-devs{display:flex;flex-direction:column;gap:14px;align-items:flex-start}
.sp-dlg .ms-phone,.sp-dlg .ms-web{max-width:100%;border:1px solid #D5DBE3;border-radius:16px;overflow:hidden;background:#FFFFFF}
.sp-dlg .ms-web{border-radius:10px}
.sp-dlg .ms-bar,.sp-dlg .ms-notch{display:flex;align-items:center;gap:6px;padding:6px 10px;background:#F4F6F9;font-size:11px;color:#5B6573}
.sp-dlg .ms-bar i{width:8px;height:8px;border-radius:50%;background:#D5DBE3}.sp-dlg .ms-notch{justify-content:space-between}
.sp-dlg .ms-scale{overflow:auto}
.sp-dlg.cn-buyer .cn-tagb{font-size:calc(11px * var(--ts));font-weight:700;color:#5B6573;text-transform:uppercase;letter-spacing:.06em}
.sp-dlg .cn-prod{display:flex;align-items:center;gap:10px}.sp-dlg .cn-prod img{width:48px;height:48px;object-fit:cover;border-radius:8px}.sp-dlg .cn-pt{flex:1 1 auto;min-width:0}
.sp-dlg .cn-tot{display:flex;justify-content:space-between;font-weight:700}
.sp-dlg .cn-del{display:flex;flex-direction:column;gap:6px}.sp-dlg .cn-del label{flex-direction:row;align-items:center;gap:8px;font-weight:500}
.sp-dlg textarea.sp-in{min-height:64px;padding:8px 10px}
.sp-dlg .cn-bot{font-size:calc(12px * var(--ts));color:#5B6573;border:1px dashed #C9D3E3;border-radius:8px;padding:6px 10px}
/* (prompt 242) two invoices with the same number */
.nb .bzdup{font-size:calc(11.5px * var(--ts));font-weight:600;color:#A12C2C;line-height:1.35}
/* (prompt 249) every smart page pop-up is a bottom sheet: a see-through backdrop, the panel from the bottom with a grab bar; tap the backdrop or swipe down to close */
.sp-ov{--ui:'Figtree',system-ui,sans-serif;position:fixed;inset:0;z-index:2000;background:rgba(14,20,32,.45);display:flex;align-items:flex-end;justify-content:center;padding:0}
.sp-dlg{box-sizing:border-box;width:100%;max-width:640px;max-height:86%;overflow:auto;overscroll-behavior:contain;background:#FFFFFF;border-radius:22px 22px 0 0;box-shadow:0 -8px 30px rgba(20,30,50,.25);
  padding:6px 14px calc(18px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:10px;font:500 15px/1.45 var(--ui);color:#1B1F24;transition:transform .15s}
.sp-dlg::before{content:"";flex:0 0 auto;align-self:center;width:38px;height:5px;border-radius:3px;background:#D5DBE3;margin:2px 0 4px}
.sp-dlg *{box-sizing:border-box}
.sp-dlg h3{margin:0;font-size:17px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sp-dlg label{display:flex;flex-direction:column;gap:4px;font-weight:600;color:#3D4652}
.sp-dlg .sp-lbl{display:block;font-size:11.5px;font-weight:600;text-transform:none;letter-spacing:0;color:#5B6573;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sp-dlg .sp-in{box-sizing:border-box;height:40px;min-height:40px;width:100%;border:1px solid #D5DBE3;border-radius:10px;padding:0 11px;font:500 16px var(--ui);color:#1B1F24;background:#FFFFFF;outline:none}
.sp-dlg .sp-in:focus{border-color:#1F4FC8;box-shadow:0 0 0 3px rgba(31,79,200,.18)}
.sp-dlg textarea.sp-in{height:auto;min-height:64px;padding:8px 11px}
.sp-dlg .sp-subj{font-size:12.5px;color:#3D4652;background:#F4F6F9;border-radius:8px;padding:8px 10px;word-break:break-word}
.sp-dlg .sp-acts{display:flex;gap:6px}.sp-dlg .sp-btn{flex:1 1 0;min-width:0;height:40px;min-height:40px;padding:0 10px;border:1px solid #C9D3E3;background:#FFFFFF;border-radius:11px;font:700 13px var(--ui);color:#1B1F24;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sp-dlg .sp-btn.sp-pri{border-color:#1F4FC8;background:#1F4FC8;color:#FFFFFF}.sp-dlg .sp-btn:disabled,.sp-dlg button:disabled,.sp-dlg .sp-in:disabled{opacity:.5}
.sp-dlg .sp-btn.sp-del{color:#A12C2C;border-color:#F0C9C9;flex:0 0 auto;width:100%}
.sp-dlg .sp-dash{width:100%;height:40px;border:1.5px dashed #B9C6E4;background:#F7F9FE;color:#1F4FC8;border-radius:11px;font:600 14px var(--ui)}
.sp-dlg .sb-msg{font-size:13px;border-radius:8px;padding:8px 10px}.sp-dlg .sb-msg:empty{display:none}.sp-dlg .sb-msg[data-ok="1"]{background:#E8F4EE;color:#1D5E3C}.sp-dlg .sb-msg[data-ok="0"]{background:#FDF1F1;color:#7A2222}
.sp-dlg .sb-hint{font-size:12.5px;color:#5B6573}
.sp-dlg .sp-sb{display:flex;flex-direction:column;gap:10px}
.sp-dlg .sp-sf{display:flex;flex-direction:column;gap:10px}
.sp-dlg .sp-g2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.sp-dlg .sp-num{text-align:right}
.sp-dlg .sp-info{font-size:15px;line-height:1.5;color:#1B1F24}
.sp-dlg .sp-info .ms-link,.sp-dlg .ms-link{border:0;background:none;padding:0;font:inherit;font-weight:600;color:#1F4FC8;text-decoration:underline}
.sp-dlg .sp-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.sp-dlg .sp-tile{border:1px solid #E2E6EC;border-radius:11px;padding:7px 9px;display:flex;flex-direction:column;gap:1px}.sp-dlg .sp-tile.sp-wide{grid-column:1/-1}
.sp-dlg .sp-tile b{font-size:16px;font-weight:700;font-variant-numeric:tabular-nums;min-height:1.2em}.sp-dlg .sp-tile span{font-size:11.5px;color:#5B6573}
.sp-dlg .sp-phrow{display:flex;align-items:center;gap:12px}
.sp-dlg .iv-ph{flex:0 0 64px;width:64px;height:64px;border-radius:12px;background:#F4F6F9;border:1px dashed #C9D3E3;display:grid;place-items:center;font-size:22px;overflow:hidden;padding:0;color:inherit}
.sp-dlg .ph.spimg{width:100%;height:100%;min-height:0;margin:0;border:0;border-radius:inherit;background:#F4F6F9;padding:0}.sp-dlg .ph.spimg img{width:100%;height:100%;object-fit:cover;border-radius:inherit}.sp-dlg .ph.spimg>i{display:none}
.sp-dlg .sp-pay{border:1px solid #E2E6EC;background:#F8FAFC;border-radius:12px;padding:12px;display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.sp-dlg .sp-lines{flex:1 1 160px;display:flex;flex-direction:column;gap:3px;min-width:0}
.sp-dlg .sp-line{white-space:pre-line;word-break:break-word}
.sp-dlg .sp-qr{flex:0 0 auto;width:120px;height:120px;background:#FFFFFF;border-radius:6px}.sp-dlg .sp-qr svg{width:100%;height:100%;display:block}
.sp-dlg .sp-muted{color:#5B6573;font-size:13px}
.sp-dlg .sp-pop{display:flex;flex-direction:column;gap:8px}.sp-dlg .sp-q{font-size:15px;color:#3D4652;line-height:1.5}
.sp-dlg .iv-log{font-size:14px;color:#3D4652;display:flex;flex-direction:column;gap:6px}.sp-dlg .iv-log span{color:#7A8494;margin-right:8px}
.sp-dlg .cn-chips{display:flex;flex-direction:column;gap:6px}
.sp-dlg .cn-chip{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;background:#FFFFFF;border:1px solid #E2E6EC;border-radius:12px;padding:6px 8px}.sp-dlg .cn-gone{opacity:.55}
.sp-dlg .cn-open{flex:1 1 auto;display:flex;align-items:center;gap:6px;border:0;background:none;font:inherit;color:#1F4FC8;padding:4px 0;text-align:left;min-width:0}
.sp-dlg .cn-open b{font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sp-dlg .cn-open i{font-style:normal}
.sp-dlg .cn-what{flex:1 1 100%;order:3;font-size:13px;color:#5B6573;line-height:1.4}
.sp-dlg .cn-x{flex:0 0 auto;width:36px;height:36px;border:1px solid #E2E6EC;border-radius:10px;background:#FFFFFF;color:#5B6573;font:600 18px/1 var(--ui)}
.sp-dlg .cn-none{font-size:14px;color:#5B6573}
.sp-dlg .sp-swl{flex-direction:row}
/* (prompt 250) Medicine & reminders: the person switch, today's doses with the round Taken button, the week, the cabinet's supply bar; its sheets */
.nb .spb .md-who{display:flex;align-items:center;gap:6px}
.nb .spb .md-seg{flex:1 1 auto;display:flex;gap:2px;background:#F1F4F8;border-radius:10px;padding:3px;overflow:hidden}
.nb .spb .md-sg{flex:1 1 0;height:32px;border:0;border-radius:8px;background:transparent;font:600 calc(13px * var(--ts)) var(--ui);color:#3D4652;padding:0 8px;overflow:hidden;opacity:1}
.nb .spb .md-sg[aria-pressed="true"]{background:#FFFFFF;color:#1F4FC8;box-shadow:0 1px 3px rgba(20,30,50,.15)}
.nb .spb .md-plus{flex:0 0 38px;width:38px;height:38px;border:1px solid #C9D3E3;border-radius:10px;background:#FFFFFF;color:#1F4FC8;font:700 20px/1 var(--ui);padding:0}
.nb .spb .md-t{flex:0 0 auto;min-width:58px;font-size:calc(13px * var(--ts));font-weight:700;font-variant-numeric:tabular-nums}
.nb .spb .md-tick{flex:0 0 34px;width:34px;height:34px;border-radius:50%;border:2px solid #C9D3E3;background:#FFFFFF;color:#FFFFFF;font:700 17px/1 var(--ui);padding:0}
.nb .spb .md-dose.md-on{background:#F1FAF4;border-color:#BFE3CC}.nb .spb .md-on .md-tick{background:#1D7F4E;border-color:#1D7F4E}
.nb .spb .md-badge{flex:0 0 auto;margin-left:0;font-size:calc(10.5px * var(--ts));padding:1px 8px}
.nb .spb .md-pic,.sp-dlg .md-pic{flex:0 0 46px;width:46px;height:46px;border-radius:10px;background:#F1F4F8;display:grid;place-items:center;font-size:22px;overflow:hidden}
.nb .spb .md-pic img,.sp-dlg .md-pic img{width:100%;height:100%;object-fit:cover}
.nb .spb .md-bar{flex:1 1 auto;height:6px;border-radius:3px;background:#EEF1F5;overflow:hidden}
.nb .spb .md-bar i{display:block;height:100%;background:#2E9E5B;border-radius:3px}.nb .spb .md-bar.md-amber i{background:#E0A100}
.nb .spb .md-of{flex:0 0 auto;font-size:calc(11.5px * var(--ts));color:#5B6573;font-variant-numeric:tabular-nums}
.nb .spb .md-cab .sp-rcb .sp-badges{flex:0 1 auto}
.nb .spb .sp-rca[data-low]{color:#A12C2C}
.nb .spb .md-week{display:flex;flex-direction:column;gap:5px}
.nb .spb .md-wr{display:grid;grid-template-columns:minmax(0,1fr) repeat(7,22px);gap:4px;align-items:center}
.nb .spb .md-wr>span{overflow:hidden;font-size:calc(12.5px * var(--ts));font-weight:600}
.nb .spb .md-wh i{font-style:normal;text-align:center;font-size:calc(10.5px * var(--ts));font-weight:700;color:#5B6573}
.nb .spb .md-c{display:block;height:18px;border-radius:5px;background:#E2E6EC}.nb .spb .md-c[data-c=ok]{background:#2E9E5B}.nb .spb .md-c[data-c=miss]{background:#D64545}
.sp-dlg .sp-btn.md-scan{flex:0 0 auto;width:100%}
.sp-dlg .md-or{font-size:12px;color:#7A8494;text-align:center;margin-top:-4px}
.sp-dlg .md-phrow .md-pic{flex:0 0 56px;width:56px;height:56px;border-radius:12px}
.sp-dlg .md-chips{display:flex;flex-wrap:wrap;gap:6px}
.sp-dlg .md-chip{height:34px;border:1px solid #C9D3E3;border-radius:999px;background:#FFFFFF;padding:0 14px;font:600 14px var(--ui);color:#1B1F24;white-space:nowrap}
.sp-dlg .md-chip[aria-pressed="true"]{background:#1F4FC8;border-color:#1F4FC8;color:#FFFFFF}.sp-dlg .md-chip.md-dashc{border:1.5px dashed #B9C6E4;background:#F7F9FE;color:#1F4FC8}
.sp-dlg .md-addp{display:flex;gap:6px;flex:1 1 100%}.sp-dlg .md-addp .sp-in{flex:1 1 auto}.sp-dlg .md-addp .sp-btn{flex:0 0 auto;padding:0 18px}
.sp-dlg .md-times{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.sp-dlg .md-hi .sp-in,.sp-dlg .md-times.md-hi .sp-in{background:#FFF8D6;border-color:#E0B400}
.sp-dlg .md-swg{display:flex;flex-direction:column}.sp-dlg .md-note{font-size:12px;color:#7A8494;margin-top:-6px}
.sp-dlg .sp-btn.md-delt{color:#A12C2C;border-color:#F0C9C9}
.sp-dlg .md-pl,.sp-dlg .md-dl{display:flex;flex-direction:column;gap:6px}
.sp-dlg .md-pr{display:flex;align-items:center;gap:8px;min-height:46px;border:1px solid #E2E6EC;border-radius:12px;padding:4px 6px 4px 10px}
.sp-dlg .md-pr b{flex:1 1 auto;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sp-dlg .md-pr .sp-in{flex:1 1 auto}.sp-dlg .md-pr .sp-btn{flex:0 0 auto;padding:0 16px}
.sp-dlg .md-pm{flex:0 0 36px;width:36px;height:36px;border:0;background:none;font:700 18px var(--ui);color:#5B6573}
.sp-dlg .md-padd{display:flex;gap:6px}.sp-dlg .md-padd .sp-in{flex:1 1 auto}.sp-dlg .md-padd .sp-btn{flex:0 0 auto;padding:0 18px}
.sp-dlg .md-dr{display:flex;align-items:center;gap:10px;border:1px solid #E2E6EC;border-radius:12px;padding:8px 10px}
.sp-dlg .md-drm{flex:1 1 auto;min-width:0;display:flex;flex-direction:column}.sp-dlg .md-drm b,.sp-dlg .md-drm span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sp-dlg .md-drm span{font-size:12.5px;color:#5B6573}
.sp-dlg .md-drp{flex:0 0 auto;font-size:16px;font-variant-numeric:tabular-nums}
/* (prompt 254) the Add / Edit medicine sheet: white, soft grey cards with a small uppercase label, its own header, a footer (summary + Add medicine / Save)
   that always shows; 14px text, 40px controls, 16px typed text, nothing on two lines */
.sp-dlg .md-sheet{display:flex;flex-direction:column;gap:10px;font-size:14px}
.sp-dlg .md-hd{display:flex;align-items:center;justify-content:space-between;gap:10px}
.sp-dlg .md-hd b{font-size:17px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sp-dlg .md-x{flex:0 0 34px;width:34px;height:34px;border:0;border-radius:50%;background:#EEF1F5;color:#3D4652;font:700 15px/1 var(--ui);padding:0}
.sp-dlg .md-card{background:#F6F8FB;border:1px solid #E6EAF0;border-radius:14px;padding:11px;display:flex;flex-direction:column;gap:10px;min-width:0}
.sp-dlg .md-cl{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#5B6573;white-space:nowrap;overflow:hidden}
.sp-dlg .md-cl .md-dleft{font-size:13px;font-weight:700;text-transform:none;letter-spacing:0;color:#1F4FC8}
.sp-dlg .md-scanrow{display:flex;align-items:center;gap:12px}
.sp-dlg .md-photo{flex:0 0 64px;width:64px;height:64px;border:1.5px dashed #B9C6E4;border-radius:12px;background:#FFFFFF;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;padding:0;overflow:hidden;font-size:20px;line-height:1;color:#5B6573}
.sp-dlg .md-photo small{font:600 11px var(--ui)}
.sp-dlg .md-photo.md-has{border:0}.sp-dlg .md-photo img{width:100%;height:100%;object-fit:cover}
.sp-dlg .md-scanc{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:4px}
.sp-dlg .md-scanc .sp-btn.md-scan{flex:0 0 auto;width:100%;font-size:14px}
.sp-dlg .md-scanc .md-or{margin:0;text-align:left;font-size:12px;color:#7A8494;white-space:nowrap}
.sp-dlg .md-sl{font-size:13px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:-4px}
.sp-dlg .md-sl.md-ok{color:#1D7F4E}.sp-dlg .md-sl.md-err{color:#B42318}.sp-dlg .md-sl.md-busy,.sp-dlg .md-sl.md-grey{color:#5B6573;font-weight:500}
.sp-dlg .md-pmenu{margin-top:-2px}
.sp-dlg .md-namebox{display:flex;align-items:center;gap:6px;height:44px;border:1px solid #D5DBE3;border-radius:10px;background:#FFFFFF;padding:0 6px}
.sp-dlg .md-namebox:focus-within{border-color:#1F4FC8;box-shadow:0 0 0 3px rgba(31,79,200,.18)}
.sp-dlg .md-namebox .sp-in{flex:1 1 auto;min-width:0;height:42px;min-height:42px;border:0;box-shadow:none;padding:0 4px;background:transparent}
.sp-dlg .md-icon{flex:0 0 32px;width:32px;height:32px;border:0;border-radius:8px;background:#EEF2FA;font-size:18px;line-height:1;padding:0}
.sp-dlg .md-icons{display:flex;flex-wrap:wrap;gap:6px}.sp-dlg .md-icons .md-chip{width:40px;height:40px;padding:0;font-size:18px}
.sp-dlg .md-sheet .md-chips{display:flex;flex-wrap:wrap;gap:6px}
.sp-dlg .md-row{display:flex;align-items:center;gap:10px;min-width:0}
.sp-dlg .md-step{flex:0 0 auto;display:flex;align-items:center;height:40px;border:1px solid #D5DBE3;border-radius:10px;background:#FFFFFF;overflow:hidden}
.sp-dlg .md-sb{flex:0 0 38px;width:38px;height:38px;border:0;background:transparent;color:#1F4FC8;font:700 20px/1 var(--ui);padding:0}
.sp-dlg .md-sv{min-width:34px;text-align:center;font-size:16px;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}
.sp-dlg .md-step .sp-in.md-lv{width:54px;height:38px;min-height:38px;border:0;border-radius:0;box-shadow:none;padding:0 2px;text-align:center;font-weight:700}
.sp-dlg .md-grey{color:#5B6573;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.sp-dlg .md-quick{margin-left:auto;flex:0 0 auto;display:flex;gap:4px}.sp-dlg .md-quick .md-chip{height:34px;padding:0 8px;font-size:13px}
.sp-dlg .md-seg2{display:flex;gap:2px;height:40px;background:#E9EDF3;border-radius:10px;padding:3px}
.sp-dlg .md-sg2{flex:1 1 0;min-width:0;border:0;border-radius:8px;background:transparent;font:600 14px var(--ui);color:#3D4652;padding:0 4px;white-space:nowrap;overflow:hidden}
.sp-dlg .md-sg2:last-child{flex:2 1 0}
.sp-dlg .md-sg2[aria-pressed="true"]{background:#FFFFFF;color:#1F4FC8;box-shadow:0 1px 3px rgba(20,30,50,.15)}
.sp-dlg .md-days{display:flex;justify-content:space-between;gap:4px}
.sp-dlg .md-day{flex:0 0 40px;width:40px;height:40px;border:1px solid #C9D3E3;border-radius:50%;background:#FFFFFF;font:700 14px var(--ui);color:#5B6573;padding:0}
.sp-dlg .md-day[aria-pressed="true"]{background:#1F4FC8;border-color:#1F4FC8;color:#FFFFFF}
.sp-dlg .md-sheet .md-times{display:flex;flex-wrap:wrap;gap:6px}
.sp-dlg .md-tchip,.sp-dlg .md-pick{position:relative;display:flex;flex-direction:row;align-items:center;gap:0;white-space:nowrap;background:#FFFFFF;color:#1B1F24}
.sp-dlg .md-tchip{height:36px;padding:0 12px;border:1px solid #C9D3E3;border-radius:999px;font:600 14px var(--ui)}
.sp-dlg .md-pick{height:40px;padding:0 11px;border:1px solid #D5DBE3;border-radius:10px;font:500 16px var(--ui)}.sp-dlg .md-pick.md-ph span{color:#9AA3AF}
.sp-dlg .md-tchip input,.sp-dlg .md-pick input{position:absolute;inset:0;width:100%;height:100%;margin:0;padding:0;border:0;opacity:0;font-size:16px;cursor:pointer}
.sp-dlg .md-sheet .md-bar{display:block;height:8px;border-radius:4px;background:#E2E6EC;overflow:hidden}
.sp-dlg .md-sheet .md-bar i{display:block;height:100%;background:#2E9E5B;border-radius:4px}.sp-dlg .md-sheet .md-bar.md-amber i{background:#E0A100}
.sp-dlg .md-supf{display:flex;justify-content:space-between;gap:8px;margin-top:-4px;font-size:12.5px;color:#5B6573;white-space:nowrap}
.sp-dlg .md-swr{flex-direction:row;align-items:center;gap:10px;min-height:44px;font-weight:600;color:#1B1F24}
.sp-dlg .md-tile{flex:0 0 30px;width:30px;height:30px;border:1px solid #E6EAF0;border-radius:8px;background:#FFFFFF;display:grid;place-items:center;font-size:16px}
.sp-dlg .md-swx{flex:1 1 auto;min-width:0;display:flex;flex-direction:column}
.sp-dlg .md-swx b,.sp-dlg .md-swx span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sp-dlg .md-swx b{font-size:14px}.sp-dlg .md-swx span{font-size:12px;font-weight:500;color:#5B6573}
.sp-dlg .md-sheet>.md-delt{align-self:flex-start;height:40px;border:0;background:none;padding:0 2px;font:700 14px var(--ui);color:#B42318}
.sp-dlg .md-foot{position:sticky;bottom:calc(-18px - env(safe-area-inset-bottom));z-index:2;display:flex;flex-direction:column;gap:6px;margin:0 -14px calc(-18px - env(safe-area-inset-bottom));
  padding:10px 14px calc(12px + env(safe-area-inset-bottom));background:#FFFFFF;border-top:1px solid #E6EAF0}
.sp-dlg .md-sum{font-size:13px;color:#3D4652;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sp-dlg .md-foot .sp-btn.md-save{flex:0 0 auto;width:100%;height:44px;min-height:44px;font-size:15px}
.sp-dlg .md-foot .sp-btn.md-save:disabled{background:#C9D3E3;border-color:#C9D3E3;color:#FFFFFF;opacity:1}
.sp-dlg .md-sheet .md-hi{background:#FFF1C2;border-radius:10px;box-shadow:0 0 0 4px #FFF1C2;transition:background .3s,box-shadow .3s}
/* (prompt 251) Bills & subscriptions: the date block, the amount with its status under it, the round paid button, the Save row; the Subscriptions sheet */
.nb .spb .bl-date{flex:0 0 40px;width:40px;height:40px;border-radius:10px;background:#F1F4F8;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1}
.nb .spb .bl-date b{font-size:calc(15px * var(--ts));font-weight:800;font-variant-numeric:tabular-nums}
.nb .spb .bl-date i{font-style:normal;font-size:calc(9.5px * var(--ts));font-weight:700;font-variant:small-caps;text-transform:lowercase;letter-spacing:.06em;color:#5B6573;margin-top:2px}
.nb .spb .bl-amt{flex:0 0 auto;display:flex;flex-direction:column;align-items:flex-end;gap:3px;min-width:0}
.nb .spb .bl-amt .sp-pill{margin-left:0;font-size:calc(10.5px * var(--ts));padding:1px 8px;white-space:nowrap}
.nb .spb .bl-paid .sp-rcn,.nb .spb .bl-paid .sp-rca,.nb .spb .bl-paid .sp-rcs{color:#8A93A0}
.nb .spb .bl-paid .md-tick{background:#1D7F4E;border-color:#1D7F4E}
.nb .spb .bl-row .sp-badges{padding-left:49px}
.nb .spb .bl-save .sp-ic{background:#FFF1D6}
.sp-dlg .bl-yn{display:flex;align-items:center;gap:6px;margin:-2px 0 6px 2px;font-size:13px;color:#3D4652}.sp-dlg .bl-yn span{flex:1 1 auto}.sp-dlg .bl-yn .md-chip{height:32px;padding:0 14px}
.sp-dlg .bl-subi{display:flex;align-items:center;gap:8px}
/* (prompt 365) Expenses (prompts/mockups/personal-expenses-phone.html): the month row, the category bars, the round-cornered receipt button; the sheets */
.nb .spb .xp-mon{display:flex;align-items:center;gap:6px}
.nb .spb .xp-mon>b{flex:1 1 auto;text-align:center;font-size:calc(14px * var(--ts));font-weight:700;overflow:hidden}
.nb .spb .xp-mb{flex:0 0 38px;width:38px;height:38px;border-radius:10px;border:1px solid #C9D3E3;background:#FFFFFF;color:#1F4FC8;font:700 20px/1 var(--ui);padding:0}
.nb .spb .sp-btn.xp-exp{flex:0 0 auto;height:38px;min-height:38px;padding:0 12px;border-radius:10px;color:#1F4FC8;font:700 calc(13px * var(--ts)) var(--ui)}
.nb .spb .xp-cats{display:flex;flex-direction:column}
.nb .spb .xp-cat{display:block;width:100%;border:0;background:none;padding:2px 0;margin:0;text-align:left;font:inherit;color:inherit;opacity:1}
.nb .spb .xp-ct{display:flex;justify-content:space-between;align-items:baseline;gap:8px;font-size:calc(13.5px * var(--ts))}
.nb .spb .xp-ct b{font-weight:700;overflow:hidden}.nb .spb .xp-ct span{flex:0 0 auto;color:#5B6573;font-size:calc(12px * var(--ts));font-variant-numeric:tabular-nums}
.nb .spb .xp-bar{display:block;height:6px;border-radius:3px;background:#EEF1F5;margin:4px 0 8px;overflow:hidden}
.nb .spb .xp-bar i{display:block;height:100%;background:#2E9B5B;border-radius:3px}.nb .spb .xp-bar[data-st="close"] i{background:#E8A33D}.nb .spb .xp-bar[data-st="over"] i{background:#E5484D}
.nb .spb .xp-row .sp-rc1{gap:9px}
.nb .spb .xp-rc{flex:0 0 30px;width:30px;height:30px;border-radius:8px;border:1px solid #C9D3E3;background:#F7F9FE;font-size:15px;color:#1F4FC8;padding:0;line-height:1;opacity:1}
.nb .spb .xp-rc.xp-none{border-style:dashed;color:#98A2B3;font:700 18px/1 var(--ui)}
.sp-dlg .sp-btn.xp-scan{width:100%;height:42px;min-height:42px;border-radius:11px;color:#1F4FC8;font:700 14px var(--ui)}
.sp-dlg .xp-sf>.md-or{margin-top:-6px}
.sp-dlg .xp-ok{background:#E3F4EA;color:#1D6B3F;border-radius:11px;padding:10px 12px;font:600 13px var(--ui);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sp-dlg .xp-ok.xp-warn{background:#FDF1DC;color:#8A5A00}
/* (prompt 376) By category's breakdown under a category row; the sheet's Linked note; the "< Expenses" pill; a linked note's back chip */
.nb .spb .xp-mk{display:inline-block;width:1.1em;color:#5B6573;font-weight:600}
.nb .spb .xp-bd{margin:-2px 0 10px 1.1em;padding:8px 10px;border-radius:10px;background:#F5F7FA;display:flex;flex-direction:column;gap:6px}
.nb .spb .xp-bdl{display:flex;align-items:center;gap:8px;font-size:calc(12.5px * var(--ts));min-width:0}
.nb .spb .xp-bdn{flex:0 1 42%;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#1B1F24}
.nb .spb .xp-bdb{flex:1 1 auto;height:4px;border-radius:2px;background:#E2E6EC;overflow:hidden;min-width:24px}.nb .spb .xp-bdb i{display:block;height:100%;background:#1F4FC8;border-radius:2px}
.nb .spb .xp-bdl b{flex:0 0 auto;font-weight:600;font-variant-numeric:tabular-nums}
.nb .spb .xp-bdz{font-size:calc(12.5px * var(--ts));color:#5B6573}
.nb .spb .xp-bdf{display:flex;justify-content:flex-end}
.sp-dlg .xp-lk2 .sp-btn{width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sp-dlg .xp-lkerr{margin-top:6px;color:#C62828;font:600 13px var(--ui)}
.sp-dlg .xp-lkc{display:flex;align-items:center;gap:6px;min-height:40px;border:1px solid #C9D3E3;border-radius:999px;background:#F7F9FE;padding:0 4px 0 12px;max-width:100%}
.sp-dlg .xp-lkt{flex:1 1 auto;min-width:0;border:0;background:none;padding:0;text-align:left;font:600 14px var(--ui);color:#1F4FC8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sp-dlg .xp-lkc.xp-gone .xp-lkt{color:#98A2B3}
.sp-dlg .xp-lkx{flex:0 0 auto;width:32px;height:32px;border:0;border-radius:50%;background:none;color:#5B6573;font:600 20px/1 var(--ui);padding:0}
.sp-dlg .xp-lkl{display:flex;flex-direction:column;gap:4px;max-height:50vh;overflow:auto}
.sp-dlg .xp-lkr{display:block;width:100%;min-height:44px;border:1px solid #E2E6EC;border-radius:12px;background:#FFFFFF;padding:0 12px;text-align:left;font:600 14px var(--ui);color:#1B1F24;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nb .nxpb{position:absolute;left:50%;bottom:calc(var(--nboth,0px) + 12px);transform:translateX(-50%);z-index:9;height:36px;padding:0 18px;border:0;border-radius:999px;background:#1F4FC8;color:#FFFFFF;font:700 14px 'Figtree',system-ui,sans-serif;box-shadow:0 3px 12px rgba(31,79,200,.35);white-space:nowrap;cursor:pointer}
.nb .ln.xbl{display:flex;align-items:center;min-height:calc(36px * var(--ts))}
.nb .xblc{max-width:100%;height:calc(28px * var(--ts));border:1px solid #C9D3E3;border-radius:999px;background:#F7F9FE;color:#1F4FC8;padding:0 12px;font:600 calc(13px * var(--ts)) var(--ui);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}
.nb .spb .xp-nodate{display:inline-block;margin-right:6px;padding:0 6px;border-radius:6px;background:#EEF0F3;color:#5B6573;font-size:calc(10.5px * var(--ts));font-weight:600;line-height:1.5}      /* (prompt 369) */
.sp-dlg .xp-photo{display:flex;align-items:center;justify-content:center;min-height:120px;border:1px dashed #C9D3E3;border-radius:12px;background:#FFFFFF;overflow:hidden;margin-bottom:10px}
.sp-dlg .xp-photo img{display:block;max-width:100%;max-height:60vh}
.sp-dlg .xp-xs{display:flex;flex-direction:column;gap:6px}.sp-dlg .xp-xs .sp-rl{display:flex;align-items:center;gap:10px;width:100%;min-height:46px;border:1px solid #E2E6EC;border-radius:12px;background:#FFFFFF;padding:7px 9px;font:inherit;color:inherit;text-align:left}
.sp-dlg .xp-xs .sp-ic{flex:0 0 32px;width:32px;height:32px;border-radius:10px;background:#F1F4F8;display:grid;place-items:center;font-size:16px}.sp-dlg .xp-xs .sp-rt{flex:1 1 auto;display:flex;flex-direction:column;gap:1px;overflow:hidden}.sp-dlg .xp-xs .sp-rt>b{font-size:15px;font-weight:700}.sp-dlg .xp-xs .sp-rt>span{font-size:11.5px;color:#5B6573;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sp-dlg .xp-xs .sp-chev{font-style:normal;color:#9AA3B0;font-size:18px}
/* (prompt 370) the Full page button on every smart card (right of the status pill) and the page while it is on: the card the whole width on light grey;
   the top bar, the bottom row and the floating Camera, + and Mic stay as they are */
.nb .spb .sp-fpg{order:9;flex:0 0 27px;width:27px;height:25px;min-width:27px;border-radius:8px;border:1px solid #C9D3E3;background:#FFFFFF;color:#1F4FC8;font:700 14.4px/1 var(--ui);padding:0;opacity:1;display:grid;place-items:center}
.nb .spb .sp-top>.sp-fpg{margin-left:-2px}.nb .spb .sp-top:not(:has(>.sp-pill:not(:empty)))>.sp-fpg{margin-left:auto}
#npwrap.fullsp .paper{background-image:none;background-color:#F4F6FA;padding-left:0;padding-right:0;transition:none}
#npwrap.fullsp .paper:before,#npwrap.fullsp .paper>.hole,#npwrap.fullsp .ttl,#npwrap.fullsp .tgrow{display:none}
.ios #npwrap.fullsp{background:#F4F6FA}
#npwrap.fullsp .ln.spb{margin:0}
#npwrap.fullsp .nmeta{display:none}
#npwrap.fullsp .ln.spb{padding:0 10px}      /* (prompt 377) the card as in normal view (white, radius 14, its shadow) with 10px of the grey each side */
/* (prompt 378) the same 10px of the grey above the card (under the top bar) and below it at the end (over the bottom bar); the empty lines after the card take no room */
#npwrap.fullsp .paper{padding-top:calc(var(--ntoph,52px) + 10px);padding-bottom:calc(var(--nboth,0px) + 10px)}
#npwrap.fullsp #nbody>.ln.spb~.ln:has(>.tx:empty):not(:has(~.ln>.tx:not(:empty))){display:none}
/* (prompt 370) Time tracker (prompts/mockups/time-tracker-phone.html): the first question, the timer, the week's bars; the sheets */
.nb .spb .tt-hbig{display:flex;align-items:center;gap:6px;font:800 calc(18px * var(--ts))/1.2 var(--ui);color:#1B1F24;margin:2px 0 0}
.nb .spb .tt-hbig>span{flex:0 1 auto;overflow:hidden}.nb .spb .tt-hbig .ms-link{margin-left:auto;font-size:calc(12.5px * var(--ts))}
.nb .spb .tt-fld{display:flex;flex-direction:column;gap:4px}
.nb .spb .tt-flr{display:flex;align-items:center;gap:8px;white-space:nowrap;min-width:0}.nb .spb .tt-flr>.tt-fl{flex:1 1 auto;min-width:0;text-overflow:ellipsis}.nb .spb .tt-flr>.ms-link{flex:0 0 auto;margin-left:auto;font-size:calc(12px * var(--ts))}
.nb .spb .tt-fl{display:block;font-size:calc(11.5px * var(--ts));font-weight:600;color:#5B6573;overflow:hidden}
.nb .spb .tt-pj{display:flex;gap:3px;background:#F1F3F7;border-radius:10px;padding:3px;overflow-x:auto;scrollbar-width:none}.nb .spb .tt-pj::-webkit-scrollbar{display:none}
.nb .spb .tt-pc{flex:0 0 auto;height:36px;border:0;border-radius:8px;background:none;font:600 calc(13px * var(--ts)) var(--ui);color:#5B6573;padding:0 12px 0 8px;white-space:nowrap;opacity:1}
.nb .spb .tt-pc[aria-pressed="true"]{background:#FFFFFF;color:#1B1F24;box-shadow:0 1px 3px rgba(0,0,0,.12)}
/* (prompt 372) a project's icon on its colour: 22px in the chips and the entry rows, 32px on the running box, 52px in the icon sheet */
.nb .spb .tt-ic,.sp-dlg .tt-ic{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:7px;font-size:13px;line-height:1;flex:none;margin-right:6px;vertical-align:middle;font-style:normal;font-weight:400}
.nb .spb .tt-big{width:100%;height:46px;min-height:46px;border:0;border-radius:12px;background:#2E9B5B;color:#FFFFFF;font:800 calc(15px * var(--ts)) var(--ui);padding:0 10px;overflow:hidden;white-space:pre}
.nb .spb .tt-big.tt-amber{background:#E8A33D}.nb .spb .tt-big.tt-red{background:#D9342B}
.nb .spb .tt-two{display:flex;gap:6px}.nb .spb .tt-two>.tt-big{flex:1 1 0;width:auto}
.nb .spb .tt-run{display:flex;align-items:center;gap:9px;border:1px solid #CDEBD9;background:#F2FAF5;border-radius:12px;padding:8px 10px}
.nb .spb .tt-run.tt-pz{border-color:#F0D49A;background:#FFF6E5}.nb .spb .tt-run .tt-ic.tt-icm{width:32px;height:32px;border-radius:10px;font-size:18px;margin:0;flex:0 0 32px}
.nb .spb .tt-rm{flex:1 1 auto;display:flex;flex-direction:column;overflow:hidden}.nb .spb .tt-rm b{font-size:calc(14px * var(--ts));overflow:hidden}.nb .spb .tt-rm span{font-size:calc(11.5px * var(--ts));color:#5B6573;overflow:hidden}
.nb .spb .tt-clock{font:800 calc(34px * var(--ts))/1.2 var(--ui);text-align:center;margin:2px 0 0;font-variant-numeric:tabular-nums;color:#1B1F24}.nb .spb .tt-clock.tt-dim{color:#98A2B3}
.nb .spb .tt-brk{text-align:center;font-size:calc(12.5px * var(--ts));color:#5B6573;margin-top:-4px}
.nb .spb .tt-ok{background:#E3F4EA;color:#1D6B3F;border-radius:11px;padding:10px 12px;font:600 calc(13px * var(--ts)) var(--ui);overflow:hidden}
.nb .spb [data-tt-guide]{background:#F4F7FE}
.nb .spb .tt-gst{display:flex;align-items:center;gap:9px;font-size:calc(13.5px * var(--ts))}.nb .spb .tt-gst>span{overflow:hidden}
.nb .spb .tt-gst>i{flex:0 0 22px;width:22px;height:22px;border-radius:50%;background:#1F4FC8;color:#FFFFFF;font:800 12px/22px var(--ui);text-align:center;font-style:normal}
.nb .spb .tt-got{width:100%}
.nb .spb .tt-bars{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;align-items:end;height:92px}
.nb .spb .tt-bars>div{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:2px;height:100%}
.nb .spb .tt-bars i{width:100%;max-width:26px;border-radius:5px 5px 2px 2px;background:#9DB3E6;display:block}.nb .spb .tt-bars .tt-td i{background:#1F4FC8}
.nb .spb .tt-bars b{font-size:calc(11px * var(--ts));color:#5B6573}.nb .spb .tt-bars .tt-td b{color:#1F4FC8}
.nb .spb .tt-bars span{font-size:calc(10px * var(--ts));color:#5B6573;height:12px;line-height:12px}
.nb .spb .tt-row .sp-rcn .tt-ic{margin-right:6px;vertical-align:-5px}
.nb .spb .tt-acts>.sp-btn{flex:1 1 0}
.nb .spb .tt-pick{display:flex;align-items:center;gap:10px;width:100%;min-height:58px;border:1.5px solid #E2E6EC;border-radius:12px;background:#FFFFFF;padding:8px 10px;text-align:left;font:inherit;color:inherit;opacity:1}
.nb .spb .tt-pick:active{border-color:#1F4FC8;background:#F4F7FE}
.nb .spb .tt-pi{flex:0 0 38px;width:38px;height:38px;border-radius:10px;background:#F1F3F7;display:grid;place-items:center;font-style:normal;font-size:20px}
.nb .spb .tt-pm{flex:1 1 auto;display:flex;flex-direction:column;overflow:hidden}.nb .spb .tt-pm b{font-size:calc(15px * var(--ts));overflow:hidden}.nb .spb .tt-pm span{font-size:calc(12px * var(--ts));color:#5B6573;overflow:hidden}
.nb .spb .tt-pick .sp-chev{font-style:normal;color:#9AA3B0;font-size:18px}
.nb .spb .tt-once{display:flex;align-items:center;gap:6px;font-size:calc(12.5px * var(--ts));color:#5B6573;margin-top:-2px}.nb .spb .tt-once>span{overflow:hidden}
.sp-dlg .tt-lh{margin:-6px 0 8px}
.sp-dlg .tt-pl{display:flex;flex-direction:column;gap:6px}
.sp-dlg .tt-prow{display:flex;align-items:center;gap:6px;min-height:46px}
.sp-dlg .tt-cic{flex:0 0 32px;width:32px;height:32px;min-height:32px;border:0;border-radius:10px;padding:0;background:#F1F4F8;display:grid;place-items:center;font-size:18px;line-height:1}
.sp-dlg .tt-icprev{display:flex;align-items:center;gap:12px}.sp-dlg .tt-ic.tt-icl{width:52px;height:52px;border-radius:14px;font-size:30px;margin:0}
.sp-dlg .tt-icn{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;white-space:nowrap;overflow:hidden}.sp-dlg .tt-icn b{font-size:15px;overflow:hidden;text-overflow:ellipsis}.sp-dlg .tt-icn span{font-size:12px;color:#5B6573}
.sp-dlg .tt-sw8{display:flex;gap:8px;flex-wrap:wrap}.sp-dlg .tt-sw{width:30px;height:30px;min-height:30px;border-radius:50%;border:3px solid #FFFFFF;box-shadow:0 0 0 1px #D5DBE3;padding:0}.sp-dlg .tt-sw[aria-pressed="true"]{box-shadow:0 0 0 2px #1B1F24}
.sp-dlg .tt-ictabs{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;flex:none}.sp-dlg .tt-ictabs::-webkit-scrollbar{display:none}
.sp-dlg .tt-ict{flex:none;height:32px;min-height:32px;padding:0 12px;border-radius:999px;border:1px solid #C9D3E3;background:#FFFFFF;font:600 13px var(--ui);color:#1B1F24;white-space:nowrap}.sp-dlg .tt-ict[aria-pressed="true"]{background:#1F4FC8;border-color:#1F4FC8;color:#FFFFFF}
.sp-dlg .tt-icg{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:4px;max-height:230px;overflow-y:auto;scrollbar-width:none;flex:none}.sp-dlg .tt-icg::-webkit-scrollbar{display:none}
.sp-dlg .tt-icb{height:40px;min-height:40px;min-width:0;border:0;border-radius:10px;background:#F4F6FA;font-size:21px;padding:0;line-height:1}.sp-dlg .tt-icb:active{background:#DDE6FA}.sp-dlg .tt-icnone{grid-column:1/-1}
.sp-dlg .tt-pname{flex:1 1 auto;min-width:0;height:38px;min-height:38px}
.sp-dlg .sp-btn.tt-flip{flex:0 0 auto;height:38px;min-height:38px;padding:0 8px;font-size:12px;color:#1F4FC8}
.sp-dlg .tt-rate{flex:0 0 92px;width:92px;height:38px;display:flex;flex-direction:row;gap:0;align-items:center;border:1px solid #D5DBE3;border-radius:10px;overflow:hidden;background:#FFFFFF}
.sp-dlg .tt-rate span{align-self:stretch;display:flex;align-items:center;padding:0 6px;color:#5B6573;font-size:13px;background:#F4F6F9}
.sp-dlg .tt-rate input{flex:1 1 auto;min-width:0;width:100%;border:0;outline:0;padding:0 4px;font:600 16px var(--ui);color:#1B1F24;background:#FFFFFF}
.sp-dlg .tt-pdel{flex:0 0 30px;width:30px;height:30px;border-radius:8px;border:1px dashed #C9D3E3;background:#F7F9FE;color:#98A2B3;font:700 14px/1 var(--ui);padding:0}
.sp-dlg .tt-pdel:disabled{opacity:.3}
.sp-dlg .tt-pnew{display:flex;gap:6px;margin-top:10px}.sp-dlg .tt-pnew .sp-in{flex:1 1 auto;min-width:0}.sp-dlg .tt-pnew .sp-btn{flex:0 0 auto}
.sp-dlg .tt-inv{display:flex;flex-direction:column}
.sp-dlg .tt-il{display:flex;align-items:center;gap:10px;min-height:46px;border-bottom:1px solid #EEF1F5}
.sp-dlg .tt-il .sp-rcm{flex:1 1 auto;display:flex;flex-direction:column;min-width:0;overflow:hidden;white-space:nowrap}.sp-dlg .tt-il .sp-rcn{font-size:15px}.sp-dlg .tt-il .sp-rcs{font-size:12px;color:#5B6573}
.sp-dlg .tt-il.tt-tot{justify-content:space-between;border-bottom:0;font-size:16px}
/* the drawer's Business tab */
.nb .dsbd.late{background:#C0392B}
.nb .bzov{background:#FFFFFF;border-radius:10px;padding:12px;margin-bottom:10px;box-shadow:0 3px 8px rgba(60,35,10,.18);display:flex;flex-direction:column;gap:8px;font-family:var(--ui)}
.nb .bzl{font-size:calc(11px * var(--ts));font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#5B6573}.nb .bzl.sm{font-size:calc(10.5px * var(--ts));color:#7A8494;margin-top:2px}
.nb .bzw{font-size:calc(22px * var(--ts));font-weight:800;color:#18202F;font-variant-numeric:tabular-nums}
.nb .bzod{font-size:calc(12.5px * var(--ts));font-weight:600;color:#1D6B3F}.nb .bzod.late{color:#A12C2C}.nb .bzcl{font-size:calc(12px * var(--ts));font-weight:600;color:#7A5A00}
.nb .bzu{display:flex;flex-direction:column;gap:2px;width:100%;padding:8px;border:1px solid #E2E6EC;border-radius:8px;background:#FFFFFF;text-align:left;font:500 calc(12.5px * var(--ts)) var(--ui);color:#1B1F24}
.nb .bzr1,.nb .bzr3{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}.nb .bzr2{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nb .bzr3{font-size:calc(11.5px * var(--ts));color:#5B6573}.nb .bzr3 b{color:#18202F;font-variant-numeric:tabular-nums}
.nb .bzp{flex:0 0 auto;font-size:calc(10.5px * var(--ts));font-weight:700;border-radius:999px;padding:1px 8px;background:#FFF1D6;color:#7A4B00}.nb .bzp[data-st=overdue]{background:#FCE8E8;color:#A12C2C}.nb .bzp[data-st=claimed]{background:#FFD98A;color:#6B4100}.nb .bzp[data-st=paid]{background:#E3F4EA;color:#1D6B3F}.nb .bzp[data-st=cancelled]{background:#EEF1F5;color:#5B6573}
.nb .bzempty{font-size:calc(12.5px * var(--ts));color:#5B6573}
.nb .bzbtn{width:100%;min-height:40px;border:0;border-radius:8px;background:#1F4FC8;color:#FFFFFF;font:700 calc(13px * var(--ts)) var(--ui)}.nb .bzbtn.sec{background:#FFFFFF;color:#1F4FC8;border:1px solid #C9D3E3}
.nb .pc.bzrow{background:#FFFFFF;display:flex;flex-direction:column;gap:4px}.nb .pc.bzrow .bzr1 b{display:inline}.nb .bzcli{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:right}
/* Settings › Business */
.bizset{margin:18px 0}.bizset h4{margin:0 0 4px}.bizset .sbgrid{display:flex;flex-direction:column;gap:10px;padding:12px}
.bizset .sbf{display:flex;flex-direction:column;gap:5px;font-size:calc(13px * var(--ts));font-weight:600;color:#3D4652}
.bizset .sbf .search{margin:0;width:100%;box-sizing:border-box}.bizset textarea.search{min-height:64px;padding:8px 10px;resize:vertical;font:500 max(16px, calc(16px * var(--ts))) var(--ui, var(--font))}
.bizset .sbchk{display:flex;gap:8px;align-items:center;font-size:calc(13px * var(--ts));font-weight:600;color:#3D4652}
.bizset .sbtn{min-height:44px;width:100%;border-radius:10px;border:1px solid #1F4FC8;background:#1F4FC8;color:#fff;font:600 calc(14px * var(--ts)) var(--ui)}
.bizset .sbmsg{font-size:calc(13px * var(--ts));border-radius:8px;padding:8px 10px}.bizset .sbmsg:empty{display:none}.bizset .sbmsg[data-ok="1"]{background:#E8F4EE;color:#1D5E3C}.bizset .sbmsg[data-ok="0"]{background:#FDF1F1;color:#7A2222}
/* Print / PDF: the invoice alone (smartpage.py PRINT_CSS, scoped to #sppr); the phone's own print dialog saves it as a PDF */
#sppr{position:fixed;inset:0;z-index:2147483600;overflow:auto;background:#FFFFFF;color:#18202F;font:14px/1.45 Inter,"Segoe UI",Arial,sans-serif;padding:64px 16px 32px}
#sppr *{box-sizing:border-box}
#sppr .sppr-bar{position:fixed;top:0;left:0;right:0;display:flex;gap:8px;justify-content:flex-end;padding:10px 12px;padding-top:calc(10px + env(safe-area-inset-top));background:#F4F6F9;border-bottom:1px solid #E2E6EC}
#sppr .sppr-bar button{height:40px;min-height:40px;padding:0 16px;border-radius:11px;border:1px solid #C9D3E3;background:#FFFFFF;font:700 13px Figtree,Inter,system-ui,sans-serif;color:#1B1F24;white-space:nowrap}#sppr .sppr-bar .p{background:#1F4FC8;border-color:#1F4FC8;color:#FFFFFF}
#sppr .inv{max-width:760px;margin:0 auto}
#sppr .top{display:flex;justify-content:space-between;align-items:flex-start;gap:24px}
#sppr h1{margin:0;font-size:26px;letter-spacing:.04em}
#sppr .pill{display:inline-block;border-radius:999px;padding:3px 12px;font-size:12px;font-weight:700}
#sppr .pill.unpaid{background:#E8EEFC;color:#1F4FC8}#sppr .pill.paid{background:#E3F4EA;color:#1D6B3F}#sppr .pill.overdue{background:#FCE8E8;color:#A12C2C}
#sppr .cols{display:flex;flex-wrap:wrap;gap:16px 32px;margin:22px 0}#sppr .cols>div{flex:1 1 140px}
#sppr .lbl{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#5B6573;margin-bottom:3px}
#sppr .pre{white-space:pre-line}
#sppr table{width:100%;border-collapse:collapse;margin-top:8px}
#sppr th{text-align:left;font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:#5B6573;border-bottom:2px solid #18202F;padding:6px 4px}
#sppr td{border-bottom:1px solid #E2E6EC;padding:7px 4px;vertical-align:top}
#sppr .num{text-align:right;white-space:nowrap}
#sppr .sum{margin-left:auto;width:280px;max-width:100%;margin-top:12px}#sppr .sum div{display:flex;justify-content:space-between;padding:3px 4px}
#sppr .sum .tot{border-top:2px solid #18202F;font-weight:700;font-size:16px;margin-top:4px;padding-top:6px}
#sppr .pay{margin-top:26px;border:1px solid #E2E6EC;border-radius:10px;padding:14px 16px;display:flex;gap:18px;align-items:center}
#sppr .pay .lines{flex:1 1 auto}#sppr .pay .qr{flex:0 0 auto;width:112px;height:112px}#sppr .pay .qr svg{width:100%;height:100%}
#sppr .note{margin-top:18px;white-space:pre-line;color:#3D4652}
#sppr .mw{margin-top:28px;text-align:center;font-size:12px;color:#5B6573}#sppr .mw a{color:#5B6573;font-weight:600}
/* (prompt 250) Summary for doctor: one clean page (medicine.js printBody) */
#sppr .med{max-width:760px;margin:0 auto}#sppr .med h1{margin:0;font-size:26px}#sppr .med .sub{color:#5B6573;margin:4px 0 18px}
#sppr .med table{width:100%;border-collapse:collapse}#sppr .med th{text-align:left;font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:#5B6573;border-bottom:2px solid #18202F;padding:6px 4px}
#sppr .med td{border-bottom:1px solid #E2E6EC;padding:7px 4px;vertical-align:top}#sppr .med .num{text-align:right;white-space:nowrap}#sppr .med .na{margin-top:22px;font-size:12px;color:#5B6573}
@page{margin:14mm}
@media print{body.sppr-on>*:not(#sppr){display:none !important}#sppr{position:static;overflow:visible;padding:0}#sppr .sppr-bar{display:none}#sppr .pay{break-inside:avoid}}
/* (prompt 245) Watch & write (phone/watch.js): a video card's wide thumbnail and blue pill; pinned, the card folds to one line, "▶ Playing" and the pill outlined (prompt 345) */
.nb .card.vc{flex-direction:column;gap:0;padding:0;overflow:hidden;border-radius:12px;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.15)}
.nb .card.vc .th{position:relative;width:auto;height:auto;aspect-ratio:16/9;max-height:190px;border-radius:0;background:linear-gradient(135deg,#2b3a67,#6c3e8f 60%,#c2547b)}
.nb .card.vc .th .vthumb{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.nb .card.vc .vpl{position:relative;width:56px;height:40px;border-radius:12px;background:#FF0000;display:flex;align-items:center;justify-content:center}
.nb .card.vc.vm .vpl{background:#1AB7EA}
.nb .card.vc .vpl svg{width:22px;height:22px}
.nb .card.vc .vmeta{display:flex;align-items:center;gap:8px;padding:8px 10px}
.nb .card.vc .vt{flex:1;min-width:0}
.nb .card.vc .vt b{font-size:calc(13.5px * var(--ts));color:#222;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nb .card.vc .vt small{display:block;font-size:calc(12px * var(--ts));color:#777;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nb .wply,.nb .card.vc .vt small.wply{display:none}
.nb .card.vc.wpin .th{display:none}
.nb .card.vc.wpin .vt small:not(.wfm):not(.wply){display:none}
.nb .card.vc.wpin:not(.wfail) .vt small.wply{display:block;font:600 calc(12px * var(--ts)) var(--ui);color:#D9534F}
.nb .wpill{flex:none;height:32px;padding:0 12px;border-radius:16px;border:0;background:#1F4FC8;color:#fff;font:600 calc(12.5px * var(--ts)) var(--ui);display:inline-flex;align-items:center;gap:5px;cursor:pointer;white-space:nowrap;-webkit-tap-highlight-color:transparent}
.nb .wpill svg.i{width:15px;height:15px;stroke-width:2}
.nb .wpin .wpill{background:#fff;color:#1F4FC8;box-shadow:inset 0 0 0 1.5px #1F4FC8}
.nb .wfm{display:none!important}
.nb .wfail .wfm{display:block!important;color:#B42318!important}
.nb .card.vc.wfail .vt small:not(.wfm){display:none}
.nb .vblk .wpill,.nb .fvid .wpill{position:absolute;left:6px;top:6px;z-index:1;height:28px;padding:0 10px;font-size:calc(11.5px * var(--ts));box-shadow:0 1px 4px rgba(0,0,0,.3)}
.nb .vblk.wpin .wpill,.nb .fvid.wpin .wpill{box-shadow:inset 0 0 0 1.5px #1F4FC8}
.nb .vblk.wpin:not(.wfail),.nb .fvid.wpin:not(.wfail){display:flex;align-items:center;gap:8px;box-sizing:border-box;width:auto;max-width:100%;height:44px;padding:0 10px 0 6px;background:#fff;border-radius:12px;box-shadow:0 2px 8px rgba(0,0,0,.15)}
.nb .vblk.wpin:not(.wfail)>*:not(.wpill):not(.wply),.nb .fvid.wpin:not(.wfail)>*:not(.wpill):not(.wply){display:none!important}
.nb .vblk.wpin:not(.wfail) .wpill,.nb .fvid.wpin:not(.wfail) .wpill{position:static}
.nb .vblk.wpin:not(.wfail) .wply,.nb .fvid.wpin:not(.wfail) .wply{display:block;flex:1;min-width:0;font:600 calc(12px * var(--ts)) var(--ui);color:#555;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nb .wply i{font-style:normal;color:#D9534F}
.nb .vblk .wfm,.nb .fvid .wfm{position:absolute;left:6px;right:6px;top:40px;background:rgba(255,255,255,.92);border-radius:8px;padding:3px 7px;font:600 calc(11px * var(--ts)) var(--ui)}
/* the pinned player: full width under the frosted top bar (which stays on top, z 4), over the page (the page's top padding grows by its height: .vbig);
   the sheets, menus and the Pages list (z 5+) cover it. While typing: a small window that moves like the Mic (floatbtn.js), top right under the top bar */
.nb .nwatch{position:absolute;left:0;right:0;top:var(--ntoph,52px);z-index:3;background:#0D0F14;color:#fff;font-family:var(--ui);box-shadow:0 6px 18px rgba(0,0,0,.3);-webkit-user-select:none;user-select:none}
.nb .nwhd{display:flex;align-items:center;gap:6px;height:36px;padding:2px 4px 0 12px;box-sizing:border-box}
.nb .nwt{flex:1;min-width:0;font:600 calc(12.5px * var(--ts)) var(--ui);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nb .nwv{position:relative;width:100%;background:#000;overflow:hidden}
.nb .nwv iframe,.nb .nwv video,.nb .nwv .nwfake{display:block;width:100%;height:100%;border:0;object-fit:contain;background:#000}
.nb .nwsh{position:absolute;inset:0;z-index:1;display:none}
.nb .nwc{display:flex;align-items:center;gap:4px;padding:6px 8px}
.nb .nwb{flex:none;position:relative;width:34px;height:34px;border-radius:17px;border:0;padding:0;background:transparent;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;-webkit-tap-highlight-color:transparent}
.nb .nwatch svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.nb .nwb small{position:absolute;bottom:5px;font:700 8.5px/1 var(--ui)}
.nb .nwseek{flex:1;min-width:30px;height:24px;position:relative;cursor:pointer;touch-action:none}
.nb .nwseek::before{content:"";position:absolute;left:0;right:0;top:10px;height:4px;border-radius:2px;background:#3A3F4B}
.nb .nwseek i{position:absolute;left:0;top:10px;height:4px;width:0;border-radius:2px;background:#FF3B3B}
.nb .nwtm{flex:none;min-width:64px;text-align:center;font:600 calc(11.5px * var(--ts)) var(--ui);color:#C9CFDB;font-variant-numeric:tabular-nums;white-space:nowrap}
.nb .nwts{flex:none;height:32px;padding:0 10px;border-radius:16px;border:0;background:#1F4FC8;color:#fff;font:600 calc(12px * var(--ts)) var(--ui);display:flex;align-items:center;gap:4px;cursor:pointer;-webkit-tap-highlight-color:transparent}
.nb .nwatch .nwts svg{width:15px;height:15px}
.nb .nwts[hidden],.nb .nws{display:none}
.nb .nwatch.small{left:auto;right:10px;top:calc(var(--ntoph,52px) + 8px);width:var(--nwminiw,220px);border-radius:12px;overflow:hidden;touch-action:none;-webkit-touch-callout:none;cursor:grab;box-shadow:0 8px 22px rgba(0,0,0,.35)}
.nb .nwatch.small .nwsh{display:block}
.nb .nwatch.small .nwhd,.nb .nwatch.small .nwl{display:none}
.nb .nwatch.small .nws{display:flex}
.nb .nwatch.small .nwc{padding:3px 4px;gap:2px}
.nb .nwatch.small .nwb{width:28px;height:28px}
.nb .nwatch.small .nwb svg{width:17px;height:17px}
.nb .nwatch.small .nwtm{flex:1;min-width:0;font-size:11px}
.nb .nwatch.small .nwts{height:28px;padding:0 7px}
.nb .nwatch.small .nwts span{display:none}
.nb .nwatch.small .nwts[hidden]{display:none}
.nb .nwatch.drag{cursor:grabbing;box-shadow:0 12px 28px rgba(0,0,0,.45)}
.nb .nwatch.glide{transition:left .22s ease,top .22s ease}
/* (prompt 305) the small window's corner grip: a 36px touch area on the picture's bottom-left corner (bottom-right on the left half, .gr), above the controls */
.nb .nwgrip{display:none;position:absolute;left:0;bottom:0;width:36px;height:36px;z-index:2;touch-action:none;cursor:nesw-resize}
.nb .nwatch.small .nwgrip{display:block}
.nb .nwatch.gr .nwgrip{left:auto;right:0;cursor:nwse-resize}
.nb .nwgrip i{position:absolute;left:3px;bottom:4px;width:22px;height:22px;border-radius:6px;background:rgba(0,0,0,.55);display:grid;place-items:center}
.nb .nwatch.gr .nwgrip i{left:auto;right:3px;transform:scaleX(-1)}
.nb .nwatch .nwgrip svg{width:20px;height:20px;stroke:#fff;stroke-width:2.2;opacity:.95}
.nb .nwatch.sizing{cursor:nesw-resize}
.nb.vbig .paper{padding-top:calc(var(--ntoph,52px) + var(--nvidh,0px));background-position:0 calc(var(--ntoph,52px) + var(--nvidh,0px));scroll-padding-top:calc(var(--ntoph,52px) + var(--nvidh,0px))}
.nb .mk.ts[data-target]{cursor:pointer}
/* (prompt 244) the Pages drawer's search box (like #wsQ), its result line, the Pinned group, the long-press menu and the open page's pin button */
.nb .npq{position:relative;margin:0 2px 8px}
.nb .npq>svg{position:absolute;left:12px;top:50%;transform:translateY(-50%);width:17px;height:17px;fill:none;stroke:var(--muted);stroke-width:2;stroke-linecap:round;pointer-events:none}
.nb .npq .search{padding:0 38px 0 36px;box-sizing:border-box}
.nb .npq .search::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none}
.nb .npq .npqx{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:26px;height:26px;border:0;border-radius:50%;background:#E3DCC6;color:#1B1F24;font:600 15px/1 var(--ui);cursor:pointer;display:none;padding:0}
.nb .npq.has .npqx{display:block}
.nb .npqc{font:600 calc(12px * var(--ts)) var(--ui);color:#4A3F25;margin:0 4px 8px}
.nb .pgrp{font:700 calc(11px * var(--ts)) var(--ui);letter-spacing:.06em;text-transform:uppercase;color:#4A3F25;margin:4px 4px 6px}
.nb .pc .pcpin{float:right;font-size:calc(14px * var(--ts));line-height:1;margin-left:6px}
.nb .pc .pcpv{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-top:4px;font-size:calc(13px * var(--ts));line-height:1.4;color:#3D4652}
.nb .pc mark{background:#FFD84D;color:inherit;border-radius:2px;padding:0 1px}
/* (prompt 442) offline: the grey pill on the note, a page made offline that is not on Drive yet, a page not kept on this phone (one line, never wrapped) */
.nb .noff{display:block;width:max-content;max-width:100%;margin:0 auto 6px;padding:2px 10px;border-radius:999px;background:#E9ECF1;color:#5B6573;font-size:calc(11.5px * var(--ts));line-height:1.6;white-space:nowrap}
.nb .noff[hidden]{display:none}
.nb .pc .pcns{display:flex;align-items:center;gap:5px;margin-top:4px;font-size:calc(11.5px * var(--ts));color:#6B7480;white-space:nowrap}
.nb .pc .pcns i{width:7px;height:7px;border-radius:50%;background:#9AA3AE;flex:none}
.pcnc{display:block;margin-top:4px;font-size:min(calc(11px * var(--ts, 1)), 2.7vw);color:#6B7480;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nb .npqnone{background:#F6F7F9;border-radius:12px;padding:14px;font:500 calc(13px * var(--ts))/1.5 var(--ui);color:#4A3F25}
.nb .pcmenu{position:absolute;z-index:7;background:#fff;border-radius:12px;box-shadow:0 8px 28px rgba(0,0,0,.25);padding:6px;min-width:170px}
.nb .pcmenu[hidden]{display:none}
.nb .pcmenu button{display:block;width:100%;border:0;background:transparent;padding:11px 12px;border-radius:9px;font:500 calc(14px * var(--ts)) var(--ui);color:#18202F;text-align:left;cursor:pointer}
.nb .pcmenu button:active{background:#E8EDF8}
.nb .pcmenu button[hidden],.nb .pcmenu hr[hidden]{display:none}
.nb .pcmenu hr{border:0;border-top:1px solid #E3E7F0;margin:4px 6px}
.nb .pcmenu .pcdel{display:flex;align-items:center;gap:8px;color:#A12C2C}
.nb .pcmenu .pcdel svg.i{width:18px;height:18px}
.nb .ttl .ttpin{align-self:center;flex:none;width:30px;height:30px;margin:0 6px;padding:0;border:1px solid #C9CED8;border-radius:8px;background:transparent;color:#8A93A3;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}
.nb .ttl .ttpin[hidden]{display:none}
.nb .ttl .ttpin svg.i{width:17px;height:17px}
.nb .ttl .ttpin[aria-pressed=true]{color:#1F4FC8;border-color:#1F4FC8;background:#E8EDFB}
.nb .ttl .ttpin[aria-pressed=true] svg.i{fill:currentColor}
/* (prompt 255) Family reminders: the card's row, the Family reminders sheet, the Rings on box, the Invite sheet and the join page (family.js joinHtml,
   also drawn read-only inside the Invite sheet's phone frame). 14px text, 40px controls, one line each (the card's fitCard shrinks a long one). */
.nb .spb [data-md-fam] .sp-ic{background:#E5EDFF}
.nb .spb .sp-rcs[data-md-by]{color:#1D7F4E;font-weight:600}
.sp-dlg .md-fam{display:flex;flex-direction:column;gap:10px;font-size:14px}
.sp-dlg .md-fsub,.sp-dlg .md-fnote{font-size:13px;color:#5B6573;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sp-dlg .md-fnote{text-align:center}
.sp-dlg .md-fl{display:flex;flex-direction:column;gap:6px}
.sp-dlg .md-fr,.sp-dlg .md-rr{display:flex;align-items:center;gap:10px;min-height:48px;border:1px solid #E2E6EC;border-radius:12px;padding:4px 6px 4px 8px;background:#FFFFFF}
.sp-dlg .md-fr .md-swx b,.sp-dlg .md-rr .md-swx b{font-size:14px}.sp-dlg .md-fr .md-swx span,.sp-dlg .md-rr .md-swx span{font-size:12.5px}
.sp-dlg .md-fwho{display:flex;align-items:center;gap:10px;flex:1 1 auto;min-width:0;min-height:40px;border:0;background:none;padding:0;text-align:left;font:inherit;color:inherit}
.sp-dlg .md-av{flex:0 0 32px;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;color:#FFFFFF;font:700 14px var(--ui)}
.sp-dlg .md-fpill{flex:0 0 auto;height:28px;line-height:28px;padding:0 12px;border:0;border-radius:999px;font:700 12.5px var(--ui);white-space:nowrap}
.sp-dlg .md-fpill[data-st=on]{background:#E3F4EA;color:#1D6B3F}.sp-dlg .md-fpill[data-st=wait]{background:#FFF1D6;color:#7A4B00}
.sp-dlg button.md-fpill{height:40px;line-height:40px;padding:0 14px}
.sp-dlg .sp-btn.md-finv{flex:0 0 auto;height:40px;min-height:40px;padding:0 16px;border-radius:999px}
.sp-dlg .md-fsw{gap:6px}.sp-dlg .md-fsw .md-rdays{margin:-2px 0 4px 40px}
.sp-dlg .md-lblu{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#5B6573;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px}
.sp-dlg .md-fam .md-seg2 .md-sg2,.sp-dlg .md-itabs .md-sg2,.sp-dlg .md-ios .md-sg2{flex:1 1 0}
.sp-dlg .md-lock{border-radius:16px;padding:12px;background:linear-gradient(160deg,#2B3A67,#1B2440);display:flex;flex-direction:column;gap:8px}
.sp-dlg .md-lockt{color:#FFFFFF;font:600 30px/1 var(--ui);text-align:center;letter-spacing:-.5px}
.sp-dlg .md-ntf{background:rgba(255,255,255,.92);border-radius:14px;padding:9px 11px;display:flex;flex-direction:column;gap:2px;min-width:0}
.sp-dlg .md-ntfh{display:flex;align-items:center;gap:6px;font-size:11px;font-weight:700;color:#5B6573;letter-spacing:.04em}.sp-dlg .md-ntfh img{border-radius:4px}
.sp-dlg .md-ntf b,.sp-dlg .md-ntf span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sp-dlg .md-ntf b{font-size:14px;color:#1B1F24}.sp-dlg .md-ntf span{font-size:12.5px;color:#3D4652}
.sp-dlg .md-ntfb{display:flex;gap:6px;margin-top:5px}.sp-dlg .md-ntfb i{flex:1 1 0;min-width:0;font-style:normal;text-align:center;font-size:12.5px;font-weight:700;color:#1F4FC8;background:#EEF2FB;border-radius:8px;padding:6px 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sp-dlg .md-rings{background:#FFFFFF;border:1px solid #E2E6EC;border-radius:12px;padding:8px;display:flex;flex-direction:column;gap:6px}
.sp-dlg .md-rings .md-rr{border:0;padding:0 2px;min-height:44px}.sp-dlg .md-rl{font-size:13px;font-weight:700;color:#1B1F24}
.sp-dlg .md-radios{display:flex;flex-direction:column;gap:6px}
.sp-dlg .md-radio{display:flex;align-items:center;gap:10px;min-height:52px;width:100%;border:1px solid #E2E6EC;border-radius:12px;background:#FFFFFF;padding:6px 10px;text-align:left;font:inherit;color:inherit}
.sp-dlg .md-radio[aria-checked=true]{border-color:#1F4FC8;background:#F5F8FF}
.sp-dlg .md-radio i{flex:0 0 20px;width:20px;height:20px;border-radius:50%;border:2px solid #9AA3AF;box-sizing:border-box}.sp-dlg .md-radio[aria-checked=true] i{border:6px solid #1F4FC8}
.sp-dlg .md-imsg{height:auto;min-height:96px;padding:9px 11px;line-height:1.35;font-size:15px;resize:vertical}
.sp-dlg .md-apps{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.sp-dlg .md-app{display:flex;flex-direction:column;align-items:center;gap:5px;border:1px solid transparent;border-radius:14px;background:none;padding:4px 0;font:600 12.5px var(--ui);color:#1B1F24;min-width:0}
.sp-dlg .md-app>span:last-child{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sp-dlg .md-app[aria-pressed=true]{border-color:#1F4FC8;background:#F5F8FF}
.sp-dlg .md-logo{width:66px;height:66px;border-radius:16px;position:relative;display:block}
.sp-dlg .md-logo::after{content:"";position:absolute;inset:15px;background:#FFFFFF;-webkit-mask:var(--m) center/contain no-repeat;mask:var(--m) center/contain no-repeat}
.sp-dlg .md-logo[data-app=sms]{background:none}.sp-dlg .md-logo[data-app=sms]::after{inset:0;background:#34C759;--m:url(icons/send/messages.svg)}
.sp-dlg .md-logo[data-app=whatsapp]{background:#25D366}.sp-dlg .md-logo[data-app=whatsapp]::after{--m:url(icons/send/whatsapp.svg)}
.sp-dlg .md-logo[data-app=viber]{background:#7360F2}.sp-dlg .md-logo[data-app=viber]::after{--m:url(icons/send/viber.svg)}
.sp-dlg .md-logo[data-app=messenger]{background:#0866FF}.sp-dlg .md-logo[data-app=messenger]::after{--m:url(icons/send/messenger.svg)}
.sp-dlg .md-logo[data-app=email]{background:#8A94A6}.sp-dlg .md-logo[data-app=email]::after{inset:13px;--m:url(icons/send/mail.svg)}
.sp-dlg .md-logo[data-app=copy]{background:#5B6573}.sp-dlg .md-logo[data-app=copy]::after{inset:18px;--m:url(icons/send/link.svg)}
.sp-dlg .sp-btn.md-isend{flex:0 0 auto;width:100%;height:44px;font-size:15px}
.sp-dlg .md-phone{align-self:center;width:250px;max-width:100%;border:9px solid #1B1F24;border-radius:34px;background:#FFFFFF;overflow:hidden}
.sp-dlg .md-pscr{height:440px;overflow:auto;padding:14px 12px}.sp-dlg .md-pscr .fj{gap:8px}.sp-dlg .md-pscr .fj-h{font-size:18px}
/* the join page (app.js, prompt 255) */
.fj{--ui:'Figtree',system-ui,sans-serif;display:flex;flex-direction:column;gap:10px;font:500 14px var(--ui);color:#1B1F24;text-align:left}
.fj-top{display:flex;align-items:center;gap:10px}.fj-top img{width:44px;height:44px;border-radius:12px}.fj-brand{font:700 20px var(--ui)}
.fj-h{margin:4px 0 0;font:700 22px/1.2 var(--ui);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fj-sub{margin:-6px 0 0;color:#5B6573;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fj-list{background:#F4F6F9;border-radius:12px;padding:6px 10px;display:flex;flex-direction:column}
.fj-med{display:flex;align-items:center;gap:8px;min-height:36px}.fj-med b{flex:1 1 auto;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fj-med>span:last-child{flex:0 0 auto;color:#5B6573;font-size:13px}
.fj-ic{flex:0 0 auto}
.fj-steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.fj-steps li{display:flex;align-items:center;gap:8px;min-height:28px}.fj-steps li span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fj-steps i{flex:0 0 24px;width:24px;height:24px;border-radius:50%;background:#1F4FC8;color:#FFFFFF;font:700 13px/24px var(--ui);font-style:normal;text-align:center}
.fj-note{margin:0;font-size:13px;color:#7A4B00;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fj-msg{margin:0;color:#1D7F4E;font-weight:600}.fj-msg.fj-err{color:#B42318}.fj-end{margin:8px 0 0;font:600 16px var(--ui)}
.fj-g,.fj-e{height:44px;border-radius:12px;font:700 15px var(--ui);white-space:nowrap;overflow:hidden}
.fj-g{border:0;background:#1F4FC8;color:#FFFFFF}.fj-e{border:1px solid #C9D3E3;background:#FFFFFF;color:#1B1F24}
.fj-page{min-height:100%;box-sizing:border-box;padding:28px 16px calc(28px + env(safe-area-inset-bottom));background:#FFFFFF;display:flex;justify-content:center}.fj-page .fj{width:100%;max-width:420px}
.nb .md-set{margin:0 0 8px;padding:8px 12px;border-radius:10px;background:#E3F4EA;color:#1D6B3F;font:600 14px 'Figtree',system-ui,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* (prompt 283) Settings › "Link to your PC" (Padd Beta only): one row and its small sheet; 14px text, 40px controls, 16px input, one line each */
.set.lnkpc{margin-top:12px}
.set.lnkpc .s{font-size:calc(14px * var(--ts));min-height:40px;cursor:pointer}
.set.lnkpc .s small,.lnksheet .lnkline,.lnksheet .lnkmsg{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.set.lnkpc .lnkgo{color:var(--muted);font-size:calc(18px * var(--ts));flex:none}
.lnksheet .lnkline{font-size:calc(14px * var(--ts));padding:2px 6px 6px}
.lnksheet .lnkmsg{font-size:calc(14px * var(--ts));padding:0 6px 4px;color:#A12C2C}
.lnksheet .lnkmsg.ok{color:#2E7D4F}
.lnksheet .btn{min-height:40px;font-size:calc(14px * var(--ts))}
.lnksheet .lnkcode{display:flex;gap:8px;align-items:center;margin-top:4px}
.lnksheet .lnksms{display:flex;align-items:center;gap:10px;padding:6px 6px 10px;min-width:0}
.lnksheet .lnkst{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.lnksheet .lnkst b,.lnksheet .lnkst span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lnksheet .lnkst b{font-size:calc(14px * var(--ts))}
.lnksheet .lnkst span{font-size:calc(12.5px * var(--ts));color:var(--muted)}
.lnksheet .asi{flex:none;width:22px;height:22px;border-radius:50%;border:1.5px solid var(--muted);color:var(--muted);font:700 calc(12px * var(--ts))/1 var(--font);display:flex;align-items:center;justify-content:center;cursor:pointer}
.lnksheet .lnksms .btn{flex:none;padding:0 14px}
.lnksheet .lnkon{flex:none;font-weight:700;color:#2E7D4F;font-size:calc(14px * var(--ts))}
.lnksheet .lnkone{padding-top:0}
.lnksheet .lnkcode input{flex:1;min-width:0;min-height:40px;font-size:16px;text-transform:uppercase;letter-spacing:1px}
/* Padd Free (prompt 316, the approved mockup prompts/mockups/316-free-mic-nudge-mockup.html). The card instead of the app: the sign-in screens' look,
   14px text, 40px controls, every line on one line (account.js fitPlan shrinks a line that would wrap) */
.pfree .pfcard{gap:12px}
.pfree .pf1{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:clip;text-align:center}
.pfree .pfcard h1.pf1{font-size:calc(18px * var(--ts))}
.pfree .pfs{margin:0;font-size:14px;line-height:1.4;color:var(--ink)}
.pfree .pfm{margin:0;font-size:13px;line-height:1.4;color:var(--muted)}
.sgn .card.pfcard .big.pfb{min-height:40px;height:40px;font-size:14px;white-space:nowrap}
.sgn .card.pfcard button.lnk.pfl{min-height:40px;font-size:14px;white-space:nowrap}
.pfree .pfsoon{font-size:12px}
.pfree .pflnk{border:0;background:none;padding:0;font:inherit;font-weight:700;color:#1F4FC8;cursor:pointer}
.pfree .pfok{font-weight:700;color:#1D5E3C}
/* the iPhone chip "Tap 🎤 on the keyboard": one line, a white pill just above the keyboard (the notepad ends at the keyboard), a bar shrinking over 4 s */
.nb .nkbchip{position:absolute;left:50%;bottom:calc(var(--nboth,0px) + 10px);transform:translateX(-50%);z-index:9;height:34px;display:flex;align-items:center;gap:8px;padding:0 14px;border-radius:999px;background:rgba(255,255,255,.96);box-shadow:0 2px 10px rgba(0,0,0,.22);font:600 14px 'Figtree',system-ui,sans-serif;color:#18202F;white-space:nowrap;max-width:calc(100% - 16px);pointer-events:none;animation:nkbin .2s ease-out}
@keyframes nkbin{from{opacity:0;transform:translate(-50%,8px)}to{opacity:1;transform:translateX(-50%)}}
.nb .nkbchip .nkbbar{position:absolute;left:14px;right:14px;bottom:3px;height:2px;border-radius:2px;background:#E2E6EC;overflow:hidden}
.nb .nkbchip .nkbbar i{display:block;height:100%;width:100%;background:#9DB3E6;transform-origin:left;animation:nkbshrink 4s linear forwards}
@keyframes nkbshrink{to{transform:scaleX(0)}}
/* "✨ Tidy with AI" under the line the Mic wrote to (inside #npaper, never part of the text); its line keeps room for it */
.nb .ln.ntidyln{margin-bottom:36px}
.nb .ntidy{position:absolute;z-index:3;height:36px;display:flex;align-items:center;gap:8px;white-space:nowrap}
.nb .ntidy .ntdb{height:30px;border:0;border-radius:999px;padding:0 12px;background:#fff;color:#1F4FC8;font:700 14px 'Figtree',system-ui,sans-serif;box-shadow:0 1px 6px rgba(31,79,200,.35);display:flex;align-items:center;gap:6px;white-space:nowrap;cursor:pointer;animation:ntglow 2s ease-in-out infinite}
@keyframes ntglow{50%{box-shadow:0 1px 12px rgba(31,79,200,.65)}}
.nb .ntidy .ntdb.lock{color:#5B6573;box-shadow:0 1px 5px rgba(0,0,0,.18);animation:none}
.nb .ntidy .ntdb[disabled]{animation:none;opacity:.8}
.nb .ntidy small{font:600 12px 'Figtree',system-ui,sans-serif;color:#5B6573;white-space:nowrap}
.nb .ntidy .ntun{height:30px;border:0;background:none;color:#5B6573;font:600 13px 'Figtree',system-ui,sans-serif;text-decoration:underline;cursor:pointer;padding:0 4px}
.nb .nmagic{animation:nmagic .6s ease-out}
@keyframes nmagic{0%{opacity:0;filter:blur(4px)}100%{opacity:1;filter:none}}
/* the locked sheet (AI voice, and any other paid part): the notepad's bottom sheet, light, every line on one line */
.nb .plsheet{font:500 15px/1.4 'Figtree',system-ui,sans-serif;color:#1B1F24}
.nb .plsheet .plh{margin:6px 0 2px;font:800 20px 'Figtree',system-ui,sans-serif;white-space:nowrap}
.nb .plsheet .plsub{margin:0 0 12px;color:#5B6573;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nb .plsheet .plprev{position:relative;border-radius:12px;background:#FFF3A8;padding:10px 12px 10px 14px;border-left:3px solid #D9534F;margin-bottom:10px}
.nb .plsheet .plmine{font:500 20px/28px 'Caveat',cursive;color:#22304A;opacity:.6;text-decoration:line-through;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nb .plsheet .plblur{filter:blur(5px);user-select:none;-webkit-user-select:none}
.nb .plsheet .plrow{display:flex;align-items:center;gap:8px;font:500 21px/30px 'Caveat',cursive;color:#22304A}
.nb .plsheet .plrow i{width:16px;height:16px;border:2px solid #22304A;border-radius:4px;flex:none}
.nb .plsheet .plal{display:inline-flex;align-items:center;gap:6px;margin-top:6px;height:28px;padding:0 10px;border-radius:999px;background:#fff;border:1px solid #E2E6EC;font:600 13px 'Figtree',system-ui,sans-serif;white-space:nowrap}
.nb .plsheet .pllk{position:absolute;right:10px;bottom:10px;height:26px;padding:0 10px;border-radius:999px;background:#1B1F24;color:#fff;font:700 12px 'Figtree',system-ui,sans-serif;display:flex;align-items:center;gap:5px;white-space:nowrap}
.nb .plsheet .plfeat{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:12px 0}
.nb .plsheet .plfeat span{height:32px;display:flex;align-items:center;gap:6px;padding:0 10px;border-radius:10px;background:#F4F7FE;color:#1B3F8F;font:600 13px 'Figtree',system-ui,sans-serif;white-space:nowrap;overflow:hidden}
.nb .plsheet .plplan{display:flex;align-items:center;justify-content:space-between;gap:8px;height:40px;padding:0 12px;border:1px solid #E2E6EC;border-radius:12px;font-size:14px;white-space:nowrap}
.nb .plsheet .plplan b{font-weight:700}
.nb .plsheet .plsoon,.voiceset .plsoon{font:700 11px Inter,system-ui,sans-serif;letter-spacing:.05em;text-transform:uppercase;background:#FFF6E5;color:#6B4A00;border:1px solid #F0D49A;border-radius:999px;padding:3px 8px}
.nb .plsheet .plgo{margin-top:10px;width:100%;height:44px;border:0;border-radius:12px;background:#1F4FC8;color:#fff;font:700 15px 'Figtree',system-ui,sans-serif;white-space:nowrap;cursor:pointer}
.nb .plsheet .plgo.done{background:#E8F4EE;color:#1D5E3C}
.nb .plsheet .pllater{margin-top:6px;width:100%;height:40px;border:0;background:none;color:#5B6573;font:600 14px 'Figtree',system-ui,sans-serif;cursor:pointer}
.nb .plsheet .plfine{text-align:center;color:#5B6573;font-size:12px;margin-top:2px;white-space:nowrap}

/* Tablets, landscape (prompt 333): the PC app's look; phones and portrait are untouched */
@media (min-width:900px) and (min-height:600px) and (orientation:landscape){
  html,body{background:#EEF1F5}
  /* the PC app's frame: a header across the top, a labelled sidebar, the page beside it */
  #app{display:grid;grid-template-columns:230px minmax(0,1fr);grid-template-rows:64px minmax(0,1fr);background:#EEF1F5}
  #app::before{content:"Padd";grid-column:1/-1;grid-row:1;display:flex;align-items:center;padding-left:72px;font:700 20px/1 Inter,system-ui,sans-serif;color:var(--ink);background:#fff url(/padd-logo.png) no-repeat 28px center/32px 32px;border-bottom:1px solid var(--line)}
  .tabbar{grid-column:1;grid-row:2;flex-direction:column;justify-content:flex-start;gap:2px;border:0;border-right:1px solid var(--line);background:#fff;padding:16px 12px}
  .ios .tabbar{padding-bottom:16px}
  .tab{flex:none;flex-direction:row;justify-content:flex-start;gap:12px;min-height:44px;padding:0 14px;border-radius:10px;font-size:calc(15px * var(--ts));font-weight:600;color:var(--ink2)}
  .tab.on{background:#E3EAFB;color:var(--blue)}
  .tab svg{width:20px;height:20px}
  .homebar{display:none}
  #main{grid-column:2;grid-row:2;background:#fff}
  .appbar{padding:20px 32px 12px}
  .appbar .name{font-size:calc(22px * var(--ts))}
  .content{padding:0 32px 28px;gap:14px}
  /* Files: three cards across, like the PC library */
  .grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
  /* Workspace: the PC list, one row per page */
  /* Calendar and Settings: left aligned, a good reading width */
  #calv{max-width:900px}
  .pgrid .c{height:60px}
  #main .content:has(.set)>*{max-width:820px}
  /* sheets: a dialog in the middle, like the PC's */
  .sheet{left:50%;right:auto;top:50%;bottom:auto;width:min(540px,90%);transform:translate(-50%,-50%);border-radius:18px;padding:18px 20px 20px;box-shadow:0 20px 60px rgba(0,0,0,.28)}
  #calsheet .csheet,.nb .csheet{left:50%;right:auto;width:min(560px,92%);transform:translateX(-50%)}
  .nb .csheet{transform:translate(-50%,105%)}
  .nb .csheet.on{transform:translate(-50%,0)}
  /* Notes: the PC's tan desk, Pages list on it, the paper in the middle */
  #app:has(.nb){grid-template-columns:0 minmax(0,1fr);grid-template-rows:0 minmax(0,1fr)}
  #app:has(.nb)::before{display:none}
  .nb{background:#C9A87C}
  .nb .drawer{top:52px;width:280px;transform:none;background:transparent;box-shadow:none;padding:16px 14px}
  .nb .paper{width:min(680px,calc(100% - 340px));flex:1;align-self:center;margin-left:280px;box-shadow:0 2px 18px rgba(0,0,0,.25)}
  .nb .nbot{left:calc(280px + (100% - 280px - min(680px,100% - 340px))/2 + 12px);right:auto;width:calc(min(680px,100% - 340px) - 24px)}
  /* the header already says Padd: no second logo in each screen */
  .appbar>img{display:none}
  .appbar:has(>img)>b{display:none}
  .appbar:not(.calbar):has(>img) .name{font-size:0}
  /* Workspace (new on tablets): switch, New page, filter chips, By tag columns or a List */
  .wsview{display:inline-flex;border:1px solid var(--line);border-radius:10px;padding:3px;gap:2px;margin-left:8px}
  .wsview button{border:0;background:none;font:600 14px var(--font);padding:6px 14px;border-radius:8px;color:var(--ink2)}
  .wsview button.on{background:var(--blue);color:#fff}
  .wsnew{align-self:flex-start;min-height:44px;border:0;border-radius:10px;background:var(--blue);color:#fff;font:700 14px var(--font);padding:0 18px}
  .wsfil{display:flex;gap:8px;flex-wrap:wrap}
  .wsfil button{border:1px solid var(--line);background:#fff;border-radius:999px;padding:7px 14px;font:600 13.5px var(--font);color:var(--ink2)}
  .wsfil button.on{background:#E3EAFB;border-color:#B9C9F2;color:var(--blue)}
  .content.ws .wsgs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:start}
  .wsgs .wsg{display:flex;flex-direction:column;gap:8px;background:#F4F6FA;border:1px solid var(--line);border-radius:14px;padding:12px;margin:0}
  .wsgs .wsg.none{border-style:dashed}
  .wsgs .wsc .wsd{display:block;font-size:12px;color:var(--muted);margin-top:4px}
  .content.ws .wsgs.wslist{display:block}
  .wsgs.wslist .wsg{background:#fff;padding:0;gap:0;overflow:hidden}
  .wsgs.wslist .wsh{display:none!important}
  .wsgs.wslist .wsc{display:flex;align-items:center;gap:18px;background:#fff!important;border-radius:0;box-shadow:none;border:0;border-top:1px solid var(--line);margin:0;padding:10px 16px}
  .wsgs.wslist .wsc:first-of-type{border-top:0}
  .wsgs.wslist .wsc::before{content:"";flex:none;width:14px;height:14px;border-radius:50%;background:#FFF0A0;border:1px solid #E6D36B}
  .wsgs.wslist .wsc b{flex:none;width:200px;font-family:var(--hand);font-size:22px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .wsgs.wslist .wsc small{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:14px}
  .wsgs.wslist .wsc .m{flex:none;display:flex;gap:6px;align-items:center}
  .wsgs.wslist .wsc .wsd{margin:0;width:80px;text-align:right}
}
/* outside a landscape tablet the new Workspace parts are not there at all */
.wsview,.wsnew,.wsfil,.wsgs .wsc .wsd{display:none}
.ftitle{display:none}
@media (min-width:900px) and (min-height:600px) and (orientation:landscape){.wsview{display:inline-flex}.wsnew{display:block}.wsfil{display:flex}.wsgs .wsc .wsd{display:block}.ftitle{display:inline;font:700 22px var(--font)}}
/* Tablets, landscape (prompt 337): notepad sheets are the paper's width */
@media (min-width:900px) and (min-height:600px) and (orientation:landscape){
  /* every pop-up sheet in the notepad is the width of the paper, not edge to edge */
  .nb{--pw:min(680px,calc(100% - 340px))}
  .nb .nsheet,.nb .csheet{left:calc(280px + (100% - 280px - var(--pw))/2);right:auto;width:var(--pw);border-radius:20px 20px 0 0}
  .nb .csheet{transform:translateY(105%)}
  .nb .csheet.on{transform:none}
}
/* Tablets, landscape (prompt 342): the reminder card is the paper's width */
@media (min-width:900px) and (min-height:600px) and (orientation:landscape){
  .nb .nvcard{left:calc(280px + (100% - 280px - var(--pw))/2 + 12px);right:auto;width:calc(var(--pw) - 24px)}
}
/* tables in a note (prompt 356): inside the margin line like the smart cards, thin gray grid lines on the paper (no shadow), a bold header and Total row,
   14px text, rows at least 40px; 4 or 5 columns are 96px or more each and swipe sideways with the first column staying put; never a visible scrollbar */
.nb .ntb{margin:6px 0 12px;font:500 calc(14px * var(--ts))/1.35 var(--ui);color:#1B1F24;min-width:0}
.nb .ntbs{overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-ms-overflow-style:none;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
.nb .ntbs::-webkit-scrollbar{display:none;width:0;height:0}
.nb .ntb table{font:inherit;width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0}
.nb .ntb.wide table{min-width:calc(var(--n) * 96px)}
.nb .ntb td{padding:0;vertical-align:top;background:var(--paper);border-right:1px solid #C3C8D0;border-bottom:1px solid #C3C8D0}
.nb .ntb tr:first-child td{border-top:1px solid #C3C8D0}
.nb .ntb td:first-child{border-left:1px solid #C3C8D0;position:sticky;left:0;z-index:1}
.nb .ntb .tc{display:block;min-height:40px;box-sizing:border-box;padding:10px 8px;outline:none;white-space:pre-wrap;overflow-wrap:anywhere;caret-color:var(--blue);-webkit-touch-callout:none}
.nb .ntb .tc:focus{background:rgba(31,79,200,.07)}
.nb .ntb tr.h .tc,.nb .ntb tr.t .tc{font-weight:700}
.nb .ntb tr.t td{border-top:1.5px solid #9AA1AC}
.nb .ntb td.ck{text-align:center;vertical-align:middle;-webkit-touch-callout:none}
.nb .ntb .tk{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;cursor:pointer;vertical-align:middle;position:relative}
.nb .ntb .tk:before{content:"";box-sizing:border-box;width:24px;height:24px;border:2px solid #333;border-radius:5px;background:rgba(255,255,255,.4)}
.nb .ntb .tk.on:after{content:"";position:absolute;left:16px;top:10px;width:6px;height:12px;border:solid #333;border-width:0 2px 2px 0;transform:rotate(40deg)}
.nb.ro .ntb .tk{cursor:default}
/* Insert table: the tap-to-pick grid (up to 5 × 8), the size it shows and Insert */
.nb .tbgrid{display:grid;grid-template-columns:repeat(var(--tbc),36px);gap:5px;justify-content:center;margin:4px 0 10px}
.nb .tbg{width:36px;height:30px;border:1.5px solid #C9D0DC;border-radius:6px;background:#fff;padding:0;cursor:pointer}
.nb .tbg.on{background:#DCE6FB;border-color:#1F4FC8}
.nb .tbsz{text-align:center;font:700 calc(15px * var(--ts)) var(--ui);color:#18202F;margin-bottom:12px;font-variant-numeric:tabular-nums}
.nb .tbsheet .tbins{width:100%;justify-content:center}
/* a cell's menu: the Total row's lock shows on Padd Free */
.nb .tbmenu button{padding:9px 10px}
.nb .tbmenu .tblk{display:none;font-style:normal;margin-left:auto;font-size:calc(13px * var(--ts))}
.nb .tbmenu.free .tblk{display:inline}
/* (prompt 357) Link: a web address on the selected words. The sheet: the words, one address field (16 px, so iOS does not zoom), Save */
.nb .wlsheet{display:flex;flex-direction:column;transition:transform .22s,visibility 0s .22s;visibility:hidden}.nb .wlsheet.on{visibility:visible;transition:transform .22s}
.nb .wlw{margin:0 0 10px;font:500 calc(13.5px * var(--ts)) var(--ui);color:#4b5567;overflow-wrap:anywhere}
.nb .wlq{height:44px;border:1.5px solid #D5DBE7;border-radius:12px;padding:0 12px;font:500 16px var(--ui);color:#18202F;outline:none;margin-bottom:10px;flex:none}.nb .wlq:focus{border-color:#1F4FC8}
.nb .wlsave{width:100%;justify-content:center}.nb .wlsave:disabled{opacity:.45;cursor:default}
/* (prompt 358) only narrower than 360 px (a 320 px phone): 12 px, so no word is cut or wraps */
@media (max-width:359px){.nb .nrsel .selbell{padding:0 4px;gap:4px;font-size:calc(12px * var(--ts))}}

/* ---------- Paging (prompt 382, paging.js; the look is the Padd Paging mockup, steps 1 to 10). Everything is scoped to the paging roots. ---------- */
.pagefab{position:absolute;right:16px;bottom:calc(78px + var(--sab,env(safe-area-inset-bottom,0px)));width:54px;height:54px;border-radius:16px;border:0;padding:0;background:#D9342B;color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 16px rgba(217,52,43,.38);z-index:5;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.pagefab[hidden]{display:none}
.ios .pagefab{bottom:calc(64px + var(--sab,env(safe-area-inset-bottom,0px)))}
#app.withfab .pagefab{bottom:calc(144px + var(--sab,env(safe-area-inset-bottom,0px)))}      /* 12px above the blue "+" (54px) */
.ios #app.withfab .pagefab{bottom:calc(130px + var(--sab,env(safe-area-inset-bottom,0px)))}
.pagefab svg{width:28px;height:28px;stroke-width:1.9}
.pagefab.nospot{visibility:hidden;pointer-events:none}      /* (prompt 403) on the notepad with no room above its buttons, or none of them showing */
.pagefab .pdot2{position:absolute;top:-4px;right:-4px;width:14px;height:14px;border-radius:50%;background:#D9342B;border:2.5px solid #fff;box-sizing:border-box}
.pagefab .pdot2[hidden]{display:none}
.pagefab.glide{transition:left .25s cubic-bezier(.3,.8,.3,1),top .25s cubic-bezier(.3,.8,.3,1)}
.pagefab.drag{transform:scale(1.1);cursor:grabbing}
#app.kbup .pagefab{visibility:hidden;pointer-events:none}
#app.sheeted .pagefab{display:none}
@media (prefers-reduced-motion:reduce){.pagefab.glide{transition:none}}

.pgv,.pgs,.pgring{--pf:'Figtree',var(--font);font-family:var(--pf);color:var(--ink);font-size:14px}
.pgv{position:fixed;z-index:50;background:#fff;display:flex;flex-direction:column;overflow:hidden;overflow-x:clip;padding-bottom:var(--pgsab,0px)}      /* (prompt 422) --pgsab: the part under the navigation bar (paging.js place) */
.pgv[hidden],.pgring[hidden]{display:none}
.pgv[data-view="conv"]{background:#F6F8FB}
.pgv .pgbar{gap:8px;padding:8px 14px 10px;background:#fff}
.pgv .pgbar .name{font:700 17px var(--pf);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1;min-width:0}
.pgv .pgbar .back,.pgv .pgbar .gear{width:40px;height:40px;display:flex;align-items:center;justify-content:center;flex:none}
.pgv .pgbar .gear{margin-right:-8px;color:var(--ink2)}
.pgv .cvbar .more{font:700 22px var(--pf);cursor:pointer}      /* (prompt 423) a one-to-one chat's ⋮: Remove <name> */
.pgv .pgbar svg{width:22px;height:22px}
.pgv .pgav{width:44px;height:44px;border-radius:50%;flex:none;display:flex;align-items:center;justify-content:center;color:#fff;font:700 15px var(--pf)}
.pgv .pgempty{padding:40px 16px;text-align:center;color:var(--muted);display:flex;justify-content:center}
.pgv .isearch{margin:0 14px 6px;height:40px;border-radius:10px;background:#EEF1F5;display:flex;align-items:center;gap:8px;padding:0 12px;color:var(--muted);flex:none}
.pgv .isearch svg{width:18px;height:18px;flex:none}
.pgv .isearch input{flex:1;min-width:0;border:0;background:none;outline:none;font:500 16px var(--pf);color:var(--ink);height:38px;padding:0}
.pgv .inbox{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding-bottom:84px}
.pgv .irow{display:flex;align-items:center;gap:12px;padding:11px 16px;border-bottom:1px solid var(--line);cursor:pointer}
.pgv .irow .grow{min-width:0;flex:1}
.pgv .ih{display:flex;justify-content:space-between;gap:8px;font:500 15px var(--pf)}
.pgv .ih .nm{display:flex;align-items:center;gap:6px;min-width:0}
.pgv .ih b{font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.pgv .ih small{font:500 12px var(--pf);color:var(--muted);flex:none}
.pgv .ih .gn{font-weight:600}
.pgv .ip{display:block;font:500 13.5px var(--pf);color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pgv .ip em{font-style:normal;color:var(--blue);font-weight:600}
.pgv .irow.unread .ip{color:var(--ink);font-weight:600}
.pgv .udot{width:9px;height:9px;border-radius:50%;background:var(--blue);flex:none}
.pgv .newpage{position:absolute;right:16px;bottom:calc(16px + var(--pgsab,0px));height:48px;padding:0 18px;border:0;border-radius:16px;background:var(--blue);color:#fff;font:700 14px var(--pf);display:flex;align-items:center;gap:8px;box-shadow:0 6px 16px rgba(31,79,200,.35);white-space:nowrap}
.pgv .newpage svg{width:20px;height:20px;stroke-width:2}
/* a conversation */
.pgv .cvbar{border-bottom:1px solid var(--line)}
.pgv .cvbar .pgav{width:34px;height:34px;font-size:13px}
.pgv .cvt{display:flex;flex-direction:column;min-width:0;flex:1}
.pgv .cvt b{font:700 15px var(--pf);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pgv .cvt small{font:500 11.5px var(--pf);color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pgv .chat{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding:10px 12px;display:flex;flex-direction:column;gap:6px;background:#F6F8FB}
.pgv .day{align-self:center;font:600 11.5px var(--pf);color:var(--muted);margin:6px 0}
.pgv .bub{max-width:76%;padding:9px 12px;border-radius:18px;font:500 14px/1.35 var(--pf);overflow-wrap:anywhere}
.pgv .bub.me{align-self:flex-end;background:var(--blue);color:#fff;border-bottom-right-radius:6px}
.pgv .bub.them{align-self:flex-start;background:#fff;border:1px solid var(--line);color:var(--ink);border-bottom-left-radius:6px}
.pgv .bub.urg{background:#D9342B}
.pgv .bub.urgthem{border-color:#F3B9B4}
.pgv .bub .bt{display:block;font:500 11px var(--pf);opacity:.8;margin-top:3px;text-align:right;white-space:nowrap}
.pgv .bub.them .bt{text-align:left;color:var(--muted)}
.pgv .bub .ut{display:block;font:800 10px var(--pf);letter-spacing:.06em;opacity:.9;margin-bottom:2px}
.pgv .bub.urgthem .ut{color:#B3261E}
.pgv .bub .who{display:block;font:700 11.5px var(--pf);color:var(--blue);margin-bottom:2px}
.pgv .bub .att{display:flex;align-items:center;gap:6px;margin-top:6px;background:rgba(255,255,255,.18);border-radius:10px;padding:6px 9px;font:600 13px var(--pf);cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pgv .bub.them .att{background:var(--blue-soft);color:var(--blue)}
.pgv .bub .att svg{width:16px;height:16px;flex:none}
.pgv .bub .lcard,.pgs .lcard{display:flex;align-items:center;gap:10px;margin-top:8px;background:rgba(255,255,255,.18);border-radius:12px;padding:8px 10px;min-width:0;cursor:pointer}      /* (prompt 448) a shared web link */
.pgv .bub.them .lcard{background:var(--blue-soft);color:var(--ink)}
.pgs .lcard{margin-top:0;background:var(--blue-soft);border:1.5px solid var(--blue-edge);color:var(--ink);cursor:default}
.pgv .lcard .li,.pgs .lcard .li{width:32px;height:32px;flex:none;border-radius:8px;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.18)}
.pgv .bub.them .lcard .li,.pgs .lcard .li{background:#fff;color:var(--blue)}
.pgv .lcard .li svg,.pgs .lcard .li svg{width:16px;height:16px}
.pgv .lcard .lt,.pgs .lcard .lt{display:flex;flex-direction:column;min-width:0;gap:1px;flex:1}
.pgv .lcard .lt b,.pgs .lcard .lt b,.pgv .lcard .lt small,.pgs .lcard .lt small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pgv .lcard .lt b,.pgs .lcard .lt b{font:700 13.5px var(--pf)}
.pgv .lcard .lt small,.pgs .lcard .lt small{font:500 12px var(--pf);opacity:.85}
.pgv .bub.them .lcard .lt small,.pgs .lcard .lt small{color:var(--muted);opacity:1}
.pgv .lcard .lx,.pgs .lcard .lx{margin-left:auto;flex:none;width:28px;height:28px;border-radius:50%;background:#fff;color:var(--muted);display:flex;align-items:center;justify-content:center;font-size:13px;cursor:pointer}
.pgs .lchoose{display:flex;flex-direction:column;gap:10px}
.pgs .lchoose .hw{flex:none;height:64px}
.pgs .lchoose .hi{width:30px;height:30px;border-radius:9px;display:flex;align-items:center;justify-content:center;color:var(--blue)}
.pgs .lchoose .hi svg{width:24px;height:24px}
.pgs .lchoose .hi.pagerr{background:#D9342B;color:#fff}
.pgs .lchoose .hi.pagerr svg{width:18px;height:18px}
.pgv .mst{align-self:flex-end;font:600 11px var(--pf);color:var(--muted);margin:-2px 4px 2px;white-space:nowrap}
.pgv .mst.seen{color:var(--blue)}
.pgv .bub.gotit{background:#E3F4E8;border:1px solid #BFE3CA;color:#1E7A3C;font-weight:700}
.pgv .bub.voice{min-width:200px}
.pgv .vrow{display:flex;align-items:center;gap:8px}
.pgv .vplay{width:30px;height:30px;border-radius:50%;background:#fff;color:var(--blue);display:flex;align-items:center;justify-content:center;font-size:12px;flex:none;padding-left:2px;cursor:pointer}
.pgv .bub.them .vplay{background:var(--blue);color:#fff}
.pgv .wave{display:flex;align-items:center;gap:2px;flex:1}.pgv .wave i{width:3px;border-radius:2px;background:currentColor;opacity:.75}
.pgv .vlen{font:600 12px var(--pf)}
.pgv .pdet{display:flex;flex-direction:column;margin-top:8px;border-top:1px solid rgba(255,255,255,.3);padding-top:6px}
.pgv .pdet>span{display:flex;justify-content:space-between;gap:10px;padding:3px 0;font:500 13px var(--pf)}
.pgv .pdet i{font-style:normal;opacity:.85;white-space:nowrap}
.pgv .pdet .pact{font-weight:700;justify-content:flex-start;cursor:pointer;text-decoration:underline}
.pgv .pgqr{display:flex;gap:6px;padding:8px 12px 0;background:#fff;flex:none;border-top:1px solid var(--line);overflow-x:auto;scrollbar-width:none}.pgv .pgqr::-webkit-scrollbar{display:none}
.pgv .pgqr .chip{border:1px solid var(--line);border-radius:999px;padding:7px 11px;font:600 12.5px var(--pf);color:var(--ink2);background:#fff;white-space:nowrap;cursor:pointer}
.pgv .pgqr .chip.got{background:#E3F4E8;border-color:#BFE3CA;color:#1E7A3C}
.pgv .pgqr .chip.add{color:var(--blue);border-color:var(--blue-edge)}
.pgv .pgqr .chip[hidden]{display:none}
.pgv .comp{display:block;padding:8px 12px 12px;background:#fff;flex:none}
/* (prompt 472) the composer card (paging.js composerCard: the conversation and the Page someone sheet, the approved mock-up): the message box on its own
   line, under it the tools (Normal / Urgent, the clock, 😊, photo, one round mic / send slot); the timer line or the emoji line takes the tools' place */
.cc{border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:0 2px 10px rgba(15,25,45,.06);padding:4px 6px 6px;box-sizing:border-box;min-width:0}
.pgs .cc{box-shadow:none}
.pgv .cc .cin,.pgs .cc .inp{display:block;width:100%;box-sizing:border-box;height:42px;margin:0;border:0;border-radius:0;outline:0;background:transparent;padding:0 10px;font:500 16px var(--pf);color:var(--ink);text-overflow:ellipsis}
.cc .ccr{display:flex;align-items:center;gap:6px;height:40px;white-space:nowrap;min-width:0}
.cc .ccr[hidden]{display:none}
.cc .seg{display:flex;flex:none;background:#F2F4F7;border-radius:999px;padding:3px;gap:2px}
.cc .seg .sg{border:0;background:transparent;height:30px;padding:0 8px;border-radius:999px;font:700 12.5px var(--pf);color:var(--muted);cursor:pointer;white-space:nowrap}
.cc .seg .sg.normal.on{background:#1F4FC8;color:#fff;box-shadow:0 2px 6px rgba(31,79,200,.35)}
.cc .seg .sg.urgent.on{background:#B3261E;color:#fff;box-shadow:0 2px 6px rgba(179,38,30,.35)}
.cc .ctm{flex:none;height:36px;min-width:36px;border:0;border-radius:999px;background:transparent;color:var(--muted);display:flex;align-items:center;justify-content:center;gap:4px;padding:0;cursor:pointer;font:700 12.5px var(--pf);white-space:nowrap}
.cc .ctm.t{background:#EAF0FF;color:#1F4FC8;padding:0 9px}
.cc .ctm svg,.cc .cic svg,.cc .ccc svg{display:block;flex:none;stroke:currentColor;pointer-events:none}
.cc .cic{flex:none;width:36px;height:36px;border:0;border-radius:50%;background:transparent;color:var(--muted);display:flex;align-items:center;justify-content:center;padding:0;cursor:pointer}
.cc .cic,.pgv .cc .cph,.pgs .cc .sph{margin:0 -3px}      /* the mock-up's icon buttons: 36 px, drawn a little closer */
.cc .cem{margin-left:auto}
.pgv .cc .cph,.pgs .cc .sph{flex:none;width:36px;height:36px;border:0;border-radius:50%;background:transparent;display:flex;align-items:center;justify-content:center;padding:0;cursor:pointer}
.pgv .cc .cph svg,.pgs .cc .sph svg{width:20px;height:20px;stroke:var(--muted);stroke-width:2;fill:none;pointer-events:none}
.pgv .cmic,.pgs .cc .smic{flex:none;width:40px;height:40px;border-radius:50%;border:0;background:#D9342B;color:#fff;display:flex;align-items:center;justify-content:center;padding:0;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;transition:transform .15s}
.pgv .cmic svg,.pgs .cc .smic svg{width:20px;height:20px;stroke:#fff;stroke-width:2}
.pgv .cpg{width:40px;height:40px;border-radius:50%;border:0;background:#1F4FC8;color:#fff;display:flex;align-items:center;justify-content:center;flex:none;padding:0}
.pgv .cpg.urg{background:#D9342B}
.pgv .cpg svg{width:20px;height:20px;stroke-width:2}
.cc[data-has="1"] .cmic{display:none}
.cc:not([data-has="1"]) .cpg{display:none}
.cc .ccl .ccc{flex:none;color:#1F4FC8;display:flex;padding-left:6px}
.cc .ccs{flex:1;min-width:0;display:flex;align-items:center;gap:4px;overflow-x:auto;scrollbar-width:none}
.cc .ccs::-webkit-scrollbar{display:none}
.cc .tt{flex:none;height:30px;border:0;border-radius:999px;padding:0 10px;font:700 12.5px var(--pf);background:transparent;cursor:pointer;color:var(--muted);white-space:nowrap}
.cc .tt.c-red{color:#B3261E}.cc .tt.c-orange{color:#B4650C}.cc .tt.c-purple{color:#6B3FD0}.cc .tt.c-green{color:#14855A}.cc .tt.c-blue{color:#1F4FC8}
.cc .tt.on{color:#fff;background:#3D4652}
.cc .tt.c-red.on{background:#B3261E}.cc .tt.c-orange.on{background:#B4650C}.cc .tt.c-purple.on{background:#6B3FD0}.cc .tt.c-green.on{background:#14855A}.cc .tt.c-blue.on{background:#1F4FC8}
.cc .ccx{flex:none;width:32px;height:32px;border:0;border-radius:50%;background:#F2F4F7;color:var(--muted);font:700 14px var(--pf);cursor:pointer;padding:0}
.cc .cee{flex:none;width:36px;height:36px;border:0;border-radius:50%;background:transparent;font-size:22px;line-height:36px;padding:0;cursor:pointer;touch-action:manipulation}
.cc .cee:active{background:#F2F4F7}
.cc .tmcus{flex:1;min-width:0;display:flex;align-items:center;gap:6px}
@media (max-width:374px){.cc .ccr{gap:4px}.cc .seg .sg{padding:0 6px}.cc .cct.tset .seg .sgi{display:none}}      /* 360 px phones: the tools row stays on one line (a time set: the words only) */
.cc .tmcus .ccset{flex:none;height:34px;border:0;border-radius:999px;background:#1F4FC8;color:#fff;font:700 12.5px var(--pf);padding:0 14px;cursor:pointer;white-space:nowrap}
/* recording (prompts 397/398): the box and the tools go, the record bar shows between the grey ✕ and the red mic (a ➤) */
.pgv .comp.rec .cc .cin,.pgs .mbar.rec .cc .inp{display:none}
.pgv .comp.rec .cc .cct,.pgs .mbar.rec .cc .cct{display:flex}
.pgv .comp.rec .cc .ccl,.pgs .mbar.rec .cc .ccl{display:none}
.pgv .comp.rec .cc .seg,.pgv .comp.rec .cc .ctm,.pgv .comp.rec .cc .cem,.pgs .mbar.rec .cc .ctm,.pgs .mbar.rec .cc .cem{display:none}
.pgv .comp.rec .cmic{display:flex}
.pgv .comp.rec .srec{display:flex}
.pgv .comp .srec,.pgs .mbar .cc .srec{height:40px;border-radius:20px}.pgv .comp.arm .srec{background:#EEF1F5}.pgv .comp.arm .srec .rhint{color:#B3261E}
.pgv .comp.rec .cmic{background:#D9342B;border-color:#D9342B;order:1}.pgv .comp.rec.hold .cmic{transform:scale(1.15)}.pgv .comp.rec .cmic svg{stroke:#fff}
/* (prompt 398) tap to record: the round grey ✕ (discard) left of the red bar, the mic a red ➤ (send) on its right; "‹ Slide to cancel" only while held */
.pgv .comp.rec .cpg{display:none}
.pgv .rx,.pgs .rx{display:none;flex:none;width:40px;height:40px;border-radius:50%;border:0;background:#EEF1F5;color:#3C4350;font:700 18px var(--pf);align-items:center;justify-content:center;padding:0;cursor:pointer;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.pgv .comp.rec .rx,.pgs .mbar.rec .rx{display:flex}
.pgv .cmic .snd,.pgs .smic .snd{display:none;font-size:19px;line-height:1;color:#fff;pointer-events:none}
.pgv .comp.rec .cmic svg,.pgs .mbar.rec .smic svg{display:none}.pgv .comp.rec .cmic .snd,.pgs .mbar.rec .smic .snd{display:block}
.pgv .comp.rec:not(.hold) .srec .rhint,.pgs .mbar.rec:not(.hold) .srec .rhint{display:none}
.pgv .cmic svg,.pgs .smic svg{pointer-events:none}
/* (prompt 389) Urgent picked: one small grey line, never wrapping */
.pgv .unote,.pgs .unote{font:500 11.5px var(--pf);color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pgv .unote{background:#fff;flex:none;padding:0 12px 10px;margin-top:-4px}.pgs .unote{margin-top:2px}
/* (prompt 414) Padd Free: "{n} pages left today" under Send (5 or fewer left), and the daily cap's toast with its round i */
.pgv .pgleft,.pgs .pgleft{font:500 12px var(--pf);color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center;flex:none}
.pgv .pgleft{background:#fff;padding:0 12px 10px;margin-top:-4px}.pgs .pgleft{margin-top:8px}
.pgcap{position:fixed;left:16px;right:16px;bottom:calc(84px + env(safe-area-inset-bottom,0px));z-index:71;max-width:420px;margin:0 auto;box-sizing:border-box;display:flex;align-items:center;gap:10px;background:#1B1F24;color:#fff;border-radius:12px;padding:11px 12px 11px 16px;font-family:var(--pf);opacity:0;transform:translateY(8px);pointer-events:none;transition:opacity .2s,transform .2s}
.pgcap.show{opacity:1;transform:none;pointer-events:auto}
.pgcap .ct{flex:1;min-width:0;font-size:14px;line-height:1.4;white-space:nowrap;overflow:hidden}
.pgcap .ci{flex:none;width:24px;height:24px;border-radius:50%;border:1.5px solid rgba(255,255,255,.7);display:flex;align-items:center;justify-content:center;font:italic 700 13px Georgia,serif;cursor:pointer;box-sizing:border-box}
.pgcap.open .ci{background:#fff;color:#1B1F24;border-color:#fff}
.pgcap .cpop{position:absolute;left:0;right:0;bottom:calc(100% + 8px);background:#1B1F24;border-radius:12px;padding:10px 14px;display:flex;flex-direction:column;gap:4px;box-shadow:0 6px 20px rgba(0,0,0,.25)}
.pgcap .cpop[hidden]{display:none}
.pgcap .cpop span{font-size:13px;line-height:1.4;white-space:nowrap;overflow:hidden;color:#E6E9EE}
@keyframes pgblink{0%,100%{opacity:1}50%{opacity:.35}}
@media (prefers-reduced-motion:reduce){.pgv .rdot{animation:none}}
/* Paging settings ((prompt 393) light grey, white rounded cards; nothing wraps, nothing slides sideways) */
.pgv[data-view="settings"]{background:#F2F4F7}
.pgv .pgset{background:#F2F4F7;padding:0 14px 24px;gap:0;overflow-x:hidden;scrollbar-width:none}
.pgv .pgset::-webkit-scrollbar{display:none}
.pgv .ghdr{font:700 11px var(--pf);letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin:16px 4px 6px;white-space:nowrap}
.pgv .grp{background:#fff;border-radius:16px;overflow:hidden;flex:none;box-shadow:0 1px 2px rgba(16,24,40,.05)}
.pgv .grp.pgalerts{margin-top:14px}
.pgv .prow{display:flex;align-items:center;gap:10px;padding:11px 13px;border-top:1px solid var(--line);font:500 14px var(--pf);min-height:40px;min-width:0}
.pgv .prow:first-child{border-top:0}
.pgv .prow .pgav{width:36px;height:36px;font-size:13px}
.pgv .prow .grow{flex:1;min-width:0}
.pgv .prow .pn,.pgv .grp .pn{display:block;font:600 14px var(--pf);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pgv .prow .sub,.pgv .grp .sub{display:block;font:500 12px var(--pf);color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pgv .pill{flex:none;display:inline-flex;align-items:center;justify-content:center;height:32px;padding:0 13px;border-radius:999px;background:var(--chip);color:var(--ink2);font:700 13px var(--pf);white-space:nowrap;cursor:pointer;box-sizing:border-box}
.pgv .pill.blue{background:var(--blue);color:#fff}
.pgv .pill.red{background:#FDECEA;color:#B3261E}
.pgv .pill.ok{background:#E3F4E8;color:#1E7A3C;cursor:default}
/* how people see you */
.pgv .prow.pgme{gap:12px;align-items:flex-end}
.pgv .mepicb{position:relative;flex:none;cursor:pointer;width:56px;height:56px}
.pgv .prow .pgav.mepic{width:56px;height:56px;font-size:20px}
.pgv .mepicb .pe{position:absolute;right:-2px;bottom:-2px;width:22px;height:22px;border-radius:50%;background:var(--blue);color:#fff;border:2px solid #fff;font:700 11px/18px var(--pf);font-style:normal;text-align:center;box-sizing:border-box}
.pgv .pgname label{display:block;font:600 12px var(--pf);color:var(--muted);margin-bottom:5px;white-space:nowrap}
.pgv .pgname .nrow{display:flex;gap:8px;align-items:center;min-width:0}
.pgv .pgname .nbox{position:relative;flex:1;min-width:0;display:flex}
.pgv .pgname .inp{flex:1;min-width:0;width:100%;height:40px;box-sizing:border-box;font:500 16px var(--pf);padding:0 50px 0 10px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);outline:none}
.pgv .pgname .inp:focus{border-color:var(--blue)}
.pgv .pgname .cnt{position:absolute;right:9px;top:0;bottom:0;display:flex;align-items:center;font:500 11.5px var(--pf);font-style:normal;color:var(--muted);pointer-events:none;font-variant-numeric:tabular-nums}
.pgv .pgname .btn{flex:none;height:40px;min-height:40px;padding:0 14px;display:inline-flex;align-items:center;border:0;border-radius:10px;background:#1E8E4E;color:#fff;font:700 14px var(--pf);cursor:pointer;white-space:nowrap}
/* (prompt 469) the profile name shown as text (bold, one line, a smaller font when long: ivFit, down to 12 px) with "✎ Edit"; Cancel a plain button */
.pgv .pgname .nshow{flex:1;min-width:0;font:600 16px var(--pf);color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:clip}
.pgv .pgname .btn.c{background:var(--chip);color:var(--ink2)}
.pgv .prow.pgprev{background:#F7F9FC}
.pgv .pvc{display:flex;align-items:center;gap:10px;flex:1;min-width:0;background:#fff;border:1px solid var(--line);border-radius:14px;padding:9px 11px;box-shadow:0 2px 8px rgba(16,24,40,.06)}
.pgv .pvc .pgav{width:36px;height:36px}
/* page alerts */
.pgv .pgalerts{padding:12px 13px}
.pgv .pgalerts .parow{display:flex;align-items:center;gap:10px;min-width:0}
.pgv .pgalerts .aic{font-size:20px;flex:none;line-height:1}
.pgv .pgalerts .parow .pn{flex:1;min-width:0}
.pgv .pgalerts>.sub{margin-top:4px}
.pgv .pgalerts .pgwords{margin:11px -13px 0;padding:11px 13px 0;border-top:1px solid var(--line)}.pgv .pgalerts.native .pgwords{margin:0;padding:0;border:0}      /* (prompt 399) Show message in alerts */
.pgv .pgalerts .pgwords .grow{flex:1;min-width:0}.pgv .pgalerts .pgwords .sw{flex:none}
.pgv .pgalerts .pgpk{display:block;margin-top:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pgv .pgalerts .pgpk.ok{color:var(--green);font-weight:600}      /* (prompt 400) Messages in alerts: ready */
.pgv .pgalerts .pgpkretry{display:inline-block;margin-top:4px;padding:6px 0;font-size:13px;font-weight:600;color:var(--blue);cursor:pointer}      /* (prompt 401) Retry: the key sent to the service worker again */
.pgv .pgalerts .pgdnd{margin:11px -13px 0;padding:11px 13px 0;border-top:1px solid var(--line)}.pgv .pgalerts .pgdnd .pill{flex:none}      /* (prompt 404) Ring through Do Not Disturb (Android app) */
.pgv .pgalerts .pgbatt .pn{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}      /* (prompt 413) Ring without delay (Android app): one line */
.pgv .pgalerts .pgcanring{margin:0 -13px 11px;padding:0 13px 11px;border-bottom:1px solid var(--line)}.pgv .pgalerts .pgcanring .pn{flex:1;min-width:0;color:var(--red);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:clamp(12px,3.9vw,15px)}.pgv .pgalerts .pgcanring .pill{flex:none}      /* (prompt 411) This phone can't ring yet + Fix (Android app): one line */
.pgv .pgalerts .pgios{display:block;margin-top:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}      /* (prompt 404) iPhone: silent mode and Focus mute page alerts */
/* who can page you */
.pgv .pend{background:#FFF8DB;border-bottom:1px solid #F0E2A8}
.pgv .pq{padding:11px 13px;border-top:1px solid #F0E2A8}.pgv .pq:first-child{border-top:0}
.pgv .pqh{display:flex;align-items:center;gap:10px;min-width:0}
.pgv .pqh .pgav{width:36px;height:36px;font-size:13px}
.pgv .pqb{display:flex;gap:6px;margin-top:8px;padding-left:46px}
.pgv .pgddw{position:relative;flex:none;display:inline-flex}
.pgv .pgddw::after{content:"▾";position:absolute;right:10px;top:0;bottom:0;display:flex;align-items:center;font-size:11px;color:var(--ink2);pointer-events:none}
.pgv .pgdd{appearance:none;-webkit-appearance:none;height:40px;border:0;border-radius:999px;background:var(--chip);color:var(--ink);font:600 16px var(--pf);padding:0 26px 0 12px;cursor:pointer;outline:none}
.pgv .pgddw.urg .pgdd{background:#FDECEA;color:#B3261E}.pgv .pgddw.urg::after{color:#B3261E}
.pgv .pnote{padding:9px 13px 11px;border-top:1px solid var(--line);font:500 12px var(--pf);color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* invite someone */
.pgv .prow.inv{gap:8px}
.pgv .ilink{flex:1;min-width:0;height:36px;border-radius:10px;background:#F2F4F7;padding:0 10px;font:500 13px/36px var(--pf);color:var(--ink2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* quiet hours */
.pgv .qtimes{gap:8px;justify-content:flex-start}
.pgv .qsw{position:relative;flex:1 1 0;min-width:0;display:flex}
.pgv .qsw::after{content:"▾";position:absolute;right:10px;top:0;bottom:0;display:flex;align-items:center;font-size:11px;color:var(--ink2);pointer-events:none}
.pgv .qsw select{appearance:none;-webkit-appearance:none;width:100%;min-width:0;height:40px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);font:600 16px var(--pf);padding:0 24px 0 10px;outline:none;cursor:pointer}
.pgv .qtimes .arr{flex:none;color:var(--muted);font:600 15px var(--pf)}
.pgv .prow.qbarw{display:block;border-top:0;padding-top:2px}
.pgv .qb{position:relative;height:8px;border-radius:4px;background:#E7EBF1;overflow:hidden}
.pgv .qb .qs{position:absolute;top:0;bottom:0;background:#18202F}
.pgv .qb .qn{position:absolute;top:-1px;bottom:-1px;width:2px;margin-left:-1px;background:#D9342B}
.pgv .ql{display:flex;justify-content:space-between;margin-top:4px;font:600 10.5px var(--pf);color:var(--muted);white-space:nowrap}
.pgv .qcard.qoff .qtimes,.pgv .qcard.qoff .qbarw,.pgv .qcard.qoff .prow:last-child{opacity:.45}
.pgv .qcard.qoff select,.pgv .qcard.qoff .prow:last-child .sw{pointer-events:none}
.pgv .sw,.pgs .sw{margin-left:auto;width:44px;height:26px;border-radius:13px;background:var(--blue);position:relative;flex:none;cursor:pointer}
.pgv .sw::after,.pgs .sw::after{content:"";position:absolute;right:3px;top:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.2)}
.pgv .sw.red{background:#D9342B}
.pgv .sw.off,.pgs .sw.off{background:#C9CFD8}.pgv .sw.off::after,.pgs .sw.off::after{right:auto;left:3px}
.pgv .lnkb{color:var(--blue);font:700 13px var(--pf);cursor:pointer;flex:none}
/* the sheets (New page, … wants to page you, the picture choices) */
.pgs{position:fixed;inset:0;z-index:65}
.pgs:empty{display:none}
.pgs .scrim{position:absolute;inset:0;background:rgba(15,20,30,.35);z-index:0}
.pgs .pgsheet{z-index:1;gap:0;overflow-x:hidden;padding:8px 16px calc(16px + var(--sab,env(safe-area-inset-bottom,0px)));box-shadow:0 -6px 24px rgba(0,0,0,.18);font-family:var(--pf);scrollbar-width:none;transition:transform .2s ease}
.pgs .pgsheet::-webkit-scrollbar{display:none}
.pgs .pgav{border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font:700 17px var(--pf);box-sizing:border-box;flex:none}
.pgs .sh{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px;flex:none}
.pgs .sh b{font-size:17px;white-space:nowrap}
.pgs .sh .x{font:600 14px var(--pf);color:var(--blue);cursor:pointer;padding:8px 0 8px 12px}
.pgs .lbl{font:700 11px var(--pf);letter-spacing:.05em;text-transform:uppercase;color:var(--muted);margin:10px 0 6px;white-space:nowrap}
.pgs .chip{border:1px solid var(--line);border-radius:999px;padding:0 12px;height:34px;display:inline-flex;align-items:center;font:600 13px var(--pf);color:var(--ink2);background:#fff;cursor:pointer;white-space:nowrap;flex:none;box-sizing:border-box}
.pgs .chip.on{background:#18202F;border-color:#18202F;color:#fff}
.pgs .inp{width:100%;height:42px;border:1px solid var(--line);border-radius:10px;padding:0 12px;font:500 16px var(--pf);margin-top:8px;color:var(--ink);outline:none;box-sizing:border-box;flex:none}
.pgs .inp:focus{border-color:var(--blue)}
.pgs .send{margin-top:12px;width:100%;height:54px;border:0;border-radius:999px;background:var(--blue);color:#fff;font:700 16px var(--pf);display:flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;flex:none;padding:0 18px;min-width:0}
.pgs .send .st{overflow:hidden;text-overflow:ellipsis;min-width:0}
.pgs .send .ar{flex:none;font-size:15px}
.pgs .send:disabled{background:#E3E7ED;color:#8A93A1;opacity:1}
/* (prompt 393) the New page sheet: grab handle, search, round pictures, Normal / Urgent cards, quick replies, the attached page, message + red mic, Send / Slide to ring */
.pgs .pgnew .grab,.pgs .pgpics .grab{width:44px;height:5px;margin:0 auto 6px;touch-action:none;cursor:grab;box-sizing:content-box;padding:6px 40px;background-clip:content-box}
.pgs .pgnew .sh,.pgs .pgpics .sh{touch-action:none}
.pgs .pgnew .sh .x,.pgs .pgpics .sh .x{width:40px;height:40px;padding:0;display:flex;align-items:center;justify-content:center;border-radius:50%;background:var(--chip);color:var(--ink2);font-size:16px;margin-right:-4px}
.pgs .psearch{display:flex;align-items:center;gap:8px;height:44px;border-radius:12px;background:#EEF1F5;padding:0 12px;color:var(--muted);flex:none;min-width:0}
.pgs .psearch svg{width:18px;height:18px;flex:none}
.pgs .psearch input{flex:1;min-width:0;border:0;background:none;outline:none;font:500 16px var(--pf);color:var(--ink);height:42px;padding:0}
.pgs .people{display:flex;gap:12px;overflow-x:auto;overflow-y:hidden;padding:10px 2px 2px;scrollbar-width:none;flex:none;overscroll-behavior-x:contain;min-height:84px;box-sizing:border-box}
.pgs .people::-webkit-scrollbar{display:none}
.pgs .pp{flex:none;width:64px;text-align:center;font:600 12px var(--pf);color:var(--ink2);cursor:pointer;min-width:0}
.pgs .pp .pn{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:5px}
.pgs .pp .pav{position:relative;display:block;width:56px;height:56px;margin:0 auto}
.pgs .pp .pgav{width:56px;height:56px;border-radius:50%;margin:0;display:flex;align-items:center;justify-content:center;color:#fff;font:700 20px var(--pf);box-sizing:border-box}
.pgs .pp.on .pgav{box-shadow:0 0 0 3px #fff,0 0 0 5px var(--blue)}
.pgs .pp.on{color:var(--blue)}
.pgs .pp .ck{position:absolute;right:-3px;bottom:-3px;width:20px;height:20px;border-radius:50%;background:var(--blue);color:#fff;border:2px solid #fff;font:800 11px/16px var(--pf);font-style:normal;text-align:center;box-sizing:border-box}
.pgs .pp.add .pgav.plus{background:#fff!important;color:var(--blue);border:2px dashed var(--blue-edge);font-size:22px}
.pgs .pp.add{color:var(--blue)}
.pgs .pnone{align-self:center;font:500 13px var(--pf);color:var(--muted);white-space:nowrap;padding:0 4px}
.pgs .tosay{font:500 12.5px var(--pf);color:var(--muted);margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:none}
.pgs .how{display:flex;gap:8px;flex:none;min-width:0}
.pgs .hw{flex:1 1 0;min-width:0;height:60px;border:1.5px solid var(--line);border-radius:14px;background:#fff;display:flex;align-items:center;gap:8px;padding:0 10px;text-align:left;color:var(--ink);font-family:var(--pf);cursor:pointer}
.pgs .hw .hi{font-size:22px;flex:none;line-height:1}
.pgs .hw .ht{display:flex;flex-direction:column;min-width:0}
.pgs .hw b{font:700 14.5px var(--pf);white-space:nowrap}
.pgs .hw small{font:500 11.5px var(--pf);color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pgs .hw.on{border-color:var(--blue);background:#EEF3FE}
.pgs .hw.on b{color:var(--blue)}
.pgs .hw.urg.on{border-color:#D9342B;background:#FDECEA}
.pgs .hw.urg.on b,.pgs .hw.urg.on small{color:#B3261E}
.pgs .hw.shake .hi{animation:pgshake .5s ease}
@keyframes pgshake{0%,100%{transform:rotate(0)}20%{transform:rotate(-16deg)}40%{transform:rotate(14deg)}60%{transform:rotate(-10deg)}80%{transform:rotate(6deg)}}
.pgs .qrow{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;flex:none;margin:0 -16px;padding:0 16px}
.pgs .qrow::-webkit-scrollbar{display:none}
.pgs .attc,.pgv .attc{display:flex;align-items:center;gap:6px;align-self:flex-start;max-width:100%;margin-top:10px;height:36px;border-radius:999px;background:#FBF1B0;border:1px solid #E6D98C;padding:0 4px 0 12px;box-sizing:border-box;flex:none;min-width:0}
.pgs .attc .at,.pgv .attc .at{font:600 13px var(--pf);color:#5A4A00;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.pgs .attc .ax,.pgv .attc .ax{flex:none;width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#5A4A00;font-size:13px;cursor:pointer}
.pgv .attc{margin:6px 12px;max-width:calc(100% - 24px)}      /* (prompt 414) a conversation's voice page kept after the daily cap */
/* (prompt 452) photo pages: the photo button beside the mic (40px, icon only), the thumbnail, the grey "shows when you're online or near" line, Camera / Gallery */
.pgv .comp.rec .cph,.pgs .mbar.rec .sph{display:none}
.pgv .bub.photo{width:240px;padding:4px}.pgv .bub.photo .ptx{display:block;padding:6px 8px 0}.pgv .bub.photo .bt{padding:0 8px 4px}.pgv .bub.photo .ut{margin:4px 8px 0}
.pgv .pph{display:block;width:100%;border-radius:14px;overflow:hidden;cursor:pointer;background:#E9ECF1}
.pgv .pph img{display:block;width:100%;height:auto;max-height:320px;object-fit:cover}
.pgv .pph.wait{height:160px}
.pgv .pmw{display:flex;min-width:0;max-width:100%;white-space:nowrap;font:500 12px/1.4 var(--pf);color:#7A828E;padding:4px 6px}
.pgv .pmw .pml{overflow:hidden;white-space:pre;text-overflow:ellipsis;min-width:0;flex:0 1 auto}.pgv .pmw .pmn{overflow:hidden;text-overflow:ellipsis;min-width:2.5em;flex:0 1 auto}
.pgv .bub.photo .pmw,.pgv .bub.voice .pmw{padding:6px 8px}
.pgv .bub.photo.pwait{width:auto}
.pgs .attc .atph,.pgv .attc .atph{width:26px;height:26px;border-radius:6px;object-fit:cover;vertical-align:middle;margin:0 6px 0 -8px}
.pgv .phmenu,.pgs .phmenu{display:flex;gap:8px;justify-content:flex-end;padding:6px 12px 0}
.pgv .phmenu span,.pgs .phmenu span{font:600 14px var(--pf);padding:8px 14px;border-radius:999px;background:#EEF1F5;color:#1F2937;cursor:pointer;white-space:nowrap}
.pgbig .bpic.ph img{width:auto;height:auto;max-width:calc(100vw - 16px);max-height:calc(100vh - 90px);object-fit:contain;border-radius:8px}
.pgs .mbar{display:block;margin-top:10px;flex:none;min-width:0}      /* (prompt 472) the composer card's wrapper (recording finds it by id) */
.pgs .srec,.pgv .srec{display:none;flex:1;min-width:0;height:44px;border-radius:22px;background:#FDECEA;align-items:center;gap:8px;padding:0 14px;box-sizing:border-box;color:#B3261E;font:700 14px var(--pf);overflow:hidden}
.pgs .srec .rdot,.pgv .srec .rdot{width:10px;height:10px;border-radius:50%;background:#D9342B;animation:pgblink 1s infinite;flex:none}
.pgs .srec .rt,.pgv .srec .rt{flex:none;font-variant-numeric:tabular-nums}
.pgs .srec .rwave,.pgv .srec .rwave{display:flex;align-items:center;gap:2px;flex:1 1 auto;min-width:0;height:24px;overflow:hidden}
.pgs .srec .rwave i,.pgv .srec .rwave i{width:3px;height:100%;border-radius:2px;background:#D9342B;opacity:.7;flex:none;animation:pgwave .9s ease-in-out infinite;transform-origin:center}
.pgs .srec .rwave i:nth-child(3n+1),.pgv .srec .rwave i:nth-child(3n+1){animation-delay:-.3s}.pgs .srec .rwave i:nth-child(3n+2),.pgv .srec .rwave i:nth-child(3n+2){animation-delay:-.6s}.pgs .srec .rwave i:nth-child(4n),.pgv .srec .rwave i:nth-child(4n){animation-duration:1.2s}
@keyframes pgwave{0%,100%{transform:scaleY(.25)}50%{transform:scaleY(1)}}
.pgs .srec .rhint,.pgv .srec .rhint{flex:none;font:600 12.5px var(--pf);color:var(--muted);white-space:nowrap}
.pgs .mbar.rec .srec{display:flex}
.pgs .mbar.rec.hold .smic{transform:scale(1.18)}
.pgs .mbar.arm .srec{background:#EEF1F5}.pgs .mbar.arm .srec .rhint{color:#B3261E}
.pgs .slide{position:relative;margin-top:12px;height:54px;border-radius:999px;background:#D9342B;flex:none;overflow:hidden;touch-action:none;-webkit-user-select:none;user-select:none}
.pgs .slide::before{content:"";position:absolute;inset:0;background:#B3261E;transform-origin:left;transform:scaleX(var(--sp,0))}
.pgs .slide .sl{position:absolute;left:58px;right:16px;top:0;bottom:0;display:block;text-align:center;color:#fff;font:700 15.5px/54px var(--pf);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:calc(1 - var(--sp,0))}
.pgs .slide .knob{position:absolute;left:4px;top:4px;width:46px;height:46px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;font-size:22px;box-shadow:0 2px 6px rgba(0,0,0,.25);cursor:grab;touch-action:none;transition:transform .25s cubic-bezier(.3,1.4,.5,1)}
.pgs .slide .knob.drag{transition:none;cursor:grabbing}
.pgs .slide.done .knob{left:auto;right:4px;transform:none!important}
.pgs .slide.done .sl{opacity:1;right:58px;left:16px}
/* (prompt 393) the picture choices */
.pgs .ppgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:4px;flex:none}
.pgs .ppgrid .pt{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;height:104px;border-radius:14px;background:var(--chip);font:600 12.5px var(--pf);color:var(--ink2);cursor:pointer;min-width:0}
.pgs .ppgrid .pt span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.pgs .ppgrid .pt.cur{cursor:default;background:#EEF3FE}
.pgs .ppgrid .pti{font-size:30px;line-height:1}
.pgs .ppgrid .pgav.big{width:56px;height:56px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font:700 20px var(--pf)}
.pgs .pgpics .rmv{margin-top:6px;height:44px;border:0;background:none;color:var(--red);font:700 15px var(--pf);flex:none}
.pgs .allow{text-align:center;align-items:stretch}
.pgs .allow .pgav.big{width:60px;height:60px;font-size:22px;margin:4px auto 8px;border:0}
.pgs .allow h4{margin:0 0 4px;font-size:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pgs .allow p{margin:0 0 6px;color:var(--muted);font:500 13.5px var(--pf)}
.pgs .allow .btn{height:46px;border-radius:12px;border:1px solid var(--blue);background:#fff;color:var(--blue);font:700 15px var(--pf);width:100%;margin-top:8px;display:flex;align-items:center;justify-content:center;flex:none}
.pgs .allow .btn.p{background:var(--blue);color:#fff}
.pgs .allow .btn.t{border:0;color:var(--red);height:38px}
/* (prompt 428) the owner-approved "wants to page you" card (paging.js allowSheetHtml): a bottom sheet on a phone and a portrait tablet, a window in the
   middle on a landscape tablet (below). Tiles: Urgent ok (blue), Normal (green), Block (red); the confirm and the result follow the tile's colour */
.pgs .pgaskscrim{background:rgba(15,20,35,.45)}
.pgs .pgask{--ak:#1D3FD8;--akbg:#EEF2FF;background:#fff;border-radius:22px 22px 0 0;padding:10px 20px calc(24px + var(--sab,env(safe-area-inset-bottom,0px)));gap:14px;color:#18202F}
.pgs .pgask.in{animation:pgaskup .25s ease-out}
@keyframes pgaskup{from{transform:translateY(100%)}to{transform:translateY(0)}}
.pgs .pgask .t-allowed{--ak:#1D3FD8;--akbg:#EEF2FF}
.pgs .pgask .t-never_urgent{--ak:#1E7A46;--akbg:#EDF8F1}
.pgs .pgask .t-blocked{--ak:#B42318;--akbg:#FFF1EF}
.pgs .pgask .grab{width:40px;height:4px;border-radius:4px;background:#C9D0DA;margin:0 auto -6px;flex:none}
.pgs .pgask .ax{display:none;position:absolute;top:16px;right:16px;width:40px;height:40px;border-radius:50%;border:0;background:#EEF1F6;color:#3C4350;font:700 16px var(--pf);align-items:center;justify-content:center;padding:0;cursor:pointer}
.pgs .pgask .ahd{display:flex;align-items:center;gap:14px;min-width:0;flex:none}
.pgs .pgask .apic{flex:none;width:64px;height:64px;border-radius:50%;animation:pgaskring 1.6s ease-out infinite}
@keyframes pgaskring{0%{box-shadow:0 0 0 0 rgba(30,142,78,.55)}100%{box-shadow:0 0 0 14px rgba(30,142,78,0)}}
.pgs .pgask .apic .pgav{width:64px;height:64px;font-size:24px;border:0;margin:0}
.pgs .pgask .anm{display:flex;flex-direction:column;gap:2px;min-width:0}
.pgs .pgask .anm b{font:700 20px var(--pf);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pgs .pgask .anm span{font:500 14px var(--pf);color:#5A6272;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pgs .pgask .await{display:flex;align-items:center;gap:10px;min-height:48px;padding:0 14px;border-radius:14px;border:1px solid #F5CFC8;background:#FFF3F1;color:#7A1F14;font:700 14px var(--pf);text-align:left;cursor:pointer;flex:none;min-width:0}
.pgs .pgask .await svg{width:18px;height:18px;flex:none;color:#B42318}
.pgs .pgask .awt{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pgs .pgask .awm{flex:none;font:600 13px var(--pf);color:#B42318;white-space:nowrap}
.pgs .pgask .amore{margin-top:-6px;padding:10px 12px;border:1px dashed #C9D0DA;border-radius:12px;background:#F7F8FA;color:#5A6272;font:500 13px/1.4 var(--pf);flex:none}
.pgs .pgask .albl{font:700 13px var(--pf);letter-spacing:.06em;text-transform:uppercase;color:#5A6272;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:-6px;flex:none}
.pgs .pgask .atiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;flex:none}
.pgs .pgask .atile{height:96px;border-radius:16px;border:1px solid #D7DCE6;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:0 4px;min-width:0;cursor:pointer;color:var(--ak);transition:transform .1s ease;font-family:var(--pf)}
.pgs .pgask .atile.on{border:2px solid var(--ak);background:var(--akbg)}
.pgs .pgask .atile:active{transform:scale(.97)}
.pgs .pgask .atile .ai{font-size:22px;line-height:1}
.pgs .pgask .atile b{font:700 15px var(--pf);max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pgs .pgask .atile small{font:500 clamp(10px,2.8vw,11.5px) var(--pf);color:#5A6272;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pgs .pgask .aline{font:500 13.5px/1.35 var(--pf);color:#5A6272;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.7em;flex:none}
.pgs .pgask .arow{display:flex;flex-direction:column-reverse;gap:6px;flex:none}
.pgs .pgask .ago{height:50px;width:100%;border-radius:14px;border:0;background:var(--ak);color:#fff;font:700 16px var(--pf);padding:0 18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}
.pgs .pgask .t-never_urgent.ago,.pgs .pgask .t-never_urgent.aopen,.pgs .pgask .t-never_urgent.amark{--ak:#1E8E4E}
.pgs .pgask .ago:disabled{opacity:.6}
.pgs .pgask .alater{height:44px;align-self:center;border:0;background:none;color:#5A6272;font:600 15px var(--pf);padding:0 16px;white-space:nowrap;cursor:pointer}
.pgs .pgask .ares{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;padding-top:6px;min-width:0;flex:none}
.pgs .pgask .amark{width:64px;height:64px;border-radius:50%;background:var(--ak);color:#fff;display:flex;align-items:center;justify-content:center;font:700 30px var(--pf);margin-bottom:6px}
.pgs .pgask .ares b{font:700 20px var(--pf);max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pgs .pgask .ares span{font:500 14px var(--pf);color:#5A6272;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pgs .pgask .abtns{display:grid;grid-template-columns:1fr 1fr;gap:10px;flex:none}
.pgs .pgask .abtns button{height:50px;border-radius:14px;font:700 16px var(--pf);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 12px;cursor:pointer}
.pgs .pgask .aundo{border:1px solid #D7DCE6;background:#fff;color:#18202F}
.pgs .pgask .aundo:disabled{opacity:.6}
.pgs .pgask .aopen{border:0;background:var(--ak);color:#fff}
@media (min-width:900px) and (min-height:600px) and (orientation:landscape){
  .pgs .pgask{left:50%;right:auto;top:50%;bottom:auto;width:560px;max-width:92%;transform:translate(-50%,-50%);border-radius:20px;padding:28px;box-shadow:0 24px 64px rgba(15,20,35,.3)}
  .pgs .pgask.in{animation:pgaskpop .22s ease-out}
  .pgs .pgask .grab{display:none}
  .pgs .pgask .ax{display:flex}
  .pgs .pgask .ahd{padding-right:44px}
  .pgs .pgask .apic,.pgs .pgask .apic .pgav{width:72px;height:72px}
  .pgs .pgask .anm b{font-size:22px}
  .pgs .pgask .atiles{gap:10px}
  .pgs .pgask .atile{height:104px}
  .pgs .pgask .atile small{font-size:11.5px}
  .pgs .pgask .arow{flex-direction:row;justify-content:space-between;align-items:center}
  .pgs .pgask .alater{align-self:auto;padding:0 12px 0 0}
  .pgs .pgask .ago{width:auto;max-width:70%;height:44px}
  .pgs .pgask .abtns button{height:44px}
}
@keyframes pgaskpop{from{transform:translate(-50%,-50%) scale(.92);opacity:0}to{transform:translate(-50%,-50%) scale(1);opacity:1}}
@media (prefers-reduced-motion:reduce){.pgs .pgask .apic,.pgs .pgask.in{animation:none}}
/* an urgent page ringing while the app is open ((prompt 393) red, the picture with two pulsing rings, ✓ Got it, On my way, Open) */
.pgring{position:fixed;inset:0;z-index:80;background:radial-gradient(circle at 50% 34%,#E5483F 0%,#B3261E 48%,#6E120D 100%);color:#fff;display:flex}
.pgring .ring{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:24px 20px calc(24px + env(safe-area-inset-bottom,0px));text-align:center;max-width:480px;margin:0 auto;min-width:0;box-sizing:border-box;width:100%}
.pgring .rl{font:800 11.5px var(--pf);letter-spacing:.08em;color:rgba(255,255,255,.85);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.pgring .rpic{position:relative;width:120px;height:120px;margin:22px 0 10px;flex:none}
.pgring .rpic .pgav{position:relative;z-index:1;width:120px;height:120px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font:700 44px var(--pf);box-shadow:0 0 0 4px rgba(255,255,255,.9);box-sizing:border-box}
.pgring .rpic .pgav.pic{background:#E7EBF2}
.pgring .rpic i{position:absolute;inset:0;border-radius:50%;border:2px solid rgba(255,255,255,.6);animation:pgpulse 2s ease-out infinite}
.pgring .rpic .pr2{animation-delay:1s}
@keyframes pgpulse{0%{transform:scale(1);opacity:.9}100%{transform:scale(1.7);opacity:0}}
@media (prefers-reduced-motion:reduce){.pgring .rpic i{animation:none;opacity:.5}}
.pgring h3{font:700 24px var(--pf);margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.pgring .msg{font:500 17px/1.3 var(--pf);color:rgba(255,255,255,.92);border:0;background:none;border-radius:0;padding:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.pgring .big2{width:100%;height:56px;border-radius:999px;border:0;font:800 18px var(--pf);background:#fff;color:#B3261E;margin-top:22px;white-space:nowrap;box-shadow:0 6px 18px rgba(0,0,0,.2)}
.pgring .sn{display:flex;gap:10px;width:100%}
.pgring .sn button{flex:1;min-width:0;height:48px;border-radius:999px;border:1.5px solid rgba(255,255,255,.55);background:rgba(255,255,255,.12);color:#fff;font:700 15px var(--pf);white-space:nowrap}
/* (prompt 386) profile pictures: in place of the initial; a group row's up to 3 overlapping; beside a received bubble; this person's own in Paging settings */
.pgav.pic{background:#E7EBF2;overflow:hidden;padding:0}
.pgav.pic img{width:100%;height:100%;object-fit:cover;display:block;border-radius:50%}
.pgv .pgstack{position:relative;width:44px;height:44px;flex:none}
.pgv .pgstack .pgav.mini{position:absolute;width:28px;height:28px;font-size:11px;border:2px solid #fff;box-sizing:border-box}
.pgv .pgstack.n1 .pgav.mini{width:44px;height:44px;font-size:15px;border:0;left:0;top:0}
.pgv .pgstack.n2 .pgav.mini:nth-child(1){left:0;top:0}.pgv .pgstack.n2 .pgav.mini:nth-child(2){right:0;bottom:0}
.pgv .pgstack.n3 .pgav.mini:nth-child(1){left:8px;top:0}.pgv .pgstack.n3 .pgav.mini:nth-child(2){left:0;bottom:0}.pgv .pgstack.n3 .pgav.mini:nth-child(3){right:0;bottom:0}
.pgv .brow{display:flex;align-items:flex-end;gap:6px;align-self:flex-start;max-width:86%;min-width:0}
.pgv .brow .bub{max-width:none;min-width:0}
.pgv .brow .bub.voice{min-width:180px}
.pgv .pgav.bav{width:26px;height:26px;font-size:11px;margin-bottom:2px}
/* (prompt 412) a tapped picture, big: dark over everything, the picture as large as fits (round-cornered square), the name under it, X top right */
.pgbig{position:fixed;inset:0;z-index:70;background:rgba(8,10,14,.92);display:flex;align-items:center;justify-content:center;font-family:'Figtree',var(--font);color:#fff}
.pgbig[hidden]{display:none}
.pgbig .bx{position:absolute;top:calc(env(safe-area-inset-top,0px) + 10px);right:12px;width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:22px;color:#fff;background:rgba(255,255,255,.14)}
.pgbig .bpic{display:flex;flex-direction:column;align-items:center;gap:14px;max-width:100%}
.pgbig .bpic img{width:min(calc(100vw - 32px),calc(100vh - 170px));height:min(calc(100vw - 32px),calc(100vh - 170px));object-fit:cover;border-radius:16px;display:block;background:#222}
.pgbig .bpic b{font:700 18px 'Figtree',var(--font);max-width:calc(100vw - 32px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pgv .pgalert{margin:0 14px 8px;padding:10px 12px;border-radius:12px;background:#EAF6EF;display:flex;flex-direction:column;gap:8px;flex:none;font:500 13px var(--pf);color:var(--ink)}
.pgv .pgalert .ab{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.pgv .pgalertb{display:inline-flex;align-items:center;gap:6px;height:40px;padding:0 14px;border-radius:10px;border:0;background:#1E8E4E;color:#fff;font:700 14px var(--pf);max-width:100%}
.pgv .pgalertb svg{width:18px;height:18px;flex:none}
.pgv .cvt b[data-pg="whois"],.pgv .bub .who[data-pg="whois"]{cursor:pointer}
/* (prompt 410) hold a tab to rearrange the bottom tabs: they wiggle, the held one lifts and follows the finger, "Drag tabs to rearrange · Reset · Done" above */
.tabbar .tab{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}
.tabbar.rearr{touch-action:none}
.tabbar.rearr .tab{animation:tabwig .32s ease-in-out infinite alternate}
.tabbar.rearr .tab:nth-child(2n){animation-delay:-.16s}
@keyframes tabwig{from{rotate:-2.5deg}to{rotate:2.5deg}}
@media (prefers-reduced-motion:reduce){.tabbar.rearr .tab{animation:none}}
.tabbar .tab.ghost{opacity:.25}
.tablift{position:absolute;z-index:66;box-sizing:border-box;border-radius:14px;background:#fff;box-shadow:0 10px 26px rgba(0,0,0,.28);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:calc(10.5px * var(--ts));font-weight:600;color:var(--blue);pointer-events:none;transform:scale(1.12)}
.tablift svg{width:22px;height:22px}
.tablift .pdot{top:4px;left:calc(50% + 8px)}
.tabhint{position:absolute;left:10px;right:10px;z-index:65;height:44px;border-radius:22px;background:#1d2433;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 6px 0 16px;font-size:calc(13px * var(--ts));-webkit-user-select:none;user-select:none}
.tabhint button{height:32px;border-radius:16px;border:0;background:var(--blue);color:#fff;font-family:inherit;font-size:calc(13px * var(--ts));font-weight:600;padding:0 16px;cursor:pointer}
.tabhint .rs{background:transparent;color:#c9cfdb;padding:0 8px}
/* (prompt 430) Padd usernames: the green "End-to-end encrypted" pill (one line), the sign-in screens' invite line, the Page sheet opened from an invite link,
   Paging settings' "Your username" row, and the request card's grey @username */
.pgeep{display:inline-flex;align-items:center;gap:6px;max-width:100%;min-width:0;box-sizing:border-box;padding:6px 12px;border-radius:999px;background:#EEF3FE;color:#1F4FC8;font:600 12.5px 'Figtree',var(--font);white-space:nowrap}
.pgeep svg{width:14px;height:14px;flex:none}
.pgeep span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pginvl{display:flex;flex-direction:column;align-items:center;gap:8px;width:100%;min-width:0}
.pginvl .t{max-width:100%;font-size:calc(15px * var(--ts));font-weight:600;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pgs .pginv{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:2px 0 12px;flex:none;min-width:0}
.pgs .pginv .pir{display:flex;align-items:center;gap:12px;width:100%;min-width:0}
.pgs .pginv .pgav{width:52px;height:52px;font-size:20px}
.pgs .pginv .grow{flex:1;min-width:0}
.pgs .pginv b{display:block;font:700 17px var(--pf);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pgs .pginv small{display:block;font:500 14px var(--pf);color:#5A6272;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pgv .pguser .grow{flex:1;min-width:0}
.pgv .pguser .sub.un{color:var(--ink2);font-size:13px}
.pgv .pguser .nbox i.at{position:absolute;left:10px;top:0;bottom:0;display:flex;align-items:center;font:500 16px var(--pf);font-style:normal;color:var(--muted);pointer-events:none}
.pgv .pguser .pgname .inp{padding:0 10px 0 27px}
.pgv .pguser .pgname .btn.c{background:var(--chip);color:var(--ink2)}
.pgv .pguser .umsg{margin-top:5px}
.pgv .pguser .umsg.ok{color:#1E7A46}
.pgv .pguser .umsg.bad{color:#B3261E}
.pgv .pginvph .pn{font-weight:500}
.pgs .pgask .anm small.aun{font:500 13px var(--pf);color:#8A93A3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* (prompt 431) an invite link's landing in a browser (app.js inviteHtml, the owner-approved board 3), "I already have Padd", and the invite on the install screens */
.invl{flex:1;display:flex;flex-direction:column;align-items:center;gap:12px;width:100%;max-width:420px;margin:0 auto;box-sizing:border-box;padding:36px 16px calc(20px + env(safe-area-inset-bottom,0px));text-align:center;font-family:'Figtree',var(--font);color:var(--ink);min-height:100%}
.invl .ipic{position:relative;width:124px;height:124px;flex:none}
.invl .iav{width:124px;height:124px;border-radius:50%;border:4px solid #fff;box-sizing:border-box;overflow:hidden;display:flex;align-items:center;justify-content:center;background:#1F4FC8;color:#fff;font:800 48px 'Figtree',var(--font);box-shadow:0 6px 20px rgba(0,0,0,.12)}
.invl .iav img,.ifor .iav img{width:100%;height:100%;object-fit:cover;display:block}
.invl .iwave{position:absolute;right:-2px;bottom:2px;width:40px;height:40px;border-radius:12px;background:#D9342B;border:3px solid #F6F8FB;box-sizing:border-box;display:flex;align-items:center;justify-content:center;color:#fff}
.invl .iwave svg{width:22px;height:22px}
.invl .inm{max-width:100%;font-size:26px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.invl .iun{margin-top:-8px;font-size:15px;color:var(--muted);max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.invl .itx{margin:0;max-width:310px;font-size:15px;line-height:1.4;color:var(--ink2)}
.invl .isp{flex:1;min-height:12px}
.invl .igo{width:100%;min-height:54px;border:0;border-radius:999px;background:#1F4FC8;color:#fff;font:700 16px 'Figtree',var(--font);padding:0 18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}
.invl .ihave{width:100%;min-height:48px;border-radius:12px;border:1px solid var(--line);background:#fff;color:var(--ink);font:600 15px 'Figtree',var(--font);white-space:nowrap;cursor:pointer}
.invl.gone .logo{object-fit:contain;margin-top:24px}
.invl.have{align-items:stretch;text-align:left;gap:14px;padding-top:32px}
.invl.have h1{margin:0;font-size:22px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.invl.have p{margin:0;font-size:14.5px;line-height:1.45;color:var(--ink2)}
.invl .ilink{display:flex;align-items:center;gap:10px;padding:10px 10px 10px 14px;border-radius:12px;background:#fff;border:1px solid var(--line)}
.invl .ilink span{flex:1;min-width:0;font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.invl .ilink button{min-height:44px;padding:0 16px;border:0;border-radius:10px;background:var(--blue);color:#fff;font:600 14px 'Figtree',var(--font);white-space:nowrap;cursor:pointer}
.invl .isteps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.invl .isteps li{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:12px;background:var(--blue-soft);border:1px solid var(--blue-edge);font-size:14px;white-space:nowrap;overflow:hidden}
.invl .isteps li span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis}
.invl .isteps .n{width:22px;height:22px;border-radius:50%;background:var(--blue);color:#fff;font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center;flex:none}
#app:has(> .invl){background:#F6F8FB}
.ifor{display:flex;flex-direction:column;align-items:center;gap:10px;width:100%;min-width:0}
.ifor .iinv{display:flex;align-items:center;gap:12px;width:100%;min-width:0;text-align:left}
.ifor .iav{width:52px;height:52px;border-radius:50%;overflow:hidden;flex:none;display:flex;align-items:center;justify-content:center;background:#1F4FC8;color:#fff;font:800 20px 'Figtree',var(--font)}
.ifor .grow{flex:1;min-width:0}
.ifor b{display:block;font:700 17px 'Figtree',var(--font);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ifor small{display:block;font:500 14px 'Figtree',var(--font);color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sgn .card .orln{width:100%;display:flex;align-items:center;gap:10px;color:var(--muted);font-size:calc(12.5px * var(--ts))}.sgn .card .orln::before,.sgn .card .orln::after{content:"";flex:1;height:1px;background:#DADCE0}      /* (prompt 433) the "or" between the e-mail box and Google */
.sgn .card .gnote{margin:-8px 0 0;font-size:calc(12px * var(--ts));line-height:1.4;color:#6B7480;text-align:center;white-space:nowrap}
/* (prompt 431) the name step for a new account from an invite, the paste offer (option B), and the conversation's "<name> can reply." card */
.pgs .pgnm h4{margin:4px 0 4px;font:800 20px var(--pf);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pgs .pgnm p{margin:0 0 12px;font:500 14px var(--pf);color:var(--ink2)}
.pgs .pgnm label{font:600 13px var(--pf);color:var(--ink2);margin-bottom:6px}
.pgs .pgnm .inp{height:48px;border-radius:12px;border:1px solid var(--line);background:#F2F4F7;padding:0 12px;font:400 16px var(--pf);color:var(--ink);outline:none;box-sizing:border-box;width:100%}
.pgs .pgnm .cnt{align-self:flex-end;margin-top:4px;font:500 12px var(--pf);font-style:normal;color:var(--muted)}
.pgs .pgpaste h4{white-space:nowrap}
.pgv .pgreply{margin:0 12px 10px;padding:14px;border-radius:16px;background:#0F2D6E;color:#fff;display:flex;flex-direction:column;gap:8px;flex:none}
.pgv .pgreply b{font:700 15px var(--pf);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pgv .pgreply span{font:500 13.5px var(--pf);color:#dbe5ff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pgv .pgreply .rb{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:2px}
.pgv .pgreply button{min-height:44px;border-radius:12px;font:700 14px var(--pf);white-space:nowrap;cursor:pointer}
.pgv .pgreply .rgo{border:0;background:#1F4FC8;color:#fff}
.pgv .pgreply .rno{border:1px solid #4a64a8;background:transparent;color:#fff;font-weight:600}
.pgv .pgrnote{margin:0 12px 10px;padding:10px 12px;border-radius:12px;background:var(--blue-soft);border:1px solid var(--blue-edge);font:500 12.5px var(--pf);color:var(--ink);flex:none}
/* (prompt 432) an invite sign-up with no passphrase yet: Paging settings' one quiet row, the locked tabs' card, the Android app's invite card on sign-in */
.pgv .pgprot{display:flex;align-items:center;min-height:44px;margin:12px 0 0;padding:0 12px;border-radius:12px;background:#fff;border:1px solid var(--line);font:500 min(13px,3vw) var(--pf);color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer;flex:none}
.pgv .pgprot b{margin-left:4px;color:#1F4FC8;font-weight:700}
.empty.pgonly b{display:block;margin-bottom:6px;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pgonly + .big{margin-top:14px}
.invtop{margin-bottom:14px}
/* (prompt 434) the invite flow's "landing page" look (the owner-approved mock-up; paging.js IV, ivHero …): app.js's landing, e-mail, code, chat-app and
   Android install screens, paging.js's name step and Page form of an invite. A blue hero, a white panel over it, the pulsing main button; no line wraps */
.ivx{flex:1 1 auto;min-height:0;width:100%;box-sizing:border-box;display:flex;flex-direction:column;background:#fff;color:#1B1F24;font-family:'Figtree',var(--font);overflow-y:auto;overflow-x:hidden;text-align:left}
.ivhero{position:relative;overflow:hidden;flex:none;padding:16px 20px 44px;background:radial-gradient(120% 90% at 80% 10%,#2E63E6 0%,#1F4FC8 35%,#0F2D6E 100%);color:#fff;display:flex;flex-direction:column;align-items:center;text-align:center}
.ivhero > *{position:relative;max-width:100%;box-sizing:border-box}
.ivhero .ivc1,.ivhero .ivc2{position:absolute;border-radius:50%;background:#fff;pointer-events:none}
.ivhero .ivc1{left:-60px;bottom:-80px;width:220px;height:220px;opacity:.06}
.ivhero .ivc2{right:-40px;top:120px;width:140px;height:140px;opacity:.07}
.ivtop{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px}
.ivlogo{display:flex;align-items:center;gap:6px;flex:none}
.ivlogo svg{width:28px;height:28px}
.ivlogo b{font-size:16px;font-weight:800}
.ivpill{display:inline-flex;align-items:center;gap:5px;min-width:0;padding:5px 10px;border-radius:999px;background:#fff;color:#1F4FC8;font-size:12px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ivpill.e2e{background:rgba(255,255,255,.14);color:#fff;font-weight:600}
.ivpill svg{width:12px;height:12px;flex:none}
.ivpill.ivptr{padding:6px 12px;font-size:13px;gap:6px;animation:ivpt 1s ease-in-out infinite}
.ivpill.ivptr span{font-size:16px}
@keyframes ivpt{0%,100%{transform:translate(0,0)}50%{transform:translate(6px,-8px)}}
.ivfit{display:block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ivwho{margin-top:2px;font-size:15px;font-weight:700;color:#b9cdff}
.ivh{margin-top:6px;font-size:31px;font-weight:800;line-height:1.1}
.ivh.ivh34{font-size:34px;margin-top:4px}.ivh.ivh30{font-size:30px;margin-top:18px}.ivh.ivh29{font-size:29px;margin-top:12px}.ivh.ivh28{font-size:28px;margin-top:16px}.ivh.ivh27{font-size:27px;margin-top:16px}
.ivcard + .ivh{margin-top:16px}
.ivsub{margin-top:8px;font-size:15px;color:#dbe5ff}
/* the photo with ripples and the green wave badge, the alert their phone shows */
.ivstage{width:300px;height:190px;margin-top:14px;flex:none}
.ivstage .ivph{position:absolute;left:40px;top:30px}
.ivstage .ivalert{position:absolute;right:0;top:6px;width:150px}
.ivsees{position:absolute;right:18px;bottom:18px;font-size:11px;font-weight:600;color:#b9cdff;white-space:nowrap}
.ivph{position:relative;display:block;flex:none}
.ivph.big{width:124px;height:124px}.ivph.sm{width:64px;height:64px}
.ivav{position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:100%;border-radius:50%;border:4px solid #fff;box-sizing:border-box;overflow:hidden;background:#2E63E6;color:#fff;font-size:48px;font-weight:800;box-shadow:0 10px 30px rgba(0,0,0,.3)}
.ivph.sm .ivav{border-width:3px;font-size:26px;box-shadow:none}
.ivav img{width:100%;height:100%;object-fit:cover;display:block}
.ivrip{position:absolute;inset:0;border-radius:50%;border:2px solid rgba(185,205,255,.7);animation:ivrp 2.4s ease-out infinite}
.ivrip.r2{animation-delay:.8s}.ivrip.r3{animation-delay:1.6s}
@keyframes ivrp{0%{transform:scale(1);opacity:.9}100%{transform:scale(1.9);opacity:0}}
.ivwave{position:absolute;right:-6px;bottom:0;width:42px;height:42px;border-radius:12px;background:#D9342B;border:3px solid #1F4FC8;box-sizing:border-box;display:flex;align-items:center;justify-content:center;color:#fff}
.ivwave svg{width:22px;height:22px}
.ivph.sm .ivwave{width:26px;height:26px;border-radius:8px;border-width:2px;bottom:-2px}
.ivph.sm .ivwave svg{width:14px;height:14px}
.ivalert{display:flex;flex-direction:column;gap:3px;min-width:0;padding:9px 10px;border-radius:14px;background:#fff;color:#1B1F24;box-shadow:0 12px 28px rgba(0,0,0,.28);box-sizing:border-box;text-align:left}
.ivah{display:flex;align-items:center;gap:6px;font-size:10.5px;font-weight:700;color:#5B6573;white-space:nowrap}
.ivaw{width:16px;height:16px;border-radius:5px;background:#D9342B;color:#fff;display:flex;align-items:center;justify-content:center;flex:none}
.ivaw svg{width:11px;height:11px}
.ivalert b{font-size:13px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ivam{font-size:12px;color:#3D4652;white-space:nowrap}
.ivar{margin-left:auto;padding-left:8px;color:#1F4FC8;overflow:hidden;text-overflow:ellipsis}
.ivalert mark{background:#FFF4D6;color:inherit;border-radius:4px;padding:0 3px}
.ivalert.lg{padding:10px 12px;box-shadow:0 8px 20px rgba(15,45,110,.14)}
.ivalert.lg .ivah{font-size:11px}.ivalert.lg .ivaw{width:18px;height:18px}.ivalert.lg b{font-size:14px}.ivalert.lg .ivam{font-size:13px}
.ivalert.ivnm{width:290px;margin-top:20px;padding:11px 13px;border-radius:16px;transform:rotate(-2deg)}
.ivalert.ivnm .ivah{font-size:11px}.ivalert.ivnm .ivaw{width:18px;height:18px}.ivalert.ivnm b{font-size:15px;font-weight:800}.ivalert.ivnm .ivam{font-size:13px}
.ivslide{animation:ivsl 3.2s ease-in-out infinite}
@keyframes ivsl{0%,12%{transform:translate(18px,-6px) rotate(4deg);opacity:0}24%,82%{transform:translate(0,0) rotate(4deg);opacity:1}100%{transform:translate(0,-6px) rotate(4deg);opacity:0}}
.ivbox .ivslide{animation-name:ivsl2}
@keyframes ivsl2{0%,12%{transform:translateX(18px);opacity:0}24%,82%{transform:none;opacity:1}100%{transform:translateY(-6px);opacity:0}}
/* the progress bar and the card in the hero */
.ivsteps{width:100%;display:flex;align-items:flex-start;gap:6px;margin-top:18px;padding:0 6px}
.ivst{display:flex;flex-direction:column;align-items:center;gap:4px;flex:none;font-size:11.5px;font-weight:700;color:#b9cdff;white-space:nowrap}
.ivst.done{color:#dbe5ff}.ivst.now{color:#fff}
.ivdot{width:22px;height:22px;border-radius:50%;border:2px solid rgba(255,255,255,.45);box-sizing:border-box;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:700;color:#b9cdff}
.ivst.done .ivdot,.ivst.now .ivdot{border:0;background:#fff;color:#1F4FC8}
.ivst.done .ivdot svg{width:12px;height:12px;stroke-width:3.2}
.ivst.now .ivdot{font-size:12px;font-weight:800;box-shadow:0 0 0 4px rgba(255,255,255,.25)}
.ivln{flex:1;height:2px;margin-top:10px;background:rgba(255,255,255,.3)}
.ivln.on{background:#fff}
.ivcard{display:flex;align-items:center;gap:14px;margin-top:22px;padding:12px 14px;border-radius:18px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);text-align:left}
.ivcard .t{display:flex;flex-direction:column;gap:2px;min-width:0}
.ivcard small{font-size:12px;font-weight:600;color:#b9cdff;white-space:nowrap}
.ivcard b{font-size:19px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ivcard .t > span{font-size:12px;color:#dbe5ff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* the white panel over the hero */
.ivpanel{position:relative;flex:1 0 auto;margin-top:-24px;border-radius:24px 24px 0 0;background:#fff;padding:18px 18px calc(16px + env(safe-area-inset-bottom,0px));display:flex;flex-direction:column;gap:12px;box-sizing:border-box}
.ivtiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;flex:none}
.ivtile{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0;padding:10px 4px;border-radius:14px;background:#EEF3FE;font-size:12.5px;font-weight:700;white-space:nowrap}
.ivtile i{width:34px;height:34px;border-radius:50%;background:#1F4FC8;color:#fff;display:flex;align-items:center;justify-content:center}
.ivtile i.dk{background:#0F2D6E}
.ivtile svg{width:18px;height:18px}
.ivgo{width:100%;min-height:58px;flex:none;min-width:0;border:0;border-radius:999px;background:linear-gradient(90deg,#1F4FC8,#2E63E6);color:#fff;font:800 18px 'Figtree',var(--font);display:flex;align-items:center;justify-content:center;gap:10px;padding:0 18px;white-space:nowrap;cursor:pointer;animation:ivglow 1.8s ease-out infinite}
.ivgo span{min-width:0;overflow:hidden;text-overflow:ellipsis}
.ivgo svg{width:20px;height:20px;flex:none}
.ivgo:disabled,.ivgo[aria-disabled="true"]{opacity:.7;animation:none;cursor:default}
@keyframes ivglow{0%{box-shadow:0 8px 20px rgba(31,79,200,.35),0 0 0 0 rgba(31,79,200,.45)}100%{box-shadow:0 8px 20px rgba(31,79,200,.35),0 0 0 14px rgba(31,79,200,0)}}
.ivnote{display:flex;align-items:center;justify-content:center;gap:6px;font-size:12.5px;color:#5B6573;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:none}
.ivnote svg{width:13px;height:13px;flex:none}
.ivpn b{color:var(--ink);font-weight:700}
.ivpi{width:18px;height:18px;border-radius:5px;background:#D9342B;color:#fff;display:flex;align-items:center;justify-content:center;flex:none}.ivpi svg{width:12px;height:12px}      /* (prompt 460) the small Pagerr icon: icon I on red */
.ivnote.ivto{display:block;font-size:13.5px;color:#3D4652}
.ivbox{display:flex;flex-direction:column;gap:10px;padding:14px;border-radius:16px;background:linear-gradient(180deg,#EEF3FE,#fff);border:1px solid #DCE5FB;flex:none;min-width:0}
.ivbox > b{font-size:12px;font-weight:800;letter-spacing:.05em;color:#1F4FC8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ivbox > b.c{text-align:center}
.ivnum{display:flex;align-items:flex-start;gap:6px}
.ivnum .s{display:flex;flex-direction:column;align-items:center;gap:5px;flex:none;font-size:12px;font-weight:700;white-space:nowrap}
.ivnum .s i{width:26px;height:26px;border-radius:50%;background:#1F4FC8;color:#fff;font-size:13px;font-weight:800;font-style:normal;display:flex;align-items:center;justify-content:center}
.ivnum .l{flex:1;height:2px;margin-top:12px;background:#DCE5FB}
.ivck{display:flex;align-items:center;gap:10px;min-width:0;font-size:13.5px}
.ivck i{width:22px;height:22px;border-radius:50%;background:#1F4FC8;color:#fff;flex:none;display:flex;align-items:center;justify-content:center}
.ivck i svg{width:12px;height:12px;stroke-width:3.2}
.ivck > span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ivout{width:100%;min-height:48px;flex:none;border-radius:999px;border:1px solid #E2E6EC;background:#fff;color:#1B1F24;font:600 15px 'Figtree',var(--font);display:flex;align-items:center;justify-content:center;gap:10px;white-space:nowrap;cursor:pointer}
.ivlink{align-self:center;min-height:40px;padding:0 12px;border:0;background:none;color:#5B6573;font:600 13px 'Figtree',var(--font);white-space:nowrap;cursor:pointer}
.ivsp{display:block;flex:1 1 0;min-height:0}
.ivin{display:flex;align-items:center;gap:10px;height:54px;flex:none;padding:0 14px;border-radius:14px;background:#F2F4F7;border:2px solid #1F4FC8;box-sizing:border-box;color:#5B6573}
.ivin svg{width:20px;height:20px;flex:none}
.ivin input{flex:1;min-width:0;height:100%;padding:0;border:0;background:transparent;outline:none;font:500 16px 'Figtree',var(--font);color:#1B1F24}
.ivin .cnt{font-size:12px;font-style:normal;color:#5B6573;flex:none}
.ivor{display:flex;align-items:center;gap:10px;font-size:12px;color:#5B6573;flex:none}
.ivor::before,.ivor::after{content:"";flex:1;height:1px;background:#E2E6EC}
.ivmsg{padding:8px 12px;border-radius:12px;background:#FDECEA;color:#B3261E;font-size:13px;line-height:1.35;flex:none}
/* the code: six boxes over the one-time-code box (it takes the typing, paste and autofill) */
.ivcode{position:relative;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;flex:none}
.ivcode span{height:54px;border-radius:12px;background:#F2F4F7;border:2px solid #E2E6EC;box-sizing:border-box;display:flex;align-items:center;justify-content:center;font-size:24px;font-weight:800}
.ivcode:focus-within span.on{border-color:#1F4FC8}
.ivcode input{position:absolute;inset:0;z-index:1;width:100%;height:100%;padding:0;border:0;background:transparent;color:transparent;caret-color:transparent;font-size:16px;outline:none}
.ivcode input::selection{background:transparent}
.ivlinks{display:flex;justify-content:center;gap:18px;flex:none}
.ivlinks button{min-height:36px;padding:0;border:0;background:none;color:#1F4FC8;font:600 13px 'Figtree',var(--font);white-space:nowrap;cursor:pointer}
/* the chat app's browser: two taps to Chrome or Safari */
.ivapp{margin-top:22px;width:84px;height:84px;border-radius:22px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.25);display:flex;align-items:center;justify-content:center}
.ivapp svg{width:50px;height:50px}
.ivlbl{font-size:12px;font-weight:800;letter-spacing:.05em;color:#1F4FC8;white-space:nowrap}
.ivstep{display:flex;align-items:center;gap:12px;width:100%;min-width:0;flex:none;padding:12px 14px;border-radius:16px;border:1.5px solid #E2E6EC;background:#fff;color:#1B1F24;font-family:inherit;text-align:left;cursor:pointer}
.ivstep i{width:30px;height:30px;border-radius:50%;background:#E2E6EC;color:#5B6573;font-size:14px;font-weight:800;font-style:normal;flex:none;display:flex;align-items:center;justify-content:center}
.ivstep i svg{width:16px;height:16px;stroke-width:3}
.ivstep.on{border-color:#1F4FC8;background:#EEF3FE;box-shadow:0 0 0 4px rgba(31,79,200,.12)}
.ivstep.on i,.ivstep.done i{background:#1F4FC8;color:#fff}
.ivstep.done{opacity:.75}
.ivstep .t{display:flex;flex-direction:column;gap:2px;min-width:0}
.ivstep b{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ivstep small{font-size:12.5px;color:#5B6573;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ivsent{display:flex;align-items:center;gap:10px;flex:none;padding:12px 14px;border-radius:14px;background:#EEF3FE;font-size:13px;white-space:nowrap;overflow:hidden}
.ivsent i{width:30px;height:30px;border-radius:50%;background:#1F4FC8;color:#fff;flex:none;display:flex;align-items:center;justify-content:center}
.ivsent i svg{width:16px;height:16px;stroke-width:3}
.ivsent span{min-width:0;overflow:hidden;text-overflow:ellipsis}
/* Android's install: a home screen with Padd bouncing in it, and the reply sliding in */
.ivhome{width:300px;height:206px;margin-top:14px;flex:none}
.ivhome .ph{position:absolute;left:70px;top:0;width:160px;height:206px;border-radius:22px;background:rgba(255,255,255,.12);border:2px solid rgba(255,255,255,.3);box-sizing:border-box;padding:18px 14px;display:grid;grid-template-columns:repeat(3,40px);gap:12px;justify-content:center;align-content:start}
.ivhome .ph s{width:40px;height:40px;border-radius:11px;background:#b9cdff;opacity:.55}
.ivhome .ph .me{width:40px;height:40px;border-radius:11px;background:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 0 0 3px #F5B800,0 6px 16px rgba(0,0,0,.3);animation:ivbob 1s ease-in-out infinite}
.ivhome .ph .me svg{width:30px;height:30px}
@keyframes ivbob{0%,100%{transform:translateY(0)}50%{transform:translateY(8px)}}
.ivalert.ivrep{position:absolute;left:0;bottom:6px;width:200px;flex-direction:row;align-items:center;gap:9px;padding:9px 11px}
.ivrep .t{display:flex;flex-direction:column;gap:1px;min-width:0}
.ivrep .ivah{font-size:10px;gap:5px}.ivrep .ivaw{width:14px;height:14px;border-radius:4px}.ivrep .ivaw svg{width:9px;height:9px}
.ivrep b{font-weight:800}
.ivmini{width:34px;height:34px;border-radius:50%;overflow:hidden;flex:none;background:#2E63E6;color:#fff;font-weight:800;font-size:15px;display:flex;align-items:center;justify-content:center}
.ivmini img{width:100%;height:100%;object-fit:cover;display:block}
/* the name step and the Page form of an invite: the paging sheet as a full screen (its rows stay its direct children: paging.js paintSheet) */
.pgs .pgsheet.ivsheet{top:0;bottom:0;max-height:none;border-radius:0;padding:0 0 calc(16px + var(--sab,env(safe-area-inset-bottom,0px)));gap:12px;box-shadow:none;background:#fff;font-family:'Figtree',var(--font)}
.pgs .ivsheet .ivhero{padding-top:calc(16px + env(safe-area-inset-top,0px))}
.pgs .ivsheet > :not(.ivhero):not(.ivlip):not(.qrow){margin-left:18px;margin-right:18px;width:auto}
.pgs .ivsheet > .ivlip{display:block;position:relative;flex:none;height:14px;margin:-36px 0 -12px;border-radius:24px 24px 0 0;background:#fff}
.pgs .ivsheet > .ivsp{flex:1 1 0}
.pgs .ivsheet > .qrow{margin:0;padding:0 18px}
.pgs .ivsheet > .mbar,.pgs .ivsheet > .slide{margin-top:0}
.pgs .ivpage .hw{height:56px;padding:0 12px}
.pgs .ivpage .ht small{white-space:nowrap}
@media (prefers-reduced-motion:reduce){.ivgo,.ivrip,.ivslide,.ivpill.ivptr,.ivhome .ph .me{animation:none}}
/* (prompt 435) pages through nearby phones with no internet (the Android app, paging.js "nearby phones"): the mesh icon, the green "Nearby" words, the
   blue ✓ of a card checked by Padd, the inbox's "N nearby" pill and yellow card, the brown "Waiting for internet", My QR code. Nothing wraps to two lines. */
.mmesh{width:15px;height:15px;flex:none;vertical-align:-2px}
.mvb{display:inline-grid;place-items:center;width:16px;height:16px;border-radius:50%;background:#1F4FC8;color:#fff;font:700 10px/1 var(--pf);font-style:normal;margin-left:4px;vertical-align:1px}
.mnear{color:#1E7A45}
.mwait{color:#8A5A00}
.pgv .pgbar .pgmeshp{margin-left:auto;margin-right:6px;gap:5px;height:28px;padding:0 10px;font-size:12.5px}
.pgv .pgbar .pgmeshp:not(.ok){cursor:default;color:var(--muted)}
.pgv .pgalert.pgmesha{background:#FFF4DC}
.pgv .pgalert.pgmesha .al{display:flex;gap:8px;align-items:center;min-width:0}
.pgv .pgalert.pgmesha .mt{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;font-size:clamp(11.5px,3.5vw,13px)}
.pgv .mwhy{display:flex;align-items:center;gap:8px;min-width:0;color:var(--muted)}      /* (prompt 440) why this phone can't reach nearby phones: one grey line */
.pgv .mwhy .mwt{flex:0 1 auto;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font:500 clamp(11px,3.4vw,12.5px) var(--pf)}
.pgv .mwhy .mwi{flex:none;display:inline-grid;place-items:center;width:18px;height:18px;border-radius:50%;border:1px solid #B9C1CE;color:#5B6573;font:700 11px/1 var(--pf);font-style:italic;cursor:pointer}
.pgv .mwhy .mwi[hidden]{display:none}
.pgv .mwhy .lnkb{flex:none}
.pgv .mwpop{background:#F4F6FA;border-radius:10px;padding:8px 10px;display:flex;flex-direction:column;font:500 clamp(11px,3.3vw,12.5px) var(--pf);color:#3A4350}
.pgv .mwpop[hidden]{display:none}
.pgv .mwpop span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.pgv .mwhy:not(.mwcut) + .mwpop .mwfull{display:none}      /* (prompt 441) the sentence again only when its line was cut short */
.pgv .pgalerts .pgmwhy{display:flex;flex-direction:column;gap:6px}
.pgv .irow .ip em.mwait{color:#8A5A00}
.pgv .cvt small .mnear{display:inline-flex;gap:4px;align-items:center;font-weight:600}
.pgv .mst.mnear{display:flex;gap:4px;align-items:center;justify-content:flex-end;color:#1E7A45}
.pgv .mst.mwait{color:#8A5A00}
.pgv .pgmeshs .parow.pgwords:first-child{margin-top:0;padding-top:0;border-top:0}
.pgv .pgmeshs .pgwords .sub,.pgv .pgmeshs .pgwords .pn{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}
.pgv .prow .pn .mvb{margin-left:4px}
.pgs .qrow.pgmeshc{margin-top:8px}
.pgs .lbl.mnear{display:flex;align-items:center;gap:6px;color:#1E7A45}
.pgs .pp .ck.mv{background:#1F4FC8}
.pgs .pgav.mq{background:#8A93A0}
.pgs .tosay.mfit{font-size:clamp(11px,3.4vw,12.5px)}
.pgs .tosay.mc{text-align:center}
/* (prompt 436) Find @username over nearby phones: the username and Find on one row, then one grey line */
.pgs .mfrow{display:flex;gap:8px;align-items:center;margin-top:8px;min-width:0}
.pgs .mfrow .psearch{flex:1;height:40px}
.pgs .mfrow .psearch input{height:38px}
.pgs .mfrow .mfgo{flex:none;height:40px;padding:0 16px;border:0;border-radius:12px;background:var(--blue);color:#fff;font:600 15px var(--pf);white-space:nowrap}
.pgs .mfrow .mfgo:disabled{opacity:.5}
.pgs .tosay.mferr{color:#B3261E}
.pgs .pgqr .mqr{display:grid;place-items:center;padding:12px 0}
.pgs .pgqr .mqrb{padding:10px;border:1px solid #E3E7ED;border-radius:18px;background:#fff;line-height:0}
.pgs .pgqr .mqn{text-align:center;font:700 16px var(--pf);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pgs .pgqr .send{margin-top:14px}
.pgs .pgqr .mscan{position:relative;margin:12px auto 0;width:min(100%,280px);aspect-ratio:1;border-radius:18px;overflow:hidden;background:#000}
.pgs .pgqr .mscan video{width:100%;height:100%;object-fit:cover;display:block}
.pgs .pgqr .mscant{position:absolute;left:0;right:0;bottom:10px;text-align:center;color:#fff;font:600 13px var(--pf);white-space:nowrap}
.pgs .pgask .anm span .mmesh{vertical-align:-3px;margin-right:3px}
.pgs .pgask .anm b .mvb{vertical-align:2px}
/* (prompt 437) Give Padd to someone (screens/give.html: two steps drawn here, no screenshots), guest mode (screens/signin-off, guest-name, guest-inbox,
   guest-online, guest-done: the thin bar on top of the Pager) and "Met in person". Nothing wraps to two lines: long lines shrink, then end in "…". */
#app > #main.guestbg{grid-column:1/-1;grid-row:1/-1;background:var(--bg,#F4F6FA)}
.gstart{margin-top:18px;padding:14px;border-radius:14px;background:#FFF4DC;color:#5A3B00;display:flex;flex-direction:column;text-align:left}
.gstart b{font:700 15px var(--pf);margin-bottom:2px}
.gstart span{font:500 clamp(11px,3.4vw,13px) var(--pf);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gstart .btn{margin-top:10px}
.pacard .gstart{margin:14px 0 4px}
/* (prompt 438) relay station mode: the link under "Start as a guest" (screens/signin-off.html), the grey line at the bottom of the sign-in screens online,
   and the place name box of relay-setup.html */
.gstart .gstn{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;margin-top:10px;background:none;border:0;color:#5A3B00;font:600 14px var(--pf);white-space:nowrap}
.stnline{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;margin:18px 0 4px;background:none;border:0;color:#8A94A6;font:500 13px var(--pf);white-space:nowrap}
.pacard .stname{font-size:16px;height:40px}
.stn .stnname span{overflow:hidden;text-overflow:ellipsis}
.pacard .pain.gname{font-size:16px;height:40px}
.pgv .pgguest{display:flex;align-items:center;gap:8px;margin:8px 16px 0;padding:9px 12px;border-radius:12px;background:#EEF0F3;color:#3A4350;font:500 clamp(11.5px,3.5vw,14px) var(--pf);white-space:nowrap;flex:none;min-width:0}
.pgv .pgguest b{font-weight:700;overflow:hidden;text-overflow:ellipsis;min-width:0;flex:0 1 auto}
.pgv .pgguest span{margin-left:auto;overflow:hidden;text-overflow:ellipsis;min-width:0;font-size:.93em}
.pgv .pgguest.on{background:#E6EEFF;color:#173B8F;padding:8px 8px 8px 12px}
.pgv .pgguest.on span{margin-left:0}
.pgv .pgguest.on .btn{margin-left:auto;flex:none;height:32px;padding:0 12px;font-size:13px}
.pgv .pgguest.done{background:#E3F4EA;color:#1E7A45}
.pgv .pgguest.done span{margin-left:0}
.mnv{color:var(--muted)}
.mmet{color:#1E7A45;font-weight:600}
.pgs .pp .ck.mm{background:#1E7A45}
.pgs .pgask .aun.mpills{display:flex;gap:6px;margin:4px 0;flex-wrap:nowrap;min-width:0}
.pgs .pgask .aun.mpills .pill,.pgs .pgqr .mqn .pill.mgp{white-space:nowrap;font-size:12px}
.pill.mgp{background:#EEF0F3;color:#5B6573}
.pill.mmetp{background:#E3F4EA;color:#1E7A45}
.pgs .pgqr .mqn .pill.mgp{vertical-align:2px}
.pgv .pgmeshs .pggive{cursor:pointer;align-items:center}
.pgv .pgmeshs .pggive .chev{flex:none;color:var(--muted);font-size:20px;margin-left:8px}
.pgs .pggv .gvtop{margin:2px 0 6px}
.pgs .pggv .gvstep{display:flex;gap:14px;align-items:center;padding:12px 0;border-top:1px solid #E3E7ED;min-width:0}
.pgs .pggv .gvstep .grow{flex:1;min-width:0}
.pgs .pggv .gvph{flex:none;width:74px;height:120px;border:3px solid #18202F;border-radius:14px;background:#F4F6FA;padding:8px 6px;display:flex;flex-direction:column;gap:5px;box-sizing:border-box}
.pgs .pggv .gvt{font:700 9px var(--pf);color:#18202F}
.pgs .pggv .gvrow{display:flex;align-items:center;gap:4px;background:#fff;border-radius:6px;padding:4px}
.pgs .pggv .gvrow.dim{opacity:.5}
.pgs .pggv .gvdot{width:14px;height:14px;border-radius:50%;background:#8A93A0;flex:none}
.pgs .pggv .gvln{display:block;height:7px;border-radius:4px;width:100%;background:#D5DBE7}
.pgs .pggv .gvln.s{width:60%;align-self:center}
.pgs .pggv .gvacc,.pgs .pggv .gvins{margin-top:auto;background:#1F4FC8;color:#fff;font:700 9px var(--pf);text-align:center;border-radius:6px;padding:4px 0}
.pgs .pggv .gvsw{display:flex;align-items:center;gap:4px;background:#fff;border-radius:6px;padding:4px}
.pgs .pggv .gvtog{flex:none;width:16px;height:9px;border-radius:5px;background:#1F4FC8;position:relative}
.pgs .pggv .gvtog::after{content:'';position:absolute;right:1px;top:1px;width:7px;height:7px;border-radius:50%;background:#fff}
.pgs .pggv .gvlogo{width:30px;height:30px;border-radius:8px;align-self:center;margin-top:4px}
.pgs .pggv .gvn{font:700 12px var(--pf);color:#1E7A45;letter-spacing:.04em}
.pgs .pggv .gvh{font:700 15px var(--pf);margin:2px 0}
.pgs .pggv .gvs{margin:0;display:flex;align-items:center;gap:6px}
.pgs .pggv .gvs .mfit{overflow:hidden;text-overflow:ellipsis;min-width:0}
.pgs .pggv .gvi{flex:none;display:inline-grid;place-items:center;width:18px;height:18px;border-radius:50%;border:1px solid #B9C1CE;color:#5B6573;font:700 11px/1 var(--pf);font-style:italic;cursor:pointer}
.pgs .pggv .gvpop{background:#F4F6FA;border-radius:10px;padding:8px 10px;margin:-4px 0 8px;display:flex;flex-direction:column;font:500 clamp(11px,3.3vw,12.5px) var(--pf);color:#3A4350}
.pgs .pggv .gvpop[hidden]{display:none}
.pgs .pggv .gvpop .mfit,.pgs .pggv .gvnote .mfit{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.pgs .pggv .gvnote{background:#E7F4EC;color:#1B4D30;border-radius:12px;padding:10px 12px;font:500 clamp(11px,3.4vw,14px)/1.4 var(--pf);margin-top:4px;display:flex;flex-direction:column}
.pgs .pggv .send{margin-top:14px}
.pgs .pggv .gvios{text-align:center;color:#8A93A0;margin-top:10px}
.pgs .pggv .gvplay{display:flex;flex-direction:column;padding:10px 0 4px;border-top:1px solid #E3E7ED}
/* (prompt 446) Settings: "Give Padd to someone" under App version and Repair app; no internet: the slim offline bar (.msg.err's colors) instead of the red card */
.set.give{cursor:pointer}
.giverow{display:flex;align-items:center;gap:12px}
.giverow .gi{flex:none;width:40px;height:40px;border-radius:12px;background:#E7F4EC;color:#1E7A45;display:flex;align-items:center;justify-content:center}
.giverow .gi svg{width:22px;height:22px}
.giverow .gt{flex:1;min-width:0}
.giverow .gt b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.giverow .gt small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.giverow .chev{flex:none;color:#8A93A0;display:flex}
.offbar{flex:none;display:flex;align-items:center;gap:8px;height:44px;padding:0 6px 0 12px;margin:4px 0 2px;border-radius:12px;border:1px solid #F1B8B4;background:var(--red-bg);color:var(--red);box-sizing:border-box}
.offbar .oi svg{width:18px;height:18px;display:block}
.offbar .ot{flex:1;min-width:0;font-weight:600;font-size:14px;white-space:nowrap}
.offbar .og{display:flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:16px;background:#fff;border:1px solid #F1B8B4;color:#1F4FC8;font-weight:600;font-size:14px;white-space:nowrap;cursor:pointer}
.offbar .og svg{width:16px;height:16px}
.offbar .or{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:16px;color:var(--red);cursor:pointer}
.offbar .or svg{width:18px;height:18px}
/* (prompt 449) Pager settings › Range test: the row's small "i", and its sheet (one line each, never wrapped) */
.pgv .rgt{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}
.pgv .rgi{flex:none;display:inline-grid;place-items:center;width:18px;height:18px;border-radius:50%;border:1px solid #B9C1CE;color:#5B6573;font:700 11px/1 var(--pf);font-style:italic;cursor:pointer}
/* (prompt 450) "Sent with no internet" under a page (and on the "wants to page you" card): one grey line, the 3-dot mesh icon; the "i" when it is cut
   short. Disaster mode: the amber pill, the greyed switches and the grey notes under the rows (one line each) */
.pgv .mvia,.pgs .mvia{display:flex;align-items:center;gap:6px;min-width:0;max-width:100%;margin:2px 0 6px 40px;color:var(--muted)}
.pgs .mvia{margin:4px 0 0}
.pgv .mvia .mvt,.pgs .mvia .mvt{flex:0 1 auto;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font:500 clamp(11px,3.3vw,12.5px) var(--pf)}
.pgv .mvia .mmesh,.pgs .mvia .mmesh{flex:none;width:13px;height:13px}
.pgs .rgi{flex:none;display:inline-grid;place-items:center;width:18px;height:18px;border-radius:50%;border:1px solid #B9C1CE;color:#5B6573;font:700 11px/1 var(--pf);font-style:italic;cursor:pointer}
.pgv .mvia .mvi[hidden],.pgs .mvia .mvi[hidden]{display:none}
.pgv .mvpop,.pgs .mvpop{margin:0 0 6px 40px;align-self:flex-start}
.pgs .mvpop{margin:4px 0 0}
.pgv .pgbar .pgdis{margin-left:auto;margin-right:6px;height:28px;padding:0 10px;font:600 12.5px var(--pf);white-space:nowrap;background:#FFF1D6;color:#8A5A00;border-color:#F2C46B;cursor:default}
.pgv .pgbar .pgdis + .pgmeshp{margin-left:0}
.pgv .pgmeshs .sw.pgmoff{opacity:.45;cursor:default}
.pgv .pgmnote{font:500 clamp(11px,3.3vw,12.5px) var(--pf);color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:2px 2px 6px}
.pgs .rglist{display:flex;flex-direction:column;gap:8px;margin:4px 0 12px;min-width:0}
.pgs .rgnone{font:500 14px var(--pf);color:var(--muted);padding:12px 0}
.pgs .rgrow{display:flex;flex-direction:column;gap:3px;padding:10px 12px;border:1px solid var(--line);border-radius:14px;background:#fff;min-width:0}
.pgs .rgh{display:flex;align-items:center;gap:8px;min-width:0}
.pgs .rgh b{font:700 15px var(--pf);color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.pgs .rgp{display:flex;gap:6px;margin-left:auto;flex:none}
.pgs .rgp .pill{font:600 11.5px var(--pf);white-space:nowrap;background:#E3F4E8;color:#1E7A3C}
.pgs .rgl{font:500 13px var(--pf);color:var(--ink2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pgs .rgmark{display:flex;gap:8px;align-items:center;flex:none}
.pgs .rgmark .inp{flex:1;min-width:0;font-size:16px;height:44px}
.pgs .rgmark .send{flex:none;width:auto;padding:0 16px;height:44px;margin:0;white-space:nowrap}
/* (prompt 467) the offline badge: an emoji about half the circle on one of the 8 avatar colours (paging.js av); Pagerr settings' "Offline badge" */
.pgav.bdg{container-type:inline-size;overflow:hidden;padding:0}
.pgav.bdg i{font-style:normal;font-size:50cqw;line-height:1;font-weight:400}
.pgv .prow .pgav.bme{width:56px;height:56px}
.pgv .pgbadge .pgbme .sub{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:min(13px,3.4vw)}
.pgv .pgbadge .bdl{font:600 12px var(--pf);color:var(--muted);padding:10px 13px 6px;border-top:1px solid var(--line);white-space:nowrap}
.pgv .pgbadge .bdgrid{display:grid;grid-template-columns:repeat(8,minmax(0,38px));gap:4px;padding:0 13px 4px}
.pgv .pgbadge .bdt{aspect-ratio:1;display:flex;align-items:center;justify-content:center;border-radius:10px;border:2px solid transparent;background:#F3F5F9;font-size:min(22px,5.4vw);line-height:1;box-sizing:border-box;cursor:pointer}
.pgv .pgbadge .bdt.on{border-color:#1F4FC8;background:#fff}
.pgv .pgbadge .bdcols{display:flex;gap:min(10px,2vw);padding:2px 13px 6px}
.pgv .pgbadge .bdc{width:30px;height:30px;border-radius:50%;flex:none;cursor:pointer}
.pgv .pgbadge .bdc.on{box-shadow:0 0 0 2px #fff,0 0 0 4px #1F4FC8}
.pgv .pgbadge .bdmore{display:flex;gap:8px;align-items:center;padding:8px 13px 12px}
.pgv .pgbadge .bdmore .inp{flex:1;min-width:0;height:40px;box-sizing:border-box;font:500 16px var(--pf);padding:0 10px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);outline:none}
.pgv .pgbadge .bdmore .btn{flex:none;height:40px;min-height:40px;padding:0 16px;display:inline-flex;align-items:center;border:0;border-radius:10px;font:700 14px var(--pf);cursor:pointer;white-space:nowrap}
.pgv .pgbadge .umsg{padding:0 13px 12px;font:500 13px var(--pf)}
.pgv .pgbadge .umsg.bad{color:#B3261E}
/* (prompt 468) disappearing pages: the Disappears chips (wrapping, 32px, bold), the custom box, the hint; the conversation's ⏱ menu */
.pgs .tmcus input,.pgv .tmcus input{width:72px;min-width:0;height:34px;box-sizing:border-box;border:1px solid var(--line);border-radius:10px;padding:0 8px;font:600 16px var(--pf);color:var(--ink);background:#fff}
.pgs .tmcus select,.pgv .tmcus select{height:34px;min-width:0;border:1px solid var(--line);border-radius:10px;padding:0 6px;font:600 16px var(--pf);color:var(--ink);background:#fff}
.pgs .tmshot,.pgv .tmshot{font:500 11px var(--pf);color:var(--muted);margin-top:4px;padding:0 10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* (prompt 468) colourful pills, the app's own tints: the Disappears chips and the quick replies (both rows); selected = solid of its own colour */
.pgs .chip.c-red,.pgv .chip.c-red{background:#FDECEA;border-color:#F1B8B4;color:#B3261E}
.pgs .chip.c-orange,.pgv .chip.c-orange{background:#FFF2DF;border-color:#F0D49A;color:#B4650C}
.pgs .chip.c-purple,.pgv .chip.c-purple{background:#F0EAFF;border-color:#D6C8F5;color:#6B3FD0}
.pgs .chip.c-green,.pgv .chip.c-green{background:#E3F5EC;border-color:#BFE3CA;color:#14855A}
.pgs .chip.c-blue,.pgv .chip.c-blue{background:#EAF0FF;border-color:#C9D6F5;color:#1F4FC8}
.pgs .chip.c-off.on,.pgv .chip.c-off.on{background:#3D4652;border-color:#3D4652;color:#fff}
.pgs .chip.c-red.on,.pgv .chip.c-red.on{background:#B3261E;border-color:#B3261E;color:#fff}
.pgs .chip.c-orange.on,.pgv .chip.c-orange.on{background:#B4650C;border-color:#B4650C;color:#fff}
.pgs .chip.c-purple.on,.pgv .chip.c-purple.on{background:#6B3FD0;border-color:#6B3FD0;color:#fff}
.pgs .chip.c-green.on,.pgv .chip.c-green.on{background:#14855A;border-color:#14855A;color:#fff}
.pgs .chip.c-blue.on,.pgv .chip.c-blue.on{background:#1F4FC8;border-color:#1F4FC8;color:#fff}
/* (prompt 468) bubbles: my "⏱ 10s" tag, the receiver's countdown ring, "⏱ Page disappeared" */
.pgv .bub .ttag{display:block;font:800 10px var(--pf);letter-spacing:.04em;opacity:.9;margin-bottom:2px;white-space:nowrap}
.pgv .bub .tcd{display:inline-flex;align-items:center;gap:4px;margin-left:6px;vertical-align:middle;font:700 11.5px var(--pf);color:#1F4FC8;white-space:nowrap}
.pgv .bub .tcd svg{flex:none;display:block}
.pgv .bub.pgone,.pgv .bub.me.pgone{background:#fff;border:1px dashed var(--line);color:var(--muted);font-style:italic;font-weight:500}
/* (prompt 468) the Page someone sheet's nearby block: an accordion, closed */
.pgs .lbl.macc{cursor:pointer;min-height:40px;margin:4px 0}
.pgs .lbl.macc .mat{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.pgs .lbl.macc .mar{font-style:normal;font-size:14px;flex:none}
/* (prompt 471) always there: off / needs permission (a link, no arrow), "Looking for phones nearby…", a relay station's tile (not pageable) */
.pgs .lbl.macc.moff{cursor:default;color:var(--muted)}
.pgs .lbl.macc .lnkb{flex:none;margin-left:auto;color:var(--blue);font:700 13px var(--pf);text-transform:none;letter-spacing:0;cursor:pointer}
.pgs .tosay.mlook{display:flex;align-items:center;gap:8px;color:var(--muted)}
.pgs .mspin{flex:none;width:12px;height:12px;border:2px solid var(--line);border-top-color:#1E7A45;border-radius:50%;animation:sp .9s linear infinite}
.pgs .pp.mstn{cursor:default;opacity:.85}
.pgs .pp.mstn .pn{font-size:12px;letter-spacing:-.01em;overflow:visible;margin-left:-6px;margin-right:-6px}
.pgs .pgav.mstn{background:#5B6675;color:#fff;display:inline-flex;align-items:center;justify-content:center}
/* (prompt 468) livelier Normal / Urgent: the Page someone sheet's How row (and the invite's Page form: the same buttons); never the lchoose tiles */
.pgs .how .hw{background:#EAF0FF;border-color:#C9D6F5;transition:transform .12s,background .12s,border-color .12s,box-shadow .12s}
.pgs .how .hw b{color:#1F4FC8}
.pgs .how .hw.urg{background:#FDECEA;border-color:#F1B8B4}
.pgs .how .hw.urg b{color:#B3261E}
.pgs .how .hw .hi{width:36px;height:36px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;font-size:19px}
.pgs .how .hw.on{background:#1F4FC8;border-color:#1F4FC8;box-shadow:0 4px 12px rgba(31,79,200,.35)}
.pgs .how .hw.urg.on{background:#B3261E;border-color:#B3261E;box-shadow:0 4px 12px rgba(179,38,30,.35)}
.pgs .how .hw.on b,.pgs .how .hw.on small{color:#fff}
.pgs .how .hw.on .hi{background:rgba(255,255,255,.22)}
.pgs .how .hw:active{transform:scale(.97)}
/* (prompt 473) Page someone v2 (paging.js pageSheetHtml, the owner-approved mock-up): a light grey sheet of three white cards (To, Priority, Message) and a
   sticky big button; scoped .pgs .pgnew so the invite's Page screen (.ivpage, its .hw cards) is untouched */
.pgs .pgnew{background:#F2F4F7;padding-bottom:0}
.pgs .pgnew .sh{background:#F2F4F7;margin-bottom:8px}
.pgs .pgnew .sh b{font-size:20px;letter-spacing:-.02em}
.pgs .pgnew .sh .x{background:#fff;border:1px solid var(--line);box-sizing:border-box;color:var(--ink2)}
.pgs .pgnew .pc{background:#fff;border:1px solid var(--line);border-radius:20px;padding:4px 14px 14px;margin-bottom:10px;flex:none;min-width:0;box-sizing:border-box;overflow:hidden}
.pgs .pgnew .plab{display:flex;align-items:center;justify-content:space-between;margin:10px 0;font:700 12px var(--pf);color:var(--muted);text-transform:uppercase;letter-spacing:.06em;white-space:nowrap}
.pgs .pgnew .plab .popt{text-transform:none;letter-spacing:0;font-weight:600}
/* card 1: the To line (chips, the search box), a hairline, SUGGESTED and the nearby pill, the people row */
.pgs .pgnew .pto{display:flex;align-items:center;gap:8px;min-height:50px;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}
.pgs .pgnew .pto::-webkit-scrollbar{display:none}
.pgs .pgnew .ptl{font:600 15px var(--pf);color:var(--muted);flex:none}
.pgs .pgnew .ptc{display:flex;align-items:center;gap:6px;height:32px;max-width:170px;padding:0 4px 0 3px;border-radius:999px;background:#EAF0FF;color:#1F4FC8;font:700 14px var(--pf);white-space:nowrap;flex:none;box-sizing:border-box;min-width:0}
.pgs .pgnew .ptc.urg{background:#FDECEA;color:#B3261E}
.pgs .pgnew .ptc .pgav{width:26px;height:26px;font-size:11px}
.pgs .pgnew .ptc b{overflow:hidden;text-overflow:ellipsis;min-width:0}
.pgs .pgnew .ptc .pcx{flex:none;width:20px;height:20px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:11px;background:rgba(31,79,200,.12);cursor:pointer}
.pgs .pgnew .ptc.urg .pcx{background:rgba(179,38,30,.12)}
.pgs .pgnew .pto input{flex:1;min-width:110px;height:40px;border:0;outline:0;background:transparent;padding:0;font:500 16px var(--pf);color:var(--ink)}
.pgs .pgnew .psi{flex:none;display:flex;color:var(--muted)}
.pgs .pgnew .psi svg{width:18px;height:18px}
.pgs .pgnew .phr{height:1px;background:var(--line);margin:0 -14px}
.pgs .pgnew .psec{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:12px 0 4px;min-width:0}
.pgs .pgnew .pst{display:flex;align-items:center;gap:6px;min-width:0;font:700 12px var(--pf);color:var(--muted);text-transform:uppercase;letter-spacing:.06em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pgs .pgnew .pst.mnear{color:#14855A}
.pgs .pgnew .pnear{display:inline-flex;align-items:center;gap:6px;flex:none;height:26px;box-sizing:border-box;padding:0 10px 0 8px;border:1px solid #BFE3CA;border-radius:999px;background:#E3F5EC;color:#14855A;font:700 12px var(--pf);white-space:nowrap}
.pgs .pgnew .pnear[role="button"]{cursor:pointer}
.pgs .pgnew .pnear .pndot{width:8px;height:8px;border-radius:50%;background:#14855A;flex:none;animation:pgnpulse 1.8s infinite}
@keyframes pgnpulse{0%{box-shadow:0 0 0 0 rgba(20,133,90,.45)}70%{box-shadow:0 0 0 7px rgba(20,133,90,0)}100%{box-shadow:0 0 0 0 rgba(20,133,90,0)}}
.pgs .pgnew .pnear.on{background:#14855A;border-color:#14855A;color:#fff}
.pgs .pgnew .pnear.on .pndot{background:#fff}
.pgs .pgnew .pnear .pnx{font-style:normal;font-size:10px}
.pgs .pgnew .pnear.moff{background:#F2F4F7;border-color:var(--line);color:var(--muted)}
.pgs .pgnew .pnear .lnkb{color:#1F4FC8;font:700 12px var(--pf);cursor:pointer}
.pgs .pgnew .pchk{margin:0 0 2px;font-size:11.5px}
.pgs .pgnew .people{gap:4px;margin:0 -14px;padding:6px 10px 2px;min-height:0;align-items:flex-start}
.pgs .pgnew .pp{width:68px;padding:4px 0;font:600 13px var(--pf);color:var(--ink);box-sizing:border-box}
.pgs .pgnew .pp .pav,.pgs .pgnew .pp .pgav{width:54px;height:54px}
.pgs .pgnew .pp .pn{margin-top:7px;padding:0 2px}
.pgs .pgnew .pp.on .pgav{box-shadow:none}
.pgs .pgnew .pp.on{color:#1F4FC8}
.pgs .pgnew .pp.on .pn{font-weight:800}
.pgs .pgnew .pp.near .pgav{box-shadow:0 0 0 2.5px #fff,0 0 0 4.5px #14855A}
.pgs .pgnew .pp .pnb{display:block;font:600 11px var(--pf);line-height:1.2;color:#14855A;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pgs .pgnew .pp .ck.pk{left:0;top:0;right:auto;bottom:auto;width:54px;height:54px;border:0;border-radius:50%;background:rgba(31,79,200,.88);font:800 22px/54px var(--pf);animation:pgnck .15s ease}
@keyframes pgnck{from{opacity:0;transform:scale(.6)}to{opacity:1;transform:none}}
.pgs .pgnew .people.pgrid{display:grid;grid-template-columns:repeat(5,1fr);overflow:visible;gap:6px 0;padding:6px 6px 2px}
.pgs .pgnew .pgrid .pp{width:auto;min-width:0}
.pgs .pgnew .pnone{align-self:center;padding:0 4px;height:54px;display:flex;align-items:center}
.pgs .pgnew .pc-to .pgmeshc{margin:8px -14px 0;padding:0 14px}
/* card 2: Priority, a sliding Normal / Urgent switch and one centred line */
.pgs .pgnew .pseg{position:relative;display:grid;grid-template-columns:1fr 1fr;height:48px;box-sizing:border-box;padding:4px;border-radius:14px;background:#F2F4F7}
.pgs .pgnew .pth{position:absolute;top:4px;bottom:4px;left:4px;width:calc(50% - 4px);border-radius:11px;background:#1F4FC8;box-shadow:0 3px 10px rgba(31,79,200,.35);transition:transform .22s cubic-bezier(.3,.7,.3,1),background .22s,box-shadow .22s}
.pgs .pgnew .pseg.urg .pth{transform:translateX(100%);background:#B3261E;box-shadow:0 3px 10px rgba(179,38,30,.35)}
.pgs .pgnew .psb{position:relative;z-index:1;border:0;background:transparent;padding:0;font:700 15px var(--pf);color:var(--muted);cursor:pointer;white-space:nowrap;transition:color .2s}
.pgs .pgnew .psb.on{color:#fff}
.pgs .pgnew .psi2{display:inline-block}
.pgs .pgnew .psi2.shake{animation:pgshake .5s ease}
.pgs .pgnew .phint{margin-top:9px;font:500 13px var(--pf);color:var(--muted);text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pgs .pgnew .phint.urg{color:#B3261E;font-weight:700}
/* card 3: Message (the 472 composer card, the attached cards above it, plain quick replies under it) */
.pgs .pgnew .pc-msg .mbar{margin-top:0}
.pgs .pgnew .pc-msg .cc{border:1px solid var(--line);border-radius:16px;transition:border-color .15s,box-shadow .15s}
.pgs .pgnew .pc-msg .cc:focus-within{border-color:#1F4FC8;box-shadow:0 0 0 3px #EAF0FF}
.pgs .pgnew .pc-msg .attc{margin:0 0 8px}
.pgs .pgnew .pc-msg .qrow{margin:10px -14px 0;padding:0 14px}
.pgs .pgnew .pc-msg .qrow .chip{height:32px;border:1px solid var(--line);background:#fff;color:var(--ink);font:600 13px var(--pf);transition:background .15s,border-color .15s,color .15s}
.pgs .pgnew .pc-msg .qrow .chip.on{background:#EAF0FF;border-color:#C9D6F5;color:#1F4FC8}
/* the sticky big button: grey "Pick someone to page", blue "Page Dana" (the picked pictures, an arrow), Urgent the red slide-to-ring track */
.pgs .pgnew .pfoot{position:sticky;bottom:0;z-index:2;flex:none;margin:auto -16px 0;padding:16px 16px calc(16px + var(--sab,env(safe-area-inset-bottom,0px)));background:linear-gradient(rgba(242,244,247,0),#F2F4F7 35%)}
.pgs .pgnew .pgo{display:flex;align-items:center;gap:10px;width:100%;height:56px;box-sizing:border-box;min-width:0;padding:0 10px 0 12px;border:0;border-radius:18px;background:#1F4FC8;box-shadow:0 8px 20px rgba(31,79,200,.32);color:#fff;font:800 16px var(--pf);white-space:nowrap;cursor:pointer}
.pgs .pgnew .pgo .st{flex:1;min-width:0;text-align:left;overflow:hidden;text-overflow:ellipsis}
.pgs .pgnew .pgo:disabled{opacity:.85;cursor:default}
.pgs .pgnew .pgo:disabled:not([data-pg]){background:#E3E7EE;color:var(--muted);box-shadow:none;padding:0 18px;opacity:1}
.pgs .pgnew .pgo:disabled:not([data-pg]) .st{text-align:center}
.pgs .pgnew .pgo .par{flex:none;width:38px;height:38px;border-radius:12px;background:rgba(255,255,255,.18);display:flex;align-items:center;justify-content:center}
.pgs .pgnew .pgo .par svg{width:20px;height:20px}
.pgs .pgnew .pstk{display:flex;flex:none}
.pgs .pgnew .pstk:empty{display:none}
.pgs .pgnew .pstk .pgav{width:32px;height:32px;margin-left:-10px;border:2px solid #fff;font-size:12px}
.pgs .pgnew .pstk .pgav:first-child{margin-left:0}
.pgs .pgnew .pgo.urg{display:block;padding:0;background:#B3261E;box-shadow:0 8px 20px rgba(179,38,30,.32);cursor:default}
.pgs .pgnew .pgo.urg .slide{margin:0;height:56px;border-radius:18px;background:#B3261E}
.pgs .pgnew .pgo.urg .slide::before{display:none}
.pgs .pgnew .pgo.urg .slide .sl{left:60px;right:40px;font:800 16px/56px var(--pf)}
.pgs .pgnew .pgo.urg .slide.done .sl{left:16px;right:60px}
.pgs .pgnew .pgo.urg .slide .sar{position:absolute;right:14px;top:0;bottom:0;display:flex;align-items:center;color:#fff;font:800 22px var(--pf);opacity:calc(.8 - var(--sp,0));pointer-events:none}
.pgs .pgnew .pgo.urg .slide.done .sar{display:none}
.pgs .pgnew .pgo.urg .slide .knob{left:4px;top:4px;width:48px;height:48px;overflow:hidden}
.pgs .pgnew .pgo.urg .knob .pstk{pointer-events:none}
.pgs .pgnew .pgo.urg .knob .pstk .pgav{width:28px;height:28px;margin-left:-18px;font-size:11px}
.pgs .pgnew .pgo.urg .knob .pstk .pgav:first-child{margin-left:0}
@media (prefers-reduced-motion:reduce){.pgs .pgnew .pnear .pndot,.pgs .pgnew .pp .ck.pk,.pgs .pgnew .psi2.shake{animation:none}.pgs .pgnew .pth{transition:none}}
/* (prompt 473) the timer line (the conversation's and the sheet's composer card): the presets scroll and fade at the right, "✎ Custom" pinned before the ✕ */
.cc .ccs[data-testid="timer-chips"]{-webkit-mask-image:linear-gradient(90deg,#000 85%,transparent);mask-image:linear-gradient(90deg,#000 85%,transparent)}
.cc .tcb{flex:none;height:30px;box-sizing:border-box;border:1px solid #C9D6F5;border-radius:999px;padding:0 10px;background:#EAF0FF;color:#1F4FC8;font:700 12.5px var(--pf);white-space:nowrap;cursor:pointer}
.cc .tcb.on{background:#1F4FC8;border-color:#1F4FC8;color:#fff}
.pgs .tmcus input.tmnum,.pgv .tmcus input.tmnum{width:64px;font-size:16px}
.cc .tmcus .tmsp{flex:1}
/* (prompt 479) a waiting screen that lasted 12 s: one line and Retry over the sign-in screen (app.js slowBar) */
.slowbar{position:fixed;left:12px;right:12px;top:calc(10px + env(safe-area-inset-top,0px));z-index:80;display:flex;align-items:center;gap:10px;max-width:440px;margin:0 auto;background:#1B1F24;color:#fff;border-radius:12px;padding:10px 10px 10px 14px;font:600 calc(14px * var(--ts)) var(--font);box-shadow:0 6px 20px rgba(0,0,0,.25)}
.slowbar span{flex:1;min-width:0}
.slowbar button{flex:none;border:0;border-radius:999px;background:var(--blue);color:#fff;font:700 calc(14px * var(--ts)) var(--font);padding:8px 16px;cursor:pointer}
