:root{--ink:#14232b;--navy:#123447;--blue:#1d546d;--orange:#e99b3e;--paper:#eef3f5;--line:#d5e0e4;--muted:#687a82;--green:#26765c;--danger:#a84436}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--paper);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-tap-highlight-color:transparent}button,input,textarea,select{font:inherit}.appShell{min-height:100dvh;padding-bottom:88px}.topbar{position:sticky;z-index:10;top:0;display:flex;align-items:center;gap:11px;padding:calc(12px + env(safe-area-inset-top)) 16px 12px;background:linear-gradient(120deg,#0d2c3c,#164b61);color:#fff;box-shadow:0 5px 24px #0a26345c}.brandMark,.profileLogo{display:grid;width:42px;height:42px;flex:0 0 42px;place-items:center;border:1px solid #ffffff3d;border-radius:12px;background:#ffffff17;color:#fff;font-weight:900}.brandWords{min-width:0;flex:1}.topbar h1{overflow:hidden;margin:2px 0 0;font-size:17px;text-overflow:ellipsis;white-space:nowrap}.eyebrow{font-size:9px;font-weight:800;letter-spacing:.16em;opacity:.7}.connection{border-radius:99px;padding:7px 9px;font-size:10px;font-weight:750}.online{background:#ffffff1c}.offline{background:var(--orange);color:#1f2d33}.content{width:min(800px,100%);margin:auto;padding:20px 16px}.setupNotice{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;border:1px solid #e7bc7c;border-radius:16px;padding:13px;background:#fff4e3;color:#65421a}.setupNotice div{display:flex;flex-direction:column;gap:3px}.setupNotice span{font-size:12px;line-height:1.35}.setupNotice button{flex:0 0 auto;border:0;border-radius:10px;padding:10px;background:var(--orange);font-size:12px;font-weight:800}.hero{border-radius:24px;padding:28px 24px;background:linear-gradient(135deg,#153b4e,#1b6078);color:#fff;box-shadow:0 15px 38px #12344728}.hero h2{margin:6px 0 8px;font-size:30px;letter-spacing:-.04em}.hero p:last-child{max-width:520px;margin:0;color:#dcebf0;line-height:1.55}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:14px 0 30px}.stats button{min-width:0;border:1px solid var(--line);border-radius:16px;padding:16px 8px;background:#fff;color:var(--ink);box-shadow:0 6px 18px #1737440d}.stats b{display:block;overflow:hidden;font-size:20px;text-overflow:ellipsis}.stats span{display:block;margin-top:5px;color:var(--muted);font-size:11px}.sectionHead,.pageHead{display:flex;align-items:center;justify-content:space-between;margin:7px 2px 15px}.sectionHead h3,.pageHead h2{margin:0}.sectionHead button{border:0;background:none;color:var(--blue);font-weight:700}.pageHead h2{font-size:27px;letter-spacing:-.03em}.pageHead button{border:0;border-radius:12px;padding:11px 13px;background:var(--orange);color:#17272e;font-size:13px;font-weight:800}.nextJob{display:flex;gap:13px;margin:9px 0;border:1px solid var(--line);border-radius:17px;padding:14px;background:#fff}.nextJob>div:last-child{display:flex;min-width:0;flex-direction:column;gap:3px}.nextJob span{overflow:hidden;color:var(--muted);font-size:13px;text-overflow:ellipsis;white-space:nowrap}.nextJob small{font-size:11px;color:var(--blue)}.tradeBadge{display:grid;width:42px;height:42px;flex:0 0 42px;place-items:center;border-radius:12px;background:#e6f0f3;color:var(--blue);font-weight:900}.cardList{display:grid;gap:11px}.recordCard{display:flex;width:100%;flex-direction:column;align-items:stretch;gap:5px;border:1px solid var(--line);border-radius:17px;padding:16px;background:#fff;color:var(--ink);text-align:left;box-shadow:0 4px 14px #1737440b}.recordMain{display:flex;width:100%;flex-direction:column;align-items:flex-start;gap:5px;border:0;padding:0;background:transparent;color:inherit;text-align:left}.recordTitle{font-size:17px;font-weight:800}.recordCard small{color:var(--muted)}.recordCard p{margin:5px 0 0;color:#344a53}.statusLine,.invoiceTop{display:flex;width:100%;align-items:center;justify-content:space-between}.statusLine em,.statusPill{border-radius:99px;padding:5px 9px;background:#e8f1f3;color:var(--blue);font-size:10px;font-style:normal;font-weight:800}.invoiceTop>span{display:flex;flex-direction:column;gap:3px}.invoiceTop small{color:var(--orange);font-size:10px;font-weight:900;letter-spacing:.08em}.invoiceTop b{font-size:16px}.invoiceDesc{margin:8px 0;color:#3f555e}.invoiceNumbers{display:grid;width:100%;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:9px;border-radius:11px;padding:10px;background:#f3f7f8}.invoiceNumbers span{display:flex;flex-direction:column;color:var(--muted);font-size:10px}.invoiceNumbers b{margin-top:3px;color:var(--ink);font-size:13px}.invoiceNumbers .grandTotal{border-left:1px solid #cad8dd;padding-left:8px}.invoiceNumbers .grandTotal b{color:var(--navy);font-size:15px}.balance{margin-top:7px;color:var(--danger)}.printButton{min-height:42px;margin-top:8px;border:1px solid #b5c9d1;border-radius:11px;background:#e8f0f3;color:var(--navy);font-size:13px;font-weight:800}.empty{display:grid;min-height:180px;place-items:center;align-content:center;border:1px dashed #b9cdd4;border-radius:20px;color:var(--muted);text-align:center}.empty span{display:grid;width:42px;height:42px;place-items:center;border-radius:50%;background:#deebe8;color:var(--green);font-weight:900}.bottomNav{position:fixed;z-index:20;right:0;bottom:0;left:0;display:grid;grid-template-columns:repeat(5,1fr);padding:7px 6px calc(7px + env(safe-area-inset-bottom));border-top:1px solid #d2dee2;background:#fffffff5;backdrop-filter:blur(18px)}.bottomNav button{display:flex;min-height:55px;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:0;border-radius:12px;background:none;color:#6b7d84;font-size:10px;font-weight:700}.bottomNav button span{font-size:21px}.bottomNav button.active{background:#e5eef1;color:var(--navy)}.modalBackdrop{position:fixed;z-index:50;inset:0;display:flex;align-items:flex-end;justify-content:center;padding-top:40px;background:#071b2491}.modal{width:min(680px,100%);max-height:94dvh;overflow:auto;border-radius:24px 24px 0 0;padding:0 18px calc(22px + env(safe-area-inset-bottom));background:var(--paper);box-shadow:0 -16px 50px #0004}.modal header{position:sticky;z-index:2;top:0;display:flex;align-items:center;justify-content:space-between;padding:18px 0 12px;background:var(--paper)}.modal header h2{margin:0;font-size:22px}.modal header button{display:grid;width:36px;height:36px;place-items:center;border:0;border-radius:50%;background:#dce7ea;font-size:26px}.field{display:block;margin:12px 0}.field span{display:block;margin:0 0 6px 2px;color:#485d66;font-size:12px;font-weight:750}.field input,.field textarea,.field select{width:100%;min-height:49px;border:1px solid #c6d5da;border-radius:12px;padding:11px 13px;background:#fff;color:var(--ink);outline:none}.field input:focus,.field textarea:focus,.field select:focus{border-color:var(--blue);box-shadow:0 0 0 3px #1d546d17}.field textarea{min-height:82px;resize:vertical}.fieldGrid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.saveButton,.backupCard button,.profileCard button{width:100%;min-height:50px;margin-top:10px;border:0;border-radius:13px;background:var(--navy);color:#fff;font-weight:800}.backupCard,.profileCard{margin:12px 0;border:1px solid var(--line);border-radius:19px;padding:19px;background:#fff;box-shadow:0 5px 18px #1737440c}.profileTitle{display:flex;align-items:center;gap:12px;margin-bottom:12px}.profileTitle .profileLogo{background:var(--navy)}.profileTitle h3,.backupCard h3{margin:0 0 4px}.profileTitle p,.backupCard p{margin:0;color:var(--muted);font-size:12px;line-height:1.45}.backupCard button:not(.primary){background:#e6eef1;color:var(--navy)}.invoiceFormHead{display:flex;flex-direction:column;gap:3px;border-radius:12px;padding:12px 14px;background:#e4edf0;color:var(--navy)}.invoiceFormHead span{font-weight:900}.invoiceFormHead small{color:#5d727b}.invoicePreview{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:13px 0;border-radius:13px;padding:12px;background:#fff;border:1px solid var(--line)}.invoicePreview span{display:flex;flex-direction:column;color:var(--muted);font-size:10px}.invoicePreview b{margin-top:4px;color:var(--ink);font-size:14px}.invoicePreview .previewTotal{border-left:1px solid #c8d7dc;padding-left:9px}.invoicePreview .previewTotal b{color:var(--navy);font-size:18px}.privacyNote{padding:10px 5px;color:var(--muted);font-size:12px;line-height:1.5}@media(max-width:430px){.fieldGrid{grid-template-columns:1fr}.setupNotice{align-items:flex-start;flex-direction:column}.setupNotice button{width:100%}}@media(min-width:700px){.content{padding:30px 24px}.cardList{grid-template-columns:1fr 1fr}.modal{align-self:center;border-radius:24px}.modalBackdrop{align-items:center;padding:30px}.bottomNav{left:50%;width:680px;transform:translateX(-50%);border:1px solid #d6e0e3;border-bottom:0;border-radius:22px 22px 0 0}}
.quickAssignee{margin-top:12px;border:1px solid #cbd9de;border-radius:10px;padding:10px 12px;background:#f7fafb}.quickAssignee summary{cursor:pointer;color:#173f52;font-weight:800}.quickAssignee>p{margin:10px 0;color:#526772}.quickAssignee>small{display:block;margin-top:8px;color:#60737b}
