:root{--ink:#260b58;--muted:#746781;--blue:#bc075c;--border:#ece5f0;--bg:#f9f6fb}
.brand{gap:12px;padding:0 10px 20px;min-height:76px}
.brand .logo{width:40px;height:55px;flex:none;border-radius:0;background:white url('figo-logo.jpeg') center 0/122px auto no-repeat}
.wordmark{display:block;width:105px;height:30px;background:white url('figo-logo.jpeg') center -76px/157px auto no-repeat}
.brand small{color:#c2085f;font-size:11px;letter-spacing:3.8px;margin:3px 0 0 4px}
.company{background:#f8f1fa}.avatar{background:#f4dbee;color:#8f125e}
nav button{color:#5a496a}nav button.active{background:#f9e2f0;color:#a70a58;box-shadow:inset 3px 0 #d80b69}
.primary{background:linear-gradient(115deg,#86126e,#d60968);box-shadow:0 3px 9px #ab0c5a22}
.hero{background:linear-gradient(115deg,#260b58 0%,#76136f 54%,#ce075d 100%);box-shadow:0 8px 24px #5e116a1c}
.hero p{color:#fae5f5}.hero .secondary{color:#9d125e}
.quick button{background:#fdf3f9;border-color:#f4d9e9;color:#941553}
.bar{background:linear-gradient(180deg,#e31575,#6a187f)}
.pill{background:#fae3f2;color:#9e1258}.pill.paid{background:#e1faed;color:#087e57}.pill.pending{background:#fff1d9;color:#976108}
th{background:#f8f3fa;color:#705c7f}input,select,textarea{border-color:#e2d6e9}
button:focus-visible,input:focus-visible,select:focus-visible{outline-color:#e3a2cf}
.totalbox{background:#f9f3fa}.doc h1{color:#260b58}#overlay{background:#260b5888}#toast{background:#260b58}
/* FIGO application typography and layout */
@font-face{font-family:FIGO Sans;src:url('figo-sans-regular.ttf') format('truetype');font-weight:400 600;font-display:swap}
@font-face{font-family:FIGO Sans;src:url('figo-sans-bold.ttf') format('truetype');font-weight:650 900;font-display:swap}
:root{--ink:#25143c;--muted:#72677d;--blue:#ac1263;--border:#e9e1ed;--bg:#f8f6fa}
body{font-family:'FIGO Sans',system-ui,-apple-system,sans-serif;font-size:16px;line-height:1.5}
aside{width:256px;padding:22px 14px 16px;box-shadow:3px 0 18px #24103806}
main{margin-left:256px}
.brand{justify-content:flex-start;gap:13px;padding:0 12px 21px;min-height:82px}
.brand .logo{width:42px;height:58px;background-size:128px auto;background-position:center top}
.wordmark{width:114px;height:32px;background-size:170px auto;background-position:center -83px}
.brand small{font-size:12px;letter-spacing:5px;margin:3px 0 0 4px}
.company{min-height:66px;border:1px solid #f0e6f3;padding:12px;border-radius:12px;font-size:15px}
.company small{font-size:12px}.avatar{width:36px;height:36px;display:grid;place-items:center;padding:0;flex:none}
nav{margin-top:14px;scrollbar-width:thin;scrollbar-color:#ead9e8 transparent}
nav label{font-size:11px;letter-spacing:1.35px;margin:18px 11px 6px;color:#817289}
nav button{font-size:14px;min-height:41px;gap:10px;padding:9px 12px;border-radius:8px;transition:background .16s,color .16s}
nav button:hover{background:#f8eef5;color:#9b155a}
nav button.active{background:#fae5f0;color:#9d0b56;box-shadow:inset 3px 0 #c90f67;font-weight:700}
nav span{font-size:17px;line-height:1.2}
header{height:76px;padding:15px 30px;gap:20px;box-shadow:0 3px 14px #24103804}
header strong{font-size:16px}header small{font-size:13px}
section{padding:32px;max-width:1480px}
h1{font-size:clamp(25px,2.2vw,32px);letter-spacing:-1px;line-height:1.2;margin-bottom:8px;color:#25143c}
h2{font-size:19px;letter-spacing:-.35px;line-height:1.35}
.title{margin-bottom:25px}.title p{font-size:15px;line-height:1.6;margin:0}
.hero{min-height:170px;padding:28px 32px;border-radius:18px;position:relative;overflow:hidden;isolation:isolate}
.hero:after{content:'';position:absolute;z-index:-1;right:-40px;top:-80px;width:300px;height:300px;border:36px solid #ffffff10;transform:rotate(-30deg);border-radius:45px}
.hero h2{color:#fff;font-size:25px;margin-bottom:8px}.hero p{font-size:15px;color:#f9e9f4}
.hero .secondary{min-width:164px}
.grid{gap:18px;margin-bottom:24px}.twocol{gap:18px;margin-bottom:24px}
.card{border-radius:16px;padding:23px;box-shadow:0 4px 14px #25143c04}
.grid .card{position:relative;overflow:hidden}.grid .card:before{content:'';display:block;width:26px;height:4px;border-radius:6px;background:linear-gradient(90deg,#72166b,#e81a80);margin-bottom:13px}
.stat{font-size:14px;font-weight:400}.value{font-variant-numeric:tabular-nums;font-size:clamp(21px,2vw,29px);line-height:1.3;letter-spacing:-.7px;margin:9px 0}.sub{font-size:13px}
button{font-size:14px;min-height:42px;border-radius:9px;transition:background .18s,box-shadow .18s,transform .18s}
button:active{transform:translateY(1px)}.primary:hover{box-shadow:0 5px 14px #a30d6444}.secondary:hover{border-color:#c9a2bd}
.quick button{padding:14px 12px;font-size:14px;min-height:51px}.quick{gap:12px}
.bars{height:145px}.bar{width:36px}.barlabel{font-size:13px}
th{font-size:12px;letter-spacing:.6px;font-weight:700;padding:14px}td{font-size:14px;padding:14px}
tbody tr:hover{background:#fcf9fc}.pill{font-size:12px}
.tablewrap{border-radius:8px}.toolbar{gap:12px}.toolbar input{width:340px}
input,select,textarea{font-size:15px;min-height:42px;padding:10px 12px;border-radius:9px}
label.field{font-size:14px;gap:7px}.fields{gap:16px;margin:20px 0}
.modalhead{padding-bottom:14px}.modalhead h2{margin:0}.modalfoot{padding-top:14px;border-top:1px solid var(--border)}
#modal{padding:25px;border-radius:18px;max-width:100%}
.line-input{width:85px}.totalbox{border:1px solid #f1e5ef}.totalbox .grand{color:#9c0c58}
.bottom{font-size:12px}
@media(max-width:1080px){aside{width:222px}main{margin-left:222px}section{padding:24px}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.card{padding:18px}.value{font-size:25px}}
@media(max-width:720px){aside{width:256px;z-index:5}main{margin:0}header{height:66px;padding:10px 14px;gap:8px}header strong{font-size:14px}.topright .primary{font-size:12px;min-height:40px;padding:9px 11px}section{padding:18px}.grid,.twocol{gap:10px}.grid .card{padding:15px 12px}.value{font-size:clamp(18px,5vw,24px)}.stat{font-size:13px}.sub{font-size:12px}.hero{padding:23px;min-height:0;gap:12px}.hero h2{font-size:22px}.hero .secondary{width:100%}.title{margin-bottom:20px;gap:10px}.title h1{font-size:26px}.title .primary{width:100%}.card{padding:16px}.quick button{font-size:13px}.fields{gap:12px}#modal{padding:17px}.modalfoot{justify-content:stretch}.modalfoot button{flex:1}.toolbar input{width:100%}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important}}
@media print{.doc h1{color:#260b58}#modal{border-radius:0;padding:0}.doc{font-size:13px}.totalbox{background:white;border:0}.card{box-shadow:none}}
