.ug168-wrap{max-width:820px;margin:0 auto 26px;font-family:Arial,Helvetica,sans-serif;color:#f4f4f4;}
.ug168-wrap a{color:#e3b64a;}
.ug168-title{font-family:Georgia,serif;color:#e3b64a;border-bottom:2px solid #b9922b;padding-bottom:6px;margin:0 0 14px;display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;}
.ug168-notice{background:#3a3320;border:1px solid #b9922b;color:#f6e6bf;padding:10px 14px;border-radius:6px;margin-bottom:14px;}
.ug168-ok{background:#1f3a24;border-color:#5aa06a;color:#d7f2dd;}
.ug168-form label,.ug168-grid label{color:#e8e8e8;}
.ug168-form input[type=text],.ug168-form input[type=email],.ug168-form input[type=date],.ug168-form input[type=number],.ug168-form textarea{
  width:100%;box-sizing:border-box;padding:7px 9px;border:1px solid #cfc6ad;border-radius:5px;font-size:14px;background:#fff;color:#1a1a1a;}
.ug168-grid{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:12px;}
.ug168-grid label{flex:1;min-width:180px;display:flex;flex-direction:column;font-size:12px;font-weight:600;gap:4px;}
.ug168-items{width:100%;border-collapse:collapse;margin:6px 0;}
.ug168-items th{background:#b9922b;color:#fff;font-size:12px;text-align:left;padding:6px 8px;}
.ug168-items td{border:1px solid #6d5f38;padding:4px;}
.ug168-items input{width:100%;box-sizing:border-box;padding:6px 7px;border:1px solid #cfc6ad;border-radius:4px;font-size:13px;background:#fff;color:#1a1a1a;}
.ug168-num{text-align:right;}
.ug168-auto{background:#eee !important;color:#555 !important;}
.ug168-del{background:#5a5a5a;border:1px solid #777;border-radius:4px;cursor:pointer;font-size:16px;line-height:1;padding:2px 8px;color:#ffd9d9;}
.ug168-bottom{display:flex;gap:20px;flex-wrap:wrap;margin-top:12px;}
.ug168-hint{flex:1;min-width:220px;font-size:12px;color:#b9b9b9;}
.ug168-totals{flex:1;min-width:240px;max-width:340px;margin-left:auto;}
.ug168-totals>div{display:flex;justify-content:space-between;align-items:center;padding:4px 0;gap:10px;color:#e8e8e8;font-size:13px;}
.ug168-totals input{width:110px;}
.ug168-totals b{color:#fff;}
.ug168-grand{background:#b9922b;color:#fff;padding:8px 10px !important;margin-top:6px;border-radius:4px;}
.ug168-grand span,.ug168-grand b{color:#fff;font-size:15px;}
.ug168-btn{display:inline-block;background:#444;color:#fff !important;text-decoration:none;padding:8px 16px;border:none;border-radius:6px;cursor:pointer;font-size:14px;}
.ug168-primary{background:#b9922b;color:#fff !important;font-weight:700;font-size:15px;padding:11px 22px;}
.ug168-new{background:#b9922b;color:#fff !important;font-weight:700;text-decoration:none;padding:9px 18px;border-radius:6px;white-space:nowrap;}
.ug168-add{background:#555;}
.ug168-recent{width:100%;border-collapse:collapse;font-size:13px;}
.ug168-recent th{background:#2a2a2a;color:#e3b64a;text-align:left;padding:8px;border-bottom:2px solid #b9922b;}
.ug168-recent td{padding:8px;border-bottom:1px solid #444;vertical-align:top;color:#eaeaea;}
.ug168-recent small{color:#aaa;}
.ug168-badge{padding:2px 9px;border-radius:10px;font-size:12px;font-weight:600;}
.ug168-paid{background:#1f3a24;color:#8fe0a0;}
.ug168-unpaid{background:#4a3410;color:#f0c46a;}
.ug168-void{background:#3a1414;color:#e08a8a;}
.ug168-nav{margin:14px 0;display:flex;gap:10px;flex-wrap:wrap;}
@media(max-width:600px){.ug168-bottom{flex-direction:column;}.ug168-totals{max-width:none;}.ug168-recent{display:block;overflow-x:auto;}}
