/* Make a QR code (the .qm-* rules at the end; everything above them is the invoice page's file, kept whole). Make an invoice (the .nv-* rules at the end; everything above them is the flyer page's file, kept whole). Cover letter — scarletbeast.com/cover-letter/ and /es/carta-de-presentacion/ (app.css of cv/, itself a copy of interview/, good/ and small/, plus the lt- rules at the bottom). Scoped to #sg so the estate chrome is untouched; the page to print uses .sg-paper so the body-level print copy gets the same rules. */
#sg{--bone:#ece6dc;--dim:rgba(236,230,220,.72);--line:rgba(236,230,220,.16);--panel:rgba(255,255,255,.035);--scarlet:#e10100;--gold:#e8be6e;--ok:#7fd49b;
  color:var(--bone);font-size:17px;line-height:1.6;max-width:1080px;margin:0 auto;padding:28px 20px 60px}
#sg *{box-sizing:border-box}
#sg h1{font-family:var(--cond),"Arial Narrow",sans-serif;font-weight:600;font-size:clamp(30px,4.4vw,48px);letter-spacing:.02em;margin:0 0 8px;line-height:1.1}
#sg h2{font-family:var(--cond),"Arial Narrow",sans-serif;font-weight:600;font-size:24px;letter-spacing:.03em;margin:0 0 8px;display:flex;align-items:center;gap:12px}
#sg h3{font-size:17px;margin:16px 0 6px}
#sg p{margin:0 0 12px}
#sg a{color:var(--gold)}
#sg .lede{font-size:19px;color:var(--dim);max-width:760px}
#sg .kick .lang{display:inline-block;white-space:nowrap;margin-left:14px;color:#e8be6e;letter-spacing:.08em;text-decoration:none;border-bottom:1px solid currentColor}
#sg .kick{font-family:var(--cond),"Arial Narrow",sans-serif;letter-spacing:.18em;text-transform:uppercase;font-size:12px;color:var(--scarlet);margin:0 0 8px}
#sg .note{font-size:14.5px;color:var(--dim)}
#sg .box{border:1px solid var(--line);background:var(--panel);border-radius:8px;padding:18px 20px;margin:16px 0}
#sg .box.warn{border-color:rgba(232,190,110,.5)}
#sg .box.crisis{border-color:rgba(225,1,0,.55);background:rgba(225,1,0,.07)}
#sg .box.pad{border-color:rgba(127,212,155,.45);display:flex;flex-wrap:wrap;gap:10px 16px;align-items:center;margin-top:0}
#sg .grid{display:grid;grid-template-columns:230px minmax(0,1fr);gap:28px;margin-top:22px}
#sg .grid>*{min-width:0}
#sg nav.jump{position:sticky;top:90px;align-self:start}
#sg nav.jump ol{list-style:none;padding:0;margin:0}
#sg nav.jump a{display:flex;gap:10px;align-items:center;padding:7px 10px;border-radius:6px;color:var(--dim);font-size:15.5px;text-decoration:none}
#sg nav.jump a:hover{background:rgba(225,1,0,.1);color:var(--bone)}
#sg .n{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:50%;border:1px solid var(--scarlet);color:#fff;background:rgba(225,1,0,.25);font:600 13px/1 var(--cond),"Arial Narrow",sans-serif;flex:none}
#sg nav.jump .n{width:22px;height:22px;font-size:12px;background:none;border-color:var(--line);color:var(--dim)}
#sg .step{border:1px solid var(--line);background:var(--panel);border-radius:10px;padding:22px 22px 12px;margin:0 0 18px;scroll-margin-top:90px}
#sg .step .intro{color:var(--dim)}
#sg .field{margin:0 0 16px}
#sg label.lbl,#sg legend.lbl{display:block;font-weight:600;margin:0 0 5px;padding:0}
#sg .help{display:block;font-size:14px;color:var(--dim);margin:-2px 0 6px}
#sg input[type=text],#sg input[type=tel],#sg textarea{width:100%;background:rgba(0,0,0,.35);border:1px solid rgba(236,230,220,.25);border-radius:6px;color:var(--bone);font:inherit;font-size:16px;padding:10px 12px}
#sg textarea{min-height:88px;resize:vertical}
#sg textarea::placeholder{color:rgba(236,230,220,.4)}
#sg input:focus,#sg textarea:focus{outline:2px solid var(--gold);outline-offset:1px;border-color:transparent}
#sg fieldset.chips{border:0;padding:0;margin:0 0 14px;min-width:0}
#sg .choice{display:flex;flex-wrap:wrap;gap:8px;margin:4px 0 6px}
#sg .choice label{display:inline-flex;gap:7px;align-items:center;font-size:15px;cursor:pointer;border:1px solid var(--line);border-radius:999px;padding:5px 12px 5px 10px;background:rgba(0,0,0,.2)}
#sg .choice label:has(input:checked){border-color:var(--scarlet);background:rgba(225,1,0,.14)}
#sg .choice label:focus-within{outline:2px solid var(--gold);outline-offset:1px}
#sg .choice input{accent-color:var(--scarlet);margin:0}
#sg .row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
#sg .row.two{grid-template-columns:repeat(2,minmax(0,1fr))}
#sg .rep{border:1px dashed var(--line);border-radius:8px;padding:12px 12px 0;margin:0 0 10px;position:relative}
#sg .rep .x{position:absolute;top:6px;right:8px}
#sg .rep .row{padding-right:0}
#sg ul.fixed{margin:0 0 14px;padding-left:20px;color:var(--dim)}
#sg ul.fixed b{color:var(--bone)}
#sg .btn{cursor:pointer;display:inline-flex;align-items:center;gap:8px;padding:10px 18px;border-radius:6px;border:1px solid var(--scarlet);background:var(--scarlet);color:#fff;font:600 14px/1.1 var(--cond),"Arial Narrow",sans-serif;letter-spacing:.12em;text-transform:uppercase}
#sg .btn.ghost{background:transparent;color:var(--bone);border-color:rgba(236,230,220,.35)}
#sg .btn.small{padding:6px 10px;font-size:12px}
#sg .btn:focus-visible,#sg label.btn:focus-within{outline:2px solid var(--gold);outline-offset:2px}
#sg .tools{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0 20px}
#sg .saved{font-size:13px;color:var(--ok);min-height:1.2em;margin:10px 10px 0}
#sg .step.plan{background:transparent;border-color:rgba(225,1,0,.4)}
#sg .facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:10px 0 0}
#sg .facts .box{margin:0}
#sg .facts h3{margin-top:0}
#sg ul.steps{padding-left:22px;margin:0 0 8px}
#sg ul.steps li{margin:0 0 6px}
#sg .tip{font-size:14px;color:var(--dim);margin:-2px 0 14px}
#sg nav.jump{top:180px}#sg .step{scroll-margin-top:180px}
#sg .tog{display:flex;gap:10px;align-items:flex-start;margin:0 0 10px;cursor:pointer}
#sg .tog input{accent-color:var(--scarlet);margin:5px 0 0;flex:none}
#sg .rep{padding:12px 12px 2px}
#sg .rep .field{margin-bottom:10px}
#sg .rep .hd{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0 0 8px;font-weight:600;flex-wrap:wrap}
#sg .rep .hd .acts{display:flex;gap:6px;flex-wrap:wrap}
#sg .rep .x{position:static}
#sg .row.med{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(0,1.2fr)}
#sg fieldset.chips legend.lbl{font-size:15.5px}
#sg h3.out{font-family:var(--cond),"Arial Narrow",sans-serif;font-size:19px;letter-spacing:.04em;margin:22px 0 6px}
/* form, entries, picture */
#sg{color-scheme:dark}
#sg input[type=date],#sg input[type=time],#sg select{background:rgba(0,0,0,.35);border:1px solid rgba(236,230,220,.25);border-radius:6px;color:var(--bone);font:inherit;font-size:16px;padding:10px 12px;max-width:100%;min-height:46px}
#sg select:focus{outline:2px solid var(--gold);outline-offset:1px;border-color:transparent}
#sg .row.when{grid-template-columns:repeat(2,minmax(0,220px))}
#sg .used{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:-6px 0 16px}
#sg .used span{font-size:14px;color:var(--dim)}
#sg .chip{cursor:pointer;border:1px solid var(--line);border-radius:999px;background:rgba(0,0,0,.2);color:var(--bone);font:inherit;font-size:15px;padding:6px 14px;min-height:36px;overflow-wrap:anywhere;text-align:left}
#sg .chip:hover{border-color:var(--gold)}
#sg .chip:focus-visible,#sg .ent button:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
#sg .rate label{min-width:46px;min-height:44px;justify-content:center;padding:5px 12px;font-size:16.5px;font-weight:600}
#sg .rate label.none{font-weight:400;font-size:15px}
#sg .rate input{position:absolute;opacity:0;width:1px;height:1px}
#sg .rate label:has(input:checked){color:#fff}
#sg .editing{border:1px solid var(--gold);border-radius:8px;padding:10px 14px;margin:0 0 14px;color:var(--gold)}
#sg .filters{display:flex;flex-wrap:wrap;gap:12px 18px;margin:0 0 14px}
#sg .filters .field{margin:0;min-width:0}
#sg ul.sum{margin:0 0 14px;padding-left:20px}
#sg ul.sum li{margin:0 0 4px;overflow-wrap:anywhere}
#sg .chart{border:1px solid var(--line);border-radius:10px;background:rgba(0,0,0,.25);padding:12px 12px 6px;margin:0 0 6px}
#sg .chart svg{display:block;width:100%;height:auto}
#sg .chart text{fill:rgba(236,230,220,.72);font:12px Arial,sans-serif}
#sg .day{margin:0 0 16px}
#sg .day h3{font-family:var(--cond),"Arial Narrow",sans-serif;font-size:15px;letter-spacing:.14em;text-transform:uppercase;color:var(--gold);margin:14px 0 8px}
#sg .ent{border:1px solid var(--line);border-radius:10px;background:rgba(0,0,0,.25);padding:12px 14px;margin:0 0 8px;overflow-wrap:anywhere}
#sg .ent .top{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:baseline;margin:0 0 4px}
#sg .ent .nm{font-size:18.5px;font-weight:600}
#sg .ent .tm{color:var(--dim);font-size:15px}
#sg .ent .rt{border:1px solid rgba(232,190,110,.6);border-radius:999px;padding:1px 10px;font-size:14.5px;font-weight:600;color:var(--gold);white-space:nowrap}
#sg .ent dl{margin:0 0 6px;font-size:15.5px}
#sg .ent dt{display:inline;color:var(--dim)}
#sg .ent dd{display:inline;margin:0}
#sg .ent dl div{margin:0 0 2px}
#sg .ent .acts{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0 0}
#sg .empty{border:1px dashed var(--line);border-radius:10px;padding:16px;color:var(--dim)}
#sg .scroll{overflow-x:auto;max-width:100%}
/* paper (class-based: also used by the body-level print copy) */
.sg-paper{background:#fbf8f2;color:#111;border-radius:4px;padding:30px 36px;font:15px/1.45 Georgia,"Times New Roman",serif;box-shadow:0 20px 60px rgba(0,0,0,.5);overflow-wrap:anywhere;margin:0 0 8px}
.sg-paper .top{font:700 14px/1.2 Arial,sans-serif;letter-spacing:.14em;color:#8a0000;margin:0 0 2px}
.sg-paper .who{font:700 27px/1.15 Georgia,serif;margin:0 0 2px;color:#111}
.sg-paper .for{color:#555;font-size:13.5px;margin:0 0 10px}
.sg-paper p{color:#111;margin:0 0 6px}
.sg-paper h3{font:700 13.5px/1.3 Georgia,serif;text-transform:uppercase;letter-spacing:.03em;border-bottom:1px solid #999;padding-bottom:3px;margin:14px 0 6px;color:#111}
.sg-paper table{width:100%;border-collapse:collapse;margin:2px 0 8px;font-size:14px}
.sg-paper th,.sg-paper td{text-align:left;border-bottom:1px solid #ccc;padding:4px 8px 4px 0;color:#111;vertical-align:top}
.sg-paper th{font:700 11px/1.3 Arial,sans-serif;text-transform:uppercase;letter-spacing:.05em;color:#555}
.sg-paper .blank{color:#5f5f5f;font-style:italic}
.sg-paper .fine{font-size:11.5px;color:#555;margin-top:14px}
.sg-paper ul{margin:0 0 8px;padding-left:20px}
.sg-paper li{margin:0 0 3px;color:#111}
.sg-paper td.c{text-align:center;white-space:nowrap}
.sg-paper .lines{border-bottom:1px solid #999;height:26px;margin:0}
.sg-paper.week table{font-size:13px;width:99.5%}
.sg-paper.week th,.sg-paper.week td{border:1px solid #777;padding:5px 6px}
.sg-paper.week td.bx{width:8.5%;height:30px}
.sg-paper.week th.d{text-align:center;width:8.5%}
.sg-paper.week tr.sl th{background:#eee5d6;color:#111;font-size:12px;-webkit-print-color-adjust:exact;print-color-adjust:exact}
.sg-paper.week td.wide{height:34px}
.sg-paper .wk{font-size:15px;margin:6px 0 10px}
@media (max-width:860px){
  #sg .grid{grid-template-columns:minmax(0,1fr)}
  #sg nav.jump{position:static}
  #sg nav.jump ol{display:flex;flex-wrap:wrap;gap:4px;padding-bottom:6px}
  #sg nav.jump li{flex:none}
  #sg nav.jump a{white-space:nowrap}
  #sg .row,#sg .row.two{grid-template-columns:minmax(0,1fr)}
  #sg .step{padding:18px 14px 8px}
  #sg table.hist{font-size:14px}
  #sg .facts{grid-template-columns:minmax(0,1fr)}
  #sg .row.med{grid-template-columns:minmax(0,1fr)}
  #sg .dose{grid-template-columns:minmax(0,1fr)}
  #sg .take{width:100%}
  .sg-paper{padding:18px 14px}
  .sg-paper table{font-size:13px}
  #sg .scroll .sg-paper{min-width:720px}
  #sg .row.when{grid-template-columns:repeat(2,minmax(0,1fr))}
}
#sg-printcopy{display:none}
@media print{
  html.sg-printing,html.sg-printing body{background:#fff!important}
  html.sg-printing body>*:not(#sg-printcopy){display:none!important}
  #sg-printcopy{display:block}
  #sg-printcopy,#sg-printcopy *{visibility:visible!important}
  #sg-printcopy .sg-paper{box-shadow:none;padding:0;background:#fff;font:11pt/1.4 Georgia,"Times New Roman",serif;min-width:0}
  #sg-printcopy .sg-paper table{font-size:10pt}
  #sg-printcopy .sg-paper .who{font-size:20pt}
  #sg-printcopy .sg-paper.week td.bx{height:26pt}
  #sg-printcopy .sg-paper tr{break-inside:avoid}
  @page{margin:0.6in}
}
/* paper trail: kind chips, the to-do line, the still-to-do list */
#sg .kind label{min-height:44px;padding:5px 14px 5px 12px}
#sg .todo-in{border:1px dashed var(--line);border-radius:8px;padding:14px 14px 0;margin:0 0 16px}
#sg .ent .rt{white-space:normal}
#sg .ent .td .due{display:inline-block;border:1px solid var(--line);border-radius:999px;padding:0 9px;font-size:14px;color:var(--gold);margin-left:4px}
#sg .ent .td.is-done dd{color:var(--dim)}
#sg .ent .td.is-done .due{color:var(--ok);border-color:rgba(127,212,155,.5)}
#sg ul.todo{list-style:none;padding:0;margin:0 0 8px}
#sg ul.todo li{display:flex;gap:10px 14px;justify-content:space-between;align-items:center;flex-wrap:wrap;border:1px solid rgba(232,190,110,.45);border-radius:10px;background:rgba(232,190,110,.06);padding:10px 14px;margin:0 0 8px;overflow-wrap:anywhere}
#sg ul.todo li>div{min-width:0;flex:1 1 240px}
#sg ul.todo li.late{border-color:rgba(225,1,0,.6);background:rgba(225,1,0,.07)}
#sg ul.todo .what{font-size:17.5px;font-weight:600;margin:0 0 2px}
#sg ul.todo .meta{font-size:14.5px;color:var(--dim);margin:0}
#sg ul.todo .meta b{color:var(--bone)}
#sg ul.todo button:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
#sg .btn.small{min-height:32px}
.sg-paper td{white-space:pre-line}
#sg .ent dd{white-space:pre-line}
.sg-paper.list table{table-layout:fixed}
.sg-paper.list th:nth-child(1){width:12%}.sg-paper.list th:nth-child(2){width:17%}.sg-paper.list th:nth-child(3){width:12%}.sg-paper.list th:nth-child(4){width:11%}.sg-paper.list th:nth-child(5){width:20%}.sg-paper.list th:nth-child(6){width:13%}.sg-paper.list th:nth-child(7){width:15%}
/* bills: month bar, totals, amounts, the two tables on the sheet */
#sg .mbar{display:flex;flex-wrap:wrap;gap:8px 10px;align-items:center;margin:0 0 10px}
#sg .mbar .mname{font-family:var(--cond),"Arial Narrow",sans-serif;font-size:22px;letter-spacing:.04em;margin:0 6px;min-width:150px;text-align:center}
#sg .mbar .btn.small{min-height:40px;min-width:44px;justify-content:center;font-size:14px}
#sg .tog .help{margin:2px 0 0}
#sg dl.tot{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 10px}
#sg dl.tot>div{border:1px solid var(--line);border-radius:10px;background:rgba(0,0,0,.25);padding:12px 14px;min-width:0}
#sg dl.tot dt{font-size:14.5px;color:var(--dim);margin:0 0 2px}
#sg dl.tot dd{margin:0;font-size:22px;font-weight:600;overflow-wrap:anywhere}
#sg dl.tot dd small{display:block;font-size:13.5px;font-weight:400;color:var(--dim)}
#sg dl.tot .big{border-color:rgba(127,212,155,.55);background:rgba(127,212,155,.07);grid-column:1/-1}
#sg dl.tot .big dd{font-size:30px}
#sg dl.tot .big.short{border-color:rgba(225,1,0,.6);background:rgba(225,1,0,.08)}
#sg dl.tot>div:nth-child(4),#sg dl.tot>div:nth-child(5){grid-column:span 1}
#sg .shortnote{border-left:3px solid var(--scarlet);padding:2px 0 2px 12px;margin:0 0 12px}
#sg .amt{font-weight:600;white-space:nowrap}
#sg ul.todo .what .amt{margin-left:6px;color:var(--gold)}
#sg .ent .tm{margin:0 0 4px}
#sg .ent .rt.ok{color:var(--ok);border-color:rgba(127,212,155,.5)}
#sg .ent.is-done .nm{color:var(--dim)}
.sg-paper.list table{table-layout:fixed}
.sg-paper.list th:nth-child(1){width:13%}.sg-paper.list th:nth-child(2){width:31%}.sg-paper.list th:nth-child(3){width:17%}.sg-paper.list th:nth-child(4){width:12%}.sg-paper.list th:nth-child(5){width:27%}.sg-paper.list th:nth-child(6),.sg-paper.list th:nth-child(7){width:auto}
.sg-paper .r{text-align:right;padding-right:18px;white-space:nowrap}
.sg-paper tfoot th,.sg-paper tfoot td{border-bottom:0;border-top:2px solid #555;font:700 14px/1.3 Georgia,serif;text-transform:none;letter-spacing:0;color:#111}
.sg-paper .cb{display:inline-block;width:14px;height:14px;border:1.5px solid #333;vertical-align:-2px}
.sg-paper.list table.sums{table-layout:auto;width:auto;min-width:60%}
.sg-paper.list table.sums th{width:auto;font:400 14px/1.3 Georgia,serif;text-transform:none;letter-spacing:0;color:#111;padding-right:24px}
.sg-paper table.sums tr.big th,.sg-paper table.sums tr.big td{font-weight:700;font-size:16px}
@media (max-width:860px){
  #sg dl.tot{grid-template-columns:repeat(2,minmax(0,1fr))}
  #sg dl.tot>div:nth-child(1),#sg dl.tot>div:nth-child(2){grid-column:span 1}
  #sg .mbar .mname{min-width:0;font-size:20px}
}
/* where things are: category headings, the checked line, the sheet's four columns */
#sg .cat{margin:0 0 18px}
#sg .cat h3{font-family:var(--cond),"Arial Narrow",sans-serif;font-size:15px;letter-spacing:.14em;text-transform:uppercase;color:var(--gold);margin:18px 0 8px}
#sg .ent .wh{font-size:16.5px;margin:0 0 4px}
#sg .ent .wh b{color:var(--dim);font-weight:400}
#sg .ent .tm.old{color:var(--gold)}
#sg .refuse{border-left:3px solid var(--scarlet);padding:2px 0 2px 12px;color:var(--bone)}
#sg .saved.bad{color:#ffb4a8}
#sg .counts{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px;padding:0;list-style:none}
#sg .counts li{border:1px solid var(--line);border-radius:999px;padding:3px 12px;font-size:14.5px;color:var(--dim)}
#sg .counts li b{color:var(--bone)}
.sg-paper.list th:nth-child(1){width:26%}.sg-paper.list th:nth-child(2){width:34%}.sg-paper.list th:nth-child(3){width:26%}.sg-paper.list th:nth-child(4){width:14%}
.sg-paper .forwho{font-size:15px;margin:0 0 8px}
/* day count: the big number, the next round number, earlier runs, the slip form */
#sg .ent.cnt{padding:16px 18px}
#sg .ent.cnt .nm{font-size:19px}
#sg .bign{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 12px;margin:2px 0 4px;line-height:1}
#sg .bign .num{font-family:var(--cond),"Arial Narrow",sans-serif;font-weight:600;font-size:clamp(56px,13vw,92px);color:#fff;letter-spacing:.01em}
#sg .bign .unit{font-family:var(--cond),"Arial Narrow",sans-serif;font-size:24px;letter-spacing:.12em;text-transform:uppercase;color:var(--gold)}
#sg .bign .word{font-family:var(--cond),"Arial Narrow",sans-serif;font-weight:600;font-size:clamp(34px,8vw,52px);color:#fff;line-height:1.1}
#sg .ent .nx{border-left:3px solid var(--gold);padding:2px 0 2px 12px;margin:8px 0;font-size:16px}
#sg .ent .why{font-size:16.5px;margin:8px 0;color:var(--bone)}
#sg .ent .why b{color:var(--dim);font-weight:400}
#sg dl.rec{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 6px;font-size:15px}
#sg dl.rec>div{border:1px solid var(--line);border-radius:999px;padding:3px 12px;margin:0}
#sg dl.rec dd{font-weight:600}
#sg details.runs{margin:6px 0;font-size:15px}
#sg details.runs summary{cursor:pointer;color:var(--gold);padding:6px 0;min-height:32px}
#sg details.runs summary:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
#sg details.runs ul{margin:4px 0 6px;padding-left:20px;color:var(--dim)}
#sg .slip{border:1px solid rgba(232,190,110,.5);border-radius:8px;padding:14px 14px 2px;margin:12px 0 4px;background:rgba(232,190,110,.05)}
#sg .slip p{margin:0 0 10px}
#sg .slip .tools{margin:4px 0 12px}
#sg .undo{border:1px solid rgba(127,212,155,.45);border-radius:8px;padding:10px 14px;margin:10px 0 4px;display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center}
#sg .undo span{flex:1 1 220px}
.sg-paper.list th:nth-child(1){width:32%}.sg-paper.list th:nth-child(2){width:20%}.sg-paper.list th:nth-child(3){width:16%}.sg-paper.list th:nth-child(4){width:16%}.sg-paper.list th:nth-child(5){width:16%}
.sg-paper.list table.four th:nth-child(1){width:34%}.sg-paper.list table.four th:nth-child(2),.sg-paper.list table.four th:nth-child(3){width:24%}.sg-paper.list table.four th:nth-child(4){width:18%}
/* call script: the words to say, the lists, the lines for a hard moment, what happened */
#sg .ent.call{padding:16px 18px}
#sg .ent.call h3.nm{font-family:var(--cond),"Arial Narrow",sans-serif;font-size:22px;letter-spacing:.03em;color:#fff;margin:0 0 2px;overflow-wrap:anywhere}
#sg .ent.call .tel{font-size:17px;margin:0 0 10px}
#sg .ent.call .tel a{color:var(--gold);font-weight:600}
#sg .ent.call h4{font-family:var(--cond),"Arial Narrow",sans-serif;font-size:14.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--gold);margin:16px 0 6px}
#sg .say{border-left:4px solid var(--scarlet);background:rgba(0,0,0,.28);border-radius:0 10px 10px 0;padding:12px 16px;margin:0 0 6px;font-size:clamp(19px,2.6vw,23px);line-height:1.45;color:#fff;overflow-wrap:anywhere}
#sg .say.vm{font-size:17.5px;border-left-color:var(--gold)}
#sg .ent.call ul,#sg .ent.call ol{margin:0 0 6px;padding-left:22px;font-size:17px;overflow-wrap:anywhere}
#sg .ent.call li{margin:0 0 5px}
#sg details.more{margin:10px 0 4px;border:1px solid var(--line);border-radius:10px;padding:0 14px}
#sg details.more summary{cursor:pointer;color:var(--gold);padding:10px 0;min-height:32px;font-weight:600}
#sg details.more summary:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
#sg details.more ul{padding-left:20px}
#sg ul.log{list-style:none;padding:0}
#sg ul.log li{border:1px solid rgba(127,212,155,.45);border-radius:8px;padding:8px 12px;margin:0 0 6px;white-space:pre-line}
#sg ul.log li b{color:var(--ok)}
#sg ul.log li button{margin-left:8px}
#sg .you{border:1px dashed var(--line);border-radius:8px;padding:14px 14px 0;margin:0 0 18px}
#sg .you h3{font-family:var(--cond),"Arial Narrow",sans-serif;font-size:15px;letter-spacing:.14em;text-transform:uppercase;color:var(--gold);margin:0 0 10px}
.sg-paper .call{margin:0 0 26px;padding:0 0 10px;border-bottom:2px solid #999}
.sg-paper .call:last-of-type{border-bottom:0}
.sg-paper .call h3{font:700 20px/1.25 Georgia,serif;text-transform:none;letter-spacing:0;color:#111;margin:14px 0 2px;overflow-wrap:anywhere}
.sg-paper .call h4{font:700 12px/1.3 Arial,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:#7a0000;margin:14px 0 4px}
.sg-paper .call .num{font:700 16px/1.3 Arial,sans-serif;margin:0 0 4px}
.sg-paper .sayp{border-left:4px solid #8a0000;padding:4px 0 4px 12px;margin:0 0 6px;font-size:18px;line-height:1.45;overflow-wrap:anywhere}
.sg-paper .call ul{margin:0 0 6px;padding-left:20px}
.sg-paper .call ul.chk{list-style:none;padding-left:0}
.sg-paper .call ul.chk .cb{margin-right:8px}
.sg-paper .call li{margin:0 0 4px;overflow-wrap:anywhere}
.sg-paper .ln{display:block;border-bottom:1.5px solid #888;height:24px;margin:0 0 4px}
.sg-paper dl.fill{margin:0}
.sg-paper dl.fill dt{font:700 13px/1.3 Arial,sans-serif;margin:8px 0 0}
.sg-paper dl.fill dd{margin:0;border-bottom:1.5px solid #888;height:26px}
.sg-paper .was{white-space:pre-line}
@media print{
  #sg-printcopy .sg-paper .call{border-bottom:0;break-inside:auto}
  #sg-printcopy .sg-paper .call+.call{break-before:page}
  #sg-printcopy .sg-paper .sayp{font-size:14pt}
  #sg-printcopy .sg-paper .call h4{break-after:avoid}
  #sg-printcopy .sg-paper li,#sg-printcopy .sg-paper dl.fill>div{break-inside:avoid}
  /* keep a full call on one sheet: the eight fixed lines in two columns, the three short answers side by side */
  #sg-printcopy .sg-paper ul.hard{columns:2;column-gap:28pt}
  #sg-printcopy .sg-paper .call h4{margin-top:9px}
  #sg-printcopy .sg-paper dl.fill{display:grid;grid-template-columns:1fr 1fr;column-gap:24pt}
  #sg-printcopy .sg-paper dl.fill>div:nth-child(n+3){grid-column:1/-1}
  #sg-printcopy .sg-paper dl.fill dd{height:24px}
}
.sg-paper .call h3{border-bottom:0;padding-bottom:0}
/* energy budget: the points box, the meter, the item rows, the close-the-day box */
#sg .pts{display:flex;flex-wrap:wrap;gap:10px 16px;align-items:center}
#sg .field input[type=number]{width:120px;min-height:50px;background:rgba(0,0,0,.35);border:1px solid rgba(236,230,220,.25);border-radius:6px;color:var(--bone);font:inherit;font-size:20px;font-weight:600;text-align:center;padding:8px 10px}
#sg .field input[type=number]:focus{outline:2px solid var(--gold);outline-offset:1px;border-color:transparent}
#sg .meter{position:relative;height:22px;border:1px solid var(--line);border-radius:999px;background:rgba(0,0,0,.35);overflow:hidden;margin:10px 0 8px;display:flex}
#sg .meter i{display:block;height:100%}
#sg .meter .u{background:var(--ok,#7fd49b)}
#sg .meter .p{background:var(--gold,#e8be6e)}
#sg .meter .o{background:#ff8a7a}
#sg .sum{font-size:19px;font-weight:600;margin:0 0 4px}
#sg .sum.over{color:#ffb4a8}
#sg .sub{color:var(--dim);font-size:15.5px;margin:0 0 6px}
#sg .key{display:flex;flex-wrap:wrap;gap:4px 16px;font-size:14px;color:var(--dim);margin:0 0 16px;padding:0;list-style:none}
#sg .key i{display:inline-block;width:12px;height:12px;border-radius:3px;margin-right:6px;vertical-align:-1px}
#sg .ent.it{display:grid;grid-template-columns:1fr auto;gap:4px 12px;align-items:start}
#sg .ent.it .nm{margin:0;font-size:18px}
#sg .ent.it .kd{color:var(--dim);font-size:14.5px;margin:0}
#sg .ent.it .rt{align-self:start}
#sg .ent.it .acts{grid-column:1/-1}
#sg .ent.it.is-done .nm{text-decoration:line-through;text-decoration-color:rgba(255,255,255,.35)}
#sg h3.grp{font-family:var(--cond),"Arial Narrow",sans-serif;font-size:15px;letter-spacing:.14em;text-transform:uppercase;color:var(--gold);margin:22px 0 10px}
#sg .close{border:1px solid var(--line);border-radius:10px;padding:14px 16px;margin:22px 0 0;background:rgba(0,0,0,.25)}
#sg .close h3{margin:0 0 6px;font-size:18px}
#sg .close p{margin:0 0 10px}
#sg .stale{border:1px solid var(--gold);border-radius:10px;padding:12px 16px;margin:0 0 16px;color:var(--gold)}
#sg fieldset.kind{border:0;padding:0;margin:0 0 14px;min-width:0}
#sg fieldset.kind legend{padding:0;margin:0 0 6px}
#sg fieldset.kind label{display:flex;gap:10px;align-items:flex-start;padding:8px 0;min-height:36px;cursor:pointer;font-size:16.5px}
#sg fieldset.kind input{width:20px;height:20px;margin:3px 0 0;flex:none;accent-color:#e8be6e}
.sg-paper td.pt,.sg-paper th.pt{text-align:right;white-space:nowrap;padding-right:14px}
.sg-paper td.cbx{width:30px}
.sg-paper .cb{display:inline-block;width:14px;height:14px;border:1.5px solid #333;vertical-align:-2px;text-align:center;font:700 12px/13px Arial,sans-serif}
.sg-paper table.sums{width:auto;min-width:55%}
.sg-paper table.sums th{font:400 14px/1.3 Georgia,serif;text-transform:none;letter-spacing:0;color:#111;padding-right:24px}
.sg-paper table.sums tr.big th,.sg-paper table.sums tr.big td{font-weight:700;font-size:16px}
.sg-paper .sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
#sg #sg-form h3{font-family:var(--cond),"Arial Narrow",sans-serif;font-size:15px;letter-spacing:.14em;text-transform:uppercase;color:var(--gold);margin:0 0 10px}
#sg .you{padding-bottom:6px}
.sg-paper table.plan td.cbx,.sg-paper table.plan th.cbx{width:30px}
.sg-paper table.plan th.pt,.sg-paper table.past th.pt{width:1%}
/* this sheet's tables are narrow: let the paper fit a phone instead of scrolling sideways */
#sg .scroll .sg-paper{min-width:0}
@media (max-width:600px){.sg-paper{padding:20px 16px}.sg-paper .who{font-size:22px}.sg-paper table.sums{min-width:100%}}
#sg .field input[type=number]{font-family:Arial,Helvetica,sans-serif}
/* a short word in a narrow column ("Demasiado") stays whole */
.sg-paper table.past td,.sg-paper table.past th{overflow-wrap:normal}
@media (max-width:600px){.sg-paper table.past{font-size:13px}.sg-paper table.past th,.sg-paper table.past td{padding-right:4px}.sg-paper table.past td.pt,.sg-paper table.past th.pt{padding-right:8px}.sg-paper table.past th{letter-spacing:0}}

/* name the feeling: wheel, family and word chips, the sentence card, the large view */
#sg .find{display:grid;grid-template-columns:minmax(0,300px) minmax(0,1fr);gap:22px;align-items:start;margin:0 0 6px}
#sg .wheel svg{display:block;width:100%;height:auto;max-width:320px;margin:0 auto}
#sg .wheel .seg{cursor:pointer}
#sg .wheel .seg path{fill-opacity:.2;stroke-width:1.5;stroke-opacity:.85;transition:fill-opacity .15s}
#sg .wheel .seg:hover path{fill-opacity:.36}
#sg .wheel .seg.on path{fill-opacity:.62;stroke-width:3}
#sg .wheel .seg.dim path{fill-opacity:.05;stroke-opacity:.35}
#sg .wheel .seg.dim text{fill:rgba(236,230,220,.5)}
#sg .wheel text{fill:#fff;font:600 13.5px Arial,sans-serif;pointer-events:none}
#sg .wheel text.mid{font:600 17px var(--cond),"Arial Narrow",sans-serif;letter-spacing:.06em;fill:var(--gold)}
#sg .choice label{min-height:40px}
#sg .fams,#sg .words{display:flex;flex-wrap:wrap;gap:8px;margin:4px 0 12px}
#sg .chip{min-height:44px;border-left:5px solid var(--fc,rgba(236,230,220,.35))}
#sg .chip.fam{font-weight:600}
#sg .chip[aria-pressed=true]{border-color:var(--fc,#ece6dc);background:rgba(255,255,255,.14);color:#fff;box-shadow:inset 0 0 0 1px var(--fc,#ece6dc)}
#sg .chip.fit{background:rgba(232,190,110,.1)}
#sg .chip.fit::after{content:" \2713";color:var(--gold)}
#sg .vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
#sg .famrow{margin:10px 0 2px}
#sg .famname{font-family:var(--cond),"Arial Narrow",sans-serif;letter-spacing:.14em;text-transform:uppercase;font-size:14px;border-left:5px solid var(--fc);padding-left:8px}
#sg .ownrow{display:flex;gap:10px;flex-wrap:wrap}
#sg .ownrow input{flex:1 1 220px;width:auto;min-width:0;min-height:44px}
#sg .pk{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0 0 8px}
#sg .pk>span{color:var(--dim)}
#sg .card{border:1px solid rgba(232,190,110,.55);border-radius:12px;background:rgba(232,190,110,.06);padding:20px 22px 10px;margin:0 0 6px;overflow-wrap:anywhere}
#sg .card p{font-size:18px}
#sg .card p.first{font-family:Georgia,"Times New Roman",serif;font-size:clamp(22px,3.2vw,30px);line-height:1.3;color:#fff}
#sg .ent p{margin:0 0 4px}
#sg .ent p.nm{font-size:17.5px}
#sg ul.top{columns:2;column-gap:28px}
#sg [hidden]{display:none!important}
.sg-paper td.w{width:30%}
html.sg-bigopen{overflow:hidden}
#sg-big{position:fixed;inset:0;z-index:2147483600;background:#0b0907;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;padding:28px 22px;overflow:auto}
#sg-big .in{max-width:900px;text-align:center;overflow-wrap:anywhere}
#sg-big p{font:20px/1.4 Arial,sans-serif;color:#ece6dc;margin:0 0 14px}
#sg-big p.first{font:600 clamp(30px,6.5vw,60px)/1.2 Georgia,"Times New Roman",serif;color:#fff;margin:0 0 22px}
#sg-big .x{cursor:pointer;min-height:48px;padding:12px 26px;border-radius:6px;border:1px solid rgba(236,230,220,.5);background:transparent;color:#fff;font:600 15px/1.1 Arial,sans-serif;letter-spacing:.12em;text-transform:uppercase}
#sg-big .x:focus-visible{outline:2px solid #e8be6e;outline-offset:2px}
@media (max-width:860px){
  #sg .find{grid-template-columns:minmax(0,1fr)}
  #sg ul.top{columns:1}
}
@media (prefers-reduced-motion:reduce){#sg .wheel .seg path{transition:none}}
@media print{#sg-big{display:none}}
/* small things: a typed name can be one long word, and it is repeated in the status lines and the question box */
#sg .saved,#sg h3.out,#sg .slip{overflow-wrap:anywhere;min-width:0}
#sg .ent.it{grid-template-columns:minmax(0,1fr) auto}
#sg .ent .nt{font-style:italic}
#sg select{min-height:46px}
.sg-paper table.plan,.sg-paper table.past{table-layout:fixed}
.sg-paper.list table.plan th:nth-child(1){width:9%}.sg-paper.list table.plan th:nth-child(2){width:45%}.sg-paper.list table.plan th:nth-child(3){width:24%}.sg-paper.list table.plan th:nth-child(4){width:22%}
.sg-paper.list table.past th:nth-child(1){width:50%}.sg-paper.list table.past th:nth-child(2){width:28%}.sg-paper.list table.past th:nth-child(3){width:22%}
.sg-paper table.plan td{height:30px}
@media (max-width:600px){
  #sg .ent.it{grid-template-columns:minmax(0,1fr)}
  #sg .ent.it .rt{justify-self:start}
  #sg .ent.it>span:empty{display:none}
}
/* good things */
#sg .gt-pair{border-left:3px solid rgba(232,190,110,.55);padding:2px 0 2px 14px;margin:0 0 16px}
#sg .gt-pair .field{margin:0 0 8px}
#sg .gt-pair .field.why .lbl{font-size:15px;font-weight:400;color:var(--dim)}
#sg .gt-big{font-size:26px;line-height:1.3;font-weight:600;margin:0 0 10px;overflow-wrap:anywhere}
#sg .gt-big:focus{outline:none}
#sg .gt-list{margin:4px 0 0;padding-left:22px}
#sg .gt-list li{margin:0 0 6px}
#sg .gt-list .nm{display:block;font-size:18px}
#sg .gt-list .kd{display:block}
#sg #sg-hints{margin:22px 0 0}
.sg-paper.gt td:first-child{white-space:nowrap;width:16%}
.sg-paper.gt td{overflow-wrap:anywhere}
@media(max-width:600px){#sg .gt-big{font-size:22px}}
#sg .gt-hints{margin:8px 0 10px;padding-left:22px;color:var(--dim)}
#sg .gt-hints li{margin:0 0 4px}
/* interview practice */
#sg #sg-app .btn{min-height:46px}
#sg #sg-app .btn.small{min-height:44px}
#sg select{max-width:100%;width:100%}
#sg .iv-hint{border-left:3px solid rgba(232,190,110,.55);padding:2px 0 2px 12px;margin:0 0 14px;color:var(--dim)}
#sg .iv-card{padding:18px 18px 6px}
#sg .iv-clock{margin:0 0 12px;display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
#sg .iv-clock #sg-clock{font:600 34px/1 Georgia,"Times New Roman",serif;color:#fff;font-variant-numeric:tabular-nums}
#sg .iv-notes{border:1px dashed rgba(236,230,220,.35);border-radius:6px;padding:10px 12px 2px;margin:0 0 12px;overflow-wrap:anywhere}
#sg .iv-notes p{margin:0 0 8px}
#sg .btn[aria-pressed=true]{background:rgba(232,190,110,.16);border-color:#e8be6e;color:#fff}
#sg .btn[data-act=ready][aria-pressed=true]::before{content:"\2713";color:#e8be6e}
#sg fieldset.iv-asks{border:0;padding:0;margin:0 0 10px;min-width:0}
#sg .iv-ask{display:flex;gap:12px;align-items:flex-start;min-height:44px;padding:9px 12px;margin:0 0 6px;border:1px solid var(--line);border-radius:8px;cursor:pointer;overflow-wrap:anywhere}
#sg .iv-ask input{width:22px;height:22px;margin:1px 0 0;flex:0 0 22px;accent-color:#e8be6e}
#sg .iv-ask:focus-within{outline:2px solid var(--gold);outline-offset:2px}
#sg .iv-ask:has(input:checked){border-color:#e8be6e;background:rgba(232,190,110,.08)}
#sg .iv-n{white-space:normal;overflow-wrap:anywhere}
.sg-paper.iv .iv-day{font-size:13.5px;margin:0 0 4px}
.sg-paper.iv .iv-qa{margin:0 0 10px;break-inside:avoid}
.sg-paper.iv .iv-pq{font-weight:700;margin:0 0 2px}
.sg-paper.iv .iv-pa{margin:0 0 0 14px;overflow-wrap:anywhere}
.sg-paper.iv .iv-pk{margin:0 0 8px}
#sg .iv-full{font:600 20px/1.35 Georgia,"Times New Roman",serif;color:#fff;margin:10px 0 0;overflow-wrap:anywhere}
/* resume builder */
#sg .cv-two{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}
@media (max-width:600px){#sg .cv-two{grid-template-columns:1fr}}
#sg .cv-words{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}
#sg .cv-words .lbl{flex:0 0 100%;margin:0}
#sg .cv-lh{font:600 17px/1.3 Georgia,"Times New Roman",serif;color:#fff;margin:22px 0 10px}
#sg .cv-n{white-space:normal;overflow-wrap:anywhere}
#sg #sg-print-sheet{margin:0 0 16px}
.sg-paper.cv{font:15px/1.45 Georgia,"Times New Roman",serif;background:#fff}
.sg-paper.cv .who{text-align:center;font-size:28px;margin:0 0 4px}
.sg-paper.cv .cv-c{text-align:center;color:#222;font-size:14px;margin:0 0 6px;overflow-wrap:anywhere}
.sg-paper.cv h3{margin:16px 0 7px}
.sg-paper.cv .cv-job{margin:0 0 10px;break-inside:avoid}
.sg-paper.cv .cv-jh{display:flex;justify-content:space-between;gap:6px 18px;flex-wrap:wrap;margin:0 0 3px}
.sg-paper.cv .cv-when{color:#333;white-space:nowrap}
.sg-paper.cv .cv-sk{columns:2;column-gap:28px}
.sg-paper.cv .cv-sk li{break-inside:avoid}
.sg-paper.cv .cv-l{margin:0 0 3px}
@media (max-width:600px){.sg-paper.cv .cv-sk{columns:1}}
@media print{#sg-printcopy .sg-paper.cv .cv-sk{columns:2}}
#sg .cv-words .btn{text-transform:none;letter-spacing:0;font-weight:600}
.sg-paper.cv .cv-job ul{margin:2px 0 0}
.sg-paper.cv .cv-jh{margin:0}

/* cover letter */
#sg .lt-res{margin:0 0 18px;padding:14px 16px;border:1px dashed rgba(232,190,110,.55);border-radius:10px}
#sg .lt-res .help{margin:8px 0 0}
#sg .lt-today{margin:-8px 0 16px}
#sg .cv-words{margin:10px 0 0}
#sg #sg-count{margin:6px 0 14px}
.sg-paper.lt{font:15.5px/1.55 Georgia,"Times New Roman",serif;background:#fff;padding:40px 46px}
.sg-paper.lt .who{font-size:24px;margin:0 0 2px}
.sg-paper.lt .lt-c{color:#222;font-size:14px;margin:0 0 22px;padding-bottom:10px;border-bottom:1px solid #999;overflow-wrap:anywhere}
.sg-paper.lt .lt-d{margin:0 0 18px}
.sg-paper.lt .lt-to{margin:0 0 18px}
.sg-paper.lt .lt-g{margin:0 0 12px}
.sg-paper.lt .lt-p{margin:0 0 12px}
.sg-paper.lt .lt-s{margin:22px 0 26px}
.sg-paper.lt .lt-n{margin:0}
@media (max-width:600px){.sg-paper.lt{padding:22px 18px}.sg-paper.lt .who{font-size:21px}}
@media print{#sg-printcopy .sg-paper.lt{font:12pt/1.5 Georgia,"Times New Roman",serif}#sg-printcopy .sg-paper.lt .who{font-size:17pt}#sg-printcopy .sg-paper.lt .lt-p{break-inside:avoid}}

/* money plan */
#sg .bd-row{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1.2fr);gap:0 16px}
#sg .bd-row.four{grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1.2fr) minmax(0,1.3fr)}
@media (max-width:860px){#sg .bd-row,#sg .bd-row.four{grid-template-columns:minmax(0,1fr)}}
#sg .bd-row select,#sg .bd-row input{width:100%}
#sg .bd-sub{font:600 17px/1.3 Georgia,"Times New Roman",serif;color:#fff;margin:22px 0 10px}
#sg .bd-none{color:var(--dim);font-style:italic;margin:0 0 14px}
#sg .bd-sum{font-size:18px;margin:4px 0 16px}
#sg .bd-sum b{color:#fff}
#sg ul.todo li>.acts{display:flex;gap:8px;flex-wrap:wrap;flex:0 0 auto}
#sg ul.todo .acts .btn.small{min-height:44px}
#sg .bd-bar{display:flex;height:34px;border-radius:8px;overflow:hidden;border:1px solid var(--line);margin:0 0 8px;background:rgba(0,0,0,.3)}
#sg .bd-bar span{display:block;height:100%;min-width:0}
#sg .bd-bar .a{background:#b3261e}
#sg .bd-bar .b{background:#c79a3e}
#sg .bd-bar .c{background:#3f9b63}
#sg .bd-bar .d{background:repeating-linear-gradient(45deg,#b3261e 0 6px,#3a0a08 6px 12px)}
#sg .bd-key{display:flex;flex-wrap:wrap;gap:6px 18px;list-style:none;padding:0;margin:0 0 16px;font-size:14.5px;color:var(--dim)}
#sg .bd-key i{display:inline-block;width:12px;height:12px;border-radius:3px;margin-right:6px;vertical-align:-1px}
#sg .bd-key .a{background:#b3261e}#sg .bd-key .b{background:#c79a3e}#sg .bd-key .c{background:#3f9b63}
#sg .bd-key .d{background:repeating-linear-gradient(45deg,#b3261e 0 3px,#3a0a08 3px 6px)}
#sg .cv-words{margin:0 0 16px}
.sg-paper.bd{background:#fff}
.sg-paper.bd .who{font-size:24px;margin:0 0 10px}
.sg-paper.bd table{table-layout:fixed}
.sg-paper.bd th:nth-child(1){width:40%}.sg-paper.bd th:nth-child(2){width:18%}.sg-paper.bd th:nth-child(3){width:22%}.sg-paper.bd th:nth-child(4){width:20%}
.sg-paper.bd td.r,.sg-paper.bd th.r{text-align:right;padding-right:6px;white-space:nowrap}
.sg-paper.bd table.sums{table-layout:auto;width:auto;min-width:62%;margin-top:14px}
.sg-paper.bd table.sums th{width:auto;font:400 14px/1.3 Georgia,serif;text-transform:none;letter-spacing:0;color:#111;padding-right:24px}
@media (max-width:600px){
  .sg-paper.bd table{font-size:12px}
  .sg-paper.bd th:nth-child(1){width:29%}.sg-paper.bd th:nth-child(2){width:23%}.sg-paper.bd th:nth-child(3){width:22%}.sg-paper.bd th:nth-child(4){width:26%}
  .sg-paper.bd thead th{font-size:9.5px;letter-spacing:0;overflow-wrap:normal}
  .sg-paper.bd tfoot th,.sg-paper.bd tfoot td{font-size:12.5px}
  .sg-paper.bd td.r,.sg-paper.bd th.r{padding-right:2px}
  .sg-paper.bd td:nth-child(2),.sg-paper.bd thead th:nth-child(2){padding-right:8px}
  .sg-paper.bd table.sums{min-width:80%}
}
#sg .bd-row .help{margin:4px 0 0}
@media print{#sg-printcopy .sg-paper.bd .who{font-size:17pt}}

/* debt payoff planner */
#sg .pf-grow{color:#ffb4a8;font-size:14.5px;margin:4px 0 0}
#sg .pf-total input{width:100%;max-width:280px}
#sg fieldset.pf-order-pick{border:1px solid var(--line);border-radius:10px;padding:12px 14px 6px;margin:18px 0 0;min-width:0}
#sg fieldset.pf-order-pick legend{padding:0 6px}
#sg .pf-radio{display:flex;align-items:center;gap:10px;min-height:44px;font-size:17px;color:#fff;cursor:pointer}
#sg .pf-radio input{width:22px;height:22px;flex:0 0 auto;accent-color:#e10100}
#sg ol.pf-order{margin:0 0 16px;padding-left:24px}
#sg ol.pf-order li{margin:0 0 6px}
#sg ul.pf-links{margin:0 0 16px;padding-left:20px}
#sg ul.pf-links li{margin:0 0 6px}
#sg .pf-scroll{overflow-x:auto;margin:0 0 10px}
#sg #sg-plan table.pf-cmp{width:100%;border-collapse:collapse;font-size:15.5px;min-width:0}
#sg #sg-plan table.pf-cmp caption{caption-side:top;text-align:left;color:var(--dim);font-size:14.5px;padding:0 0 8px}
#sg #sg-plan table.pf-cmp th,#sg #sg-plan table.pf-cmp td{border-bottom:1px solid var(--line);padding:9px 8px 9px 0;text-align:left;vertical-align:top;font-weight:400}
#sg #sg-plan table.pf-cmp thead th{font-size:13px;text-transform:uppercase;letter-spacing:.04em;color:var(--dim)}
#sg #sg-plan table.pf-cmp .r{text-align:right;padding-right:0;white-space:nowrap}
#sg #sg-plan table.pf-cmp tr.on th,#sg #sg-plan table.pf-cmp tr.on td{color:#fff;font-weight:600}
#sg #sg-plan table.pf-cmp small{display:block;font-weight:400;color:var(--dim);font-size:13px}
@media (max-width:600px){#sg #sg-plan table.pf-cmp{font-size:13.5px}#sg #sg-plan table.pf-cmp thead th{font-size:10.5px;letter-spacing:0}#sg #sg-plan table.pf-cmp th,#sg #sg-plan table.pf-cmp td{padding-right:6px}}
.sg-paper.pf table{table-layout:auto}
.sg-paper.pf table th:nth-child(n){width:auto}
.sg-paper.pf .pf-sub{margin:0 0 10px}
.sg-paper.pf caption{caption-side:top;text-align:left;font-size:12.5px;color:#444;padding:0 0 4px}
.sg-paper.pf table.pf-cmp small{font-weight:400;color:#555}
.sg-paper.pf table.pf-cmp tbody th{font:400 14px/1.3 Georgia,serif;text-transform:none;letter-spacing:0;color:#111;text-align:left}
.sg-paper.pf table.pf-cmp tr.on th,.sg-paper.pf table.pf-cmp tr.on td{font-weight:700}
.sg-paper.pf .pf-line{margin:4px 0;font-size:13.5px}
@media (max-width:600px){.sg-paper.pf table{font-size:11.5px}.sg-paper.pf table.pf-cmp tbody th{font-size:11.5px}.sg-paper.pf .pf-line{font-size:12.5px}}
@media print{#sg-printcopy .sg-paper.pf .pf-line{font-size:10pt}}
@media (max-width:700px){#sg .scroll .sg-paper.pf{min-width:640px}.sg-paper.pf table{font-size:13px}}

/* unit price */
#sg .up-row{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1.7fr);gap:0 16px;align-items:end}
#sg .up-row select,#sg .up-row input{width:100%}
#sg .up-row .field{margin:0 0 10px}
@media (max-width:860px){#sg .up-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}#sg .up-row .up-name{grid-column:1/-1}}
#sg #sg-row-h{margin:0 0 14px}
#sg .up-g{margin:0 0 26px}
#sg .up-show{max-width:320px}
#sg ol.up-rank{list-style:none;padding:0;margin:0 0 12px}
#sg ol.up-rank li{border:1px solid var(--line);border-radius:10px;background:rgba(0,0,0,.25);padding:12px 14px;margin:0 0 8px;overflow-wrap:anywhere}
#sg ol.up-rank li.low{border-color:rgba(127,212,155,.6);background:rgba(127,212,155,.07)}
#sg .up-h{display:flex;justify-content:space-between;align-items:flex-start;gap:8px 18px;flex-wrap:wrap}
#sg .up-h>div{min-width:0;flex:1 1 180px}
#sg ol.up-rank .what{font-size:17.5px;font-weight:600;margin:0 0 2px;color:#fff}
#sg ol.up-rank .meta{font-size:14.5px;color:var(--dim);margin:0}
#sg .up-u{font-size:26px;font-weight:600;color:#fff;margin:0;text-align:right;white-space:nowrap}
#sg .up-u small{display:block;font-size:13.5px;font-weight:400;color:var(--dim);white-space:normal}
#sg .up-tag{display:inline-block;font:700 12px/1.3 Arial,sans-serif;letter-spacing:.06em;text-transform:uppercase;color:#9be0b4;margin:8px 0 0}
#sg .up-bar{height:12px;border-radius:6px;background:rgba(255,255,255,.08);margin:10px 0 0;overflow:hidden}
#sg .up-bar span{display:block;height:100%;background:#c79a3e;border-radius:6px}
#sg li.low .up-bar span{background:#3f9b63}
#sg .up-line{font-size:15.5px;color:var(--bone);margin:0 0 8px}
.sg-paper.up .who{margin:0 0 10px}
.sg-paper.up table.up-t{margin:0 0 8px}
.sg-paper.up table.up-t caption{font:700 12.5px Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#8a0000;padding:10px 0 4px}
.sg-paper.up table.up-t tr.on td{font-weight:700}
@media (max-width:600px){#sg .up-u{font-size:22px}}
#sg .hw-row{grid-template-columns:repeat(3,minmax(0,1fr))}
#sg .hw-row .up-name{grid-column:span 2}
#sg .hw-prow{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,2fr)}
#sg .hw-set{grid-template-columns:minmax(0,1fr) minmax(0,1fr);max-width:640px}
#sg .hw-row input[type=date],#sg .hw-row input[type=time],#sg .hw-prow input[type=date]{width:100%;min-width:0;color-scheme:dark}
#sg .hw-row .lbl,#sg .hw-prow .lbl,#sg .hw-set .lbl{display:block}
@media (max-width:860px){#sg .hw-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}#sg .hw-row .field:first-child,#sg .hw-row .up-name{grid-column:1/-1}}
@media (max-width:860px){#sg .hw-prow{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}#sg .hw-prow .up-name{grid-column:1/-1}}
@media (max-width:480px){#sg .hw-set{grid-template-columns:minmax(0,1fr)}}
#sg .hw-h{font-weight:600;color:#e8be6e;margin-left:8px;white-space:nowrap}
#sg ol.up-rank li.hw-over{border-color:rgba(232,190,110,.6);background:rgba(232,190,110,.06)}
#sg .up-tag.hw-otag{color:#f0cf8a}
#sg .hw-bar{display:flex}
#sg .hw-bar span{background:#3f9b63;border-radius:6px 0 0 6px}
#sg .hw-bar span.hw-o{background:#e8be6e;border-radius:0 6px 6px 0}
#sg ul.hw-days{list-style:none;padding:0;margin:12px 0 4px}
#sg ol.up-rank ul.hw-days li{display:grid;grid-template-columns:minmax(0,9.5em) minmax(0,1fr) auto;gap:2px 14px;border:0;border-top:1px solid var(--line);border-radius:0;background:none;padding:8px 0;margin:0;font-size:15.5px}
#sg .hw-d{color:#fff}
#sg .hw-m{color:var(--dim)}
#sg .hw-m small{font-size:13.5px}
#sg .hw-x{color:#fff;font-weight:600;white-space:nowrap;text-align:right}
@media (max-width:600px){#sg ol.up-rank ul.hw-days li{grid-template-columns:minmax(0,1fr) auto}#sg .hw-m{grid-column:1/-1;grid-row:2}}
#sg dl.hw-tot{margin:0 0 14px}
#sg dl.hw-tot div{display:flex;justify-content:space-between;gap:10px 18px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding:9px 0}
#sg dl.hw-tot dt{color:var(--bone)}
#sg dl.hw-tot dd{margin:0;color:#fff;font-weight:600}
.sg-paper.up .hw-who{margin:0 0 6px;white-space:pre-wrap}
.sg-paper.up table.hw-t td,.sg-paper.up table.hw-t th{font-size:13px}
#sg blockquote.hw-q{margin:0 0 12px;padding:2px 0 2px 14px;border-left:3px solid var(--gold);color:var(--bone)}
#sg blockquote.hw-q p{margin:0 0 4px}
#sg blockquote.hw-q cite{font-style:normal;font-size:14px;color:var(--dim)}
#sg .sp-prow{grid-template-columns:minmax(0,1fr);max-width:420px}
#sg .sp-row{grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1.3fr)}
#sg .sp-row .lbl,#sg .sp-prow .lbl{display:block}
@media (max-width:700px){#sg .sp-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}#sg .sp-row .up-name{grid-column:1/-1}}
#sg fieldset.sp-among{margin:6px 0 10px}
#sg .sp-ticks{display:flex;flex-wrap:wrap;gap:0 22px;margin:0 0 6px}
#sg fieldset.sp-among label{min-height:44px;align-items:center;padding:4px 0;overflow-wrap:anywhere}
#sg fieldset.sp-among input{margin:0}
#sg ul.sp-people li>div{flex:1 1 120px}
#sg ol.sp-pay li{border-color:rgba(232,190,110,.6);background:rgba(232,190,110,.06)}
#sg ol.sp-pay .up-h{align-items:center}
#sg ol.sp-pay .up-u{color:#f0cf8a}
#sg p.sp-even{border:1px solid rgba(127,212,155,.6);background:rgba(127,212,155,.07);border-radius:10px;padding:12px 14px;margin:0 0 12px;font-weight:600;color:#fff}
#sg ul.sp-who{list-style:none;padding:0;margin:0 0 14px}
#sg ul.sp-who li{border-top:1px solid var(--line);padding:9px 0;overflow-wrap:anywhere}
#sg ul.sp-who .what{font-size:17px;font-weight:600;margin:0 0 2px;color:#fff}
#sg ul.sp-who .meta{font-size:14.5px;color:var(--dim);margin:0}
#sg ul.sp-who .up-tag{margin:0 0 0 8px}
#sg ul.sp-who li.sp-dn .up-tag{color:#f0cf8a}
#sg ul.sp-who li.sp-0 .up-tag{color:var(--dim)}
/* income/ additions (.ic-*) */
#sg .ic-row{grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1.4fr)}
#sg .ic-row .lbl,#sg .ic-hrow .lbl{display:block}
#sg .ic-hrow{grid-template-columns:minmax(0,1fr);max-width:260px}
#sg .ic-hrow[hidden]{display:none}
@media (max-width:700px){#sg .ic-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}#sg .ic-row .up-name{grid-column:1/-1}}
#sg .ic-big{border:1px solid rgba(232,190,110,.6);background:rgba(232,190,110,.06);border-radius:10px;padding:14px 16px;margin:0 0 14px}
#sg .ic-big .k{font-size:14.5px;color:var(--dim);margin:0 0 2px}
#sg .ic-big .v{font-size:34px;line-height:1.15;font-weight:700;color:#f0cf8a;margin:0;overflow-wrap:anywhere}
#sg dl.ic-tot{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 16px}
#sg dl.ic-tot div{border:1px solid var(--line);border-radius:10px;padding:10px 12px;margin:0}
#sg dl.ic-tot dt{font-size:14px;color:var(--dim);margin:0 0 2px}
#sg dl.ic-tot dd{font-size:19px;font-weight:700;color:#fff;margin:0;overflow-wrap:anywhere}
@media (max-width:560px){#sg dl.ic-tot{grid-template-columns:minmax(0,1fr)}}
#sg ul.ic-lines{list-style:none;padding:0;margin:0 0 14px}
#sg ul.ic-lines li{border-top:1px solid var(--line);padding:9px 0;overflow-wrap:anywhere}
#sg ul.ic-lines .what{font-size:17px;font-weight:600;margin:0 0 2px;color:#fff}
#sg ul.ic-lines .meta{font-size:14.5px;color:var(--dim);margin:0}
/* percent/ additions (.pc-*) */
#sg .pc-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
#sg .pc-row .lbl,#sg .pc-one .lbl{display:block}
#sg .pc-one{grid-template-columns:minmax(0,1fr)}
#sg .pc-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px;align-items:center}
#sg .pc-chips[hidden]{display:none}
#sg .pc-chips span{font-size:14.5px;color:var(--dim)}
#sg .pc-chips button{min-width:52px;min-height:40px;padding:6px 10px}
#sg .pc-live{border:1px solid rgba(232,190,110,.6);background:rgba(232,190,110,.06);border-radius:10px;padding:14px 16px;margin:0 0 14px;min-height:84px}
#sg .pc-live .v{font-size:34px;line-height:1.15;font-weight:700;color:#f0cf8a;margin:0 0 6px;overflow-wrap:anywhere}
#sg .pc-live p{margin:0 0 3px;font-size:16px;overflow-wrap:anywhere}
#sg .pc-live p.sum,#sg ul.ic-lines p.sum{font-family:Arial,Helvetica,sans-serif;font-size:14.5px;font-weight:400;color:var(--dim);margin:4px 0 0}
#sg #sg-kind-h{margin:-4px 0 12px}
#sg .pc-live p.wait{color:var(--dim)}
#sg ul.ic-lines .ans{font-size:22px;font-weight:700;color:#f0cf8a;margin:0 0 2px}

/* datecount/ additions (.dc-*) */
#sg .dc-three{grid-template-columns:minmax(0,1fr) minmax(0,1.6fr) minmax(0,1.2fr)}
#sg .dc-three .lbl{display:block}
#sg .field input[type=date]{width:100%;min-width:0;-webkit-appearance:none;appearance:none;color-scheme:dark}
#sg .dc-today{margin:6px 0 0;min-height:40px;padding:6px 12px}
#sg .pc-live .v{font-size:30px}
@media(max-width:560px){#sg .dc-three{grid-template-columns:minmax(0,1fr)}#sg .pc-live .v{font-size:25px}}

/* saveup/ additions (.su-*) */
#sg .su-two{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
#sg .su-two .lbl{display:block}
@media(max-width:560px){#sg .su-two{grid-template-columns:minmax(0,1fr)}}
/* inwords: one row per way of writing the amount, with its Copy button */
#sg .wd-row{border-top:1px solid rgba(236,230,220,.16);padding:10px 0 8px;margin:8px 0 0}
#sg .wd-row .wd-k{font:600 12.5px/1.3 Arial,Helvetica,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:var(--dim);margin:0 0 4px}
#sg .wd-row .wd-t{font-size:21px;line-height:1.35;margin:0 0 8px;overflow-wrap:anywhere;user-select:all}
#sg .vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media(max-width:520px){#sg .wd-row .wd-t{font-size:18.5px}}
#sg .wd-row .wd-t,#sg .pc-live .v,#sg #sg-w-a{font-variant-numeric:lining-nums}
/* spell: one row per character, and the one-at-a-time card */
#sg .sp-in{width:100%;font-size:22px;letter-spacing:.04em;font-variant-numeric:lining-nums}
#sg .sp-chk{display:flex;gap:10px;align-items:flex-start;margin:0 0 12px;font-size:16px}
#sg .sp-chk input{width:22px;height:22px;margin:2px 0 0;flex:none}
#sg ol.sp-list{list-style:none;margin:0 0 12px;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:0 22px}
#sg ol.sp-list li{display:flex;align-items:center;gap:12px;border-top:1px solid rgba(236,230,220,.16);padding:7px 0;margin:0;min-width:0}
#sg .sp-c{flex:none;width:44px;height:44px;border-radius:8px;border:1px solid rgba(232,190,110,.6);display:flex;align-items:center;justify-content:center;font:700 24px/1 Arial,Helvetica,sans-serif;color:#f0cf8a;font-variant-numeric:lining-nums}
#sg .sp-c.gap{border-style:dashed;opacity:.7}
#sg .sp-s{font-size:19px;line-height:1.3;overflow-wrap:anywhere;min-width:0;font-variant-numeric:lining-nums}
#sg .sp-s.none{color:var(--dim);font-size:16px}
#sg .sp-one{border:1px solid rgba(232,190,110,.6);background:rgba(232,190,110,.06);border-radius:10px;padding:16px;margin:0 0 14px;text-align:center}
#sg .sp-one .sp-big{font:700 84px/1 Arial,Helvetica,sans-serif;color:#f0cf8a;margin:0 0 8px;min-height:84px;font-variant-numeric:lining-nums}
#sg .sp-one .sp-say{font-size:30px;line-height:1.25;margin:0 0 6px;overflow-wrap:anywhere;font-variant-numeric:lining-nums}
#sg .sp-one .sp-n{font:400 14.5px/1.3 Arial,Helvetica,sans-serif;color:var(--dim);margin:0 0 12px}
#sg .sp-one .sp-nav{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
#sg .sp-one .sp-nav button{min-width:120px;min-height:48px}
#sg .sp-acts{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 12px}
#sg ol.sp-abc{list-style:none;margin:0 0 10px;padding:0;columns:3 150px;column-gap:22px}
#sg ol.sp-abc li{margin:0;padding:3px 0;break-inside:avoid;font-size:17px}
@media(max-width:520px){#sg .sp-one .sp-big{font-size:68px;min-height:68px}#sg .sp-one .sp-say{font-size:24px}#sg ol.sp-abc{columns:2 120px}}

/* cal: the form, the list of what is written in, and the paper (.cl-page is styled the same on the page and in the print copy) */
#sg .cl-three{grid-template-columns:minmax(0,1.3fr) minmax(0,.8fr) minmax(0,1.7fr)}
#sg .cl-three .lbl,#sg .cl-note .lbl{display:block}
#sg input.cl-y{width:100%;height:46px;min-height:0;padding-top:6px;padding-bottom:6px;text-align:center;font-family:Arial,Helvetica,sans-serif;font-weight:600;font-size:20px;font-variant-numeric:lining-nums}
#sg .cl-in{width:100%}
#sg input#sg-c-nd{font-family:Arial,Helvetica,sans-serif;font-variant-numeric:lining-nums;height:46px}
#sg .cl-note{grid-template-columns:minmax(0,1fr) minmax(0,2fr) auto;align-items:end}
#sg .cl-note .cl-addf .btn{min-height:46px}
#sg .cl-msg{font-variant-numeric:lining-nums;min-height:22px;margin:0 0 8px;color:#f0cf8a;font-size:15.5px}
#sg .cl-said{font-variant-numeric:lining-nums;color:var(--dim);font-size:15px;margin:0 0 10px}
#sg ul.cl-notes{list-style:none;margin:0 0 16px;padding:0}
#sg ul.cl-notes li{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid rgba(236,230,220,.16);padding:8px 0;margin:0;min-width:0}
#sg ul.cl-notes .cl-nt{min-width:0;overflow-wrap:anywhere;font-size:16.5px;font-variant-numeric:lining-nums}
#sg ul.cl-notes .cl-nt i{color:var(--dim)}
#sg ul.cl-notes .btn{flex:none}
#sg .cl-acts{margin:4px 0 8px}
#sg .cl-acts .btn{min-height:50px;font-size:15px}
#sg .cl-acts .btn[disabled]{opacity:.45;cursor:not-allowed}
#sg .cl-prev{margin:0 0 6px}
@media(max-width:560px){#sg .cl-three,#sg .cl-note{grid-template-columns:minmax(0,1fr)}}
#sg .cl-page,#sg-printcopy .cl-page{background:#fbf8f2;color:#111;border-radius:4px;padding:16px 18px 18px;margin:0 0 18px;box-shadow:0 14px 40px rgba(0,0,0,.5);font-family:Arial,Helvetica,sans-serif;font-variant-numeric:lining-nums;overflow:hidden}
#sg .cl-page .cl-name,#sg-printcopy .cl-page .cl-name{font:700 15px/1.2 Arial,Helvetica,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#8a0000;margin:0 0 2px;overflow-wrap:anywhere}
#sg .cl-page table,#sg-printcopy .cl-page table{border-collapse:collapse;width:100%;table-layout:fixed;margin:0;background:none}
#sg .cl-page caption,#sg-printcopy .cl-page caption{caption-side:top;text-align:left;font:700 30px/1.15 Georgia,"Times New Roman",serif;color:#111;padding:0 0 8px;font-variant-numeric:lining-nums}
#sg .cl-page .cl-m th,#sg-printcopy .cl-page .cl-m th{font:700 12px/1.2 Arial,Helvetica,sans-serif;letter-spacing:.06em;text-transform:uppercase;color:#333;text-align:left;padding:5px 6px;border:1px solid #555;background:#ece6dc}
#sg .cl-page .cl-m td,#sg-printcopy .cl-page .cl-m td{border:1px solid #555;height:84px;vertical-align:top;padding:4px 6px;color:#111;background:#fff;overflow:hidden}
#sg .cl-page .cl-m td.cl-e,#sg-printcopy .cl-page .cl-m td.cl-e{background:#f1ede5}
#sg .cl-page .cl-m .cl-d,#sg-printcopy .cl-page .cl-m .cl-d{display:block;font:700 17px/1.1 Arial,Helvetica,sans-serif;color:#111}
#sg .cl-page .cl-m .cl-n,#sg-printcopy .cl-page .cl-m .cl-n{display:block;font:400 13px/1.2 Arial,Helvetica,sans-serif;color:#111;margin:3px 0 0;overflow-wrap:anywhere}
#sg .cl-page .cl-m th .cl-short,#sg-printcopy .cl-page .cl-m th .cl-short{display:none}
#sg .cl-page .cl-title,#sg-printcopy .cl-page .cl-title{font:700 30px/1.15 Georgia,"Times New Roman",serif;color:#111;margin:0 0 12px;font-variant-numeric:lining-nums}
#sg .cl-page .cl-yr,#sg-printcopy .cl-page .cl-yr{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px 24px;align-items:start}
#sg .cl-page .cl-s caption,#sg-printcopy .cl-page .cl-s caption{font:700 15px/1.2 Arial,Helvetica,sans-serif;padding:0 0 3px;text-align:center}
#sg .cl-page .cl-s th,#sg-printcopy .cl-page .cl-s th{font:700 10.5px/1.2 Arial,Helvetica,sans-serif;color:#555;text-align:center;padding:2px 0;border:0;background:none;text-transform:none;letter-spacing:0}
#sg .cl-page .cl-s th abbr,#sg-printcopy .cl-page .cl-s th abbr{text-decoration:none;border:0;cursor:default}
#sg .cl-page .cl-s td,#sg-printcopy .cl-page .cl-s td{text-align:center;font:400 13px/1 Arial,Helvetica,sans-serif;color:#111;padding:2px 0;border:0;height:22px;background:none}
#sg .cl-page .cl-s td span,#sg-printcopy .cl-page .cl-s td span{display:inline-block;min-width:20px;height:20px;line-height:20px;border-radius:50%}
#sg .cl-page .cl-s td.cl-k span,#sg-printcopy .cl-page .cl-s td.cl-k span{box-shadow:0 0 0 1.5px #8a0000;font-weight:700}
#sg .cl-page .cl-nh,#sg-printcopy .cl-page .cl-nh{font:700 12px/1.2 Arial,Helvetica,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#8a0000;margin:14px 0 4px}
#sg .cl-page .cl-nl,#sg-printcopy .cl-page .cl-nl{list-style:none;margin:0;padding:0;columns:3 200px;column-gap:22px;font:400 13px/1.35 Arial,Helvetica,sans-serif;color:#111}
#sg .cl-page .cl-nl li,#sg-printcopy .cl-page .cl-nl li{margin:0 0 2px;padding:0;break-inside:avoid;overflow-wrap:anywhere;color:#111}
@media screen and (max-width:700px){
  #sg .cl-page{padding:10px 8px 12px}
  #sg .cl-page caption,#sg .cl-page .cl-title{font-size:23px}
  #sg .cl-page .cl-m th{padding:4px 1px;font-size:10.5px;letter-spacing:0;text-align:center}
  #sg .cl-page .cl-m th .cl-full{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  #sg .cl-page .cl-m th .cl-short{display:inline}
  #sg .cl-page .cl-m td{height:62px;padding:3px}
  #sg .cl-page .cl-m .cl-d{font-size:14px}
  #sg .cl-page .cl-m .cl-n{font-size:10px;line-height:1.15;margin-top:2px}
  #sg .cl-page .cl-yr{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  #sg .cl-page .cl-s caption{font-size:14px}
  #sg .cl-page .cl-s td{font-size:12px}
  #sg .cl-page .cl-s td span{min-width:18px;height:18px;line-height:18px}
}
@media screen and (min-width:701px) and (max-width:1000px){#sg .cl-page .cl-yr{grid-template-columns:repeat(3,minmax(0,1fr))}}
@page cal{size:landscape;margin:.4in}
@media print{
  #sg-printcopy.cl-print{page:cal}
  #sg-printcopy .cl-page{page:cal;box-shadow:none;border-radius:0;padding:0 2px 2px 1px;margin:0;background:#fff;break-after:page;break-inside:avoid;overflow:visible}
  #sg-printcopy .cl-page:last-child{break-after:auto}
  #sg-printcopy .cl-page .cl-m th,#sg-printcopy .cl-page .cl-m td,#sg-printcopy .cl-page .cl-m td.cl-e{background:#fff}
  #sg-printcopy .cl-page .cl-m th{font-size:10pt}
  #sg-printcopy .cl-page caption,#sg-printcopy .cl-page .cl-title{font-size:26pt}
  #sg-printcopy .cl-page .cl-m.w4 td{height:1.5in}
  #sg-printcopy .cl-page .cl-m.w5 td{height:1.2in}
  #sg-printcopy .cl-page .cl-m.w6 td{height:1in}
  #sg-printcopy .cl-page .cl-m .cl-d{font-size:14pt}
  #sg-printcopy .cl-page .cl-m .cl-n{font-size:10pt}
  #sg-printcopy .cl-page .cl-yr{gap:.2in .32in}
  #sg-printcopy .cl-page .cl-s caption{font-size:11.5pt}
  #sg-printcopy .cl-page .cl-s td{font-size:10pt;height:.25in}
  #sg-printcopy .cl-page .cl-nl{font-size:9.5pt}
}
/* flyer: the picture box and the paper (.fl-page is one upright sheet drawn to scale: every size inside it is a share of its width,
   so the page on the screen and the page on paper are the same picture) */
#sg input.fl-file{display:inline-block;max-width:100%;color:var(--bone);font-size:15px;padding:6px 0}
#sg #sg-f-prm{margin:6px 0}
#sg #sg-f-tabf{align-items:start}
#sg #sg-f-tabf[hidden]{display:none}
#sg #sg-f-over:empty,#sg #sg-f-msg:empty{min-height:0;margin:0}
#sg .fl-prev{max-width:640px}
#sg .fl-page,#sg-printcopy .fl-page{container-type:inline-size;aspect-ratio:77/98;background:#fff;color:#111;border-radius:4px;margin:0 0 18px;box-shadow:0 14px 40px rgba(0,0,0,.5);font-family:Arial,Helvetica,sans-serif;font-variant-numeric:lining-nums;overflow:hidden;display:flex;flex-direction:column;text-align:center}
#sg .fl-page .fl-top,#sg-printcopy .fl-page .fl-top{flex:1 1 0;min-height:0;overflow:hidden;padding:20px;padding:5cqw 5cqw 2cqw;display:flex;flex-direction:column;align-items:center}
#sg .fl-page .fl-h,#sg-printcopy .fl-page .fl-h{font:900 44px/1.05 Arial,Helvetica,sans-serif;color:#111;margin:0 0 3cqw;padding:0;overflow-wrap:anywhere;max-width:100%;flex:none}
#sg .fl-page .fl-h1,#sg-printcopy .fl-page .fl-h1{font-size:15cqw}
#sg .fl-page .fl-h2,#sg-printcopy .fl-page .fl-h2{font-size:11cqw}
#sg .fl-page .fl-h3,#sg-printcopy .fl-page .fl-h3{font-size:8cqw}
#sg .fl-page .fl-pic,#sg-printcopy .fl-page .fl-pic{flex:0 1 auto;min-height:0;margin:0 0 3cqw;max-width:100%;display:flex;justify-content:center}
#sg .fl-page .fl-pic img,#sg-printcopy .fl-page .fl-pic img{display:block;max-width:100%;max-height:44cqw;width:auto;height:auto;object-fit:contain;border-radius:0;margin:0}
#sg .fl-page .fl-det,#sg-printcopy .fl-page .fl-det{flex:none;max-width:100%}
#sg .fl-page .fl-det p,#sg-printcopy .fl-page .fl-det p{font:700 20px/1.25 Arial,Helvetica,sans-serif;color:#111;margin:0 0 1.2cqw;padding:0;overflow-wrap:anywhere}
#sg .fl-page .fl-det1 p,#sg-printcopy .fl-page .fl-det1 p{font-size:5.6cqw}
#sg .fl-page .fl-det2 p,#sg-printcopy .fl-page .fl-det2 p{font-size:4.4cqw}
#sg .fl-page .fl-det3 p,#sg-printcopy .fl-page .fl-det3 p{font-size:3.5cqw}
#sg .fl-page ul.fl-tabs,#sg-printcopy .fl-page ul.fl-tabs{flex:none;list-style:none;margin:0;padding:0;display:flex;height:150px;height:27cqw;border-top:2px dashed #555;border-top-width:.3cqw}
#sg .fl-page ul.fl-tabs li,#sg-printcopy .fl-page ul.fl-tabs li{flex:1 1 0;min-width:0;margin:0;padding:1.2cqw 0;border-left:2px dashed #555;border-left-width:.3cqw;writing-mode:vertical-rl;display:flex;flex-direction:column;justify-content:center;align-items:center;overflow:hidden;color:#111;list-style:none}
#sg .fl-page ul.fl-tabs li::before,#sg-printcopy .fl-page ul.fl-tabs li::before{content:none}
#sg .fl-page ul.fl-tabs li:first-child,#sg-printcopy .fl-page ul.fl-tabs li:first-child{border-left:0}
#sg .fl-page ul.fl-tabs span,#sg-printcopy .fl-page ul.fl-tabs span{display:block;white-space:nowrap;font:700 12px/1.25 Arial,Helvetica,sans-serif;font-size:2.3cqw;color:#111}
#sg .fl-page ul.fl-tabs .fl-b,#sg-printcopy .fl-page ul.fl-tabs .fl-b{font-size:2.5cqw}
#sg .fl-page ul.fl-tabs .fl-sm,#sg-printcopy .fl-page ul.fl-tabs .fl-sm{font-size:1.9cqw}
#sg .fl-page ul.fl-n6 span,#sg-printcopy .fl-page ul.fl-n6 span{font-size:2.6cqw}
#sg .fl-page ul.fl-n6 .fl-b,#sg-printcopy .fl-page ul.fl-n6 .fl-b{font-size:2.9cqw}
#sg .fl-page ul.fl-n6 .fl-sm,#sg-printcopy .fl-page ul.fl-n6 .fl-sm{font-size:2.05cqw}
#sg .fl-page ul.fl-n10 .fl-sm,#sg-printcopy .fl-page ul.fl-n10 .fl-sm{font-size:1.9cqw}
#sg .fl-page.fl-sign .fl-top,#sg-printcopy .fl-page.fl-sign .fl-top{padding-bottom:5cqw;justify-content:center}
@page fly{size:portrait;margin:.4in}
@media print{
  #sg-printcopy.fl-print{page:fly}
  #sg-printcopy .fl-page{page:fly;width:100%;box-shadow:none;border-radius:0;margin:0;break-inside:avoid}
}
/* invoice: the rows of the form and the paper (.nv-page is one upright sheet drawn to scale: every size inside .nv-in is a share of
   the sheet's width, so the page on the screen and the page on paper are the same picture) */
#sg .nv-two{align-items:start}
#sg .nv-two h3{margin-top:6px}
#sg fieldset.nv-row{border:1px solid var(--line);border-radius:10px;padding:8px 14px 4px;margin:0 0 12px;min-width:0;display:grid;grid-template-columns:minmax(0,3fr) minmax(0,1fr) minmax(0,1.4fr);gap:0 14px;align-items:end}
#sg fieldset.nv-row legend{padding:0 6px;font-size:14px;color:var(--dim)}
#sg fieldset.nv-row .field{margin:0 0 10px}
#sg fieldset.nv-row .lbl{font-size:14.5px}
@media(max-width:700px){#sg fieldset.nv-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}#sg fieldset.nv-row .nv-fd{grid-column:1/-1}}
#sg #sg-i-msg:empty,#sg #sg-i-addmsg:empty,#sg #sg-i-copymsg:empty{min-height:0;margin:0}
#sg #sg-i-msg span{display:block;margin:0 0 4px}
#sg .nv-prev{max-width:720px}
#sg textarea.nv-txt{font:14px/1.45 ui-monospace,Menlo,Consolas,monospace;min-height:190px;white-space:pre-wrap}
#sg .nv-page,#sg-printcopy .nv-page{container-type:inline-size;background:#fff;color:#111;border-radius:4px;margin:0 0 18px;box-shadow:0 14px 40px rgba(0,0,0,.5);font-family:Arial,Helvetica,sans-serif;font-variant-numeric:lining-nums;overflow:hidden;text-align:left}
#sg .nv-page .nv-in,#sg-printcopy .nv-page .nv-in{padding:20px;padding:6cqw 6cqw 7cqw;min-height:300px;min-height:100cqw;font-size:12px;font-size:2.15cqw;line-height:1.35;color:#111}
#sg .nv-page p,#sg-printcopy .nv-page p{margin:0;padding:0;color:#111;font:inherit;overflow-wrap:anywhere}
#sg .nv-page .nv-hd,#sg-printcopy .nv-page .nv-hd{display:flex;justify-content:space-between;align-items:flex-start;gap:3cqw;border-bottom:3px solid #111;border-bottom-width:.45cqw;padding:0 0 2cqw;margin:0 0 3cqw}
#sg .nv-page p.nv-kind,#sg-printcopy .nv-page p.nv-kind{font:900 30px/1 Arial,Helvetica,sans-serif;font-size:6.4cqw;letter-spacing:.04em;text-transform:uppercase;color:#111}
#sg .nv-page dl.nv-meta,#sg-printcopy .nv-page dl.nv-meta{margin:0;padding:0;text-align:right;min-width:0}
#sg .nv-page dl.nv-meta div,#sg-printcopy .nv-page dl.nv-meta div{display:flex;justify-content:flex-end;gap:1.2cqw;margin:0 0 .4cqw}
#sg .nv-page dl.nv-meta dt,#sg-printcopy .nv-page dl.nv-meta dt{font-weight:700;color:#444;margin:0;padding:0}
#sg .nv-page dl.nv-meta dd,#sg-printcopy .nv-page dl.nv-meta dd{margin:0;padding:0;color:#111;overflow-wrap:anywhere;min-width:0}
#sg .nv-page .nv-who,#sg-printcopy .nv-page .nv-who{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 5cqw;margin:0 0 4cqw}
#sg .nv-page p.nv-lab,#sg-printcopy .nv-page p.nv-lab{font:700 10px/1.2 Arial,Helvetica,sans-serif;font-size:1.7cqw;letter-spacing:.12em;text-transform:uppercase;color:#8a0000;margin:0 0 .6cqw}
#sg .nv-page p.nv-name,#sg-printcopy .nv-page p.nv-name{font-weight:700;font-size:2.6cqw;line-height:1.25}
#sg .nv-page table,#sg-printcopy .nv-page table{border-collapse:collapse;width:100%;table-layout:fixed;margin:0;background:none;font:inherit;border:0}
#sg .nv-page table th,#sg-printcopy .nv-page table th{font:inherit;color:#111;background:none;border:0;padding:0;text-align:left;text-transform:none;letter-spacing:0}
#sg .nv-page table td,#sg-printcopy .nv-page table td{font:inherit;color:#111;background:none;border:0;padding:0;text-align:left}
#sg .nv-page .nv-t thead th,#sg-printcopy .nv-page .nv-t thead th{font-weight:700;font-size:1.75cqw;letter-spacing:.08em;text-transform:uppercase;color:#333;background:#ece6dc;padding:1.1cqw 1.2cqw;border-bottom:2px solid #111;border-bottom-width:.3cqw;-webkit-print-color-adjust:exact;print-color-adjust:exact}
#sg .nv-page .nv-t tbody td,#sg-printcopy .nv-page .nv-t tbody td{padding:1.15cqw 1.2cqw;border-bottom:1px solid #bbb;border-bottom-width:.15cqw;vertical-align:top;overflow-wrap:anywhere}
#sg .nv-page .nv-t .nv-cq,#sg-printcopy .nv-page .nv-t .nv-cq{width:14%;text-align:right}
#sg .nv-page .nv-t .nv-cp,#sg-printcopy .nv-page .nv-t .nv-cp{width:18%;text-align:right}
#sg .nv-page .nv-t .nv-ca,#sg-printcopy .nv-page .nv-t .nv-ca{width:21%;text-align:right}
#sg .nv-page table.nv-sum,#sg-printcopy .nv-page table.nv-sum{width:52%;margin:2.4cqw 0 0 48%}
#sg .nv-page .nv-sum th,#sg-printcopy .nv-page .nv-sum th{padding:.8cqw 1.2cqw;font-weight:400;color:#333}
#sg .nv-page .nv-sum td,#sg-printcopy .nv-page .nv-sum td{padding:.8cqw 1.2cqw;text-align:right;white-space:nowrap}
#sg .nv-page .nv-sum .nv-total th,#sg-printcopy .nv-page .nv-sum .nv-total th{font-weight:700;font-size:2.7cqw;color:#111;border-top:2px solid #111;border-top-width:.3cqw}
#sg .nv-page .nv-sum .nv-total td,#sg-printcopy .nv-page .nv-sum .nv-total td{font-weight:700;font-size:2.7cqw;color:#111;border-top:2px solid #111;border-top-width:.3cqw}
#sg .nv-page .nv-sum .nv-due th,#sg-printcopy .nv-page .nv-sum .nv-due th{font-weight:700;color:#111;border-top:1px solid #111;border-top-width:.15cqw}
#sg .nv-page .nv-sum .nv-due td,#sg-printcopy .nv-page .nv-sum .nv-due td{font-weight:700;color:#111;border-top:1px solid #111;border-top-width:.15cqw}
#sg .nv-page .nv-note,#sg-printcopy .nv-page .nv-note{margin:5cqw 0 0;padding:1.6cqw 0 0;border-top:1px solid #bbb;border-top-width:.15cqw}
#sg .nv-page .nv-note p,#sg-printcopy .nv-page .nv-note p{margin:0 0 .5cqw}
@page inv{size:portrait;margin:.5in}
@media print{
  #sg-printcopy.nv-print{page:inv}
  #sg-printcopy .nv-page{page:inv;width:100%;box-shadow:none;border-radius:0;margin:0;overflow:visible}
  #sg-printcopy .nv-page .nv-in{min-height:0;padding:0}
  #sg-printcopy .nv-page .nv-t tr{break-inside:avoid}
}
/* Make a QR code: the .qm-* rules (everything above is the invoice page's file, kept whole) */
#sg .qm-prev{margin:0 0 10px}
#sg .qm-none{color:var(--dim);margin:0;padding:18px;border:1px dashed rgba(255,255,255,.3);border-radius:6px;max-width:340px}
#sg .qm-card,#sg-printcopy .qm-card{background:#fff;color:#111;text-align:center;font-family:Arial,Helvetica,sans-serif;font-variant-numeric:lining-nums}
#sg .qm-card{border-radius:6px;padding:14px;max-width:340px;box-shadow:0 14px 40px rgba(0,0,0,.5)}
#sg .qm-card .qm-cap,#sg-printcopy .qm-card .qm-cap{font:700 21px/1.2 Arial,Helvetica,sans-serif;color:#111;margin:0 0 8px;overflow-wrap:anywhere}
#sg .qm-card .qm-code svg,#sg-printcopy .qm-card .qm-code svg{display:block;width:100%;height:auto}
#sg .qm-card .qm-holds,#sg-printcopy .qm-card .qm-holds{font:400 13px/1.3 Arial,Helvetica,sans-serif;color:#111;margin:8px 0 0;overflow-wrap:anywhere;white-space:pre-wrap}
#sg .qm-holdsbox{margin:0 0 16px;padding:10px 14px;border-left:3px solid #ff4d4d;background:rgba(255,255,255,.05);border-radius:0 6px 6px 0;max-width:640px}
#sg .qm-holdsbox .qm-holdsh{margin:0 0 4px;font-size:14px;color:var(--dim)}
#sg .qm-holdsbox .qm-holdst{margin:0;font:400 16px/1.4 ui-monospace,Menlo,Consolas,monospace;overflow-wrap:anywhere;white-space:pre-wrap;font-variant-numeric:lining-nums}
#sg .qm-chk input{width:22px;height:22px;vertical-align:middle;margin:0 6px 0 0}
#sg .qm-chk label{display:inline;vertical-align:middle}
#sg .qm-chk .help{margin-top:6px}
#sg #sg-q-t{width:100%;font-variant-numeric:lining-nums}
@page qrp{size:portrait;margin:.5in}
@media print{
  #sg-printcopy.qm-print{page:qrp}
  #sg-printcopy .qm-sheet{page:qrp}
  #sg-printcopy .qm-one .qm-card{width:4.8in;margin:.3in auto 0}
  #sg-printcopy .qm-one .qm-cap{font-size:26pt;margin:0 0 .15in}
  #sg-printcopy .qm-one .qm-holds{font-size:12pt;margin:.15in 0 0}
  #sg-printcopy .qm-many{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
  #sg-printcopy .qm-many .qm-card{box-sizing:border-box;height:2.45in;padding:.08in .12in;border:1px dashed #888;margin:0 -1px -1px 0;overflow:hidden;break-inside:avoid;display:flex;flex-direction:column;align-items:center;justify-content:center}
  #sg-printcopy .qm-many .qm-code{width:1.3in;flex:none}
  #sg-printcopy .qm-many .qm-cap{font-size:8.5pt;line-height:1.15;margin:0 0 .03in}
  #sg-printcopy .qm-many .qm-holds{font-size:7pt;line-height:1.15;margin:.03in 0 0}
}

/* Flash cards: the .fc-* rules (everything above is the QR page's file, kept whole) */
#sg .fc-tab select{margin:0 8px 8px 0;vertical-align:middle}
#sg .fc-tab .btn{min-height:46px;vertical-align:middle;margin:0 0 8px}
#sg .fc-prev{margin:0 0 12px;max-width:620px}
#sg .fc-sheet .fc-strip{display:flex;background:#fff;border-radius:6px;overflow:hidden;box-shadow:0 14px 40px rgba(0,0,0,.5)}
#sg .fc-face,#sg-printcopy .fc-face{box-sizing:border-box;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:#fff;color:#111;font-family:Arial,Helvetica,sans-serif;font-variant-numeric:lining-nums;overflow:hidden}
#sg .fc-face{width:50%;min-height:150px;padding:22px 12px}
#sg .fc-face.fc-back{border-left:2px dotted #777}
#sg .fc-face .fc-t,#sg-printcopy .fc-face .fc-t{margin:0;font-weight:700;line-height:1.2;color:#111;overflow-wrap:anywhere;max-width:100%}
#sg .fc-face.fc-s1 .fc-t{font-size:26px}#sg .fc-face.fc-s2 .fc-t{font-size:19px}#sg .fc-face.fc-s3 .fc-t{font-size:15px}#sg .fc-face.fc-s4 .fc-t{font-size:12.5px}
#sg .fc-face .fc-set,#sg-printcopy .fc-face .fc-set{position:absolute;top:5px;left:8px;right:8px;text-align:left;font:400 10.5px/1.2 Arial,Helvetica,sans-serif;color:#555;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#sg .fc-face .fc-num,#sg-printcopy .fc-face .fc-num{position:absolute;bottom:4px;right:8px;font:400 10px/1.2 Arial,Helvetica,sans-serif;color:#666}
#sg .fc-sides{display:flex;margin:6px 0 0;font-size:13.5px;color:var(--dim)}
#sg .fc-sides span{width:50%;text-align:center}
#sg .fc-stage{background:#fff;color:#111;border-radius:10px;padding:18px 18px 22px;margin:0 0 14px;max-width:620px;min-height:230px;box-sizing:border-box;text-align:center;font-family:Arial,Helvetica,sans-serif;font-variant-numeric:lining-nums;box-shadow:0 14px 40px rgba(0,0,0,.5);display:flex;flex-direction:column;justify-content:center}
#sg .fc-stage:focus{outline:3px solid var(--gold);outline-offset:2px}
#sg .fc-stage .fc-lab{margin:0 0 6px;font:700 12px/1.2 Arial,Helvetica,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:#555}
#sg .fc-stage .fc-q,#sg .fc-stage .fc-a{margin:0;font-weight:700;line-height:1.2;color:#111;overflow-wrap:anywhere}
#sg .fc-stage #sg-fc-abox{margin:16px 0 0;padding:14px 0 0;border-top:2px dotted #777}
#sg .fc-stage .fc-a{color:#7a0000}
#sg .fc-stage .fc-s1{font-size:44px}#sg .fc-stage .fc-s2{font-size:30px}#sg .fc-stage .fc-s3{font-size:22px}#sg .fc-stage .fc-s4{font-size:18px}
#sg .fc-acts .btn{margin:0 8px 8px 0;min-height:54px}
#sg .fc-acts .btn[hidden]{display:none}
#sg .fc-acts .fc-stop{float:right;margin-right:0}
#sg .fc-done{font-size:19px;font-weight:600;margin:0 0 12px;font-variant-numeric:lining-nums}
#sg .fc-done:focus{outline:2px solid var(--gold);outline-offset:3px}
#sg #sg-fc-end .btn{margin:0 8px 8px 0}
@media(max-width:560px){
  #sg .fc-stage .fc-s1{font-size:34px}#sg .fc-stage .fc-s2{font-size:25px}#sg .fc-stage .fc-s3{font-size:19px}#sg .fc-stage .fc-s4{font-size:16px}
  #sg .fc-face{min-height:120px;padding:20px 8px}
  #sg .fc-face.fc-s1 .fc-t{font-size:20px}#sg .fc-face.fc-s2 .fc-t{font-size:15px}#sg .fc-face.fc-s3 .fc-t{font-size:12.5px}#sg .fc-face.fc-s4 .fc-t{font-size:11px}
  #sg .fc-acts .fc-stop{float:none}
}
@page fcp{size:portrait;margin:.5in}
@media print{
  #sg-printcopy.fc-print{page:fcp}
  #sg-printcopy .fc-sheet{page:fcp;break-after:page}
  #sg-printcopy .fc-sheet:last-child{break-after:auto}
  #sg-printcopy .fc-fold{border-top:1px solid #444}
  #sg-printcopy .fc-strip{display:flex;box-sizing:border-box;height:2.45in;border:1px solid #444;border-top:0;break-inside:avoid}
  #sg-printcopy .fc-fold .fc-face{width:50%;height:100%;padding:.16in .15in}
  #sg-printcopy .fc-fold .fc-back{border-left:1px dotted #444}
  #sg-printcopy .fc-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px dashed #888;border-left:1px dashed #888}
  #sg-printcopy .fc-two .fc-face{height:2.45in;padding:.16in .15in;border-right:1px dashed #888;border-bottom:1px dashed #888;break-inside:avoid}
  #sg-printcopy .fc-s1 .fc-t{font-size:30pt}#sg-printcopy .fc-s2 .fc-t{font-size:20pt}#sg-printcopy .fc-s3 .fc-t{font-size:15pt}#sg-printcopy .fc-s4 .fc-t{font-size:12pt}
  #sg-printcopy .fc-face .fc-set{top:.05in;left:.1in;right:.1in;font-size:7.5pt}
  #sg-printcopy .fc-face .fc-num{bottom:.04in;right:.1in;font-size:7pt}
}

/* Math practice sheets: the .ms-* rules (everything above is the flash cards page's file, kept whole) */
#sg .ms-no .cl-in{max-width:9em;display:inline-block;vertical-align:middle;margin:0 8px 8px 0;font-variant-numeric:lining-nums}
#sg .ms-no .btn{min-height:46px;vertical-align:middle;margin:0 0 8px}
#sg .ms-prev{margin:0 0 12px;max-width:760px}
#sg .ms-sheet,#sg-printcopy .ms-sheet{box-sizing:border-box;background:#fff;color:#111;font-family:Arial,Helvetica,sans-serif;font-variant-numeric:lining-nums tabular-nums}
#sg .ms-sheet{border-radius:6px;padding:22px 24px 16px;box-shadow:0 14px 40px rgba(0,0,0,.5)}
#sg .ms-top,#sg-printcopy .ms-top{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:6px 18px;border-bottom:2px solid #111;padding:0 0 8px;margin:0 0 6px}
#sg .ms-title,#sg-printcopy .ms-title{margin:0;font:700 20px/1.2 Arial,Helvetica,sans-serif;color:#111;overflow-wrap:anywhere}
#sg .ms-who,#sg-printcopy .ms-who{margin:0;display:flex;align-items:baseline;gap:6px;font:400 14px/1.2 Arial,Helvetica,sans-serif;color:#111}
#sg .ms-who i,#sg-printcopy .ms-who i{display:inline-block;width:9em;border-bottom:1px solid #111;height:1em}
#sg .ms-who i.ms-short,#sg-printcopy .ms-who i.ms-short{width:5em}
#sg .ms-answers,#sg-printcopy .ms-answers{font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#7a0000}
#sg .ms-grid,#sg-printcopy .ms-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}
#sg .ms-n30 .ms-grid,#sg-printcopy .ms-n30 .ms-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
#sg .ms-grid li,#sg-printcopy .ms-grid li{margin:0;padding:11px 0;display:flex;align-items:baseline;gap:.35em;font:400 19px/1.2 Arial,Helvetica,sans-serif;color:#111;white-space:nowrap;min-width:0}
#sg .ms-n12 .ms-grid li{font-size:24px;padding:14px 0}
#sg .ms-n30 .ms-grid li{font-size:16.5px}
#sg .ms-i,#sg-printcopy .ms-i{flex:none;width:2.1em;font-size:.62em;color:#555;text-align:right}
#sg .ms-q,#sg-printcopy .ms-q{flex:none}
#sg .ms-blank,#sg-printcopy .ms-blank{flex:1 1 auto;max-width:3.6em;min-width:1.6em;border-bottom:1.5px solid #111;height:1em}
#sg .ms-ans,#sg-printcopy .ms-ans{font-weight:700;color:#7a0000}
#sg .ms-foot,#sg-printcopy .ms-foot{margin:8px 0 0;padding:6px 0 0;border-top:1px solid #999;font:400 11.5px/1.3 Arial,Helvetica,sans-serif;color:#444}
@media(max-width:560px){
  #sg .ms-sheet{padding:16px 12px 12px}
  #sg .ms-grid{gap:0 8px}
  #sg .ms-grid li{font-size:16px;padding:9px 0}
  #sg .ms-n12 .ms-grid li{font-size:18px;padding:11px 0}
  #sg .ms-n30 .ms-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  #sg .ms-n30 .ms-grid li{font-size:16px}
  #sg .ms-i{width:1.8em}
  #sg .ms-who i{width:6em}#sg .ms-who i.ms-short{width:4em}
}
@page msp{size:portrait;margin:.5in}
@media print{
  #sg-printcopy.ms-print{page:msp}
  #sg-printcopy .ms-sheet{page:msp;break-after:page;break-inside:avoid;height:9.6in;display:flex;flex-direction:column;overflow:hidden}
  #sg-printcopy .ms-sheet:last-child{break-after:auto}
  #sg-printcopy .ms-top{flex:none;padding:0 0 .1in;margin:0 0 .05in}
  #sg-printcopy .ms-title{font-size:18pt}
  #sg-printcopy .ms-who{font-size:12pt}
  #sg-printcopy .ms-grid{flex:1 1 auto;grid-auto-rows:minmax(0,1fr);gap:0 .3in}
  #sg-printcopy .ms-grid li{padding:0;align-items:center;font-size:18pt}
  #sg-printcopy .ms-n12 .ms-grid li{font-size:26pt}
  #sg-printcopy .ms-n30 .ms-grid li{font-size:15pt}
  #sg-printcopy .ms-blank{align-self:center;margin-top:.5em}
  #sg-printcopy .ms-foot{flex:none;font-size:8.5pt;margin:.05in 0 0;padding:.05in 0 0}
}

/* Word search maker: the .ws-* rules (everything above is the math practice sheets page's file, kept whole) */
#sg .ws-out{margin:0 0 12px;font-size:15px;color:var(--dim)}
#sg .ws-out p{margin:0 0 4px}
#sg .ws-out ul{margin:0;padding:0 0 0 20px}
#sg .ws-out li{margin:0 0 3px;overflow-wrap:anywhere}
#sg .ws-out b{color:var(--bone)}
#sg .ws-prev{margin:0 0 12px;max-width:760px}
#sg .ws-sheet,#sg-printcopy .ws-sheet{box-sizing:border-box;background:#fff;color:#111;font-family:Arial,Helvetica,sans-serif;font-variant-numeric:lining-nums}
#sg .ws-sheet{border-radius:6px;padding:22px 24px 16px;box-shadow:0 14px 40px rgba(0,0,0,.5)}
#sg .ws-top,#sg-printcopy .ws-top{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:6px 18px;border-bottom:2px solid #111;padding:0 0 8px;margin:0 0 14px}
#sg .ws-title,#sg-printcopy .ws-title{margin:0;font:700 20px/1.2 Arial,Helvetica,sans-serif;color:#111;overflow-wrap:anywhere}
#sg .ws-who,#sg-printcopy .ws-who{margin:0;display:flex;align-items:baseline;gap:6px;font:400 14px/1.2 Arial,Helvetica,sans-serif;color:#111}
#sg .ws-who i,#sg-printcopy .ws-who i{display:inline-block;width:9em;border-bottom:1px solid #111;height:1em}
#sg .ws-who i.ws-short,#sg-printcopy .ws-who i.ws-short{width:5em}
#sg .ws-answers,#sg-printcopy .ws-answers{font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#7a0000}
#sg .ws-grid,#sg-printcopy .ws-grid{border-collapse:collapse;table-layout:fixed;margin:0 auto 14px;border:2px solid #111;background:#fff;width:auto}
#sg .ws-grid td,#sg-printcopy .ws-grid td{box-sizing:border-box;width:1.6em;height:1.6em;min-width:1.6em;padding:0;border:0;text-align:center;vertical-align:middle;font:700 1em/1 Arial,Helvetica,sans-serif;color:#111;background:#fff}
#sg .ws-s10 .ws-grid{font-size:24px}#sg .ws-s12 .ws-grid{font-size:22px}#sg .ws-s15 .ws-grid{font-size:19px}
#sg .ws-key .ws-grid td,#sg-printcopy .ws-key .ws-grid td{color:#8d8d8d;font-weight:400}
#sg .ws-key .ws-grid td.ws-hit,#sg-printcopy .ws-key .ws-grid td.ws-hit{color:#7a0000;font-weight:700;background:#f6d5d5;box-shadow:inset 0 0 0 1px #7a0000;-webkit-print-color-adjust:exact;print-color-adjust:exact}
#sg .ws-find,#sg-printcopy .ws-find{margin:0 0 6px;font:700 14px/1.3 Arial,Helvetica,sans-serif;color:#111}
#sg .ws-words,#sg-printcopy .ws-words{list-style:none;margin:0;padding:0;columns:3;column-gap:18px;font:400 16px/1.25 Arial,Helvetica,sans-serif;color:#111}
#sg .ws-words li,#sg-printcopy .ws-words li{margin:0;padding:3px 0;break-inside:avoid;overflow-wrap:anywhere;color:#111}
#sg .ws-key .ws-words,#sg-printcopy .ws-key .ws-words{columns:2;font-size:14px}
#sg .ws-w,#sg-printcopy .ws-w{font-weight:700;letter-spacing:.03em}
#sg .ws-at,#sg-printcopy .ws-at{color:#7a0000;white-space:nowrap}
#sg .ws-foot,#sg-printcopy .ws-foot{margin:10px 0 0;padding:6px 0 0;border-top:1px solid #999;font:400 11.5px/1.3 Arial,Helvetica,sans-serif;color:#444}
@media(max-width:560px){
  #sg .ws-sheet{padding:16px 10px 12px}
  #sg .ws-s10 .ws-grid{font-size:min(20px,4.6vw)}#sg .ws-s12 .ws-grid{font-size:min(18px,3.85vw)}#sg .ws-s15 .ws-grid{font-size:min(16px,3.05vw)}
  #sg .ws-words{columns:2;font-size:15px}
  #sg .ws-key .ws-words{columns:1}
  #sg .ws-who i{width:6em}#sg .ws-who i.ws-short{width:4em}
}
@page wsp{size:portrait;margin:.5in}
@media print{
  #sg-printcopy.ws-print{page:wsp}
  #sg-printcopy .ws-sheet{page:wsp;break-after:page;break-inside:avoid;height:9.6in;display:flex;flex-direction:column;overflow:hidden}
  #sg-printcopy .ws-sheet:last-child{break-after:auto}
  #sg-printcopy .ws-top{flex:none;padding:0 0 .08in;margin:0 0 .14in}
  #sg-printcopy .ws-title{font-size:16pt}
  #sg-printcopy .ws-who{font-size:12pt}
  #sg-printcopy .ws-grid{flex:none;margin:0 auto .16in}
  #sg-printcopy .ws-s10 .ws-grid{font-size:25pt}#sg-printcopy .ws-s12 .ws-grid{font-size:21pt}#sg-printcopy .ws-s15 .ws-grid{font-size:17pt}
  #sg-printcopy .ws-key.ws-s10 .ws-grid{font-size:24pt}#sg-printcopy .ws-key.ws-s12 .ws-grid{font-size:20pt}#sg-printcopy .ws-key.ws-s15 .ws-grid{font-size:16pt}
  #sg-printcopy .ws-find{flex:none;font-size:11pt;margin:0 0 .05in}
  #sg-printcopy .ws-words{flex:none;font-size:11.5pt;column-gap:.3in}
  #sg-printcopy .ws-words li{padding:.02in 0}
  #sg-printcopy .ws-key .ws-words{font-size:10.5pt}
  #sg-printcopy .ws-key .ws-words li{padding:.015in 0}
  #sg-printcopy .ws-foot{flex:none;font-size:8.5pt;margin:auto 0 0;padding:.05in 0 0}
}

/* Bingo card maker: the .bg-* rules (everything above is the word search maker's file, kept whole) */
#sg .bg-prev{margin:0 0 12px;max-width:560px}
#sg .bg-card,#sg-printcopy .bg-card,#sg .bg-call,#sg-printcopy .bg-call{box-sizing:border-box;background:#fff;color:#111;font-family:Arial,Helvetica,sans-serif;font-variant-numeric:lining-nums}
#sg .bg-card,#sg .bg-call{border-radius:6px;padding:18px 18px 12px;box-shadow:0 14px 40px rgba(0,0,0,.5)}
#sg .bg-title,#sg-printcopy .bg-title{margin:0 0 10px;font:900 1em/1.15 Arial,Helvetica,sans-serif;letter-spacing:.04em;text-align:center;color:#111;overflow-wrap:anywhere}
#sg .bg-grid,#sg-printcopy .bg-grid{border-collapse:collapse;table-layout:fixed;width:100%;margin:0;border:3px solid #111;background:#fff}
#sg .bg-grid td,#sg-printcopy .bg-grid td{box-sizing:border-box;padding:0;border:1.5px solid #111;text-align:center;vertical-align:middle;color:#111;background:#fff;height:auto}
#sg .bg-sq,#sg-printcopy .bg-sq{box-sizing:border-box;aspect-ratio:1/1;width:100%;display:flex;align-items:center;justify-content:center;padding:3px;overflow:hidden;font:700 1em/1.1 Arial,Helvetica,sans-serif;color:#111}
#sg .bg-sq span,#sg-printcopy .bg-sq span{display:block;max-width:100%;overflow-wrap:anywhere;color:#111}
#sg .bg-f1,#sg-printcopy .bg-f1{font-size:1.9em}#sg .bg-f2,#sg-printcopy .bg-f2{font-size:1.3em}#sg .bg-f3,#sg-printcopy .bg-f3{font-size:1em}#sg .bg-f4,#sg-printcopy .bg-f4{font-size:.9em}#sg .bg-f5,#sg-printcopy .bg-f5{font-size:.76em}
#sg .bg-title.bg-tl,#sg-printcopy .bg-title.bg-tl{font-size:.7em;letter-spacing:0}
#sg .bg-card,#sg .bg-call,#sg-printcopy .bg-card,#sg-printcopy .bg-call{font-size:26px}
#sg .bg-free .bg-sq,#sg-printcopy .bg-free .bg-sq{background:#111;color:#fff;letter-spacing:.06em;-webkit-print-color-adjust:exact;print-color-adjust:exact}
#sg .bg-free .bg-sq span,#sg-printcopy .bg-free .bg-sq span{color:#fff}
#sg-printcopy .bg-free .bg-sq{box-shadow:inset 0 0 0 3px #111}
#sg .bg-s3 .bg-grid{font-size:21px}#sg .bg-s4 .bg-grid{font-size:17px}#sg .bg-s5 .bg-grid{font-size:14px}
#sg .bg-foot,#sg-printcopy .bg-foot{margin:8px 0 0;font:400 11.5px/1.3 Arial,Helvetica,sans-serif;color:#444;text-align:right}
#sg .bg-calltag,#sg-printcopy .bg-calltag{margin:0 0 6px;font:700 14px/1.2 Arial,Helvetica,sans-serif;letter-spacing:.08em;text-transform:uppercase;text-align:center;color:#7a0000}
#sg .bg-how,#sg-printcopy .bg-how{margin:0 0 10px;font:400 14px/1.3 Arial,Helvetica,sans-serif;color:#111;text-align:center}
#sg .bg-calls,#sg-printcopy .bg-calls{list-style:none;margin:0;padding:8px 0 0;border-top:2px solid #111;columns:3;column-gap:16px;font:400 15px/1.25 Arial,Helvetica,sans-serif;color:#111;counter-reset:bgc}
#sg .bg-calls li,#sg-printcopy .bg-calls li{margin:0;padding:4px 0;break-inside:avoid;display:flex;align-items:flex-start;gap:6px;color:#111;counter-increment:bgc}
#sg .bg-calls li i,#sg-printcopy .bg-calls li i{flex:none;display:block;width:.85em;height:.85em;border:1.5px solid #111;margin-top:.08em}
#sg .bg-calls li span,#sg-printcopy .bg-calls li span{min-width:0;overflow-wrap:anywhere;color:#111}
#sg .bg-calls li span:before,#sg-printcopy .bg-calls li span:before{content:counter(bgc) ". ";color:#666;font-size:.8em}
#sg #sg-bg-k{width:auto;min-width:5em}
@media(max-width:560px){
  #sg .bg-card,#sg .bg-call{padding:14px 8px 10px}
  #sg .bg-card,#sg .bg-call{font-size:21px}
  #sg .bg-s3 .bg-grid{font-size:min(19px,3.9vw)}#sg .bg-s4 .bg-grid{font-size:min(15px,2.9vw)}#sg .bg-s5 .bg-grid{font-size:min(12px,2.3vw)}
  #sg .bg-sq{padding:2px}
  #sg .bg-calls{columns:2;font-size:14px}
}
@page bgp{size:portrait;margin:.5in}
@media print{
  #sg-printcopy.bg-print{page:bgp}
  #sg-printcopy .bg-page{page:bgp;break-after:page;break-inside:avoid;box-sizing:border-box;height:9.6in;overflow:hidden;display:grid;justify-items:center;align-items:center;justify-content:center;align-content:space-around;gap:.2in .3in}
  #sg-printcopy .bg-page:last-child{break-after:auto}
  #sg-printcopy .bg-p1{grid-template-columns:6.9in}
  #sg-printcopy .bg-p2{grid-template-columns:3.8in;grid-template-rows:4.8in 4.8in;gap:0}
  #sg-printcopy .bg-p4{grid-template-columns:3.4in 3.4in;grid-template-rows:4.5in 4.5in;gap:.3in .35in}
  #sg-printcopy .bg-card{width:100%;break-inside:avoid}
  #sg-printcopy .bg-p1 .bg-card{font-size:30pt}#sg-printcopy .bg-p2 .bg-card{font-size:17pt}#sg-printcopy .bg-p4 .bg-card{font-size:14pt}#sg-printcopy .bg-call{font-size:20pt}
  #sg-printcopy .bg-p1 .bg-title{margin:0 0 .15in}#sg-printcopy .bg-p2 .bg-title{margin:0 0 .07in}#sg-printcopy .bg-p4 .bg-title{margin:0 0 .06in}
  #sg-printcopy .bg-p1 .bg-s3 .bg-grid{font-size:27pt}#sg-printcopy .bg-p1 .bg-s4 .bg-grid{font-size:21pt}#sg-printcopy .bg-p1 .bg-s5 .bg-grid{font-size:17pt}
  #sg-printcopy .bg-p2 .bg-s3 .bg-grid{font-size:15pt}#sg-printcopy .bg-p2 .bg-s4 .bg-grid{font-size:11.7pt}#sg-printcopy .bg-p2 .bg-s5 .bg-grid{font-size:9.4pt}
  #sg-printcopy .bg-p4 .bg-s3 .bg-grid{font-size:13.5pt}#sg-printcopy .bg-p4 .bg-s4 .bg-grid{font-size:10.5pt}#sg-printcopy .bg-p4 .bg-s5 .bg-grid{font-size:8.4pt}
  #sg-printcopy .bg-sq{padding:.03in}
  #sg-printcopy .bg-foot{font-size:8pt;margin:.04in 0 0}
  #sg-printcopy .bg-callpage{display:block;height:auto;overflow:visible}
  #sg-printcopy .bg-calltag{font-size:11pt}
  #sg-printcopy .bg-how{font-size:11pt}
  #sg-printcopy .bg-calls{font-size:11.5pt;column-gap:.25in}
  #sg-printcopy .bg-calls li{padding:.035in 0}
  #sg-printcopy .bg-callpage .bg-foot{margin:.12in 0 0;text-align:left}
}
