:root{--ink:#292d32;--muted:#74848a;--line:#e8edeb;--paper:#fff;--bg:#f4f5f6;--teal:#f8e9e9;--green:#bd2026;--gold:#f3eded;--coral:#f4e9e9;--serif:Manrope, sans-serif;--sans:'DM Sans',sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px var(--sans);-webkit-font-smoothing:antialiased}.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:240px;background:#fff;border-right:1px solid var(--line);padding:28px 17px;display:flex;flex-direction:column;z-index:2}.brand{display:flex;gap:11px;align-items:center;color:var(--ink);text-decoration:none;font:800 19px var(--serif);letter-spacing:-1px;padding:0 7px}.brand-mark{width:35px;height:35px;border-radius:12px;background:#bd2026;color:#ffffff;display:grid;place-items:center;font:800 19px var(--serif);box-shadow:0 4px 10px #bd202622}.brand-sub{display:block;font:600 8px var(--sans);letter-spacing:1.45px;color:#879496;margin-top:2px}.workspace-label{margin:49px 9px 13px;font-size:9px;letter-spacing:1.5px;font-weight:700;color:#a0aaab}.nav-item{height:42px;padding:0 10px;display:flex;align-items:center;gap:11px;text-decoration:none;color:#66777b;border-radius:8px;font-size:12px;font-weight:600;margin-bottom:4px}.nav-item.active{background:#f8e9e9;color:#a51d23}.nav-icon{width:18px;text-align:center;font-size:17px}.nav-count{margin-left:auto;background:#fff;border:1px solid #e9efeb;border-radius:6px;padding:2px 7px;color:#647977;font-size:10px}.sidebar-bottom{margin-top:auto}.secure-note{display:flex;align-items:center;gap:9px;background:#f4f5f6;padding:12px 10px;border-radius:9px;margin-bottom:18px}.secure-icon{width:28px;height:28px;border-radius:8px;background:#f8e9e9;display:grid;place-items:center;color:#b11f25;font-size:17px}.secure-note strong,.secure-note span,.profile-copy strong,.profile-copy span{display:block}.secure-note strong{font-size:10px}.secure-note span{font-size:8px;color:var(--muted);margin-top:3px}.profile{display:flex;align-items:center;gap:9px;border-top:1px solid var(--line);padding:16px 4px 0}.avatar,.top-avatar{width:31px;height:31px;display:grid;place-items:center;background:#ececee;color:#51565c;border-radius:50%;font-size:9px;font-weight:700}.profile-copy{flex:1}.profile-copy strong{font-size:10px}.profile-copy span{font-size:9px;color:var(--muted);margin-top:3px}.dots{color:#8e9b99;font-size:20px;letter-spacing:1px}.main{margin-left:240px;min-height:100vh}.topbar{height:63px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 5.2%}.breadcrumb{font-size:11px;color:#96a2a2}.breadcrumb span{padding:0 9px;color:#c4cdca}.breadcrumb b{font-weight:600;color:#3b5258}.top-actions{display:flex;align-items:center;gap:17px}.today{font-size:10px;color:#809091}.top-avatar{width:28px;height:28px;font-size:8px}.content{max-width:1260px;margin:auto;padding:34px 5.2% 22px}.welcome{min-height:210px;border-radius:14px;background:#eaf1eb;position:relative;overflow:hidden;display:flex;align-items:center;padding:28px 38px}.welcome>div:first-child{z-index:1}.eyebrow{font-size:9px;font-weight:700;letter-spacing:1.3px;color:#738a81}.live-dot,.footer-dot{display:inline-block;width:6px;height:6px;background:#bd2026;border-radius:50%;vertical-align:1px;margin-right:5px}.welcome h1{font:600 30px/1.15 var(--serif);letter-spacing:-1.5px;margin:12px 0 8px;color:#203b3d}.welcome p{max-width:385px;color:#667c79;font-size:11px;line-height:1.6;margin:0 0 16px}.button{border:0;border-radius:7px;padding:10px 14px;font:600 10px var(--sans);cursor:pointer;transition:transform .15s,background .15s}.button:hover{transform:translateY(-1px)}.button-dark{color:white;background:#bd2026;box-shadow:0 4px 9px #bd202622}.button-dark:hover{background:#991a20}.button-dark span:first-child{font-size:15px;vertical-align:-1px;margin-right:4px}.button-light{background:#fff;border:1px solid #e2e9e6;color:#a51d23}.welcome-art{position:absolute;right:6%;top:0;width:315px;height:100%;opacity:.92}.orbit{position:absolute;border:1px solid #d5e2d7;border-radius:50%;transform:rotate(-22deg)}.orbit-a{width:250px;height:178px;right:9px;top:20px}.orbit-b{width:208px;height:236px;right:45px;top:-10px;transform:rotate(31deg)}.art-card{position:absolute;box-shadow:0 12px 22px #335b5014;border:1px solid #ffffffaa;background:#fff;border-radius:11px}.art-small{right:6px;top:42px;width:88px;height:86px;transform:rotate(8deg);padding:11px;color:#78918a;font-size:8px;line-height:1.6;letter-spacing:.5px}.art-spark{display:block;font-size:16px;color:#bd2026;margin-bottom:5px}.art-large{right:104px;top:55px;width:128px;height:101px;transform:rotate(-5deg);padding:14px}.art-avatar{display:grid;place-items:center;width:29px;height:29px;border-radius:9px;background:#f8e9e9;color:#bd2026;font-size:18px;margin-bottom:10px}.art-line{display:block;height:5px;border-radius:8px;width:67px;background:#e4ece6;margin-bottom:5px}.art-line.short{width:44px;background:#eef1ed}.art-check{position:absolute;right:13px;top:63px;width:19px;height:19px;border-radius:50%;display:grid;place-items:center;background:#f8e9e9;color:#508566;font-size:11px}.art-tag{position:absolute;right:36px;bottom:22px;background:#fff;border-radius:20px;padding:7px 11px;box-shadow:0 7px 17px #335b5012;font-size:8px;color:#637d73}.art-tag span{color:#bd2026;margin-left:5px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:18px 0 32px}.stat-card{background:#fff;border:1px solid #ebefec;border-radius:11px;padding:15px 17px 14px;min-height:93px}.stat-head{display:flex;justify-content:space-between;align-items:center;font-size:8px;letter-spacing:1px;font-weight:700;color:#879392}.stat-icon{width:24px;height:24px;border-radius:7px;display:grid;place-items:center;font-size:13px}.teal{background:var(--teal);color:#b11f25}.gold{background:var(--gold);color:#bd2026}.coral{background:var(--coral);color:#9c4549}.stat-num{font:600 25px var(--serif);letter-spacing:-1px;margin-top:3px}.stat-foot{font-size:9px;color:#9aa5a3;margin-top:1px}.section-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:12px}.section-heading h2{font:600 19px var(--serif);letter-spacing:-.7px;margin:6px 0 0}.record-count{display:inline-grid;place-items:center;min-width:21px;height:20px;border-radius:7px;background:#ececee;color:#6b8177;font:600 9px var(--sans);vertical-align:3px;letter-spacing:0;margin-left:3px}.record-tools{display:flex;align-items:center;gap:9px}.search{display:flex;align-items:center;gap:5px;height:33px;border:1px solid #e3e9e6;background:#fff;border-radius:7px;padding:0 9px;color:#96a3a1}.search span{font-size:19px}.search input{width:125px;border:0;outline:0;font:10px var(--sans);color:var(--ink)}.search input::placeholder{color:#a5b0ae}.record-tools .button{height:33px;padding:0 12px;font-size:9px}.table-card{background:#fff;border:1px solid #e9eeeb;border-radius:10px;overflow:hidden;min-height:184px}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;white-space:nowrap}th{text-align:left;color:#96a09f;font-size:8px;letter-spacing:.85px;font-weight:700;padding:13px 13px;border-bottom:1px solid #edf0ee}td{padding:11px 13px;border-bottom:1px solid #f0f2f0;font-size:10px;color:#52656a}tbody tr:last-child td{border-bottom:0}.person-cell{display:flex;align-items:center;gap:9px}.person-avatar{width:27px;height:27px;display:grid;place-items:center;border-radius:8px;background:#f8e9e9;color:#a51d23;font-size:9px;font-weight:700}.person-name{font-weight:600;color:#344c50}.person-sub{font-size:8px;color:#99a4a2;margin-top:3px}.mono{font:10px ui-monospace,Consolas,monospace;color:#546a6d}.pill{display:inline-flex;align-items:center;gap:5px;border-radius:20px;padding:5px 8px;font-size:8px}.pill.signed{background:#e9f3ec;color:#a51d23}.pill.pending{background:#f3eded;color:#7b6263}.pill-dot{width:5px;height:5px;background:currentColor;border-radius:50%}.row-action{border:0;background:transparent;color:#8a9a96;font-size:16px;cursor:pointer;padding:4px 8px}.empty-state{min-height:182px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:20px}.empty-illustration{width:37px;height:37px;display:grid;place-items:center;border-radius:12px;background:#edf4ef;color:#bd2026;font-size:22px;margin-bottom:9px}.empty-state strong{font:600 13px var(--serif)}.empty-state>span{font-size:9px;color:#899896;margin:5px 0 11px}.empty-state .button{padding:8px 11px;font-size:9px}footer{display:flex;justify-content:space-between;margin-top:25px;color:#a0aaa7;font-size:8px}footer .footer-dot{background:#bd2026;width:5px;height:5px}.modal-backdrop{position:fixed;inset:0;background:#132b2d70;z-index:5;display:none;align-items:center;justify-content:center;padding:18px;backdrop-filter:blur(3px)}.modal-backdrop.open{display:flex}.modal{position:relative;background:#fff;border-radius:15px;width:min(560px,100%);max-height:92vh;overflow:auto;padding:28px;box-shadow:0 25px 80px #122e3033}.close{position:absolute;right:16px;top:13px;border:0;background:transparent;color:#74827e;font-size:24px;cursor:pointer}.modal-kicker{font-size:9px;font-weight:700;letter-spacing:1.2px;color:#688579}.modal h2{font:600 23px var(--serif);letter-spacing:-.9px;margin:7px 0 5px}.modal-intro{font-size:11px;color:#788985;line-height:1.55;margin:0 0 19px}.form-grid{display:grid;grid-template-columns:1fr 90px 1fr;gap:10px}.field label{display:block;font-size:9px;font-weight:600;color:#5e706f;margin-bottom:6px}.field input,.field select{width:100%;height:37px;border:1px solid #dfe7e2;border-radius:7px;padding:0 10px;font:11px var(--sans);outline-color:#bd2026}.field.full{grid-column:1/-1}.credential-preview{background:#f5f5f6;border:1px solid #ececee;border-radius:9px;padding:11px 12px;margin-top:15px}.preview-head{display:flex;justify-content:space-between;font-size:8px;font-weight:700;letter-spacing:.7px;color:#73837d}.preview-head span{font-weight:400;letter-spacing:0;color:#9ba6a1}.preview-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:8px}.preview-item{background:#fff;border:1px solid #edf1ee;border-radius:6px;padding:8px}.preview-item span{display:block;font-size:8px;color:#98a5a0;margin-bottom:4px}.preview-item code{font:10px ui-monospace,Consolas,monospace;color:#a51d23}.preview-note{font-size:8px;color:#85938e;line-height:1.5;margin:9px 0 0}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}.button-outline{border:1px solid #e1e8e4;background:#fff;color:#657771}.credential-reveal{background:#eef5ef;border:1px solid #dceade;border-radius:9px;padding:12px 14px;margin:13px 0}.credential-reveal p{font-size:9px;color:#658074;margin:0 0 9px}.credential-reveal .preview-grid{margin:0}.notice{background:#faf1f1;border:1px solid #efd9da;border-radius:8px;padding:10px 12px;font-size:9px;color:#76595a;line-height:1.5;margin:12px 0}.agreement-drop{border:1px dashed #cbd8d0;background:#fafcf9;border-radius:9px;padding:16px;text-align:center;margin:14px 0}.agreement-drop strong{font-size:10px;display:block}.agreement-drop span{display:block;font-size:9px;color:#87958e;margin:4px 0 8px}.agreement-drop input{font-size:9px;max-width:210px}.agreement-doc{max-height:230px;overflow:auto;background:#f7f9f7;border:1px solid #e8edea;border-radius:8px;padding:13px;font-size:9px;color:#657570;line-height:1.6}.signature-canvas{display:block;width:100%;height:90px;border:1px solid #dfe7e2;border-radius:7px;background:#fff;touch-action:none;cursor:crosshair}.signature-label{font-size:8px;color:#98a39f;margin:5px 0}.modal-error{color:#b55b49;font-size:9px;margin-top:8px;min-height:12px}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);opacity:0;background:#193d3c;color:white;padding:10px 15px;border-radius:8px;font-size:10px;transition:all .2s;pointer-events:none;z-index:10}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:940px){.sidebar{width:205px}.main{margin-left:205px}.welcome{padding-left:27px}.welcome-art{right:1%;transform:scale(.85);transform-origin:center right}.content{padding-left:3.5%;padding-right:3.5%}th,td{padding-left:9px;padding-right:9px}}@media(max-width:700px){.sidebar{position:relative;width:auto;height:56px;padding:10px 14px;flex-direction:row;align-items:center;border-right:0;border-bottom:1px solid var(--line)}.brand{font-size:17px}.brand-mark{width:31px;height:31px}.brand-sub{font-size:7px}.workspace-label,.nav-item,.sidebar-bottom{display:none}.main{margin:0}.topbar{height:48px;padding:0 16px}.today{font-size:9px}.content{padding:18px 13px}.welcome{min-height:211px;padding:22px 20px;align-items:flex-start}.welcome h1{font-size:26px}.welcome p{max-width:270px;font-size:10px}.welcome-art{right:-83px;top:42px;transform:scale(.65);opacity:.5}.welcome>div:first-child{max-width:80%}.stats{gap:7px;margin:12px 0 22px}.stat-card{padding:11px 9px;min-height:80px}.stat-head{font-size:6px;letter-spacing:.5px}.stat-icon{width:19px;height:19px;font-size:11px}.stat-num{font-size:21px}.stat-foot{font-size:7px}.section-heading{align-items:flex-start;gap:9px;flex-direction:column}.section-heading h2{font-size:18px}.record-tools{width:100%}.search{flex:1}.search input{width:100%;min-width:0}.table-card{min-height:162px}.table-scroll table{min-width:680px}.empty-state{min-height:158px;padding:16px 10px}.empty-state>span{max-width:260px;line-height:1.5}footer{margin-top:18px;font-size:7px}.form-grid{grid-template-columns:1fr 65px 1fr;gap:8px}.modal{padding:23px 17px}.modal h2{font-size:20px}.preview-item{padding:7px 5px}.preview-item code{font-size:9px}.credential-reveal{padding:9px}.modal-backdrop{padding:10px}}
@media print{body{background:#fff}.sidebar,.topbar,.welcome,.stats,.section-heading,.sidebar-bottom,footer,.toast{display:none!important}.main{margin:0}.content{padding:0}.records{margin:0}.table-card{border:0}.empty-state{display:none!important}.modal-backdrop{display:none!important}body.printing-creds #modal{display:flex!important;position:static!important;background:#fff!important;padding:0!important;backdrop-filter:none!important}body.printing-creds .modal{width:100%;max-height:none;overflow:visible;box-shadow:none;padding:0}body.printing-creds .modal .close,body.printing-creds .modal-actions{display:none!important}body.printing-creds .modal .notice{border:1px solid #ddd;background:#fff;color:#444}}

.check-line{display:flex;gap:10px;align-items:flex-start;margin:16px 0;color:#53685e;font-size:13px}.check-line input{margin-top:2px;accent-color:#bd2026}
.person-cell>span:last-child{min-width:0}.person-details{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}.person-name,.person-sub{display:inline}.person-sub{margin-top:0}

/* Matrix Tool identity: red, charcoal, and precision-focused neutrals. */
.brand-mark{width:38px;height:38px;object-fit:contain;display:block;flex:none;border-radius:0;background:transparent;box-shadow:none;color:inherit}
.brand-name{display:block;color:#292d32;font:800 13px/1.2 Manrope,'DM Sans',Arial,sans-serif;letter-spacing:.25px;white-space:nowrap}
.brand-sub{display:block;font:600 8px/1.35 'DM Sans',Arial,sans-serif;letter-spacing:1.55px;color:#74797e;margin-top:3px}
.button-dark{background:#bd2026;color:#fff}.button-dark:hover{background:#991a20}.nav-item.active{background:#f8e9e9;color:#a51d23}.welcome{background:#f0f1f2;border-top:3px solid #bd2026}.live-dot,.footer-dot{background:#bd2026}.art-spark,.art-tag span{color:#bd2026}.art-avatar{background:#f8e9e9;color:#bd2026}.person-avatar{background:#f8e9e9;color:#a51d23}.pill.signed{background:#f8e9e9;color:#a51d23}.empty-illustration{background:#f8e9e9;color:#bd2026}.search:focus-within,.field input:focus,.field select:focus,.auth-form input:focus{border-color:#bd2026;outline-color:#bd2026}

.nav-item.admin-nav{border:0;background:transparent;width:100%;text-align:left;font:600 12px var(--sans);cursor:pointer}.nav-item.admin-nav:hover,.nav-item.admin-nav:focus-visible{background:#f8e9e9;color:#a51d23}

.it-submit-message{margin:8px 0;color:#6f777d;font-size:9px;line-height:1.45}.it-submit-button{height:32px;padding:0 12px;font-size:9px}.it-submit-button:disabled{opacity:.5;cursor:not-allowed}
