:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#242721;background:#f6f5f1;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-height:100vh}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button{cursor:pointer}.shell{max-width:1440px;min-height:100vh;margin:auto;display:flex;flex-direction:column}.site-header{height:88px;padding:0 52px;border-bottom:1px solid #e6e4dc;display:flex;align-items:center;justify-content:space-between;gap:32px;background:#fbfaf7}.brand{display:flex;align-items:center;gap:20px;font-size:11px;letter-spacing:.22em;font-weight:700}.brand img{width:80px;height:35px;object-fit:contain;object-position:left center}.brand span{border-left:1px solid #d6d3c8;padding-left:19px}.nav{display:flex;align-items:center;gap:28px;font-size:13px;color:#565951}.nav>a:hover,.nav>a:focus-visible,.nav-logout:hover{text-decoration:underline;text-underline-offset:5px}.nav form{margin:0}.nav-logout{border:0;background:none;color:#656960;padding:0}main{width:100%;max-width:1240px;padding:48px 32px 90px;margin:0 auto;flex:1}.site-footer{border-top:1px solid #e6e4dc;padding:24px 52px;font-size:12px;color:#888b82}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:31px}.eyebrow{text-transform:uppercase;letter-spacing:.18em;font-size:10px;font-weight:700;color:#8b9186;margin:0 0 13px}h1{font-family:Georgia,"Times New Roman",serif;font-size:48px;font-weight:400;letter-spacing:-.045em;line-height:1.05;margin:0 0 9px}h2{font-size:17px;letter-spacing:-.02em;margin:0}h3{font-family:Georgia,serif;font-size:24px;font-weight:400;margin:0 0 8px}p{line-height:1.5}.muted{color:#777c72;font-size:14px;margin:0}.button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;border-radius:5px;padding:0 18px;font-size:13px;font-weight:650;border:1px solid transparent;white-space:nowrap}.button.primary{background:#24372d;color:white}.button.primary:hover{background:#365441}.button.secondary{background:#fff;border-color:#d9ddd5;color:#304337}.button.secondary:hover{background:#f2f5f0}.panel{background:#fff;border:1px solid #e3e5df;border-radius:9px;box-shadow:0 2px 15px rgba(20,35,20,.025);padding:28px;margin-bottom:18px}.panel-top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.panel-top h2{margin-bottom:4px}.search{display:flex;gap:8px}.search input{width:280px}.field{display:flex;flex-direction:column;gap:8px;margin-bottom:18px;font-size:12px;font-weight:650;color:#495047}.field input,.field textarea,.field select,.search input{appearance:none;border:1px solid #d9ded7;border-radius:5px;padding:11px 12px;min-height:43px;background:#fff;color:#252c25;outline:none;font-size:14px;font-weight:400}.field textarea{resize:vertical;line-height:1.5}.field input:focus,.field textarea:focus,.field select:focus,.search input:focus{border-color:#456b51;box-shadow:0 0 0 3px #456b5126}a:focus-visible,button:focus-visible{outline:3px solid #709d7a;outline-offset:3px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse}th{font-size:11px;text-transform:uppercase;letter-spacing:.12em;color:#8a9189;text-align:left;font-weight:700;border-bottom:1px solid #e6e9e3;padding:12px 14px}td{border-bottom:1px solid #edf0ea;padding:19px 14px;font-size:13px;vertical-align:middle}tbody tr:last-child td{border-bottom:0}td small{display:block;color:#878e83;margin-top:5px;line-height:1.5}.align-right{text-align:right}.invoice-link{color:#274d35;font-weight:700}.invoice-link:hover{text-decoration:underline}.badge{display:inline-flex;align-items:center;border-radius:30px;padding:5px 10px;font-size:11px;font-weight:700;background:#f1f1ee;color:#666b63}.badge.issued{background:#eef2fb;color:#415c88}.badge.paid{background:#e7f4e9;color:#2d7543}.empty{text-align:center;padding:76px 20px;color:#777d73}.empty p{margin:0 0 18px}.empty a:not(.button){color:#245238;text-decoration:underline}.pagination{display:flex;justify-content:flex-end;align-items:center;gap:20px;padding:23px 10px 0;font-size:13px}.pagination a{color:#245238;text-decoration:underline}.editor{max-width:1000px}.section-heading{display:flex;gap:16px;align-items:center;margin-bottom:25px}.section-heading p{font-size:13px;color:#858a82;margin:4px 0 0}.step{display:grid;place-items:center;background:#e9eee7;color:#3d6749;border-radius:5px;font-size:11px;font-weight:700;width:34px;height:34px}.form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 18px}.editor-actions{display:flex;justify-content:space-between;align-items:center;padding:14px 0 35px;font-size:13px;color:#737b71}.editor-actions a{text-decoration:underline}.item-card{background:#fbfcfa;border:1px solid #e8ebe5;border-radius:6px;padding:18px;margin-bottom:14px}.item-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px;font-size:13px}.text-button{background:none;border:0;color:#a84848;padding:7px;font-size:12px}.text-button:hover{text-decoration:underline}.item-grid{display:grid;grid-template-columns:2fr .75fr 1fr 1fr;gap:0 12px}.actions{display:flex;gap:8px}.invoice-view{padding:40px}.invoice-head{display:grid;grid-template-columns:2fr 1fr 1.5fr;gap:36px;margin:0 0 70px}.invoice-head h2{margin:0 0 10px}.invoice-head p:not(.eyebrow){font-size:13px;line-height:1.6;color:#5e655d;margin:0 0 14px}.totals{max-width:300px;margin:25px 0 0 auto}.totals div{display:flex;justify-content:space-between;padding:10px 0;font-size:13px}.totals .grand{border-top:1px solid #344a38;font-size:15px;font-weight:700;padding-top:17px}.narrow{max-width:500px}.login-card{max-width:430px;margin:7vh auto 0;background:#fff;border:1px solid #e3e5df;border-radius:9px;padding:40px}.login-card h1{font-size:38px}.login-card .muted{margin-bottom:30px}.login-card .button{width:100%;margin-top:6px}.alert{border:1px solid #e8c8c4;background:#fff5f3;color:#863d37;padding:13px 16px;border-radius:5px;margin-bottom:18px;font-size:13px}.alert-success{border-color:#bcddc2;background:#eff9f0;color:#2d6a3b}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:900px){.site-header{padding:0 24px}.nav{gap:15px}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.item-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:680px){.site-header{height:auto;min-height:75px;display:block;padding:16px 20px}.brand{margin-bottom:17px}.nav{overflow:auto;white-space:nowrap;padding-bottom:5px}main{padding:32px 17px 60px}.site-footer{padding:22px}.page-heading{display:block}.page-heading .button,.page-heading .actions{margin-top:20px}.page-heading h1{font-size:39px}.panel{padding:20px}.panel-top{display:block}.search{margin-top:18px}.search input{width:100%;min-width:0}.form-grid,.item-grid,.invoice-head{grid-template-columns:1fr}.invoice-head{gap:17px;margin-bottom:35px}.invoice-view{padding:20px}.login-card{margin:3vh auto;padding:26px}.actions{flex-wrap:wrap}}@media(prefers-reduced-motion:no-preference){.button{transition:background .16s ease,border-color .16s ease}}
:root .brand img{width:90px;height:39px;object-fit:cover;object-position:center}
