/* A small paper reminder, with its own ledger behind it. */
.workbench-tools{display:flex;align-items:center;gap:25px;flex-shrink:0}
.company-sticky{position:relative;isolation:isolate;display:flex;flex-direction:column;width:182px;min-height:99px;padding:21px 18px 14px;border:0;border-radius:2px 3px 19px 2px;background:linear-gradient(145deg,#fae5a1,#edd27a);color:#423616;text-align:left;box-shadow:2px 7px 12px #0003,0 1px 0 #fff7 inset;transform:rotate(3deg);transition:transform .25s,box-shadow .25s;flex-shrink:0;line-height:1.4}
.company-sticky::before{content:"";position:absolute;top:-9px;left:55px;width:70px;height:20px;background:#d9e1bc75;border:1px solid #f1f3d22b;transform:rotate(-7deg);box-shadow:0 1px 2px #0001}
.company-sticky::after{content:"";position:absolute;bottom:0;right:0;width:19px;height:19px;border-radius:0 0 17px 0;background:linear-gradient(135deg,#c5a655 49%,#162a2c 52%);box-shadow:-2px -2px 4px #94701c19}
.company-sticky:hover,.company-sticky:focus-visible{background:linear-gradient(145deg,#ffeeb4,#f0d67f);transform:rotate(0deg) translateY(-3px);box-shadow:3px 12px 23px #0004;color:#352b13}
.company-sticky:active{transform:rotate(-1deg) translateY(1px)}
.sticky-label{font:italic 15px Georgia,serif;letter-spacing:-.3px}.company-sticky>strong{font-size:27px;letter-spacing:-1px;line-height:1.25;margin:6px 0 3px;font-weight:600;overflow-wrap:anywhere;max-width:100%;font-variant-numeric:tabular-nums}
.company-paper{position:relative;padding:24px 27px 22px;border-radius:3px 3px 24px 3px;background:repeating-linear-gradient(0deg,transparent 0,transparent 29px,#816b2310 30px),linear-gradient(125deg,#f9e8b7,#eddaa0);color:#443918;box-shadow:0 5px 15px #0003;margin-top:15px}
.company-paper-kicker{font:9px ui-monospace,monospace;letter-spacing:1.5px;color:#736036}.company-paper h2{font:italic 25px Georgia,serif;letter-spacing:-.5px;margin:13px 0 6px}.company-paper-total{font-size:44px;font-weight:550;letter-spacing:-1.6px;line-height:1.2;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.company-paper>p{font-size:11px;margin:9px 0 18px;color:#665530}.company-paper-sums{display:flex;gap:35px;border-top:1px solid #715a1e30;padding-top:13px}.company-paper-sums>span{font-size:10px;color:#665530;min-width:0}.company-paper-sums strong{display:block;font-size:17px;font-weight:500;color:#443918;margin-top:2px;overflow-wrap:anywhere}.company-separation{font-size:11px;line-height:1.7;color:var(--muted);margin:18px 0}
.company-quick-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.company-quick-actions button{font-size:12px;padding:12px 10px;text-align:left}.company-quick-actions button>span{margin-right:4px}.company-history-heading{margin:27px 0 8px}.company-history-heading h3{font-size:14px}.company-history-heading button{font-size:11px}.company-records{padding:0;margin:0;list-style:none;max-height:330px;overflow:auto}.company-record{display:flex;gap:12px;align-items:center;padding:15px 0;border-top:1px solid var(--border)}.company-record-sign{display:grid;place-items:center;background:#edd47c18;color:#f0d991;border:1px solid #edd47c30;border-radius:50%;width:29px;height:29px;flex-shrink:0;font-size:17px}.company-record-sign.is-repayment{background:#78dcdf13;border-color:#78dcdf25;color:#91e3db}.company-record-copy{min-width:0;flex:1}.company-record-copy>strong{font-size:13px;font-weight:500;overflow-wrap:anywhere;white-space:pre-wrap;display:block}.company-record-copy>span{display:block;color:var(--muted);font-size:10px;margin-top:4px}.company-record-copy>small{font-size:9px}.company-record-end{text-align:right;flex-shrink:0;max-width:43%;overflow-wrap:anywhere}.company-record-end>strong{display:block;font-size:16px;font-weight:500;font-variant-numeric:tabular-nums}.company-record-end button{padding:7px 8px;min-height:34px;font-size:10px;margin-right:-8px}
.company-empty{text-align:center;padding:22px 10px;color:var(--muted);border:1px dashed #526250;border-radius:13px}.company-empty>span{font-size:30px;color:#eddaa0}.company-empty>p{font-size:13px;margin:6px 0 12px}.company-empty>small{font-size:10px}.company-form-intro{font-size:13px}.company-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.company-form-grid>div{min-width:0}#company-amount{font-size:23px;min-height:52px;color:#f1dc9c}#company-date{min-height:52px}.company-error{padding:12px;border:1px solid #b88072;border-radius:9px;background:#3c2625;color:#ffe3dc;font-size:12px;margin-top:16px}.company-form-actions{flex-wrap:wrap}
@media(max-width:1150px){.workbench-heading{flex-wrap:wrap}.workbench-tools{margin-left:auto}}
@media(max-width:700px){.workbench-tools{width:100%;justify-content:space-between;margin:0;gap:17px;padding:8px 4px 4px 0}.workbench-tools .date-control{width:auto;max-width:190px;flex:1;min-width:0}.company-sticky{width:158px;min-height:92px;padding:17px 14px 12px}.company-sticky::before{left:46px;width:60px;height:18px}.company-sticky>strong{font-size:25px}.sticky-label{font-size:14px}.company-paper{padding:22px}.company-paper-total{font-size:38px}.company-quick-actions button{font-size:11px}.company-record{gap:9px}.company-record-copy>strong{font-size:12px}.company-record-end>strong{font-size:14px}}
@media(max-width:380px){.company-sticky{width:145px}.company-form-grid{grid-template-columns:1fr;gap:0}.company-quick-actions{grid-template-columns:1fr}.company-paper-sums{gap:18px}.company-record-sign{display:none}}
:root[data-motion=off] .company-sticky{transition:none}
@media(prefers-reduced-motion:reduce){.company-sticky{transition:none}.company-sticky:hover,.company-sticky:focus-visible{transform:rotate(3deg)}}
@media print{.company-sticky{display:none!important}}

#company-note-layer{position:fixed;inset:0;z-index:26;pointer-events:none}
#company-note-slot:empty{display:none}
.company-sticky{cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none;pointer-events:auto}
.company-sticky.is-floating{position:absolute;margin:0}
.company-sticky.is-dragging{cursor:grabbing;transform:rotate(-5deg) scale(1.05);transition:none;box-shadow:5px 20px 32px #0006}
.device-cluster{pointer-events:none}
@media print{#company-note-layer{display:none!important}}
