/* Picker grid/card/mini-preview chrome (ITPTplPicker's default markup: .ige-tplgrid > .ige-tpl-card
   > .ige-mini > .ige-mini-doc.paper.tmpl-*). receipt-maker doesn't load it-gen-v3.css (that's
   invoice-generator's own bundle), so this is its own copy of the same look, on --rce-* tokens. */
.ige-tplgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.ige-tpl-card{text-align:left;background:#fff;border:2px solid transparent;border-radius:10px;padding:0;position:relative;color:var(--rce-text);box-shadow:var(--rce-sh-1);transition:border-color .15s,box-shadow .15s;cursor:pointer;overflow:hidden;box-sizing:border-box}
.ige-tpl-card:hover{border-color:#C9D3D9;box-shadow:var(--rce-sh-2)}
.ige-tpl-card[aria-pressed="true"]{border-color:var(--rce-accent)}
.ige-tpl-card>span{display:none}
.ige-tpl-card>small{display:none}
.ige-mini{position:relative;background:#e6eaec;border:0;border-radius:8px;aspect-ratio:139/186;overflow:hidden;pointer-events:none;isolation:isolate}
.ige-mini .ige-mini-doc{position:absolute!important;left:0!important;top:0!important;width:600px!important;transform-origin:0 0;transform:scale(var(--ige-mini-k,.2317))!important;min-height:calc(100% / var(--ige-mini-k,.2317))!important;border-radius:0!important;border:0!important;box-shadow:none!important}
.ige-mini .ige-mini-doc.paper{padding:26px}
@media (max-width:520px){.ige-tplgrid{grid-template-columns:repeat(3,1fr)}}

/*!
 * it-rm-universal-tpl-v1.css
 * The universal 50-design set (26 Sep 2026), ported to receipt-maker's own DOM
 * (.paper > .p-top/.p-meta/.p-line/.p-sum/.p-qr/.p-sig/.p-by). Same ids as invoice-generator's
 * it-gen-universal-tpl-v1.css so a design is recognizable as "the same one" across tools.
 * Mounted via ITPTplPicker (site/assets/it-tpl-picker-v1.js) from the inline boot script in
 * site/receipt-maker/index.html. See docs/universal-templates/generated/receipt-maker-report.txt.
 */

/* ---------- uni01-northline (Northline) ---------- */
.paper.tmpl-uni01-northline{ background:#F8F5EC !important; font-family:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,"Times New Roman",serif; position:relative; isolation:isolate; }
.paper.tmpl-uni01-northline::before{ content:""; position:absolute; top:-46px; right:-36px; width:210px; height:150px; z-index:0;
  background:radial-gradient(circle at 78% 30%, #C0501F 0 46px, transparent 47px),
    radial-gradient(circle at 55% 58%, #7C9081 0 58px, transparent 59px),
    radial-gradient(circle at 28% 18%, #fff 0 50px, transparent 51px) !important;
  opacity:.9; }
.paper.tmpl-uni01-northline .p-top{ position:relative; z-index:1; }
.paper.tmpl-uni01-northline .p-biz{ font-family:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,"Times New Roman",serif; font-size:22px; font-weight:700; }
.paper.tmpl-uni01-northline .pill{ background:#7C9081 !important; color:#fff !important; border-color:#7C9081 !important; }
.paper.tmpl-uni01-northline .p-meta{ border-color:#C0501F33 !important; }
.paper.tmpl-uni01-northline .p-sum .total{ border-top-color:#C0501F !important; }
.paper.tmpl-uni01-northline .p-sum .total b{ color:#C0501F !important; }

/* ---------- uni02-archive-folio (Archive Folio) ---------- */
.paper.tmpl-uni02-archive-folio{ background:#F7F1E6 !important; font-family:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,"Times New Roman",serif; padding-left:0!important; display:grid; grid-template-columns:38px 1fr; }
.paper.tmpl-uni02-archive-folio > *{ grid-column:2; }
.paper.tmpl-uni02-archive-folio::before{ content:""; grid-column:1; grid-row:1/-1; background:#A9693D !important; width:38px; }
.paper.tmpl-uni02-archive-folio::after{ content:"RECEIPT"; position:absolute; left:9px; top:26px; writing-mode:vertical-rl; letter-spacing:.24em;
  font-size:11px; font-weight:700; color:#fff !important; text-transform:uppercase; }
.paper.tmpl-uni02-archive-folio .p-top{ padding-left:12px; position:relative; }
.paper.tmpl-uni02-archive-folio .p-top::after{ content:""; position:absolute; top:0; right:0; width:34px; height:34px; border-radius:50%;
  border:2px solid #A9693D; }
.paper.tmpl-uni02-archive-folio .p-biz{ font-family:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,"Times New Roman",serif; font-size:21px; }
.paper.tmpl-uni02-archive-folio .p-line{ padding-left:12px; }
.paper.tmpl-uni02-archive-folio .p-meta{ padding-left:12px; }
.paper.tmpl-uni02-archive-folio .p-sum{ padding-left:12px; }
.paper.tmpl-uni02-archive-folio .p-sum .total{ border-top-color:#A9693D !important; }
.paper.tmpl-uni02-archive-folio .p-note,.paper.tmpl-uni02-archive-folio .p-sig,.paper.tmpl-uni02-archive-folio .p-qr,.paper.tmpl-uni02-archive-folio .p-by{ padding-left:12px; }

/* ---------- uni03-accord (The Accord) ---------- */
.paper.tmpl-uni03-accord{ background:#EDEAE3 !important; font-family:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,"Times New Roman",serif; position:relative; isolation:isolate; overflow:hidden; }
.paper.tmpl-uni03-accord::before{ content:""; position:absolute; top:14px; right:-46px; width:190px; height:34px; z-index:0;
  background:#B96A46 !important; transform:rotate(34deg); box-shadow:0 3px 8px rgba(0,0,0,.18); }
.paper.tmpl-uni03-accord .p-top{ position:relative; z-index:1; }
.paper.tmpl-uni03-accord .p-biz{ font-family:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,"Times New Roman",serif; font-weight:700; }
.paper.tmpl-uni03-accord .pill{ background:#B96A46 !important; color:#fff !important; border-color:#B96A46 !important; }
.paper.tmpl-uni03-accord .p-sum .total{ border-top:2px solid #B96A46; }
.paper.tmpl-uni03-accord .p-sum .total b{ color:#B96A46 !important; }
.paper.tmpl-uni03-accord .p-meta{ background:transparent !important; border-radius:8px; }

/* ---------- uni04-vellum-wave (Vellum Wave) ---------- */
.paper.tmpl-uni04-vellum-wave{ background:#FFFFFF !important; font-family:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif; position:relative; isolation:isolate; padding-top:52px!important; }
.paper.tmpl-uni04-vellum-wave::before{ content:""; position:absolute; top:0; left:0; right:0; height:64px; z-index:0;
  background:linear-gradient(100deg, #E7A97C55, #2A3F6344 55%, transparent 100%) !important; }
.paper.tmpl-uni04-vellum-wave .p-top{ position:relative; z-index:1; }
.paper.tmpl-uni04-vellum-wave .p-biz{ color:#2A3F63 !important; font-weight:800; }
.paper.tmpl-uni04-vellum-wave .pill{ background:#fff !important; color:#2A3F63 !important; border-color:#2A3F6355 !important; }
.paper.tmpl-uni04-vellum-wave .p-sum .total{ border-top-color:#2A3F63 !important; }
.paper.tmpl-uni04-vellum-wave .p-sum .total b{ background:#E7A97C33 !important; padding:2px 8px; border-radius:6px; color:#2A3F63 !important; }

/* ---------- uni05-column-counter (Column & Counter) ---------- */
.paper.tmpl-uni05-column-counter{ background:#F7F3E9 !important; font-family:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif; }
.paper.tmpl-uni05-column-counter .p-biz{ font-family:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif; font-weight:900; letter-spacing:-.01em; font-size:24px; text-transform:uppercase; }
.paper.tmpl-uni05-column-counter .p-top{ border-bottom:3px solid #B4361E; padding-bottom:10px; }
.paper.tmpl-uni05-column-counter .p-meta{ border-top:2px solid #B4361E; border-bottom:2px solid #B4361E; }
.paper.tmpl-uni05-column-counter .p-line{ border-bottom:1px solid #161513; }
.paper.tmpl-uni05-column-counter .p-sum .total{ border-top:3px solid #161513; }
.paper.tmpl-uni05-column-counter .p-sum .total b{ font-size:24px; font-weight:900; }
.paper.tmpl-uni05-column-counter .pill{ border-radius:0; background:transparent !important; border:2px solid #B4361E; color:#B4361E !important; }

/* ---------- uni06-meridian (Meridian) ---------- */
.paper.tmpl-uni06-meridian{ background:#F6F3E9 !important; font-family:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,"Times New Roman",serif; position:relative; }
.paper.tmpl-uni06-meridian::before{ content:""; position:absolute; top:20px; right:24px; width:52px; height:52px; border-radius:50%;
  border:2px solid #C79A4C; box-shadow:0 0 0 6px #F6F3E9, 0 0 0 8px #C79A4C55; }
.paper.tmpl-uni06-meridian .p-biz{ color:#1C6B45 !important; font-weight:700; }
.paper.tmpl-uni06-meridian .p-meta{ background:#1C6B45 !important; border-radius:8px; padding:12px; border:0; }
.paper.tmpl-uni06-meridian .p-meta div span{ color:#fff !important; opacity:.75; }
.paper.tmpl-uni06-meridian .p-meta div b{ color:#fff !important; }
.paper.tmpl-uni06-meridian .p-sum .total{ border-top-color:#C79A4C !important; }
.paper.tmpl-uni06-meridian .p-sum .total b{ color:#1C6B45 !important; }

/* ---------- uni07-modular-common (Modular Common) ---------- */
.paper.tmpl-uni07-modular-common{ background:#FFFFFF !important; font-family:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif; }
.paper.tmpl-uni07-modular-common .p-biz{ font-weight:800; }
.paper.tmpl-uni07-modular-common .p-meta{ display:flex; flex-wrap:wrap; gap:8px; border:0; padding:0; }
.paper.tmpl-uni07-modular-common .p-meta div{ background:#8B7BC722 !important; border-radius:999px; padding:8px 14px; flex:none; }
.paper.tmpl-uni07-modular-common .p-meta div:nth-child(2){ background:#E8927C22 !important; }
.paper.tmpl-uni07-modular-common .p-meta div:nth-child(3){ background:#EAE3F5 !important; }
.paper.tmpl-uni07-modular-common .p-meta div span{ color:#8B7BC7 !important; }
.paper.tmpl-uni07-modular-common .pill{ background:#B4502F !important; color:#fff !important; border-color:#B4502F !important; }
.paper.tmpl-uni07-modular-common .p-sum .total{ border-top-color:#8B7BC7 !important; }

/* ---------- uni08-monolith (Monolith) ---------- */
.paper.tmpl-uni08-monolith{ background:#FFFFFF !important; font-family:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,"Times New Roman",serif; padding:0!important; display:grid; grid-template-columns:120px 1fr; overflow:hidden; }
.paper.tmpl-uni08-monolith > *{ grid-column:2; padding-left:22px; }
.paper.tmpl-uni08-monolith::before{ content:""; grid-column:1; grid-row:1/-1; background:linear-gradient(160deg, #0C0C0E, #C79A4C 140%) !important; }
.paper.tmpl-uni08-monolith .p-top{ padding-top:26px; }
.paper.tmpl-uni08-monolith .p-biz{ font-family:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,"Times New Roman",serif; letter-spacing:.05em; }
.paper.tmpl-uni08-monolith .p-by,.paper.tmpl-uni08-monolith .p-note,.paper.tmpl-uni08-monolith .p-sig,.paper.tmpl-uni08-monolith .p-qr{ padding-right:22px; }
.paper.tmpl-uni08-monolith .p-line{ padding-right:22px; }
.paper.tmpl-uni08-monolith .p-meta{ padding-right:22px; }
.paper.tmpl-uni08-monolith .p-sum{ padding-right:22px; }
.paper.tmpl-uni08-monolith .p-sum .total{ border-top-color:#C79A4C !important; }
.paper.tmpl-uni08-monolith .p-sum .total b{ color:#C79A4C !important; }
.paper.tmpl-uni08-monolith .pill{ background:#C79A4C22 !important; color:#0C0C0E !important; border-color:#C79A4C55 !important; }

/* ---------- uni09-quiet-signal (Quiet Signal) ---------- */
.paper.tmpl-uni09-quiet-signal{ background:#FFFFFF !important; font-family:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,"Times New Roman",serif; }
.paper.tmpl-uni09-quiet-signal .p-top{ border-bottom:none; padding-bottom:14px; }
.paper.tmpl-uni09-quiet-signal .p-top::before{ content:""; display:block; height:2px; width:38px; background:#C7D92C !important; margin-bottom:12px; }
.paper.tmpl-uni09-quiet-signal .p-biz{ font-weight:600; font-size:22px; }
.paper.tmpl-uni09-quiet-signal .pill{ background:transparent !important; border:1px solid #161513; color:#161513 !important; }
.paper.tmpl-uni09-quiet-signal .p-meta{ border-color:#16151322 !important; }
.paper.tmpl-uni09-quiet-signal .p-sum .total{ border-top:2px solid #C7D92C; }

/* ---------- uni10-stone-glass (Stone & Glass) ---------- */
.paper.tmpl-uni10-stone-glass{ background:#FFFFFF !important; font-family:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,"Times New Roman",serif; position:relative; isolation:isolate; overflow:hidden; }
.paper.tmpl-uni10-stone-glass::before{ content:""; position:absolute; top:-30px; right:-30px; width:150px; height:130px; z-index:0;
  background:linear-gradient(135deg, #8FA1B655, transparent 60%), linear-gradient(220deg, #1C345044, transparent 55%) !important;
  clip-path:polygon(30% 0,100% 10%,100% 70%,55% 100%,10% 60%); }
.paper.tmpl-uni10-stone-glass .p-top{ position:relative; z-index:1; }
.paper.tmpl-uni10-stone-glass .p-biz{ color:#1C3450 !important; font-weight:700; }
.paper.tmpl-uni10-stone-glass .p-meta{ background:#F4F6F8 !important; border-radius:10px; padding:12px; border:0; }
.paper.tmpl-uni10-stone-glass .p-sum .total{ border-top-color:#8FA1B6 !important; }

/* ---------- uni11-reference-room (Reference Room) ---------- */
.paper.tmpl-uni11-reference-room{ background:#F8F6EF !important; font-family:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,"Times New Roman",serif; padding-top:0!important; }
.paper.tmpl-uni11-reference-room .p-top{ background:linear-gradient(120deg, #B9B39C, #6B7658) !important; margin:-26px -26px 18px; padding:26px; border-radius:18px 18px 0 0; }
.paper.tmpl-uni11-reference-room .p-biz{ color:#fff !important; }
.paper.tmpl-uni11-reference-room .p-biz span{ color:#EDE7D8!important; }
.paper.tmpl-uni11-reference-room .pill{ background:#fff !important; color:#6B7658 !important; border-color:transparent !important; }
.paper.tmpl-uni11-reference-room .p-sum .total{ border-top-color:#EDE7D8 !important; }

/* ---------- uni12-type-tone (Type Tone) ---------- */
.paper.tmpl-uni12-type-tone{ background:#FFFFFF !important; font-family:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,"Times New Roman",serif; position:relative; padding-left:34px!important; overflow:hidden; }
.paper.tmpl-uni12-type-tone::before{ content:""; position:absolute; top:0; left:0; bottom:0; width:20px; z-index:0;
  background:repeating-linear-gradient(45deg, #C46F3A 0 10px, #3B5580 10px 20px, #EDE7D8 20px 30px) !important; }
.paper.tmpl-uni12-type-tone .p-biz{ font-family:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,"Times New Roman",serif; font-size:26px; letter-spacing:-.01em; font-weight:700; }
.paper.tmpl-uni12-type-tone .p-sum .total{ border-top-color:#C46F3A !important; }
.paper.tmpl-uni12-type-tone .p-sum .total b{ color:#3B5580 !important; }

/* ---------- uni13-seal (Seal) ---------- */
.paper.tmpl-uni13-seal{ background:#FFFFFF !important; font-family:Inter,ui-sans-serif,sans-serif; padding:0!important; }
.paper.tmpl-uni13-seal .p-top{ background:#12203A !important; padding:24px 26px 34px; margin-bottom:16px; position:relative; overflow:hidden; }
.paper.tmpl-uni13-seal .p-top::before{ content:""; position:absolute; right:-20px; bottom:-30px; width:140px; height:80px;
  background:#F16B4E !important; transform:rotate(-18deg); opacity:.9; }
.paper.tmpl-uni13-seal .p-biz{ color:#fff !important; position:relative; z-index:1; }
.paper.tmpl-uni13-seal .p-biz span{ color:#E6EBF2!important; position:relative; z-index:1; }
.paper.tmpl-uni13-seal .pill{ background:#fff !important; color:#12203A !important; border-color:transparent !important; position:relative; z-index:1; }
.paper.tmpl-uni13-seal .p-line,.paper.tmpl-uni13-seal .p-meta,.paper.tmpl-uni13-seal .p-sum,.paper.tmpl-uni13-seal .p-note,.paper.tmpl-uni13-seal .p-sig,.paper.tmpl-uni13-seal .p-qr,.paper.tmpl-uni13-seal .p-by{ padding-left:26px; padding-right:26px; }
.paper.tmpl-uni13-seal .p-sum .total{ border-top-color:#12203A !important; }
.paper.tmpl-uni13-seal .p-sum .total b{ color:#12203A !important; }

/* ---------- uni14-current (Current) ---------- */
.paper.tmpl-uni14-current{ background:#F6F3E9 !important; font-family:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,"Times New Roman",serif; position:relative; }
.paper.tmpl-uni14-current::before{ content:""; position:absolute; top:18px; right:22px; width:66px; height:66px; border-radius:50%;
  border:2px solid #C79A4C; background:repeating-radial-gradient(circle at 50% 50%, #3C4A3433 0 4px, transparent 4px 9px) !important; }
.paper.tmpl-uni14-current .p-biz{ color:#3C4A34 !important; }
.paper.tmpl-uni14-current .p-meta{ border-color:#C79A4C55 !important; }
.paper.tmpl-uni14-current .p-sum .total{ border-top-color:#3C4A34 !important; }

/* ---------- uni15-letterpress (Letterpress) ---------- */
.paper.tmpl-uni15-letterpress{ background:#F6F1E6 !important; font-family:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,"Times New Roman",serif; }
.paper.tmpl-uni15-letterpress .p-top{ text-align:center; flex-direction:column; align-items:center; border-bottom:1px solid #8A7A5A55; padding-bottom:16px; }
.paper.tmpl-uni15-letterpress .p-top::before{ content:""; display:block; width:30px; height:30px; border-radius:50%; border:1.5px solid #8A7A5A;
  margin-bottom:8px; }
.paper.tmpl-uni15-letterpress .p-biz{ font-style:italic; }
.paper.tmpl-uni15-letterpress .pill{ margin-top:8px; background:transparent !important; border:1px solid #8A7A5A; color:#8A7A5A !important; }
.paper.tmpl-uni15-letterpress .p-line{ border-bottom:1px solid #8A7A5A33; }
.paper.tmpl-uni15-letterpress .p-sum .total{ border-top:1px solid #8A7A5A; }

/* ---------- uni16-drawing-board (Drawing Board) ---------- */
.paper.tmpl-uni16-drawing-board{ background:#F5F7FA !important; font-family:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,"Times New Roman",serif; background-image:
    linear-gradient(#8FA8C422 1px, transparent 1px), linear-gradient(90deg, #8FA8C422 1px, transparent 1px);
  background-size:14px 14px; }
.paper.tmpl-uni16-drawing-board .p-biz{ font-family:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif; letter-spacing:.02em; }
.paper.tmpl-uni16-drawing-board .p-meta{ border:1px dashed #8FA8C4; background:#fff !important; }
.paper.tmpl-uni16-drawing-board .pill{ border-radius:4px; background:#4A5568 !important; color:#fff !important; border-color:#4A5568 !important; }
.paper.tmpl-uni16-drawing-board .p-sum .total{ border-top:2px dashed #8FA8C4; }
.paper.tmpl-uni16-drawing-board .p-sum .total b{ color:#4A5568 !important; }

/* ---------- uni17-soft-structure (Soft Structure) ---------- */
.paper.tmpl-uni17-soft-structure{ background:#FBF9F4 !important; font-family:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,"Times New Roman",serif; }
.paper.tmpl-uni17-soft-structure .p-top{ background:#8FA06B22 !important; border-radius:12px; padding:14px 16px; }
.paper.tmpl-uni17-soft-structure .p-meta{ background:#C9B8DE22 !important; border-radius:12px; border:0; padding:14px; }
.paper.tmpl-uni17-soft-structure #pClientWrap{ background:#F4EFE3 !important; border-radius:12px; padding:10px 14px!important; border:0!important; }
.paper.tmpl-uni17-soft-structure .pill{ background:#fff !important; color:#5C6B45 !important; border-color:#8FA06B55 !important; }
.paper.tmpl-uni17-soft-structure .p-sum .total{ border-top-color:#8FA06B !important; }

/* ---------- uni18-orbit (Orbit) ---------- */
.paper.tmpl-uni18-orbit{ background:#FBF8F1 !important; font-family:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,"Times New Roman",serif; position:relative; }
.paper.tmpl-uni18-orbit::before{ content:""; position:absolute; top:16px; right:18px; width:54px; height:54px; border-radius:50%;
  background:linear-gradient(140deg, #E7C9A9, #5B6B45) !important; }
.paper.tmpl-uni18-orbit .p-top{ position:relative; z-index:1; }
.paper.tmpl-uni18-orbit .p-biz{ font-style:italic; color:#5B6B45 !important; }
.paper.tmpl-uni18-orbit .p-meta{ border-radius:12px; }
.paper.tmpl-uni18-orbit .p-sum .total{ border-top-color:#5B6B45 !important; }

/* ---------- uni19-number-theory (Number Theory) ---------- */
.paper.tmpl-uni19-number-theory{ background:#FFFFFF !important; font-family:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif; padding-right:40px!important; position:relative; }
.paper.tmpl-uni19-number-theory::before{ content:"RECEIPT"; position:absolute; top:0; bottom:0; right:0; width:26px; writing-mode:vertical-rl;
  background:#101010 !important; color:#fff !important; display:flex; align-items:center; justify-content:center; letter-spacing:.3em;
  font-size:11px; font-weight:800; }
.paper.tmpl-uni19-number-theory .p-biz{ font-weight:900; text-transform:uppercase; letter-spacing:-.01em; }
.paper.tmpl-uni19-number-theory .pill{ background:#A6234B !important; color:#fff !important; border-radius:2px; border-color:#A6234B !important; }
.paper.tmpl-uni19-number-theory .p-sum .total{ border-top-color:#A6234B !important; }

/* ---------- uni20-canopy (Canopy) ---------- */
.paper.tmpl-uni20-canopy{ background:#FBF8F1 !important; font-family:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,"Times New Roman",serif; padding-top:0!important; }
.paper.tmpl-uni20-canopy .p-top{ background:linear-gradient(100deg, #D8C7A8, #8B5A2B 60%, #D8C7A8) !important; margin:-26px -26px 18px;
  padding:20px 26px; border-radius:18px 18px 0 0; }
.paper.tmpl-uni20-canopy .p-biz{ color:#fff !important; font-weight:700; }
.paper.tmpl-uni20-canopy .p-biz span{ color:#F3E9D8!important; }
.paper.tmpl-uni20-canopy .pill{ background:#fff !important; color:#8B5A2B !important; border-color:transparent !important; }
.paper.tmpl-uni20-canopy .p-sum .total{ border-top-color:#8B5A2B !important; }

/* ---------- uni21-lattice-ledger (Lattice Ledger) ---------- */
.paper.tmpl-uni21-lattice-ledger{ background:#FDFBF5 !important; font-family:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,"Times New Roman",serif; border:3px double #1D3F72!important; }
.paper.tmpl-uni21-lattice-ledger .p-biz{ font-weight:800; }
.paper.tmpl-uni21-lattice-ledger .p-meta{ background:#1D3F72 !important; border:0; border-radius:8px; padding:12px; }
.paper.tmpl-uni21-lattice-ledger .p-meta div span{ color:#DCE4F0 !important; } .paper.tmpl-uni21-lattice-ledger .p-meta div b{ color:#fff !important; }
.paper.tmpl-uni21-lattice-ledger .pill{ background:#DCE4F0 !important; color:#1D3F72 !important; border-color:#DCE4F0 !important; }
.paper.tmpl-uni21-lattice-ledger .p-sum .total{ border-top:3px double #1D3F72; }

/* ---------- uni22-copper-fold (Copper Fold) ---------- */
.paper.tmpl-uni22-copper-fold{ background:#FBF8F1 !important; font-family:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,"Times New Roman",serif; position:relative; overflow:hidden; }
.paper.tmpl-uni22-copper-fold::before,.paper.tmpl-uni22-copper-fold::after{ content:""; position:absolute; width:54px; height:54px;
  background:linear-gradient(135deg, #A8672E, #E7C9A9) !important; }
.paper.tmpl-uni22-copper-fold::before{ top:-27px; left:-27px; transform:rotate(45deg); }
.paper.tmpl-uni22-copper-fold::after{ bottom:-27px; right:-27px; transform:rotate(45deg); }
.paper.tmpl-uni22-copper-fold .p-biz{ font-style:italic; color:#A8672E !important; }
.paper.tmpl-uni22-copper-fold .p-sum .total{ border-top-color:#A8672E !important; }

/* ---------- uni23-vertical-index (Vertical Index) ---------- */
.paper.tmpl-uni23-vertical-index{ background:#FFFFFF !important; font-family:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif; padding:0!important; display:grid; grid-template-columns:14px 1fr; }
.paper.tmpl-uni23-vertical-index > *{ grid-column:2; padding-left:24px; padding-right:24px; }
.paper.tmpl-uni23-vertical-index::before{ content:""; grid-column:1; grid-row:1/-1; background:#1E3FE7 !important; }
.paper.tmpl-uni23-vertical-index .p-top{ padding-top:26px; }
.paper.tmpl-uni23-vertical-index .p-biz{ font-weight:900; text-transform:uppercase; }
.paper.tmpl-uni23-vertical-index .pill{ border-radius:2px; }
.paper.tmpl-uni23-vertical-index .p-sum .total{ border-top-color:#1E3FE7 !important; }
.paper.tmpl-uni23-vertical-index .p-by{ padding-bottom:20px; }

/* ---------- uni24-graphite-ribbon (Graphite Ribbon) ---------- */
.paper.tmpl-uni24-graphite-ribbon{ background:#FFFFFF !important; font-family:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,"Times New Roman",serif; position:relative; isolation:isolate; overflow:hidden; }
.paper.tmpl-uni24-graphite-ribbon::before{ content:""; position:absolute; top:14px; right:-46px; width:190px; height:34px; z-index:0;
  background:#1C1C1E !important; transform:rotate(34deg); box-shadow:0 3px 8px rgba(0,0,0,.18); }
.paper.tmpl-uni24-graphite-ribbon .p-top{ position:relative; z-index:1; }
.paper.tmpl-uni24-graphite-ribbon .p-biz{ font-family:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,"Times New Roman",serif; font-weight:700; }
.paper.tmpl-uni24-graphite-ribbon .pill{ background:#F16B4E !important; color:#fff !important; border-color:#F16B4E !important; }
.paper.tmpl-uni24-graphite-ribbon .p-sum .total{ border-top:2px solid #F16B4E; }
.paper.tmpl-uni24-graphite-ribbon .p-sum .total b{ color:#F16B4E !important; }
.paper.tmpl-uni24-graphite-ribbon .p-meta{ background:#F4F2EE !important; border-radius:8px; }

/* ---------- uni25-open-ledger (Open Ledger) ---------- */
.paper.tmpl-uni25-open-ledger{ background:#FFFFFF !important; font-family:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,"Times New Roman",serif; padding:0!important; display:grid; grid-template-columns:120px 1fr; overflow:hidden; }
.paper.tmpl-uni25-open-ledger > *{ grid-column:2; padding-left:22px; }
.paper.tmpl-uni25-open-ledger::before{ content:""; grid-column:1; grid-row:1/-1; background:linear-gradient(160deg, #0E3B2C, #E4572E 140%) !important; }
.paper.tmpl-uni25-open-ledger .p-top{ padding-top:26px; }
.paper.tmpl-uni25-open-ledger .p-biz{ font-family:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,"Times New Roman",serif; letter-spacing:.05em; }
.paper.tmpl-uni25-open-ledger .p-by,.paper.tmpl-uni25-open-ledger .p-note,.paper.tmpl-uni25-open-ledger .p-sig,.paper.tmpl-uni25-open-ledger .p-qr{ padding-right:22px; }
.paper.tmpl-uni25-open-ledger .p-line{ padding-right:22px; }
.paper.tmpl-uni25-open-ledger .p-meta{ padding-right:22px; }
.paper.tmpl-uni25-open-ledger .p-sum{ padding-right:22px; }
.paper.tmpl-uni25-open-ledger .p-sum .total{ border-top-color:#E4572E !important; }
.paper.tmpl-uni25-open-ledger .p-sum .total b{ color:#E4572E !important; }
.paper.tmpl-uni25-open-ledger .pill{ background:#E4572E22 !important; color:#0E3B2C !important; border-color:#E4572E55 !important; }

/* ---------- uni26-aperture (Aperture) ---------- */
.paper.tmpl-uni26-aperture{ background:#FFFFFF !important; font-family:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif; padding:0!important; }
.paper.tmpl-uni26-aperture .p-top{ background:#1E3FCB !important; padding:22px 26px 30px; margin-bottom:16px; position:relative; }
.paper.tmpl-uni26-aperture::after{ content:""; position:absolute; left:26px; right:26px; top:46px; height:2px; background:#C79A4C !important; opacity:.7; }
.paper.tmpl-uni26-aperture .p-biz{ color:#fff !important; font-weight:700;  }
.paper.tmpl-uni26-aperture .p-biz span{ color:#EAEFF7!important; opacity:.8; }
.paper.tmpl-uni26-aperture .pill{ background:#fff !important; color:#1E3FCB !important; border-color:transparent !important; }
.paper.tmpl-uni26-aperture .p-line,.paper.tmpl-uni26-aperture .p-meta,.paper.tmpl-uni26-aperture .p-sum,.paper.tmpl-uni26-aperture .p-note,.paper.tmpl-uni26-aperture .p-sig,.paper.tmpl-uni26-aperture .p-qr,.paper.tmpl-uni26-aperture .p-by{ padding-left:26px; padding-right:26px; }
.paper.tmpl-uni26-aperture .p-sum .total{ border-top-color:#1E3FCB !important; }
.paper.tmpl-uni26-aperture .p-sum .total b{ color:#1E3FCB !important; }

/* ---------- uni27-registry (Registry) ---------- */
.paper.tmpl-uni27-registry{ background:#FFFDF6 !important; font-family:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,"Times New Roman",serif; padding-top:0!important; padding-right:36px!important; position:relative; }
.paper.tmpl-uni27-registry .p-top{ background:#C9971F44 !important; margin:-26px -26px 18px -26px; padding:20px 26px; }
.paper.tmpl-uni27-registry::before{ content:"RECEIPT"; position:absolute; top:70px; bottom:0; right:6px; writing-mode:vertical-rl;
  color:#C9971F !important; font-weight:900; letter-spacing:.15em; font-size:13px; opacity:.5; }
.paper.tmpl-uni27-registry .p-biz{ font-weight:700; }
.paper.tmpl-uni27-registry .pill{ background:#161513 !important; color:#fff !important; border-color:#161513 !important; }
.paper.tmpl-uni27-registry .p-sum .total{ border-top-color:#C9971F !important; }

/* ---------- uni28-prism (Prism) ---------- */
.paper.tmpl-uni28-prism{ background:#FFFFFF !important; font-family:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif; position:relative; isolation:isolate; overflow:hidden; }
.paper.tmpl-uni28-prism::before{ content:""; position:absolute; top:-30px; right:-30px; width:150px; height:130px; z-index:0;
  background:linear-gradient(135deg, #8C7FD655, transparent 60%), linear-gradient(220deg, #E8927C44, transparent 55%) !important;
  clip-path:polygon(30% 0,100% 10%,100% 70%,55% 100%,10% 60%); }
.paper.tmpl-uni28-prism .p-top{ position:relative; z-index:1; }
.paper.tmpl-uni28-prism .p-biz{ color:#E8927C !important; font-weight:700; }
.paper.tmpl-uni28-prism .p-meta{ background:#F4F6F8 !important; border-radius:10px; padding:12px; border:0; }
.paper.tmpl-uni28-prism .p-sum .total{ border-top-color:#8C7FD6 !important; }

/* ---------- uni29-split-horizon (Split Horizon) ---------- */
.paper.tmpl-uni29-split-horizon{ background:#FFFFFF !important; font-family:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif; padding:0!important; }
.paper.tmpl-uni29-split-horizon .p-top{ background:#C6F135 !important; padding:30px 26px 40px; margin-bottom:16px; position:relative; }
.paper.tmpl-uni29-split-horizon::after{ content:""; position:absolute; left:26px; right:26px; top:54px; height:2px; background:#3E1F63 !important; opacity:.7; }
.paper.tmpl-uni29-split-horizon .p-biz{ color:#1A1B0A !important; font-weight:900; font-size:26px; }
.paper.tmpl-uni29-split-horizon .p-biz span{ color:#3E1F63!important; opacity:1; font-weight:700; }
.paper.tmpl-uni29-split-horizon .pill{ background:#3E1F63 !important; color:#C6F135 !important; border-color:transparent !important; }
.paper.tmpl-uni29-split-horizon .p-line,.paper.tmpl-uni29-split-horizon .p-meta,.paper.tmpl-uni29-split-horizon .p-sum,.paper.tmpl-uni29-split-horizon .p-note,.paper.tmpl-uni29-split-horizon .p-sig,.paper.tmpl-uni29-split-horizon .p-qr,.paper.tmpl-uni29-split-horizon .p-by{ padding-left:26px; padding-right:26px; }
.paper.tmpl-uni29-split-horizon .p-sum .total{ border-top-color:#C6F135 !important; }
.paper.tmpl-uni29-split-horizon .p-sum .total b{ color:#C6F135 !important; }

/* ---------- uni30-contour (Contour) ---------- */
.paper.tmpl-uni30-contour{ background:#FFFDF9 !important; font-family:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,"Times New Roman",serif; position:relative; overflow:hidden; }
.paper.tmpl-uni30-contour::before{ content:""; position:absolute; bottom:-60px; left:-60px; width:180px; height:180px; border-radius:50%;
  border:22px solid #EFA07B; opacity:.5; }
.paper.tmpl-uni30-contour .p-top{ text-align:center; flex-direction:column; align-items:center; }
.paper.tmpl-uni30-contour .p-biz{ font-style:italic; letter-spacing:.02em; }
.paper.tmpl-uni30-contour .p-top::after{ content:""; display:block; width:8px; height:8px; border-radius:50%; background:#EFA07B !important; margin-top:6px; }
.paper.tmpl-uni30-contour .p-sum .total{ border-top-color:#EFA07B !important; }

/* ---------- uni31-axis (Axis) ---------- */
.paper.tmpl-uni31-axis{ background:#F3EEE3 !important; font-family:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,"Times New Roman",serif; position:relative; isolation:isolate; overflow:hidden; }
.paper.tmpl-uni31-axis::before{ content:""; position:absolute; inset:0; z-index:0;
  background:linear-gradient(115deg, transparent 42%, #173F3E33 42%, #173F3E33 60%, transparent 60%) !important; }
.paper.tmpl-uni31-axis .p-top{ position:relative; z-index:1; }
.paper.tmpl-uni31-axis .p-biz{ font-weight:800; }
.paper.tmpl-uni31-axis .p-sum .total{ border-top-color:#B4361E !important; }
.paper.tmpl-uni31-axis .p-sum .total b{ color:#B4361E !important; }
.paper.tmpl-uni31-axis .pill{ background:#B4361E !important; color:#fff !important; border-color:#B4361E !important; }

/* ---------- uni32-postmark (Postmark) ---------- */
.paper.tmpl-uni32-postmark{ background:#F6F0E4 !important; font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; position:relative; }
.paper.tmpl-uni32-postmark::before{ content:""; position:absolute; top:18px; right:22px; width:60px; height:60px; border-radius:50%;
  border:2px solid #A9502E; box-shadow:0 0 0 4px transparent; }
.paper.tmpl-uni32-postmark .p-top{ border-bottom:1px dashed #A9502E; padding-bottom:14px; }
.paper.tmpl-uni32-postmark .p-meta{ border-top:1px dashed #A9502E; border-bottom:1px dashed #A9502E; }
.paper.tmpl-uni32-postmark .p-line{ border-bottom:1px dashed #A9502E66; }
.paper.tmpl-uni32-postmark .p-sum .total{ border-top:1px dashed #A9502E; }
.paper.tmpl-uni32-postmark .pill{ border-radius:4px; border:1px dashed #A9502E; background:transparent !important; color:#A9502E !important; }

/* ---------- uni33-sundial (Sundial) ---------- */
.paper.tmpl-uni33-sundial{ background:#FFFDF7 !important; font-family:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,"Times New Roman",serif; position:relative; overflow:hidden; }
.paper.tmpl-uni33-sundial::before{ content:""; position:absolute; top:-40px; right:-40px; width:140px; height:140px; z-index:0;
  background:repeating-conic-gradient(#D9A32C 0 8deg, transparent 8deg 20deg) !important; border-radius:50%; opacity:.65; }
.paper.tmpl-uni33-sundial .p-top{ position:relative; z-index:1; text-align:center; flex-direction:column; align-items:center; }
.paper.tmpl-uni33-sundial .p-biz{ color:#1B3A5C !important; font-weight:700; }
.paper.tmpl-uni33-sundial .p-sum .total{ border-top-color:#D9A32C !important; }

/* ---------- uni34-keystone (Keystone) ---------- */
.paper.tmpl-uni34-keystone{ background:#F0E6D2 !important; font-family:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,"Times New Roman",serif; padding-top:0!important; }
.paper.tmpl-uni34-keystone .p-top{ background:#6B1E23 !important; color:#E4DCC9 !important; margin:-26px -26px 18px; padding:26px;
  border-radius:0 0 40% 40% / 0 0 22px 22px; text-align:center; flex-direction:column; align-items:center; }
.paper.tmpl-uni34-keystone .p-biz{ color:#E4DCC9 !important; }
.paper.tmpl-uni34-keystone .p-biz span{ color:#E4DCC9!important; opacity:.75; }
.paper.tmpl-uni34-keystone .pill{ background:#E4DCC9 !important; color:#6B1E23 !important; border-color:#E4DCC9 !important; }
.paper.tmpl-uni34-keystone .p-sum .total{ border-top-color:#6B1E23 !important; }

/* ---------- uni35-latitude (Latitude) ---------- */
.paper.tmpl-uni35-latitude{ background:#F8F5EC !important; font-family:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif; }
.paper.tmpl-uni35-latitude .p-top{ border-top:4px solid #D9A32C; border-bottom:1px solid #12314A; padding-top:10px; }
.paper.tmpl-uni35-latitude .p-biz{ font-weight:800; text-transform:lowercase; font-size:26px; }
.paper.tmpl-uni35-latitude .p-sum .total{ border-top:4px solid #D9A32C; background:#12314A22 !important; }
.paper.tmpl-uni35-latitude .pill{ background:#D9A32C !important; color:#12314A !important; border-color:#D9A32C !important; }

/* ---------- uni36-margin-atlas (Margin Atlas) ---------- */
.paper.tmpl-uni36-margin-atlas{ background:#FFFFFF !important; font-family:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,"Times New Roman",serif; padding-left:38px!important; position:relative; }
.paper.tmpl-uni36-margin-atlas::before{ content:""; position:absolute; left:24px; top:0; bottom:0; width:1px; background:#B7C4AE55 !important; }
.paper.tmpl-uni36-margin-atlas .p-biz{ font-weight:700; }
.paper.tmpl-uni36-margin-atlas .pill{ background:#B7C4AE33 !important; color:#161513 !important; border-color:#B7C4AE55 !important; }
.paper.tmpl-uni36-margin-atlas .p-sum .total{ border-top-color:#B7C4AE !important; }

/* ---------- uni37-interlock (Interlock) ---------- */
.paper.tmpl-uni37-interlock{ background:#FFFFFF !important; font-family:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif; position:relative; isolation:isolate; }
.paper.tmpl-uni37-interlock::before{ content:""; position:absolute; top:-46px; right:-36px; width:210px; height:150px; z-index:0;
  background:radial-gradient(circle at 78% 30%, #1B3B8C 0 46px, transparent 47px),
    radial-gradient(circle at 55% 58%, #C79A4C 0 58px, transparent 59px),
    radial-gradient(circle at 28% 18%, #EDE7D8 0 50px, transparent 51px) !important;
  opacity:.9; }
.paper.tmpl-uni37-interlock .p-top{ position:relative; z-index:1; }
.paper.tmpl-uni37-interlock .p-biz{ font-family:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif; font-size:22px; font-weight:700; }
.paper.tmpl-uni37-interlock .pill{ background:#8C6626 !important; color:#fff !important; border-color:#8C6626 !important; }
.paper.tmpl-uni37-interlock .p-meta{ border-color:#1B3B8C33 !important; }
.paper.tmpl-uni37-interlock .p-sum .total{ border-top-color:#1B3B8C !important; }
.paper.tmpl-uni37-interlock .p-sum .total b{ color:#1B3B8C !important; }

/* ---------- uni38-verge (Verge) ---------- */
.paper.tmpl-uni38-verge{ background:#FBF8F1 !important; font-family:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,"Times New Roman",serif; position:relative; overflow:hidden; padding-right:40px!important; }
.paper.tmpl-uni38-verge::before{ content:""; position:absolute; top:0; right:0; bottom:0; width:60px; z-index:0;
  background:#E85B2C !important; clip-path:polygon(60% 0,100% 0,100% 100%,20% 100%); }
.paper.tmpl-uni38-verge .p-biz{ color:#6B1E4A !important; font-weight:800; }
.paper.tmpl-uni38-verge .p-sum .total{ border-top-color:#6B1E4A !important; }

/* ---------- uni39-paper-plane (Paper Plane) ---------- */
.paper.tmpl-uni39-paper-plane{ background:#FFFFFF !important; font-family:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif; position:relative; overflow:hidden; }
.paper.tmpl-uni39-paper-plane::before{ content:""; position:absolute; top:-30px; right:-30px; width:110px; height:110px; z-index:0;
  background:linear-gradient(140deg, #123C5B 50%, #C6F135 50%) !important; clip-path:polygon(30% 0,100% 0,100% 100%);}
.paper.tmpl-uni39-paper-plane .p-biz{ color:#123C5B !important; font-weight:800; text-transform:lowercase; }
.paper.tmpl-uni39-paper-plane .p-sum .total{ border-top-color:#123C5B !important; }

/* ---------- uni40-halo (Halo) ---------- */
.paper.tmpl-uni40-halo{ background:#FFFFFF !important; font-family:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,"Times New Roman",serif; position:relative; overflow:hidden; }
.paper.tmpl-uni40-halo::before,.paper.tmpl-uni40-halo::after{ content:""; position:absolute; border-radius:50%; top:6px; right:24px; }
.paper.tmpl-uni40-halo::before{ width:74px; height:74px; border:2px solid #E8391F88; }
.paper.tmpl-uni40-halo::after{ width:74px; height:74px; border:2px solid #1E3FCB88; top:26px; right:6px; }
.paper.tmpl-uni40-halo .p-top{ text-align:center; flex-direction:column; align-items:center; }
.paper.tmpl-uni40-halo .p-biz{ font-weight:700; }
.paper.tmpl-uni40-halo .p-sum .total{ border-top-color:#E8391F !important; }

/* ---------- uni41-caliper (Caliper) ---------- */
.paper.tmpl-uni41-caliper{ background:#F8F5EC !important; font-family:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif; }
.paper.tmpl-uni41-caliper .p-top{ border-top:4px solid #12314A; border-bottom:1px solid #E0680F; padding-top:10px; }
.paper.tmpl-uni41-caliper .p-biz{ font-weight:800; text-transform:lowercase; font-size:26px; }
.paper.tmpl-uni41-caliper .p-sum .total{ border-top:4px solid #12314A; background:#E0680F22 !important; }
.paper.tmpl-uni41-caliper .pill{ background:#12314A !important; color:#fff !important; border-color:#12314A !important; }

/* ---------- uni42-bookmark (Bookmark) ---------- */
.paper.tmpl-uni42-bookmark{ background:#FFFFFF !important; font-family:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif; position:relative; }
.paper.tmpl-uni42-bookmark::before{ content:""; position:absolute; top:0; right:26px; width:44px; height:26px; background:#0B4033 !important;
  clip-path:polygon(0 0,100% 0,100% 100%,50% 76%,0 100%); }
.paper.tmpl-uni42-bookmark .p-top{ padding-top:8px; }
.paper.tmpl-uni42-bookmark .p-biz{ color:#0B4033 !important; font-weight:700; }
.paper.tmpl-uni42-bookmark .p-sum .total{ border-top-color:#0B4033 !important; }

/* ---------- uni43-concertina (Concertina) ---------- */
.paper.tmpl-uni43-concertina{ background:#FBF8F1 !important; font-family:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,"Times New Roman",serif; padding-top:0!important; }
.paper.tmpl-uni43-concertina .p-top{ background:repeating-linear-gradient(-45deg, #D9A32C 0 8px, #1C6B6B 8px 16px) !important; margin:-26px -26px 18px;
  padding:20px 26px; }
.paper.tmpl-uni43-concertina .p-biz{ color:#fff !important; text-shadow:0 1px 1px rgba(0,0,0,.25); }
.paper.tmpl-uni43-concertina .p-biz span{ color:#FFF3DE!important; }
.paper.tmpl-uni43-concertina .pill{ background:#fff !important; color:#1C6B6B !important; border-color:transparent !important; }
.paper.tmpl-uni43-concertina .p-sum .total{ border-top-color:#D9A32C !important; }

/* ---------- uni44-plainspoken (Plainspoken) ---------- */
.paper.tmpl-uni44-plainspoken{ background:#FFFFFF !important; font-family:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif; }
.paper.tmpl-uni44-plainspoken .p-top{ border-bottom:none; padding-bottom:14px; }
.paper.tmpl-uni44-plainspoken .p-top::before{ content:""; display:block; height:2px; width:38px; background:#EE3E23 !important; margin-bottom:12px; }
.paper.tmpl-uni44-plainspoken .p-biz{ font-weight:600; font-size:22px; }
.paper.tmpl-uni44-plainspoken .pill{ background:transparent !important; border:1px solid #101010; color:#101010 !important; }
.paper.tmpl-uni44-plainspoken .p-meta{ border-color:#10101022 !important; }
.paper.tmpl-uni44-plainspoken .p-sum .total{ border-top:2px solid #EE3E23; }

/* ---------- uni45-relay (Relay) ---------- */
.paper.tmpl-uni45-relay{ background:#FFFFFF !important; font-family:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,"Times New Roman",serif; padding-top:0!important; }
.paper.tmpl-uni45-relay .p-top{ margin:-26px -26px 18px; }
.paper.tmpl-uni45-relay .p-top::before{ content:""; display:block; height:8px; background:#1D3F72 !important; }
.paper.tmpl-uni45-relay .p-top::after{ content:""; display:block; height:8px; background:#B3762C !important; }
.paper.tmpl-uni45-relay .p-top .p-biz-wrap{ padding:16px 26px 12px; }
.paper.tmpl-uni45-relay .p-top .pill{ margin:0 26px 12px auto; }
.paper.tmpl-uni45-relay .p-biz{ letter-spacing:.04em; font-weight:700; }
.paper.tmpl-uni45-relay .p-sum .total{ border-top-color:#B3762C !important; }

/* ---------- uni46-capstone (Capstone) ---------- */
.paper.tmpl-uni46-capstone{ background:#F3EFE6 !important; font-family:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,"Times New Roman",serif; position:relative; overflow:hidden; }
.paper.tmpl-uni46-capstone::before{ content:""; position:absolute; bottom:-60px; left:-60px; width:180px; height:180px; border-radius:50%;
  border:22px solid #3A362E; opacity:.5; }
.paper.tmpl-uni46-capstone .p-top{ text-align:center; flex-direction:column; align-items:center; }
.paper.tmpl-uni46-capstone .p-biz{ font-style:italic; letter-spacing:.02em; }
.paper.tmpl-uni46-capstone .p-top::after{ content:""; display:block; width:8px; height:8px; border-radius:50%; background:#E4DCC9 !important; margin-top:6px; }
.paper.tmpl-uni46-capstone .p-sum .total{ border-top-color:#E4DCC9 !important; }

/* ---------- uni47-folio-tabs (Folio Tabs) ---------- */
.paper.tmpl-uni47-folio-tabs{ background:#FBF8F1 !important; font-family:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,"Times New Roman",serif; position:relative; overflow:visible; margin-top:16px!important; }
.paper.tmpl-uni47-folio-tabs::before{ content:""; position:absolute; top:-12px; left:24px; width:36px; height:16px; background:#B3502A !important;
  border-radius:4px 4px 0 0; }
.paper.tmpl-uni47-folio-tabs::after{ content:""; position:absolute; top:-12px; left:68px; width:36px; height:16px; background:#1C6B6B !important;
  border-radius:4px 4px 0 0; }
.paper.tmpl-uni47-folio-tabs .p-biz{ font-weight:700; }
.paper.tmpl-uni47-folio-tabs .p-top::after{ content:""; position:absolute; top:20px; right:26px; width:22px; height:22px; border-radius:50%;
  background:linear-gradient(90deg, #B3502A 50%, #1C6B6B 50%) !important; }
.paper.tmpl-uni47-folio-tabs .p-sum .total{ border-top-color:#B3502A !important; }

/* ---------- uni48-counterpoint (Counterpoint) ---------- */
.paper.tmpl-uni48-counterpoint{ background:#FFFFFF !important; font-family:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,"Times New Roman",serif; }
.paper.tmpl-uni48-counterpoint .p-top{ border-bottom:none; padding-bottom:14px; }
.paper.tmpl-uni48-counterpoint .p-top::before{ content:""; display:block; height:2px; width:38px; background:#F45B3E !important; margin-bottom:12px; }
.paper.tmpl-uni48-counterpoint .p-biz{ font-weight:600; font-size:22px; }
.paper.tmpl-uni48-counterpoint .pill{ background:transparent !important; border:1px solid #1E3FCB; color:#1E3FCB !important; }
.paper.tmpl-uni48-counterpoint .p-meta{ border-color:#1E3FCB22 !important; }
.paper.tmpl-uni48-counterpoint .p-sum .total{ border-top:2px solid #F45B3E; }

/* ---------- uni49-dovetail (Dovetail) ---------- */
.paper.tmpl-uni49-dovetail{ background:#FFFFFF !important; font-family:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,"Times New Roman",serif; position:relative; overflow:hidden; }
.paper.tmpl-uni49-dovetail::before{ content:""; position:absolute; top:-10px; right:-10px; width:90px; height:90px; z-index:0;
  background:repeating-linear-gradient(45deg, #B3502A 0 8px, transparent 8px 16px),
    repeating-linear-gradient(-45deg, #4D7C4A 0 8px, transparent 8px 16px) !important; opacity:.8; }
.paper.tmpl-uni49-dovetail .p-biz{ font-weight:800; color:#4D7C4A !important; }
.paper.tmpl-uni49-dovetail .p-sum .total{ border-top-color:#4D7C4A !important; }

/* ---------- uni50-afterglow (Afterglow) ---------- */
.paper.tmpl-uni50-afterglow{ background:linear-gradient(160deg, #F3E9EE, #8A6FB033 55%, #EFA07B33) !important; font-family:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,"Times New Roman",serif; }
.paper.tmpl-uni50-afterglow .p-top{ text-align:center; flex-direction:column; align-items:center; border-bottom:1px solid #8A6FB044; padding-bottom:14px; }
.paper.tmpl-uni50-afterglow .p-biz{ font-style:italic; letter-spacing:.02em; }
.paper.tmpl-uni50-afterglow .pill{ background:#fff !important; color:#8A6FB0 !important; border-color:#8A6FB055 !important; }
.paper.tmpl-uni50-afterglow .p-sum .total{ border-top-color:#8A6FB0 !important; }
