/* Selectable text and controls for the report, board, notebook and archive. */
.ex-frame {
  --ex-ink:var(--ink);
  --ex-stock:color-mix(in srgb,var(--surface) 94%,var(--feature-bg));
  --ex-binding:color-mix(in srgb,var(--surface) 72%,var(--border));
  --ex-rule:color-mix(in srgb,var(--surface) 66%,var(--border));
  --ex-cover:color-mix(in srgb,var(--brand-primary) 36%,var(--screen-bg));
  --ex-paper-bg:linear-gradient(115deg,var(--surface),var(--ex-stock) 78%,var(--ex-binding));
  --ex-metal:linear-gradient(155deg,#536b65,#315250 47%,#243f3e 78%,#1c3634);
  --ex-shadow:0 4px 0 #503b2890,0 13px 17px -10px #322418a6,0 24px 39px -18px #30241db8;
  container: exstage / size; width:100%;height:100%;display:grid;place-items:center;
  color:var(--ex-ink);font:400 18px/1.6 var(--font-ui);
  text-align:right;direction:rtl;user-select:text;
}
.ex-frame *{box-sizing:border-box}.ex-frame button,.ex-frame a{touch-action:manipulation}
.ex-frame button{font:inherit;color:inherit;line-height:1.45}
.ex-frame h2,.ex-frame p,.ex-frame dl,.ex-frame dd,.ex-frame ol{margin:0}
.ex-frame button:focus-visible,.ex-frame a:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
.ex-set{width:94%;max-height:96%;display:grid;grid-template-columns:minmax(0,1.18fr) minmax(0,.9fr);align-items:center;gap:25px}
.ex-object{min-width:0;display:grid;place-items:center;position:relative}
.ex-object>div{width:100%}
.ex-note,.ex-manuscript,.ex-map,.ex-workbook,.ex-bibliography{position:relative}
.ex-note{background:var(--ex-paper-bg);padding:27px 24px 24px;box-shadow:var(--ex-shadow);border:1px solid var(--ex-binding);
  transform:rotate(-1.5deg);border-radius:2px 5px 2px 1px;align-self:center}
.ex-note::before,.ex-manuscript::before{content:"";width:15px;height:40px;border:3px solid #819289;position:absolute;left:28px;top:-13px;border-radius:10px;transform:rotate(9deg);box-shadow:1px 1px 1px #fdf8e5,inset -1px -1px 1px #5a6a62,1px 3px 2px #544a3c36;pointer-events:none}
.ex-rule{display:block;margin:1px 0 13px;color:var(--muted);font-size:13px;line-height:1.55;font-weight:700;border-bottom:1px solid var(--ex-rule);padding:0 0 8px}
.ex-note h2{font-size:26px;line-height:1.55;margin:0 0 7px}.ex-note p{font-size:17px;line-height:1.82}
.ex-note small,.ex-object small{display:block;font-size:13px;line-height:1.7}.ex-note small{color:var(--muted);border-top:1px dashed var(--ex-rule);padding-top:10px;margin-top:13px;overflow-wrap:anywhere;unicode-bidi:plaintext}
.ex-ticket{display:flex;align-items:center;flex-direction:column;text-align:center;gap:2px}.ex-ticket b{font-size:21px}.ex-ticket span{font-size:13px}
.ex-tabs,.ex-small-tabs,.ex-switches,.ex-safe-switches{display:flex;flex-wrap:wrap;gap:5px}
.ex-tabs button,.ex-small-tabs button,.ex-switches button,.ex-safe-switches button{border:1px solid var(--border);border-radius:4px 4px 1px 1px;background:var(--surface-alt);padding:5px 9px;font-size:14px;font-weight:700}
.ex-small-tabs{margin-top:12px}.ex-small-tabs button{background:#f8f5e9;border-color:#a8b7a2;font-size:13px;padding:4px 7px}
.ex-switches{justify-content:center;margin-top:13px;padding:9px 6px 3px;border-top:1px solid #83988b}
.ex-switches button,.ex-safe-switches button{background:linear-gradient(var(--surface),var(--surface-alt));box-shadow:0 3px 0 #383b2b,0 5px 5px #15241d70;color:var(--ink)}
.ex-frame :is(.ex-tabs,.ex-small-tabs,.ex-switches,.ex-safe-switches) [aria-pressed=true]{background:var(--selected-bg);color:var(--selected-ink);border-color:var(--selected-ink);box-shadow:inset 1px 2px 3px #17393750}
.ex-screw{position:absolute;width:11px;height:11px;border-radius:50%;background:linear-gradient(137deg,#cfc5a1,#8d8a73 44%,#494b3d 48%,#a8a38a 61%,#b3b29d);box-shadow:0 .7px 1px #101f1c,0 -.6px 1px #efead0}.ex-screw-a{top:13px;right:13px}.ex-screw-b{top:13px;left:13px}
.ex-drawer{position:relative;padding:0 9px 14px;background:linear-gradient(90deg,#223d39,#33483d 7%,#806b50 8%,#806b50 92%,#26382d 93%,#3e5448);border:2px solid #4c5947;border-radius:8px;box-shadow:var(--ex-shadow);transform:rotate(1deg)}
.ex-filetabs{display:flex;position:relative;align-items:flex-end;height:73px;gap:3px;margin:-20px -2px -3px;z-index:1}
.ex-filetabs button{border:1px solid #99865f;box-shadow:inset 0 2px 0 #fff6ce82;flex:1;min-width:0;border-radius:8px 8px 1px 1px;background:#c2b386;padding:7px 3px 10px;color:#30403b;font-size:12px;font-weight:700;min-height:44px}
.ex-filetabs [aria-pressed=true]{background:#f3e2b8;padding-bottom:16px;transform:translateY(-2px);border-top:4px solid #ad5c35}
.ex-indexcard{background:repeating-linear-gradient(0deg,transparent,transparent 24px,#779a8a28 25px),linear-gradient(120deg,#f2e5bd,#f6f1da);padding:30px 20px 21px;min-height:204px;border:1px solid #a59d79;box-shadow:0 -4px #daceab,0 -6px #a69e81;transform:rotate(-1.2deg);text-align:center}
.ex-indexcard strong{display:block;font-size:55px;line-height:1.4;color:#17585b;font-weight:900}.ex-indexcard em{font:650 14px var(--font-en),var(--font-ui);color:#425353;display:block;margin-top:8px}
.ex-pips{display:flex;gap:3px;justify-content:center;margin-top:3px}.ex-pips i{height:11px;width:7px;background:#d0c5a4;border-radius:2px}.ex-pips i.on{background:#4e8680}
.ex-drawer-face{position:relative;background:var(--ex-metal);height:71px;display:flex;align-items:center;justify-content:space-evenly;border-top:5px solid #78887a;border-radius:2px 2px 5px 5px;color:#edebd6;box-shadow:inset 0 -4px #1d3838}
.ex-drawer-face b{border:4px ridge #a99c6b;background:#e9debc;color:#37463c;font-size:16px;padding:1px 18px}.ex-drawer-face i{width:8px;height:8px;border-radius:50%;background:#c6b184}
.ex-meter,.ex-timepiece,.ex-count-machine{position:relative;background:var(--ex-metal);padding:28px 23px 18px;border:3px solid #647d72;border-radius:19px 19px 12px 12px;box-shadow:inset 0 0 0 2px #30423c,var(--ex-shadow);transform:rotate(.8deg)}
.ex-meter-face{background:repeating-linear-gradient(0deg,transparent 0 19px,#9bb7a624 20px),var(--ex-paper-bg);box-shadow:inset 1px 3px 6px #5c5a3e6b;border-radius:8px 8px 3px 3px;padding:12px 17px 8px}
.ex-meter-face>small{text-align:center;font-weight:700}.ex-columns{height:144px;display:flex;direction:rtl;align-items:flex-end;justify-content:center;gap:45px}.ex-columns>div{height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;font-size:12px}.ex-columns i{width:51px;min-height:13px;background:linear-gradient(90deg,#2b625e,#4c8880 85%,#2b5e59 86%);border-top:4px solid #699b8a;border-bottom:3px solid #2f5144;box-shadow:4px 2px 4px #3f55462c}.ex-columns b{font-size:20px;line-height:1.3;margin-top:3px}
.ex-specimen{text-align:center;height:144px;display:flex;gap:0;align-items:center;justify-content:center;flex-direction:column}.ex-specimen b{font-size:60px;line-height:1.25;color:#2a6262}.ex-specimen span{font-size:15px}
.ex-wheelplate{text-align:center;filter:drop-shadow(4px 10px 6px #37251470)}
.ex-wheel{position:relative;margin:auto;width:295px;max-width:96%;aspect-ratio:1;border-radius:50%;border:6px solid #6d6041;background:radial-gradient(circle,transparent 61%,#ab996d 62%,#d5c397 64%,#8b7548 71%),repeating-conic-gradient(#b7a47c 0deg 1deg,#e5d5aa 1deg 7deg,#cbbd98 8deg 9deg);box-shadow:inset 0 0 0 4px #e6d3a5,0 6px #544f38,0 9px #5b5139}
.ex-wheel-stop{position:absolute;transform:translate(-50%,-50%);background:#eddfbe;border:1px solid #94845f;border-radius:20px;padding:5px 9px;font-size:14px!important;white-space:nowrap;box-shadow:0 2px 3px #6d654299}
.ex-wheel-stop[aria-pressed=true]{background:#24615e;color:var(--selected-ink);border-color:#163b3c}
.ex-pointer{position:absolute;top:14%;left:48.5%;height:36%;width:3%;background:linear-gradient(90deg,#9a472e,#d57548);transform-origin:50% 100%;transform:rotate(var(--angle));clip-path:polygon(50% 0,100% 100%,0 100%);}
.ex-axle{position:absolute;width:35px;height:35px;border:6px ridge #b7a373;border-radius:50%;background:#7a704e;left:calc(50% - 17px);top:calc(50% - 17px)}
.ex-wheelplate .ex-ticket{width:max-content;max-width:100%;margin:13px auto 0;background:#eee2be;padding:2px 20px;border-radius:2px;box-shadow:0 2px 0 #8f7a59}.ex-wheelplate .ex-ticket b{font-size:16px}
.ex-badge-rack{padding:22px 0 0;transform:rotate(.7deg)}
.ex-rail{display:flex;align-items:flex-start;position:relative;gap:4px;justify-content:center;background:linear-gradient(#b2b5a0,#505f51 14%,#293e35 27%,transparent 28%);padding:0 5px 5px}
.ex-hang{position:relative;width:21%;margin-top:16px;padding:20px 2px 10px;background:color-mix(in srgb,var(--surface) 78%,var(--tag-hue));border:1px solid #6f7d6b;box-shadow:0 4px 3px #3b443954;border-radius:6px;font-size:12px!important;font-weight:700!important;transform:rotate(-4deg)}
.ex-hang::before{content:"";display:block;position:absolute;width:10px;height:24px;top:-17px;left:calc(50% - 5px);border:3px solid #7d7961;border-radius:8px}.ex-hang[aria-pressed=true]{transform:rotate(2deg) translateY(5px);outline:3px solid var(--focus)}
.ex-id-card{background:linear-gradient(135deg,var(--surface),var(--ex-stock));border:5px solid #949c88;border-radius:12px;width:70%;min-height:181px;position:relative;margin:15px auto 0;padding:18px 15px 13px;text-align:center;box-shadow:var(--ex-shadow)}.ex-hole{display:block;width:27px;height:4px;border-radius:3px;margin:0 auto 8px;background:#7b7967}
.ex-idpic{display:inline-grid;place-items:center;border-radius:50%;background:var(--accent);color:var(--on-accent);width:46px;height:46px;font-size:25px;font-weight:900}.ex-id-card strong{display:block;font-size:24px}.ex-id-card p,.ex-id-card em{display:block;font-size:12px}.ex-id-card em{margin-top:9px;color:var(--muted)}
.ex-rows{margin-top:12px!important;font-size:13px}.ex-rows>div{display:flex;justify-content:space-between;gap:5px;padding:6px 0;border-top:1px solid var(--ex-rule)}.ex-rows dd{color:var(--accent-ink);font-weight:700;white-space:nowrap}
.ex-sorter{display:flex;flex-direction:column;align-items:center;gap:11px;filter:drop-shadow(4px 10px 9px #392d1b70)}
.ex-tray{width:93%;padding:12px 16px 11px;position:relative;display:flex;align-items:center;justify-content:space-between;border:2px solid #586e62;border-bottom:6px solid #344e48;border-radius:7px;background:linear-gradient(#819588,#526f67);color:#e4e5d2;box-shadow:inset 0 3px 1px #b3ba9e}
.ex-tray:nth-child(2){width:87%}.ex-tray:nth-child(3){width:81%}.ex-tray:nth-child(4){width:75%}
.ex-tray.is-filled{color:#fffbe4;background:linear-gradient(#43756d,#315c56)}
.ex-tray.is-filled i{position:absolute;top:calc(-1 * var(--pile));right:6%;width:88%;height:var(--pile);background:repeating-linear-gradient(0deg,#ebdfba 0 2px,#a6a386 2px 3px);border-radius:2px 4px 0 0}
.ex-tray span{font-size:15px}.ex-tray b{border:1px solid #a89b74;background:#e6dabc;color:#264740;padding:1px 9px;min-width:53px;text-align:center;font-size:18px}
.ex-sorter>small{background:#e9dfbd;padding:3px 12px;transform:rotate(-2deg);border:1px solid #a99b78}
.ex-manuscript{background:repeating-linear-gradient(0deg,transparent 0 30px,#749b8a20 31px),var(--ex-paper-bg);padding:26px 24px 34px;box-shadow:var(--ex-shadow);border:1px solid #a49a79;transform:rotate(1.5deg)}
.ex-manuscript>span{font-size:13px;color:#576f64}.ex-manuscript h2{font-size:25px;margin-top:4px}.ex-manuscript p{font-size:19px;line-height:1.95}.ex-highlight{border:0;display:inline;background:linear-gradient(transparent 35%,#dac1769c 35%);font-size:inherit!important;padding:0 2px;text-align:right}.ex-highlight[aria-pressed=true]{background:#e0c472;outline:1px solid #ba994d}
.ex-pencil{position:absolute;height:9px;width:41%;background:linear-gradient(#6a7661,#56664f 45%,#869578 55%,#6e7d60);bottom:6px;left:-4px;transform:rotate(-8deg);box-shadow:1px 3px 3px #3f432743}.ex-pencil::before{content:"";position:absolute;left:-17px;border:4px solid transparent;border-right:14px solid #ad8b59}
.ex-margin .ex-note{background:linear-gradient(120deg,#f8e19b,#edcf84)}
.ex-timepiece{text-align:center}
.ex-clock{position:relative;width:190px;height:190px;margin:auto;border-radius:50%;border:8px ridge #b39e6f;background:radial-gradient(circle,#f6edce 56%,transparent 57%),repeating-conic-gradient(#748575 0 1deg,#e2d5ad 1deg 10deg);box-shadow:inset 0 0 8px #55583d;display:flex;align-items:center;justify-content:flex-end;padding-bottom:28px;flex-direction:column}
.ex-clock>b,.ex-clock>strong{z-index:1;font-size:37px;line-height:1}.ex-clock>span{font-size:13px}.ex-clock-needle{position:absolute;left:calc(50% - 2px);bottom:50%;height:37%;width:5px;border-radius:80% 80% 5px 5px;background:#a95536;transform-origin:bottom center;transform:rotate(var(--turn));box-shadow:1px 1px #613e27}
.ex-clock-tasks{justify-content:center;padding:0;background:radial-gradient(circle,#f7edc9 52%,transparent 53%),conic-gradient(#4f8269 0 28.57%,#8b819b 28.57% 57.14%,#ad7b53 57.14% 85.71%,#94a094 85.71% 100%)}.ex-clock-tasks>strong{font-size:31px}.ex-ticks{display:flex;justify-content:space-evenly;margin-top:8px;color:#f2ecd6;font-size:13px}
.ex-workbook{display:grid;width:81%;min-height:375px;max-height:94%;background:#486a61;border:2px solid #486254;border-radius:10px 15px 15px 10px;box-shadow:4px 7px 0 #324c43,var(--ex-shadow);padding:12px 38px 14px 14px;transform:rotate(-.7deg)}
.ex-rings{position:absolute;right:12px;top:10%;height:80%;display:flex;flex-direction:column;justify-content:space-around;z-index:2}
.ex-rings i{width:44px;height:13px;border:4px solid #acb1a0;border-top-color:#e1ddc7;border-bottom-color:#5f6a5d;border-radius:50%;box-shadow:2px 2px 4px #323b2c7a}
.ex-workbook-body{padding:17px 25px 19px 20px;background:var(--ex-paper-bg);box-shadow:0 3px 0 #aea58b,0 5px #dfd4b2,0 7px #a39f86}
.ex-workbook-body header,.ex-bib-top{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #91a293;padding-bottom:7px;margin-bottom:9px}.ex-workbook-body header b{font-size:20px}.ex-workbook-body header small{color:#57766a;font-size:13px}
.ex-workbook-body>section{min-height:222px;display:flex;flex-direction:column;justify-content:center;padding:15px 2px 0}.ex-workbook h2{font-size:25px;line-height:1.6;letter-spacing:-.5px}.ex-workbook p{font-size:16px;line-height:1.7}.ex-workbook small{font-size:14px}.ex-workbook .ex-answer{font-size:14px;margin-top:6px}
.ex-questions{display:grid;gap:5px;margin-top:6px}.ex-questions button{text-align:right;padding:7px 9px;border:1px solid #b2b8a0;border-radius:3px;font-size:15px;background:#faf7e7}.ex-questions button[aria-pressed=true]{background:#d7e5cf;border-color:#6e997f}
.ex-filmstrip{background:repeating-linear-gradient(90deg,transparent 0 10px,#1e3432 11px 17px),linear-gradient(#e8dbaf 0 5px,#263c39 5px calc(100% - 5px),#e8dbaf calc(100% - 5px) 100%);width:72%;display:flex;gap:7px;padding:10px 9px;transform:rotate(2deg);margin:5px 0 18px;border:2px solid #253c35;box-shadow:2px 3px 4px #374a3638}
.ex-filmstrip i{display:grid;place-items:center;flex:1;height:49px;background:linear-gradient(135deg,#698c7a,#aebab1);color:#f8edd5;font-style:normal}
.ex-certificate{border:4px double #92936a;background:linear-gradient(135deg,#f9f2d9,#e5e4cb);outline:1px solid #bbb28c;outline-offset:3px;padding:14px;text-align:center}.ex-certificate .ex-seal{width:49px;height:49px;border-radius:50%;margin:8px auto;background:repeating-conic-gradient(#bb9e59 0 7deg,#e1c995 9deg 13deg);display:grid;place-items:center;font-size:25px;color:#746337;border:4px double #9e864c}
.ex-count-machine{text-align:center}.ex-count-machine .ex-ticket{color:#f4edcf}.ex-count-machine .ex-ticket b{font-size:22px}
.ex-counter{display:flex;justify-content:center;gap:3px;width:max-content;margin:17px auto 7px;padding:6px;border:4px solid #202e2a;border-radius:5px;background:#172722;box-shadow:inset 0 3px 7px #0007}
.ex-counter i{font-size:59px;font-weight:900;line-height:1.45;width:62px;font-style:normal;color:#ede6cb;background:linear-gradient(#363e35,#333b32 48%,#161d18 49%,#454d41 52%,#242d26);border-radius:4px}.ex-count-unit{color:#f6edcd;font-size:17px}
.ex-safe{position:relative;padding:20px 19px 15px;border-radius:24px 24px 11px 11px;background:linear-gradient(135deg,#7c8270,#536457 50%,#43594e);border:5px solid #697663;box-shadow:inset 0 -4px #435747,0 7px 0 #344c42,var(--ex-shadow);transform:rotate(1deg)}.ex-safe-door{position:relative;min-height:175px;border:5px double #abb29a;box-shadow:inset 0 0 0 5px #425a4f,0 3px 3px #233c32;border-radius:12px;background:linear-gradient(126deg,#426456,#345245);display:flex;align-items:center;justify-content:center;gap:22px;color:#f2e5be}.ex-safe-door b{font-size:19px}.ex-safe-dial{width:73px;height:73px;background:repeating-conic-gradient(#756d51 0 3deg,#bbaf83 3deg 9deg);border:4px solid #6b684e;box-shadow:3px 4px 3px #233b2f;border-radius:50%;display:grid;place-items:center}.ex-safe-dial i{display:block;width:69%;height:69%;border:2px solid #c4b58a;border-radius:50%;background:conic-gradient(#635f49 0 3deg,#c9ba90 3deg 355deg,#635f49 356deg 360deg);transform:rotate(var(--turn))}
.ex-safe-handle{position:absolute;height:12px;width:57px;bottom:13px;left:calc(50% - 28px);border-radius:10px;background:linear-gradient(#a49b71,#cdbe8e,#817a58);box-shadow:1px 3px 1px #263c32}
.ex-safe-switches{display:grid;grid-template-columns:repeat(3,1fr);margin-top:13px}.ex-safe-switches button{font-size:13px}
.ex-map{width:88%;background:var(--ex-paper-bg);border:1px solid #999677;box-shadow:var(--ex-shadow);padding:21px 21px 16px;transform:rotate(.6deg)}.ex-map>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:19px;border-bottom:1px solid #96a592;padding-bottom:8px}.ex-map>header span{font-size:14px;color:#617464}.ex-map h2{font-size:25px}
.ex-folds{display:flex;direction:rtl;background:#e0d8ac;box-shadow:0 5px 6px #4b503928}
.ex-frame .ex-fold{position:relative;min-height:156px;width:25%;border:0;border-inline-end:1px solid #a4ae95;padding:12px 8px;background:repeating-linear-gradient(37deg,transparent 0 15px,#91a68d28 16px 17px,transparent 18px 33px),linear-gradient(90deg,#c5d0b8,#e2e6cb 16%,#e5e4ca 80%,#c9d0b2);display:flex;align-items:center;justify-content:space-between;flex-direction:column;text-align:center;font-size:14px;font-weight:700}
.ex-frame .ex-fold:nth-child(even){background:repeating-linear-gradient(-22deg,transparent 0 19px,#8aa08729 20px 21px,transparent 22px 39px),linear-gradient(90deg,#dee2c4,#bfc9ab 90%);}
.ex-fold::after{content:"";position:absolute;top:49%;left:0;width:100%;pointer-events:none;border-top:2px dashed #6c8c73}
.ex-fold i{position:relative;z-index:1;width:14px;height:14px;border-radius:50%;background:#6b897a;border:2px solid #3f6556;box-shadow:1px 2px 2px #36573d51}.ex-fold[aria-pressed=true] i{background:#bc724b;outline:5px solid #c58f5759;border-color:#925331}.ex-fold[aria-pressed=true]{box-shadow:inset 0 -5px #9f653f}
.ex-map-key{border-right:3px solid #a76646;padding:3px 14px;margin-top:19px}.ex-map-key b{font-size:18px}.ex-map-key p{font-size:15px}
.ex-folio{width:79%;position:relative;transform:rotate(-1deg);filter:drop-shadow(2px 11px 9px #47321b60)}
.ex-folder-tabs{display:flex;gap:5px;padding-right:7px}.ex-folder-tab{padding:8px 19px 10px;border:1px solid #9b8153;border-bottom:0;background:var(--surface-alt);border-radius:10px 10px 0 0;color:var(--ink);font-weight:700!important;font-size:16px!important}
.ex-folder-tab[aria-pressed=true]{background:var(--selected-bg);color:var(--selected-ink)}.ex-folder-body{position:relative;background:var(--ex-cover);padding:13px 17px 0;border-radius:6px;box-shadow:0 4px #295249,0 7px #484a32}.ex-folder-back{position:absolute;inset:9px -7px -3px 5px;z-index:-1;background:#c3ae79;transform:rotate(3deg);border-radius:5px}
.ex-folder-body.ex-ask{background:var(--case-bg)}.ex-offer-letter{position:relative;background:var(--ex-paper-bg);padding:16px 25px 22px;margin:0 9px;box-shadow:2px 0 4px #3d472d38}.ex-offer-letter::before{content:"";position:absolute;left:20px;top:10px;width:12px;height:12px;border-radius:50%;background:radial-gradient(circle at 33% 25%,#e5ac70,#a66539 65%);box-shadow:1px 2px 3px #543e2670}.ex-offer-letter h2{font-size:25px;line-height:1.4}.ex-offer-letter ol{list-style:none;counter-reset:offer;padding:0}.ex-offer-letter li{counter-increment:offer;font-size:17px;padding:6px 0;border-bottom:1px solid var(--ex-rule);display:flex;align-items:baseline;gap:10px}.ex-offer-letter li::before{content:counter(offer,persian);font-weight:700;color:var(--accent-ink)}
.ex-sign{text-align:left;color:var(--muted);font-size:15px;margin-top:6px;font-weight:700}.ex-folder-front{position:relative;background:linear-gradient(110deg,var(--screen-bg),var(--ex-cover));color:var(--screen-ink);text-align:center;margin: -5px -13px 0;transform:skewY(-1deg);padding:9px 16px;border-top:2px solid #739b84;border-radius:1px 2px 5px 5px}.ex-ask .ex-folder-front{background:var(--case-bg);border-color:var(--case-muted);color:var(--case-ink)}.ex-folder-front i{font-size:13px;font-style:normal}
.ex-bibliography{width:85%;max-height:95%;padding:14px 20px 19px;background:var(--ex-metal);border:3px solid #768270;border-radius:8px;box-shadow:var(--ex-shadow)}
.ex-bib-top{justify-content:center;border:0;color:var(--screen-ink);margin:0;background:var(--screen-bg);border-radius:var(--radius-sm);padding:5px 8px}.ex-bib-top .ex-ticket{flex-direction:row;align-items:baseline;gap:16px}.ex-bib-top b{font-size:21px}.ex-bib-index{margin-top:7px}.ex-bib-leaf{background:var(--ex-paper-bg);padding:12px 20px;max-height:330px;overflow:auto;overscroll-behavior:contain;border:1px solid #a8a184;box-shadow:0 5px var(--ex-binding),0 7px var(--border)}.ex-bib-leaf h2{font-size:21px}.ex-bib-leaf ol{font-size:13px;padding-inline-start:22px;list-style:persian}.ex-bib-leaf li{padding:5px 0;border-bottom:1px solid var(--ex-rule)}.ex-bib-leaf li bdi{font:650 15px var(--font-en),var(--font-ui)}.ex-bib-leaf li span{display:block;font-size:13px;unicode-bidi:plaintext}.ex-bib-leaf a{color:var(--accent-ink);font-size:12px}
@media(prefers-reduced-motion:no-preference){
.ex-indexcard,.ex-note,.ex-bib-leaf,.ex-offer-letter,.ex-map-key,.ex-id-card,.ex-questions,.ex-counter i{animation:ex-select .32s cubic-bezier(.19,.73,.32,1) both}
.ex-folder-front{animation:ex-pocket .4s ease both}
@keyframes ex-select{from{opacity:.65;translate:0 4px}to{opacity:1;translate:0 0}}
@keyframes ex-pocket{from{translate:0 6px}to{translate:0 0}}
}
@container exstage (max-width:620px){
.ex-set{display:flex;flex-direction:column;gap:13px;width:93%;max-height:98%;align-items:stretch}.ex-object{width:94%;align-self:center;min-height:0}.ex-note{padding:14px 17px 12px;width:100%;max-height:245px;overflow:auto;transform:rotate(-.6deg)}.ex-note::before{height:26px;left:15px;top:-9px}.ex-rule{font-size:12px;margin:0 0 6px;padding:0 0 4px}.ex-note h2{font-size:22px;line-height:1.4;margin-bottom:2px}.ex-note p{font-size:16px;line-height:1.65}.ex-note small{font-size:12px;margin:6px 0 0;padding-top:5px;line-height:1.5}
.ex-drawer{margin-top:8px}.ex-filetabs{height:48px}.ex-filetabs button{min-height:34px;padding:5px 2px;font-size:12px}.ex-filetabs [aria-pressed=true]{padding-bottom:7px}.ex-indexcard{min-height:104px;padding:8px}.ex-indexcard strong{font-size:39px;line-height:1.28}.ex-indexcard em{font-size:12px;margin-top:5px}.ex-drawer-face{height:42px}
.ex-meter,.ex-count-machine,.ex-timepiece{padding:17px 15px 11px}.ex-meter-face{padding:8px}.ex-columns,.ex-specimen{height:104px}.ex-switches{margin-top:8px;padding-top:7px}.ex-wheel{width:205px}.ex-wheel-stop{font-size:13px!important;padding:3px 5px}.ex-wheelplate .ex-ticket{margin-top:7px}
.ex-badge-rack{padding:10px 0 0}.ex-hang{padding-top:10px;padding-bottom:6px}.ex-id-card{padding:9px;margin:6px auto 0;min-height:0;width:77%}.ex-idpic{width:32px;height:32px;font-size:19px}.ex-id-card strong{font-size:19px}.ex-id-card em{margin-top:2px}.ex-rows{margin-top:4px!important}.ex-rows>div{padding:3px 0}
.ex-sorter{gap:8px;padding-top:8px}.ex-tray{padding:5px 14px;border-bottom-width:4px}.ex-tray span,.ex-tray b{font-size:14px}.ex-small-tabs{margin-top:6px;gap:4px}.ex-small-tabs button{font-size:12px;padding:3px 6px}
.ex-manuscript{padding:17px 18px 20px}.ex-manuscript h2{font-size:20px}.ex-manuscript p{font-size:16px;line-height:1.75}.ex-clock{width:126px;height:126px;padding-bottom:12px;border-width:5px}.ex-clock>b{font-size:28px}.ex-clock-tasks{padding:0}.ex-ticks{margin-top:3px;font-size:11px}
.ex-workbook{width:94%;padding:10px 23px 10px 9px;min-height:0}.ex-workbook-body{padding:13px 17px 15px 10px}.ex-workbook-body>section{min-height:200px}.ex-workbook-body header b{font-size:18px}.ex-workbook h2{font-size:21px}.ex-rings{right:6px}.ex-rings i{width:29px;height:10px;border-width:3px}
.ex-count-machine .ex-ticket b{font-size:18px}.ex-counter{margin:9px auto 5px}.ex-counter i{font-size:41px;width:48px;line-height:1.3}.ex-count-unit{font-size:14px}
.ex-safe{padding:14px 13px 10px}.ex-safe-door{min-height:95px}.ex-safe-dial{width:51px;height:51px}.ex-safe-handle{height:7px;bottom:5px}.ex-safe-switches{margin-top:8px}
.ex-map{width:94%;padding:14px 12px}.ex-map>header{margin-bottom:9px}.ex-frame .ex-fold{font-size:12px;padding:7px 4px;min-height:132px}.ex-map-key{margin-top:12px}.ex-map-key p{font-size:15px}
.ex-folio{width:94%}.ex-folder-tab{padding:6px 11px;font-size:13px!important}.ex-folder-body{padding:8px 8px 0}.ex-offer-letter{margin:0 4px;padding:12px 14px 16px}.ex-offer-letter h2{font-size:22px}.ex-offer-letter li{font-size:16px}.ex-folder-front{margin-inline:-6px}.ex-bibliography{width:94%;padding:10px 12px 13px}.ex-bib-leaf{padding:9px 12px;max-height:380px}
}
/* Flatten the working face into its own composited plane so Chromium hit-tests
   moving labels against the same plane it paints inside the desk camera. */
#exhibitSurface{transform:translateZ(0);transform-style:flat}
.ex-cert-marks{display:flex;align-items:center;justify-content:center;gap:26px;margin:8px 0}.ex-cert-marks .ex-seal{margin:0}.ex-cert-marks figure{margin:0;display:flex;align-items:center;gap:4px;flex-direction:column;color:#546854}.ex-cert-marks img{width:69px;height:69px}.ex-cert-marks figcaption{font-size:10px}
.ex-protocol-board{position:relative;transform:rotate(1.2deg);padding:30px 15px 18px;text-align:center;border:6px solid #795d3e;border-radius:13px;background:radial-gradient(ellipse at 23% 3%,#ffefcf6b,transparent 60%),repeating-linear-gradient(3deg,#b39970 0 3px,#af956e 4px 5px,#b59c73 6px 8px);box-shadow:var(--ex-shadow)}.ex-protocol-board>strong{font-size:24px;background:#e9deb9;padding:1px 18px;border:1px solid #978d6a}.ex-protocol-board>small{font-size:13px;color:#223e38;font-weight:700}.ex-clipbar{position:absolute;width:37%;height:16px;border:3px ridge #aba488;border-radius:4px;top:-8px;left:31.5%;background:#9b9a83;box-shadow:1px 2px 2px #4e47374f}
.ex-specimen-slips{display:flex;justify-content:center;align-items:center;margin:22px 0;gap:5px;direction:ltr}
.ex-specimen-slips div{min-width:19%;padding:7px 7px 10px;background:var(--ex-paper-bg);border-top:3px solid #7aa092;box-shadow:2px 3px 3px #584f3450;transform:rotate(-4deg)}.ex-specimen-slips div:nth-child(even){transform:rotate(3deg)}.ex-specimen-slips b,.ex-specimen-slips span{display:block}.ex-specimen-slips b{font:700 31px Georgia,serif;color:#245f59}.ex-specimen-slips span{font-size:14px;font-weight:700;color:#384f43}
.ex-chronometer{display:flex;align-items:center;justify-content:center;gap:14px;padding:18px 0 13px}.ex-chronometer b{font-size:48px;line-height:1.2;color:#275f5b}.ex-chronometer span{font-size:30px;color:#a5764e}
.ex-falling-leaf{display:none}
@media(prefers-reduced-motion:no-preference){
.ex-falling-leaf{display:block;position:absolute;right:28%;width:42%;height:13px;background:repeating-linear-gradient(0deg,#d1d1ae 0 1px,#f6f0cf 2px 4px);border:1px solid #c3b995;box-shadow:0 2px 6px #314c3955;animation:ex-file-drop .75s ease-out both;pointer-events:none}
@keyframes ex-file-drop{0%{transform:translate(12px,-55px) rotate(-6deg);opacity:0}17%{opacity:1}88%{opacity:1}100%{transform:translate(0,-9px) rotate(0);opacity:0}}
}
@container exstage (max-width:620px){.ex-protocol-board{padding:21px 10px 10px}.ex-specimen-slips{margin:11px 0}.ex-specimen-slips b{font-size:25px}.ex-cert-marks img{width:56px;height:56px}}

.ex-frame ::selection{background:var(--selected-bg);color:var(--selected-ink)}

/* Reports fill the iMac glass. These are historical aggregates from the presentation. */
.mr-report {
  width:100%;height:100%;display:flex;flex-direction:column;overflow:auto;
  background:var(--bg);color:var(--ink);font-size:16px;line-height:1.65
}
.rep-product {background:var(--surface);color:var(--ink);display:flex;justify-content:space-between;align-items:center;padding:12px 30px;flex:none;border-bottom:1px solid var(--line)}
.rep-product span {display:flex;align-items:center;gap:9px;font-size:19px;font-weight:900}
.rep-product img {width:auto;height:25px;display:block}
.rep-product small {font-size:13px;color:var(--muted)}
.rep-page {width:100%;padding:20px 38px;min-height:0}
.rep-caption {font-size:13px;font-weight:700;color:var(--accent-ink)}
.ex-frame .rep-page h2 {font-size:34px;font-weight:900;line-height:1.5}
.ex-frame .rep-scope {font-size:15px;color:var(--muted)}
.rep-tabs {display:flex;gap:16px;margin-top:10px;border-bottom:1px solid var(--line)}
.rep-tabs button,.rep-directory button {border:0;background:transparent;color:var(--muted)}
.rep-tabs button {padding:7px 11px;font-size:15px;border-radius:var(--radius-sm) var(--radius-sm) 0 0}
.rep-tabs button[aria-pressed=true] {background:var(--selected-bg);box-shadow:inset 0 -3px var(--selected-ink);color:var(--selected-ink);font-weight:700}
.rep-summary,.rep-register {display:grid;grid-template-columns:.96fr 1.2fr;gap:28px;margin:19px 0 15px;align-items:center}
.rep-summary>section small,.rep-kpi>small {font-weight:700;font-size:16px;color:var(--heading-accent)}
.rep-number {color:var(--accent-ink);font-size:54px;font-weight:900;line-height:1.45}
.rep-number em {font-style:normal;font-size:20px;color:var(--muted)}
.rep-summary p,.rep-kpi p {font-size:16px;line-height:1.8}
.rep-summary figure {margin:0;padding:14px 18px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface)}
.rep-summary figcaption {font-size:15px;font-weight:700}
.rep-timechart {height:125px;display:flex;flex-direction:column;justify-content:center;gap:17px}
.rep-scale {display:flex;justify-content:space-between;font-size:12px;color:var(--muted)}
.rep-axis {position:relative;direction:rtl;height:6px;background:var(--line);border-radius:4px}
.rep-axis::before,.rep-axis::after {content:"";position:absolute;top:-3px;width:2px;height:12px;background:var(--border)}
.rep-axis::before {right:0}.rep-axis::after {left:0}
.rep-pin {position:absolute;right:var(--at);top:50%;width:12px;height:12px;transform:translate(50%,-50%);border:2px solid var(--muted);background:var(--surface);border-radius:50%;color:var(--muted);font-style:normal}
.rep-pin.selected {background:var(--accent);border-color:var(--accent);color:var(--selected-ink)}
.rep-pin b {position:absolute;bottom:10px;left:50%;transform:translateX(-50%);font:700 16px var(--font-ui)}
.rep-pin.lower b {bottom:auto;top:10px}
.rep-bars {display:grid;gap:7px;margin-top:9px}
.rep-bars>div {display:grid;grid-template-columns:70px 1fr 18px;align-items:center;gap:7px;font-size:14px}
.rep-bars i {width:calc(var(--v)*42%);height:8px;border-radius:2px;background:var(--success)}.rep-bars>div:nth-child(2) i{background:var(--info)}.rep-bars>div:nth-child(3) i{background:var(--warning)}.rep-bars>div:nth-child(4) i{background:var(--border)}
.rep-page>footer {border-top:1px solid var(--line);padding-top:9px;color:var(--muted);font-size:13px}
.rep-register {grid-template-columns:.92fr 1.2fr;margin:15px 0}
.rep-directory {display:grid;border-top:1px solid var(--line)}
.rep-directory button {display:flex;justify-content:space-between;align-items:center;text-align:right;border-bottom:1px solid var(--line);padding:6px 12px;font-size:16px}
.rep-directory button[aria-pressed=true] {color:var(--selected-ink);font-weight:700;background:var(--selected-bg);border-right:3px solid var(--selected-ink);padding-right:9px}
.rep-kpi {align-self:center;padding:1px 3px}.rep-kpi strong,.rep-kpi small {display:block}
.rep-kpi strong {font-size:64px;line-height:1.25;color:var(--accent-ink)}.rep-kpi h3 {font-size:20px;margin:0}
.rep-kpi p {color:var(--muted)}
.rep-study-types {display:flex;justify-content:space-between;flex-wrap:wrap;gap:4px;font-size:12px;margin-top:12px}
.rep-study-types i {width:100%;height:8px;border-radius:3px;background:linear-gradient(to left,var(--brand-primary) 0 87.5%,var(--brand-signal) 87.5%)}
.rep-days {display:flex;gap:14px;border-top:1px dashed var(--border);margin-top:12px;padding-top:7px;color:var(--accent-ink);font-size:13px}

/* Marker diagrams are drawn directly on the seminar whiteboard. */
.wb {
  width:100%;height:100%;display:flex;flex-direction:column;align-items:stretch;justify-content:center;
  padding:16px 38px;color:var(--ink);background:linear-gradient(112deg,var(--surface),var(--bg) 72%,var(--surface-alt));line-height:1.7;
}
.wb header {margin-bottom:12px}
.ex-frame .wb h2 {font-size:34px;line-height:1.55;font-weight:900;width:fit-content;position:relative;isolation:isolate;margin:0}
.wb h2::after {content:"";position:absolute;z-index:-1;inset:auto -2px 5px -7px;height:6px;transform:rotate(-1deg);border-radius:40% 10% 35% 8%;background:var(--case-bg)}
.wb-tabs {display:flex;flex-wrap:wrap;gap:7px}
.wb-tabs button,.wb-phase,.wb-milestone {border:0;background:transparent}
.wb-tabs button {color:var(--accent-ink);padding:3px 12px;border:1.5px solid var(--border);border-radius:15% 13% 9% 14% / 9% 14% 12% 9%;font-size:16px}
.wb-tabs button[aria-pressed=true] {border-color:var(--selected-ink);color:var(--selected-ink);background:var(--selected-bg);box-shadow:inset 0 -2px var(--selected-ink);font-weight:700}
.wb-findings,.wb-cycle-space,.wb-prisma,.wb-protocol-grid {display:grid;grid-template-columns:1.02fr 1fr;align-items:center;gap:30px;margin:14px 0}
.wb-drawing {padding:10px 10px 4px;text-align:center}
.wb h3 {font-size:25px;line-height:1.6;margin:4px 0 5px}
.wb-interpret h3,.wb-road-note h3 {color:var(--heading-accent);font-size:27px}
.wb p {font-size:18px;line-height:1.85}
.wb-interpret small,.wb-road-note small {display:block;color:var(--muted);font-size:14px}
.wb-interpret small[dir=ltr] {margin-top:8px;text-align:right;color:var(--muted)}
.wb-bars {display:flex;flex-direction:column;gap:14px}
.wb-bars>div {display:grid;grid-template-columns:78px 1fr 42px;align-items:center;gap:8px}
.wb-bars span {font-size:14px}.wb-bars b {font-size:19px;color:var(--accent-ink)}
.wb-bars i {display:block;position:relative;width:var(--share);height:28px;border:2px solid var(--accent-ink);border-radius:7% 3% 5% 2%/12% 6% 18% 9%;background:repeating-linear-gradient(127deg,transparent 0 5px,color-mix(in srgb,var(--accent) 32%,transparent) 5px 7px)}
.wb-formula {display:grid;justify-items:center}
.wb-formula strong {font-size:71px;line-height:1.35;color:var(--accent-ink);letter-spacing:-2px}.wb-formula span {color:var(--muted);font-size:17px}
.wb .wb-footnote {border-top:2px dashed var(--line);padding-top:8px;margin-top:6px;color:var(--muted);font-size:14px;line-height:1.65}
.wb-cycle-space {grid-template-columns:1.1fr 1fr}
.wb-cycle {position:relative;margin:auto;width:336px;max-width:100%;height:229px}
.wb-orbit {position:absolute;inset:21px 38px;border:3px solid var(--border);border-radius:42% 51% 43% 51%;transform:rotate(-5deg)}
.wb-orbit::after {content:"";position:absolute;right:1%;top:23%;width:11px;height:11px;border-top:3px solid var(--accent-ink);border-right:3px solid var(--accent-ink);transform:rotate(34deg)}
.wb-hub {position:absolute;inset:0;display:grid;align-content:center;text-align:center;font-weight:900;color:var(--heading-accent);font-size:22px;line-height:1.45;pointer-events:none}
.ex-frame .wb-phase {position:absolute;transform:translate(-50%,-50%);background:var(--bg);border:1px solid var(--border);border-radius:11px 9px 12px 6px;padding:4px 9px;white-space:nowrap;font-size:15px}
.ex-frame .wb-phase[aria-pressed=true] {background:var(--selected-bg);color:var(--selected-ink);border:2px solid var(--selected-ink);font-weight:700}
.wb-phase.p0{left:50%;top:10%}.wb-phase.p1{left:81%;top:40%}.wb-phase.p2{left:73%;top:82%}.wb-phase.p3{left:27%;top:82%}.wb-phase.p4{left:17%;top:40%}
.wb-protocol-tabs {max-width:95%}
.wb-protocol-tabs button {font-size:14px;padding:3px 9px}
.wb-sketch {display:grid;grid-template-columns:repeat(2,1fr);gap:11px;align-content:center}
.wb-sketch>div {position:relative;border:2px solid var(--border);border-radius:8px 16px 7px 15px;display:grid;justify-items:center;align-content:center;padding:6px;transform:rotate(-1deg)}
.wb-sketch>div:nth-child(even){transform:rotate(1.2deg);border-color:var(--accent-ink)}.wb-sketch b{font-size:34px;line-height:1.3}.wb-sketch span{font-size:15px;color:var(--muted)}
.wb-funnel {display:flex;flex-direction:column;align-items:center;gap:13px}
.ex-frame .wb-funnel-node {position:relative;display:flex;align-items:center;justify-content:space-between;gap:6px;width:calc(100% - var(--step)*16px);border:2px solid var(--border);border-radius:9px 15px 7px 12px;color:var(--muted);background:var(--surface);padding:5px 14px;font-size:16px}
.wb-funnel-node:not(:last-child)::after {content:"↓";position:absolute;font:18px Arial,sans-serif;bottom:-17px;left:48%;color:var(--accent-ink)}
.ex-frame .wb-funnel-node[aria-pressed=true] {background:var(--selected-bg);color:var(--selected-ink);border-color:var(--selected-ink)}
.wb-timeline {position:relative;display:flex;direction:rtl;gap:9px;margin:20px 0}
.wb-timeline::before {content:"";position:absolute;inset:36px 8% auto;height:3px;transform:rotate(-.75deg);background:var(--border);border-radius:50%;pointer-events:none}
.ex-frame .wb-milestone {flex:1;min-width:0;display:grid;justify-items:center;grid-template-rows:25px 18px auto;gap:2px;text-align:center;font-size:16px;padding:0}
.wb-milestone i {height:16px;width:16px;background:var(--case-bg);border:3px solid var(--border);border-radius:50%;z-index:1}
.wb-milestone[aria-pressed=true] i{background:var(--brand-signal);border-color:var(--accent-ink);box-shadow:0 0 0 3px var(--tint)}
.wb-milestone[aria-pressed=true] b{color:var(--accent-ink)}.wb-milestone span{font-size:15px;line-height:1.45}
.wb-road-note {margin:8px 8% 0;border-inline-start:4px solid var(--brand-signal);padding-inline-start:16px}

/* The workbook has a facing exercise leaf and a bound margin for feedback. */
.nb-spread {
  display:grid;grid-template-columns:1fr 1fr;align-items:stretch;
  width:100%;height:100%;color:var(--ink);position:relative;background:var(--ex-stock);
}
.nb-right,.nb-left{padding:29px 28px 24px;min-width:0;display:flex;flex-direction:column;justify-content:center;overflow:auto}
.nb-right {background:linear-gradient(to left,var(--surface) 0%,var(--ex-stock) 92%,var(--ex-binding) 100%)}
.nb-left {background:linear-gradient(to right,transparent 91%,var(--ex-binding)),repeating-linear-gradient(to bottom,var(--ex-stock) 0 31px,var(--ex-rule) 31px 32px);border-right:1px solid var(--ex-binding)}
.nb-right>header,.nb-margin-label {font-size:15px;color:var(--muted);line-height:1.6;margin-bottom:10px}
.ex-frame .nb-spread h2 {font-size:35px;line-height:1.45;color:var(--ink)}
.ex-frame .nb-spread h3 {font-size:25px;margin:0 0 5px;color:var(--heading-accent);line-height:1.55}
.nb-spread p {font-size:18px;line-height:1.85}
.nb-spread small {font-size:14px;line-height:1.6;color:var(--muted);display:block}
.nb-nav {display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}
.nb-nav button,.nb-highlight,.nb-answers button {border:0;border-radius:0;text-align:right;background:transparent;color:var(--accent-ink);line-height:1.7}
.ex-frame .nb-nav button {padding:3px 9px;font-size:15px;border-bottom:1px solid var(--border)}
.ex-frame .nb-nav button[aria-pressed=true]{font-weight:700;color:var(--selected-ink);border-bottom:3px solid var(--selected-ink)}
.nb-spread .nb-lesson-title{margin-top:18px;font-size:20px;color:var(--heading-accent);font-weight:700}
.nb-film {display:flex;gap:4px;background:repeating-linear-gradient(to right,var(--screen-bg) 0 7px,var(--case-bg) 7px 13px) top left/100% 5px no-repeat,repeating-linear-gradient(to right,var(--screen-bg) 0 7px,var(--case-bg) 7px 13px) bottom left/100% 5px no-repeat,var(--screen-bg);padding:11px 7px;transform:rotate(-2deg);width:91%;margin:9px 0 14px;box-shadow:2px 3px 3px #60573d32}
.nb-film i {flex:1;padding:13px 0;background:linear-gradient(120deg,var(--brand-primary),var(--screen-bg));text-align:center;color:var(--screen-ink);font-size:18px;font-style:normal}
.nb-duration {font-size:26px;color:var(--accent-ink)}.nb-duration b {font-weight:900;font-size:45px;line-height:1.4}
.nb-answers {display:grid;gap:6px}
.ex-frame .nb-answers button{font-size:15px;padding:5px 9px 5px 3px;border-right:3px solid var(--border)}
.ex-frame .nb-answers button[aria-pressed=true]{color:var(--selected-ink);border-right-color:var(--selected-ink);background:var(--selected-bg)}
.nb-spread .nb-answer{font-size:15px;font-weight:700;color:var(--accent-ink);margin-top:9px}
.nb-certificate {text-align:center;border:3px double var(--brand-primary);border-radius:2px;padding:14px 11px;background:linear-gradient(120deg,var(--surface),var(--ex-binding));transform:rotate(-2deg);box-shadow:1px 4px 5px #5f594331}
.nb-certificate img {width:74px;height:74px;display:block;margin:7px auto 2px}
.nb-certificate p {font-size:16px}
.nb-mentor .nb-paragraph {margin-top:13px;line-height:2}
.ex-frame .nb-highlight {display:inline;color:var(--ink);padding:0 2px;background:linear-gradient(transparent 30%,color-mix(in srgb,var(--tint) 78%,transparent) 32% 89%,transparent 91%);font-size:inherit}
.ex-frame .nb-highlight[aria-pressed=true]{background:var(--selected-bg);color:var(--selected-ink);box-shadow:0 2px var(--selected-ink)}
.nb-mentor .nb-left {color:var(--ink)}.nb-mentor .nb-left>small{margin:11px 0 0}

/* Research abstracts open on an archival index, with the record and its citation on one sheet. */
.arc-folio {width:91%;height:83%;display:grid;grid-template-columns:.85fr 1.35fr;direction:ltr;align-items:stretch;background:#534a3b;box-shadow:0 12px 20px -8px #2b231bb3;border:1px solid #544938;border-radius:6px 4px 5px 7px;padding:8px;gap:2px}
.arc-index,.arc-study{direction:rtl;text-align:right;min-width:0}
.arc-index {display:flex;flex-direction:column;padding:16px 14px;background:linear-gradient(110deg,var(--screen-bg),var(--ex-cover));color:var(--screen-ink);justify-content:center}
.ex-frame .arc-index h2 {font-size:22px;margin:0 0 11px}
.arc-index button {border:0;border-top:1px solid color-mix(in srgb,var(--screen-ink) 26%,transparent);display:flex;align-items:baseline;justify-content:space-between;gap:4px;text-align:right;color:var(--screen-ink);background:transparent;padding:9px 5px;line-height:1.3}
.arc-index button span {font-size:13px}.arc-index button bdi{font:500 12px var(--font-en)}
.arc-index button[aria-pressed=true] {background:var(--band-bg);color:var(--band-ink);box-shadow:inset -4px 0 var(--brand-signal)}
.arc-study {display:flex;flex-direction:column;justify-content:center;padding:22px 30px;background:linear-gradient(to right,var(--ex-binding),var(--ex-stock) 8%,var(--surface) 90%,var(--ex-binding));position:relative}
.arc-study::after{content:"";width:32px;height:42px;position:absolute;top:-3px;left:25px;clip-path:polygon(0 0,100% 0,100% 100%,50% 81%,0 100%);background:var(--brand-signal)}
.arc-cardhead {border-block:1px solid var(--ex-rule);padding:5px 0;display:flex;justify-content:space-between;align-items:center;gap:8px;color:var(--muted);font-size:13px;margin-bottom:13px}
.arc-cardhead i{font:500 13px var(--font-en)}
.arc-study h3{font-size:24px;color:var(--heading-accent);margin:0}
.arc-study strong{font-size:55px;line-height:1.3;color:var(--accent-ink)}
.arc-study small{font-size:14px;color:var(--muted)}
.arc-study p{font-size:17px;line-height:1.9;margin-top:9px!important}
.arc-pips{display:flex;gap:3px;flex-wrap:wrap;margin:7px 0 1px}
.arc-pips i{width:6px;height:14px;border-radius:1px;background:var(--ex-binding)}
.arc-pips i.marked{background:var(--accent-ink)}

@container exstage (max-width:620px) {
  .rep-product {padding:8px 15px}.rep-product span{font-size:17px}
  .rep-page {padding:12px 17px}.ex-frame .rep-page h2{font-size:27px}
  .rep-scope {font-size:14px!important}.rep-tabs{gap:8px;margin-top:7px}
  .rep-tabs button{font-size:14px}
  .rep-summary {display:block;margin:12px 0}.rep-summary>section small{font-size:14px}
  .rep-number {font-size:41px}.rep-number em{font-size:17px}
  .rep-summary p,.rep-kpi p{font-size:15px;line-height:1.65}
  .rep-summary figure{border:0;border:1px solid var(--line);padding:9px;margin-top:8px}
  .rep-timechart {height:84px;gap:12px}.rep-bars{gap:1px;margin-top:3px}
  .rep-register{gap:13px;grid-template-columns:.95fr 1.12fr}
  .rep-directory button{font-size:14px;padding:8px}.rep-directory button[aria-pressed=true]{padding-right:5px}
  .rep-kpi strong {font-size:45px}.rep-kpi h3{font-size:17px}.rep-study-types{font-size:10px}
  .rep-days{gap:5px;font-size:11px}.rep-page>footer{font-size:12px;padding-top:6px}
  .wb {padding:12px 21px}.wb header {margin-bottom:8px}
  .ex-frame .wb h2{font-size:27px}.wb h3,.wb-interpret h3,.wb-road-note h3{font-size:22px}
  .wb-interpret small,.wb-road-note small{font-size:12px}.wb p{font-size:16px;line-height:1.7}
  .wb-tabs {gap:5px}.wb-tabs button{font-size:13px;padding:3px 8px}
  .wb-findings,.wb-cycle-space,.wb-prisma,.wb-protocol-grid{grid-template-columns:1fr;gap:13px;margin:12px 0}
  .wb-findings .wb-drawing{padding:3px}.wb-bars {gap:8px}
  .wb-bars i{height:19px}.wb-drawing h3{font-size:17px}
  .wb-formula strong {font-size:44px}.wb-formula span{font-size:13px}
  .wb-cycle{height:180px;max-width:320px}.wb-hub{font-size:18px}.ex-frame .wb-phase{font-size:13px;padding:3px 7px}
  .wb .wb-footnote {font-size:12px;padding-top:6px;margin-top:2px}
  .wb-sketch {grid-template-columns:repeat(2,1fr);gap:6px}.wb-sketch>div {padding:3px}.wb-sketch b{font-size:23px}.wb-sketch span{font-size:13px}
  .wb-funnel {gap:10px}.ex-frame .wb-funnel-node {font-size:14px;padding:4px 12px}
  .wb-timeline {gap:4px;margin:10px 0 15px}.wb-milestone b{font-size:12px}.wb-milestone span{font-size:12px}
  .wb-road-note {margin:10px 0}
  .nb-spread{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr)}
  .nb-right,.nb-left {overflow:auto;padding:16px 23px;justify-content:center}
  .nb-right{background:linear-gradient(to bottom,var(--surface),var(--ex-stock) 96%,var(--ex-binding));border-bottom:1px solid var(--ex-rule)}
  .nb-left{border-right:0}.nb-right>header,.nb-margin-label{font-size:13px;margin-bottom:4px}
  .ex-frame .nb-spread h2{font-size:26px}.ex-frame .nb-spread h3{font-size:21px}
  .nb-spread p,.nb-mentor .nb-paragraph{font-size:15px;line-height:1.7}
  .nb-spread p.nb-lesson-title{margin-top:3px;font-size:16px}.nb-nav{margin:5px 0}
  .ex-frame .nb-nav button,.ex-frame .nb-answers button{font-size:14px}.nb-duration b{font-size:38px}
  .nb-film{max-width:250px;margin:6px 0 8px}.nb-film i{padding:7px}
  .nb-mentor .nb-paragraph{margin-top:5px}.nb-certificate{width:90%;margin:auto}
  .arc-folio{height:92%;width:94%;grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr)}
  .arc-index{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;gap:5px;padding:8px 11px}
  .ex-frame .arc-index h2{width:100%;font-size:19px;margin:0}
  .arc-index button{padding:4px 5px;border:1px solid color-mix(in srgb,var(--screen-ink) 45%,transparent);font-size:13px;display:block}
  .arc-index button bdi{display:none}.arc-cardhead{font-size:12px;margin-bottom:7px}
  .arc-study{padding:13px 18px}.arc-study strong{font-size:43px}.arc-study p{font-size:15px}
  .arc-study::after{width:18px;height:22px;left:10px}
}
@media(prefers-reduced-motion:no-preference){
  .arc-study,.rep-kpi,.rep-summary section,.wb-interpret,.wb-road-note,.nb-mentor .nb-left,.nb-training .nb-left {animation:ex-settle .34s ease-out}
  @keyframes ex-settle {from{opacity:.35;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
}

/* Masir publisher marks are printed in the notebook masthead. */
.nb-right > header {
  display:flex;align-items:center;gap:9px;align-self:stretch;
  padding-bottom:8px;border-bottom:1px solid var(--ex-rule);
  color:var(--heading-accent);font-weight:700;
}
.nb-right > header::before {
  content:"";flex:none;width:25px;height:25px;
  background:url("assets/brand.svg") center / contain no-repeat;
}
.nb-nav {align-items:center}
.ex-frame .nb-nav button {border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface)}
.ex-frame .nb-nav button[aria-pressed=true]{background:var(--selected-bg);color:var(--selected-ink);border-color:var(--selected-ink);box-shadow:inset 0 -2px var(--selected-ink)}
.nb-answers button {color:var(--ink)}
.ex-frame .nb-answers button{border:1px solid var(--border);border-radius:var(--radius-sm);min-height:36px;background:var(--surface)}
.ex-frame .nb-answers button[aria-pressed=true]{color:var(--selected-ink);border-color:var(--selected-ink);background:var(--selected-bg);box-shadow:inset -3px 0 var(--selected-ink)}
.nb-duration {display:flex;align-items:baseline;gap:6px}
.nb-duration b,.rep-number,.arc-study strong,.rep-kpi strong{font-variant-numeric:tabular-nums}
.ex-frame [dir=ltr]{font-family:var(--font-en),var(--font-ui)}
.rep-caption {border-inline-start:3px solid var(--brand-primary);padding-inline-start:8px}
.rep-register .rep-directory {border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:var(--surface)}
.rep-directory button:last-child {border-block-end:0}
.rep-page>footer {line-height:1.7}
@container exstage (max-width:620px){
  .nb-right > header{padding-bottom:4px}.nb-right > header::before{width:19px;height:19px}
}
