/* records screen */
.rrib{position:absolute;left:112px;top:6px;padding:6px 40px;background:linear-gradient(#b8352c,#8f1f1a);border:3px solid #4a2418;border-radius:8px;color:var(--cream);font-family:'Brush';font-style:italic;font-size:42px;line-height:1.05;box-shadow:0 4px 0 rgba(0,0,0,.4);text-shadow:0 2px 0 rgba(60,10,5,.5);white-space:nowrap}
.rrib span{font-size:30px;opacity:.9;margin:0 6px}
.recsub{position:absolute;left:850px;top:20px;font-size:17px;font-style:italic;color:var(--cream);text-shadow:0 2px 3px #000;line-height:1.1}
.rtabs{position:absolute;left:60px;top:172px;width:1310px;display:flex;gap:7px;z-index:2}.rtab span{white-space:nowrap}
.rtab{display:flex;align-items:center;gap:12px;width:auto;min-width:0;flex:1 1 auto;height:56px;padding:0 10px;border:3px solid var(--brown);border-radius:10px;background:url(../assets/tex_washi.jpg);background-size:300px;font-family:'Brush';font-style:italic;font-size:30px;box-shadow:0 3px 0 rgba(0,0,0,.4)}
.rtab svg{width:34px;height:34px;stroke:#2a1c12;fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.rtab:hover{filter:brightness(1.07)}
.rtab.on{background:linear-gradient(#b8352c,#8f1f1a);color:var(--cream);border-color:#e8b04a;box-shadow:0 0 0 3px rgba(255,200,80,.6),0 0 22px 6px rgba(255,190,60,.75)}
.rtab.on svg{stroke:var(--cream)}
.ph small{font-family:'Hand';font-size:18px;opacity:.9}
.ph{font-size:23px;white-space:normal;overflow:visible}.ph small{font-size:15px}.ph>span{overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
.panel .pb{padding:6px 10px}
/* timeline */
.tl{display:flex;gap:0;align-items:flex-start}
.bcell{display:flex;align-items:center}
.bc{width:106px;padding:3px 3px 5px;border:2px solid var(--brown);border-radius:8px;background:rgba(255,248,225,.75);text-align:center;display:flex;flex-direction:column;align-items:center}
.bc.nx{background:#fff0b8;border-color:#b8891f}
.recbn{display:flex;align-items:center;gap:4px}.recbn b{font-size:24px;font-weight:400;line-height:1}.bi{font-style:normal;color:var(--red);font-size:22px}
.bc small{font-size:14px;line-height:1.05;color:#4e3a28;display:block}
.bb{margin-top:3px;font-size:17px;min-width:84px;padding:0 4px;border-radius:5px;background:#eadcb4;border:2px solid #cdb98a}
.bb.gold{background:#f4d56a;border-color:#b8891f;color:#6a4a00}.bb.silver{background:#dfe1e4;border-color:#8a8f97}.bb.up2{background:#f9e08a;border-color:#b8891f;color:#7a5200}
.trv{width:56px;display:flex;flex-direction:column;align-items:center;font-size:13px;line-height:1;color:#4e3a28}.trv small{font-size:11px}.trv svg{width:26px;height:22px;stroke:#2a1c12;fill:none;stroke-width:1.8}
.tline{position:relative;height:6px;margin:10px 10px 0;background:#b5987a;border-radius:3px}.tline i{position:absolute;left:0;top:0;height:100%;background:var(--red);border-radius:3px}.tline span{position:absolute;top:-6px;width:18px;height:18px;margin-left:-9px;border-radius:50%;background:var(--mustard);border:3px solid var(--red2)}
/* reputation */
.rep{display:flex;gap:10px}.rl{flex:1}.rs{flex:1.1;border:2px solid var(--brown);border-radius:6px;padding:2px 6px;background:rgba(255,248,225,.6)}
.rh{display:flex;justify-content:space-between;font-size:22px}.rh b{font-weight:400;font-size:28px}.rh small{font-size:16px;color:#6a5640}
.rr{display:flex;justify-content:space-between;font-size:18px;border-bottom:1px dotted #b49a6c;padding:2px 0}.rr b{font-weight:400}.rr span{white-space:nowrap}
.dv{font-size:13px}.sh{text-align:center;color:var(--red2);font-size:17px;border-bottom:2px solid #a98d63}
.sp{display:flex;align-items:center;gap:4px;font-size:15px;margin-top:2px;line-height:1;justify-content:space-between}.sp b{white-space:nowrap}.sp b{display:block;font-size:16px;font-weight:400}.sp small{font-size:12px;color:#6a5640}.sp em{font-style:normal;font-size:13px;white-space:nowrap;color:#2f7a22}
.sk{width:30px;height:30px;display:grid;place-items:center;font-size:12px;background:var(--indigo);color:var(--cream);border-radius:5px;flex:none}
/* events */
.evl{height:100%;max-height:100%}.ev{display:flex;gap:6px;align-items:flex-start;font-size:16px;line-height:1.05;padding:3px 0;border-bottom:1px dotted #b49a6c}.ev b{font-weight:400;color:#6a5640;white-space:nowrap}.ev .chk{width:16px;height:16px;border-width:2px;font-size:13px;margin-top:1px}
.recempty{font-size:17px;line-height:1.15;padding:6px}
/* rank */
.lad{display:flex;gap:6px;height:100%}.lf{width:140px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;overflow:hidden;border:2px solid var(--brown);border-radius:8px;background:radial-gradient(circle at 50% 100%,#f4e6c4,#d8c595)}
.lf img{height:104px;object-fit:contain}.lf b{font-size:21px;font-weight:400;line-height:1}.lf small{font-size:14px;color:#6a5640}
.lr{flex:1}.lrow{display:flex;align-items:center;gap:6px;font-size:16px;height:19px;padding:0 4px;border-bottom:1px dotted #cdb98a}.lrow i{font-style:normal;color:#b8891f;width:18px;font-size:14px}.lrow.pas{color:#6a5640}
.lrow.cur{background:linear-gradient(#ffe58a,#f6c94b);border:2px solid #b8891f;border-radius:5px}.lrow em{margin-left:auto;font-style:normal;font-size:14px;color:var(--red2)}
/* trophies */
.cups{display:flex;gap:6px;justify-content:space-around;height:100%}.cup{flex:1;text-align:center;display:flex;flex-direction:column;align-items:center;font-size:16px;line-height:1.05}
.ci{width:112px;height:120px;background:url(../assets/trophies.png) no-repeat;background-size:300% 100%}.cup b{font-family:'Brush';font-weight:400;font-size:19px}.cup small{font-size:14px;color:#6a5640}
.cups.dim{opacity:.35;filter:grayscale(.6)}.emp2{position:absolute;left:10px;right:10px;bottom:4px;font-size:15px;text-align:center}
/* goals */
.rgp .pb{background:linear-gradient(rgba(255,246,223,.72),rgba(255,246,223,.9)),url(../assets/bg_records.jpg);background-size:cover;background-position:center 20%}
.g{display:flex;align-items:center;gap:7px;font-size:16px;height:22px}.g b{font-weight:400;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.g .bar{width:94px;height:10px;flex:none}.g em{font-style:normal;width:46px;text-align:right;font-size:15px}.g .chk{width:20px;height:20px;border-width:2px;font-size:16px}
.g.fin{margin-top:2px;color:#7a5200;font-size:22px;border-top:2px dotted #a98d63;height:28px}.g.fin b{font-size:24px;color:#b8891f}.g.fin i{font-style:normal;opacity:.7}.g.fin.won{background:linear-gradient(#ffe58a,#f6c94b);border-radius:6px;padding:0 6px;color:#6a4a00}
/* travel */
.tv{display:flex;align-items:center;gap:8px;font-size:17px;height:33px;border-bottom:1px dotted #b49a6c}.tv span:nth-child(2){flex:1;line-height:1}.tv em{font-style:normal;font-size:15px;color:#6a5640}.tv em.up{color:#2f7a22}.tv em.prep{background:#f9e08a;padding:0 6px;border-radius:4px;color:#7a5200}
.tv .chk{width:18px;height:18px;border-width:2px;font-size:14px}
.rtv .pb{background:linear-gradient(rgba(255,246,223,.55),rgba(255,246,223,.95) 60%),url(../assets/bg_records.jpg);background-size:cover;background-position:bottom}.tvn{font-size:14px;margin-top:6px;line-height:1.1}
/* tables / notable / metrics / finance */
table.t.sm{font-size:15px}table.t.sm th,table.t.sm td{padding:2px 3px}
.nw{display:flex;gap:6px;align-items:center;margin-bottom:5px}.nw .face{width:42px;height:42px;flex:none}.nw small.inl{display:inline;font-size:13px}.nw b{display:block;white-space:nowrap;font-weight:400;font-size:18px;line-height:1}.nw small{display:block;font-size:13px;line-height:1.05;color:#4e3a28}.nwl{height:100%}
.al0{display:grid!important;place-items:center;background:var(--indigo)!important;color:var(--cream);font-family:'Brush';font-size:26px}
.lm{display:flex;justify-content:space-between;font-size:16px;height:21px;align-items:center;border-bottom:1px dotted #b49a6c}.lm b{font-weight:400;white-space:nowrap}.lm em{font-style:normal;font-size:13px;margin-left:4px}
.lm.pr{border:0;margin-top:2px;background:rgba(255,230,150,.5);border-radius:5px;padding:0 4px}
.recfl{display:flex;justify-content:space-between;font-size:16px;line-height:1.05}.recfl.hd{font-size:17px;font-weight:700;border-bottom:1px dotted #a98d63;margin-top:2px}.recfl.hd b{font-weight:400}.recfl.sub{padding-left:14px;font-size:14px;color:#4e3a28}
.recfl.net{margin-top:2px;font-size:21px;background:rgba(255,230,150,.6);border-radius:5px;padding:0 4px}.recfl.net b{font-weight:400}.recfl.prv{font-size:13px;color:#6a5640}
/* records tab */
.tbl{height:100%}tr.clk{cursor:pointer}tr.clk:hover,tr.hl2{background:rgba(255,230,150,.55)}
.bzh{font-size:20px}.bzh b{font-weight:400;font-size:24px}.bzc{width:100%;height:112px;margin-top:2px}.bzt{height:108px}
/* legacy tab */
.ykb{display:flex;align-items:center;gap:14px;height:100%;font-size:19px}.ykb span{font-size:46px;color:#b8891f;opacity:.55}.ykb b{display:block;font-size:30px;font-weight:400;line-height:1}.ykb small{font-size:18px;color:#4e3a28}
.ykb.on span{opacity:1}.ykb.on b{color:#a82a24}.ykp .pb{background:rgba(255,230,150,.35)}
.acs{height:100%;display:grid;grid-template-columns:repeat(4,1fr);gap:8px;align-content:start}.ac{border:2px solid var(--brown);border-radius:8px;background:rgba(255,248,225,.75);padding:6px;text-align:center;display:flex;flex-direction:column;align-items:center}
.ac .face{width:64px;height:64px;font-size:34px}.ac b{font-weight:400;font-size:21px;line-height:1.1}.ac small{font-size:14px;color:#4e3a28;line-height:1.1}
.acs .recempty{grid-column:1/-1}
.pres b.brush{font-size:44px;color:var(--red2);display:block;line-height:1}.pres>small{font-size:14px;display:block;margin-bottom:4px;line-height:1.1}
.hcs{height:100%;display:grid;grid-template-columns:repeat(3,1fr);gap:6px;align-content:start}.hc{border:2px solid var(--brown);border-radius:7px;background:rgba(255,248,225,.75);padding:4px 8px;font-size:15px;line-height:1.05}.hc b{display:block;font-weight:400;font-size:19px;font-family:'Brush'}.hc span{float:right;color:#b8891f;font-size:20px}.hc span.gold{color:#d19a10}.hc small{color:#6a5640}
.hcs .recempty{grid-column:1/-1}

.cup{min-width:0;overflow:hidden}.cup b{white-space:nowrap}.cup small{white-space:nowrap}.ci{width:100px;height:112px}
.pres .lm{height:20px}
/* 8 tabs must fit 1310px */
.rtabs .rtab{gap:6px;padding:0 6px;font-size:24px;justify-content:center}.rtabs .rtab svg{width:26px;height:26px}

/* Calendar plans ahead; history stays in Records. */
.rtl .tl{justify-content:space-between}.rtl .bcell{flex:1;justify-content:center}.rtl .bc{width:140px;min-height:115px}.rtl .trv{width:70px}
.cal-tasks,.cal-moments{height:100%}.cal-task{display:flex;align-items:center;gap:12px;padding:12px 4px;border-bottom:2px dotted #b49a6c;cursor:pointer}.cal-task>div{flex:1;min-width:0}.cal-task b{display:block;font-size:23px;font-weight:400}.cal-task small{display:block;font-size:17px;color:#6a5640}.cal-task>span:last-child{white-space:nowrap;font-size:18px}.cal-upcoming{display:flex;gap:20px;padding:9px;border-bottom:1px dotted #b49a6c}.cal-upcoming b{flex:none}
.rtabs .rtab{font-size:22px;gap:5px;padding:0 5px}.rtabs .rtab svg{width:23px;height:23px;flex:none}.rtabs .rtab span{min-width:0;white-space:normal;overflow-wrap:anywhere;line-height:1}

.cal-next h2{font-size:28px;line-height:1}.cal-next p{margin:5px 0;line-height:1.05}
