.invoice-tpl{position:relative;overflow:hidden;font-size:13px;color:#333;line-height:1.8;border:2px solid #b00}.invoice-tpl-watermark{position:absolute;top:0;left:0;width:100%;height:100%;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='400'%3E%3Ctext x='50%25' y='50%25' font-size='90' font-weight='bold' fill='rgba(180%2C0%2C0%2C0.06)' text-anchor='middle' dominant-baseline='middle' transform='rotate(-30 400 200)' font-family='serif' letter-spacing='30'%3E%E9%A2%84%20%E8%A7%88%3C/text%3E%3C/svg%3E");background-repeat:repeat;pointer-events:none;z-index:10}.invoice-tpl-header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:16px 20px 12px;border-bottom:1px solid #b00}.invoice-tpl-header-left{-webkit-box-flex:1;-ms-flex:1;flex:1}.invoice-tpl-header-center{-webkit-box-flex:2;-ms-flex:2;flex:2;text-align:center}.invoice-tpl-header-right{-webkit-box-flex:1;-ms-flex:1;flex:1;text-align:right;font-size:12px;line-height:2}.invoice-tpl-header-type{font-size:22px;font-weight:700;color:#c00;letter-spacing:4px}.invoice-tpl-parties{display:-webkit-box;display:-ms-flexbox;display:flex;border-bottom:1px solid #b00}.invoice-tpl-party{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex}.invoice-tpl-party:first-child{border-right:1px solid #b00}.invoice-tpl-party-label{-webkit-writing-mode:vertical-rl;-ms-writing-mode:tb-rl;writing-mode:vertical-rl;text-orientation:upright;letter-spacing:1px;font-size:13px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;border-right:1px solid #b00;padding:8px 4px;min-width:26px;-ms-flex-negative:0;flex-shrink:0}.invoice-tpl-party-content{-webkit-box-flex:1;-ms-flex:1;flex:1;padding:8px 12px;font-size:12px;line-height:2.2}.invoice-tpl-table{width:100%;border-collapse:collapse;font-size:12px}.invoice-tpl-table th,.invoice-tpl-table td{border:none;padding:6px 8px;text-align:center}.invoice-tpl-table thead tr{border-bottom:1px solid #b00}.invoice-tpl-table th{font-weight:400}.invoice-tpl-table td:first-child,.invoice-tpl-table th:first-child{text-align:left}.invoice-tpl-totals td{font-weight:700;border-top:1px solid #b00!important}.invoice-tpl-totals:last-child td{border-bottom:1px solid #b00!important}.invoice-tpl-tag{display:inline-block;font-size:10px;padding:0 4px;border-radius:2px;margin-left:4px;vertical-align:middle;line-height:16px}.invoice-tpl-tag--gift,.invoice-tpl-tag--discount{background:#fff7e6;border:1px solid #ffc069;color:#d46b08}.invoice-tpl-remark{display:-webkit-box;display:-ms-flexbox;display:flex;border-bottom:1px solid #b00;font-size:12px;min-height:60px}.invoice-tpl-remark-label{-webkit-writing-mode:vertical-rl;-ms-writing-mode:tb-rl;writing-mode:vertical-rl;text-orientation:upright;letter-spacing:3px;font-size:13px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;border-right:1px solid #b00;padding:8px 4px;min-width:26px;-ms-flex-negative:0;flex-shrink:0}.invoice-tpl-remark-content{padding:8px 12px;-webkit-box-flex:1;-ms-flex:1;flex:1;word-break:break-all}.invoice-tpl-footer{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;font-size:12px;color:#666;padding:8px 20px}
