:root{font-family:Inter,'Microsoft YaHei',system-ui,sans-serif;color:#17253e;background:#f3f6fa;font-size:15px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;border:1px solid #d9e1ed;border-radius:8px;background:white;padding:10px 16px;color:#233858}button:hover{background:#edf3fc}button.primary{background:#2864ef;color:white;border-color:#2864ef}button:disabled{opacity:.5;cursor:default}input,select,textarea{padding:10px 12px;border:1px solid #d7dfeb;border-radius:8px;background:#fff;min-width:0;color:#17253e}textarea{min-height:110px}input:focus,select:focus,textarea:focus{outline:2px solid #b8cfff}aside{position:fixed;inset:0 auto 0 0;width:235px;background:#14243f;color:#b6c7e1;padding:28px 18px;display:flex;flex-direction:column}.brand{font-size:23px;font-weight:700;color:white;display:flex;align-items:center;gap:12px}.brand span{background:#437cfc;padding:4px 10px;border-radius:8px}.aside-label{font-size:13px;padding:16px 4px 25px;color:#87a0c2}nav{display:grid;gap:5px}nav button{text-align:left;border:0;background:transparent;color:#b6c7e1;padding:13px 17px}nav button.active{background:#2b4166;color:white}nav button:hover{background:#233958}footer{margin-top:auto;display:grid;gap:14px;font-size:14px}footer button{background:transparent;color:#c2d4ef;border-color:#405476}main{margin-left:235px;padding:30px 36px;max-width:1800px}header{display:flex;align-items:center;gap:16px;margin-bottom:22px}header small{font-size:12px;letter-spacing:2px;color:#7b8ba4}h1{margin:7px 0;font-size:27px}h2{font-size:19px;margin:0 0 20px}h3{font-size:16px}.environment{margin-left:auto;background:#e4ecfc;color:#3965af;padding:7px 12px;border-radius:20px;font-size:13px}.notice{padding:13px 16px;border:1px solid #ccdbee;border-radius:9px;background:#edf4fd;color:#506886;margin-bottom:24px;font-size:14px;line-height:1.7}.toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:18px}.toolbar label{display:flex;align-items:center;gap:8px;color:#62718b;font-size:14px}.panel{background:white;border:1px solid #e0e7f0;border-radius:12px;padding:22px;margin-bottom:20px}.grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.metric{background:#f7f9fc;padding:18px;border-radius:9px}.metric small{color:#74829a}.metric strong{display:block;font-size:25px;letter-spacing:-.5px;margin:10px 0;color:#1c385f}.muted{color:#7a879b;font-size:13px;line-height:1.7}.tag{display:inline-block;background:#e9f0ff;color:#3264b3;border-radius:5px;padding:4px 8px;font-size:13px}.warn{background:#fff3df;color:#976412}.good{background:#e7f5ef;color:#2e7a5b}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:14px;white-space:nowrap}th{background:#f7f9fc;color:#697c98;font-weight:500;text-align:left;padding:13px 12px;border-bottom:1px solid #e3eaf3}td{padding:14px 12px;border-bottom:1px solid #eef1f6}td.wrap{white-space:normal;min-width:220px;max-width:360px;line-height:1.6}.empty{padding:65px 20px;text-align:center;color:#8190a6}.empty strong{display:block;font-size:18px;color:#435571;margin-bottom:12px}.tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}.tabs button.active{background:#e6edff;border-color:#bfd0fc;color:#245bdd}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.field{display:grid;gap:7px;font-size:14px}.field.full{grid-column:1/-1}.field small{color:#7e8b9e}.checks{display:flex;flex-wrap:wrap;gap:10px;padding:14px;border:1px solid #dfe6f0;border-radius:8px}.checks label{display:flex;gap:6px;align-items:center}.actions{display:flex;gap:10px;margin-top:20px}.statusline{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}#menu{display:none}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#172b4b;color:white;padding:12px 20px;border-radius:8px;display:none;z-index:100}dialog{border:1px solid #d5deeb;border-radius:14px;width:min(780px,95vw);max-height:90vh;padding:26px}dialog::backdrop{background:#0c1b3866}.close{float:right;margin-bottom:15px}#modal-body{clear:both}#auth{max-width:460px;margin:12vh auto;padding:32px;background:white;border:1px solid #dce5f0;border-radius:16px}#auth:empty{display:none}#auth form{display:grid;gap:14px}#auth h1{margin-bottom:15px}#auth p{color:#73809b;line-height:1.6}.inline-progress{height:7px;background:#e7edf7;border-radius:5px;margin-top:10px}.inline-progress span{display:block;background:#467cef;height:100%;border-radius:5px}.progress-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.error{color:#b24e31;background:#fff4ef;border-radius:8px;padding:12px;line-height:1.7}pre{white-space:pre-wrap;word-break:break-word;font-size:14px;background:#f7f9fc;padding:16px;border-radius:8px}.mobile-hint{display:none}@media(max-width:1050px){.metrics{grid-template-columns:repeat(2,1fr)}main{padding:24px}.grid{grid-template-columns:1fr}}@media(max-width:700px){aside{transform:translateX(-100%);z-index:30;transition:transform .2s}body.menu-open aside{transform:translateX(0)}main{margin-left:0;padding:17px}#menu{display:block}h1{font-size:21px}header small{font-size:10px}.environment{font-size:11px;padding:5px 7px}.notice{font-size:13px}.panel{padding:16px}.form-grid{grid-template-columns:1fr}.metrics{gap:8px}.metric{padding:13px}.metric strong{font-size:21px}.progress-cards{grid-template-columns:1fr}.toolbar input,.toolbar select{max-width:100%}.toolbar label{width:100%}.toolbar label input{flex:1}.table-wrap{margin:0 -6px}.mobile-hint{display:block;font-size:12px;color:#7a879b;margin-bottom:8px}#auth{margin:8vh 17px}dialog{padding:18px}}

.change{display:block;font-weight:600;margin:6px 0}.change.up{color:#16804d}.change.down{color:#c93e42}.change.neutral{color:#7a879b}.user-card{border-top:1px solid #e1e8f2;margin-top:24px;padding:24px 0}.user-card .checks{background:#f8faff}.password-wrap{display:flex;gap:8px}.password-wrap input{flex:1;min-width:0}.user-card .actions{flex-wrap:wrap}

main{max-width:none;width:calc(100% - 235px)}aside{overflow-y:auto}nav{flex-shrink:0}footer{padding-top:24px}.subnav,.domain-tabs,.input-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}.subnav button.active,.domain-tabs button.active,.input-tabs button.active{color:#245bd7;background:#e7efff;border-color:#b9ccf7}.domain-tabs button span{display:inline-block;margin-left:6px;color:#77849a}.filter4{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:20px}.filter4 label{display:flex;gap:8px;align-items:center}.filter4 input{max-width:300px}.filter4 label input{max-width:170px}.cell-wrap{white-space:normal;min-width:170px;max-width:300px;overflow-wrap:anywhere;line-height:1.6}.item-line{min-height:25px;line-height:25px}.link{border:0;background:none;padding:0;color:#2763d8;text-align:left}.tag.level-V1{background:#e6efff;color:#245bb4}.tag.level-V2{background:#e2f4ea;color:#238051}.tag.level-V3{background:#f1e8ff;color:#7943b6}.tag.level-V4{background:#fff1c7;color:#956a0d}.gain{color:#16804d;font-weight:600}.loss{color:#c93e42;font-weight:600}.sku-image{width:70px;height:70px;object-fit:contain}.customer-expanded{padding:18px;border-left:4px solid #b8cff7;background:#f6f9ff}.bar-row{display:grid;grid-template-columns:120px 1fr 100px;align-items:center;gap:10px;margin:18px 0}.bar-track{height:18px;background:#edf1f7;border-radius:4px;overflow:hidden}.bar-track i{display:block;height:100%;background:#4380ee}.bar-track i.negative{background:#d85a63}.bar-row b{text-align:right}.trend svg{width:100%;max-height:280px}.trend text{font:12px Arial;fill:#6d7a92}.timeline article{padding:14px;border-left:3px solid #bdd2f6;margin:12px 0;background:#f7faff}.table-wrap{max-height:72vh}thead th{position:sticky;top:0;z-index:2}th:first-child,td:first-child{position:sticky;left:0;background:#fff;z-index:1}thead th:first-child{background:#f7f9fc;z-index:3}.actions{flex-wrap:wrap}
@media(max-width:700px){main{width:100%;margin-left:0}.bar-row{grid-template-columns:95px 1fr 80px;font-size:12px}.filter4 label{width:100%}.filter4 input{width:100%}.statusline{flex-wrap:wrap;gap:10px}.table-wrap{max-height:65vh}}
.pager7{display:flex;justify-content:flex-end;align-items:center;gap:8px;flex-wrap:wrap;padding:18px 8px;color:#53647c}.pager7 select{width:110px}.pager7 input{width:60px}.pager7 button{padding:5px 10px;min-width:30px}.pager7 button.active{background:#1266bb;color:white}.nav-group7 summary{cursor:pointer;padding:13px 12px;list-style:none}.nav-group7 summary:after{content:'⌄';float:right}.nav-group7[open] summary:after{content:'⌃'}.nav-group7 button{padding-left:30px!important}.paged7 tr[hidden]{display:none!important}.paged7 th[tabindex]{cursor:pointer}

/* Keep each reported product, image and quantity on the same visual row. */
.report-layout9 > .table-wrap > table > tbody > tr > td:nth-child(5) .item-line,.report-layout9 > .table-wrap > table > tbody > tr > td:nth-child(6) .item-line,.report-layout9 > .table-wrap > table > tbody > tr > td:nth-child(7) .item-line{height:80px;display:flex;align-items:center;line-height:1.5;box-sizing:border-box}
.report-layout9 table th:nth-child(6),.report-layout9 table th:nth-child(7),.report-layout9 table td:nth-child(6),.report-layout9 table td:nth-child(7){text-align:center;padding-left:16px;padding-right:16px}
.report-layout9 table td:nth-child(6) .item-line,.report-layout9 table td:nth-child(7) .item-line{justify-content:center}
.report-layout9 table th:nth-child(7),.report-layout9 table td:nth-child(7){min-width:88px}
.report-layout9 .sku-image{display:block;flex-shrink:0}

/* Reporting order layout: original column order, readable spacing. */
.report-layout9 table{width:100%;line-height:1.6}
.report-layout9 table th{padding:14px 16px;font-weight:600}
.report-layout9 table td{padding:14px 16px;vertical-align:top}
.report-layout9 table tbody tr:hover td{background:#f8fbff}
.report-layout9 table th:first-child,.report-layout9 table td:first-child{min-width:46px;width:46px;text-align:center}
.report-layout9 table td:nth-child(2){min-width:185px}
.report-layout9 table td:nth-child(2) small{display:inline-block;margin-top:6px;color:#74829a}
.report-layout9 table td:nth-child(3){min-width:165px;font-variant-numeric:tabular-nums}
.report-layout9 table th:nth-child(5),.report-layout9 table td:nth-child(5){min-width:220px;width:240px;max-width:260px;white-space:normal;overflow-wrap:anywhere}
.report-product-name9{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;max-width:228px;line-height:24px}
.report-layout9 table th:nth-child(6),.report-layout9 table td:nth-child(6){min-width:106px}
.report-layout9 table th:nth-child(8),.report-layout9 table td:nth-child(8){min-width:130px;text-align:right;font-variant-numeric:tabular-nums}
.report-layout9 table td:nth-child(9){min-width:210px;max-width:260px;white-space:normal;overflow-wrap:anywhere}
.report-layout9 table td:nth-child(10) .cell-wrap{min-width:235px;max-width:300px}
.report-layout9 table td:nth-child(11) .cell-wrap{min-width:160px;max-width:230px}
.report-layout9 table th:nth-child(12),.report-layout9 table td:nth-child(12),.report-layout9 table th:nth-child(13),.report-layout9 table td:nth-child(13),.report-layout9 table th:nth-child(14),.report-layout9 table td:nth-child(14){min-width:105px;text-align:center}
.report-layout9 table td:nth-child(15){min-width:140px;max-width:180px;white-space:normal;overflow-wrap:anywhere}
.report-layout9 table td:nth-child(16){min-width:190px;max-width:260px;white-space:normal;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.report-layout9 .item-line + .item-line{border-top:1px dashed #edf1f6}


.report-layout9 table th:nth-child(4),.report-layout9 table td:nth-child(4){min-width:90px;text-align:center}
.user-card > .checks:has(.permission-group9){display:block;padding:0;border:0}
.permission-group9{margin:10px 0;border:1px solid #dfe6f0;border-radius:8px;overflow:hidden}
.permission-group9 > summary{padding:14px 16px;background:#f6f9ff;cursor:pointer;font-weight:600}
.permission-group9 > summary span{float:right;color:#74829a;font-size:13px;font-weight:400}
.permission-subgroup9{margin:10px 16px;border-bottom:1px solid #edf1f6}
.permission-subgroup9 > summary{padding:10px 0;cursor:pointer;color:#435571}
.permission-options9{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;padding:12px 0 18px}
.permission-options9 label{display:flex;align-items:center;gap:8px;line-height:1.6}

/* v0.14 unified light workspace */
:root{font-size:14px;color:#263650;background:#f8fafc;font-family:"Microsoft YaHei",Inter,system-ui,sans-serif}body{background:#f8fafc}aside{width:220px;background:#fff;color:#5b6b85;border-right:1px solid #edf0f5;padding:26px 16px;gap:0}.brand{font-size:21px;color:#253c63}.brand span{background:#edf5ff;color:#2483ea}.aside-label{color:#8b99ac;font-size:12px;padding-bottom:24px}nav{gap:4px}nav button,nav .nav-group7 summary{color:#596a83;font-weight:500;border-radius:7px;padding:12px 14px}nav button:hover,nav .nav-group7 summary:hover{background:#f6f8fc;color:#3479dd}nav button.active{background:#edf5ff;color:#2479e6}nav .nav-group7 button{margin:3px 0;width:100%;font-size:13px}nav .nav-group7[open]>summary{color:#243c62;font-weight:600}footer{color:#6d7e97;font-size:12px;border-top:1px solid #edf0f5;margin-top:auto}footer .muted{color:#96a1b2}footer button{color:#6b7b92;border-color:#e8edf4;background:#fff}main{margin-left:220px;width:calc(100% - 220px);padding:28px 28px 40px}header{margin-bottom:18px}h1{font-size:24px;margin:5px 0;color:#23334e}header small{letter-spacing:1px;color:#9da7b7;font-size:11px}.environment{background:#edf5ff;color:#4c8bd8;font-size:11px}.panel{border:1px solid #ebeff5;border-radius:10px;padding:24px;box-shadow:0 2px 4px #23365005;margin-bottom:20px}h2{font-size:17px;font-weight:600;margin-bottom:20px}h3{font-size:14px}.notice{background:#f1f6ff;border-color:#e4edfa;color:#687e9e;font-size:12px;padding:10px 14px;margin-bottom:20px}.statusline{gap:12px}.statusline h2{margin:0}.statusline .actions{margin:0;justify-content:flex-end}.actions{gap:8px}button{padding:9px 14px;border-color:#e4eaf2;border-radius:7px;font-size:13px;transition:background .12s,color .12s}button.primary{background:#3386f4;border-color:#3386f4}button.primary:hover{background:#2877e4}input,select,textarea{font-size:13px;border-color:#e3e9f1;border-radius:7px;padding:10px 12px}input:focus,select:focus,textarea:focus{outline:2px solid #d8eaff}.filter4{padding:14px 0 18px;border-bottom:1px solid #f0f3f8;gap:10px 14px;align-items:center;margin-bottom:16px}.filter4 label{font-size:12px;color:#7b8ca5}.filter4 select,.filter4 input{height:38px;background:#f8fafc}.filter4 button{height:38px}.filter4 #q4{width:230px;background:#f8fafc}table{font-size:13px}th{font-weight:600;color:#657b9b;padding:15px 14px;background:#f8fafc;border-bottom:1px solid #e9eff7}td{padding:16px 14px;color:#3f506b;border-bottom:1px solid #f0f3f7;vertical-align:middle}tbody tr:hover>td{background:#fafcff}.table-wrap{scrollbar-width:thin;scrollbar-color:#d7e0ed transparent}.pager7{border-top:1px solid #f0f3f7;padding:18px 2px 0;font-size:12px}.pager7 button.active{background:#3386f4}.metrics{gap:16px}.metric{background:#fff;border:1px solid #edf1f7;box-shadow:0 2px 5px #23365004;border-radius:9px;padding:20px}.metric strong{font-size:29px;font-weight:650;color:#21395f}.metric small{font-size:12px;color:#91a0b6}.metric .change{font-size:12px}.tag{font-size:12px;padding:4px 7px;border-radius:5px}.user-card{padding-top:22px}.domain-input14{width:100%;min-height:104px}.domain-tags14{display:flex;flex-wrap:wrap;gap:8px;padding:12px 0}.permission-options9{display:flex;flex-wrap:wrap;gap:12px;padding:14px 16px}.permission-group9{width:100%;background:#f9fbff;border-color:#e4ebf6}.permission-group9 summary{font-size:13px}.staff-progress14{width:220px;white-space:normal}.staff-progress14>div{display:flex;justify-content:space-between;gap:10px;font-size:12px}.staff-progress14 progress{width:100%;height:9px;border:0;border-radius:6px;overflow:hidden;margin:8px 0 4px;accent-color:#3386f4}.staff-progress14 progress::-webkit-progress-bar{background:#edf2f9}.staff-progress14 progress::-webkit-progress-value{background:#3386f4;border-radius:6px}.staff-progress14 small{font-size:11px;color:#8a9ab1}dialog{border-color:#e4ebf5;box-shadow:0 16px 60px #1e365926;border-radius:12px;padding:28px}dialog::backdrop{background:#23365155}.grid{gap:20px}@media(max-width:1100px){main{padding:24px 20px}.metrics{grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){main{width:100%;margin-left:0;padding:18px 14px}.panel{padding:18px 14px}.statusline{align-items:flex-start}.statusline .actions{justify-content:flex-start}.filter4 label{width:auto;flex-wrap:wrap}.filter4 #q4{width:100%;max-width:none}.filter4 button{height:38px}.metric{padding:15px}.metric strong{font-size:23px}.staff-progress14{width:180px}.form-grid{grid-template-columns:1fr}}

/* Staff manual email records */
#work-history15 .timeline article small{display:block;color:var(--muted,#77849b);margin:5px 0 12px}#work-history15 pre,#modal-body details pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#f7f9fc;border-radius:8px;padding:14px;font-family:inherit}#work-history15 .timeline article{border-left:3px solid #d7e6ff;padding:14px 20px;margin:14px 0;background:#fbfcfe;border-radius:8px}.work-state15{margin-top:24px;padding:16px;border:1px solid #e6ebf2;border-radius:8px}.work-state15 summary{cursor:pointer}.manual-confirm15{display:flex;align-items:center;gap:10px;margin:18px 0}.manual-confirm15 input{width:auto}.variable-actions15{display:flex;gap:8px;flex-wrap:wrap}.variable-actions15 button{font-size:12px;padding:6px 10px}#manual-compose15 textarea{min-height:210px}

.recall-metrics15{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:24px 0}.recall-metrics15>div{padding:18px 22px;border:1px solid #e8edf5;border-radius:10px;background:#fafcff}.recall-metrics15 small{display:block;color:#7988a0}.recall-metrics15 strong{display:block;color:#203652;font-size:26px;margin-top:6px}#manual-compose15 .field>button,#templates10 .field>button{align-self:flex-start;width:auto;margin-top:8px}input[readonly]{background:#f6f8fc;color:#65738b}@media(max-width:760px){.recall-metrics15{grid-template-columns:repeat(2,minmax(0,1fr))}}

.template-tabs15{display:flex;gap:8px;margin:18px 0}.template-tabs15 button[aria-selected=true]{color:#2462e6;background:#edf4ff;border-color:#cbdcfd;font-weight:600}.template-top15{display:grid;grid-template-columns:180px minmax(180px,1fr) auto auto;align-items:end;gap:14px}.template-top15>.field{margin:0}.template-subject15{margin:20px 0}.template-subject15>div{display:flex;gap:12px;align-items:center}.template-subject15 input{flex:1}.template-columns15{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:stretch}.template-columns15 textarea{line-height:1.75;min-height:270px;resize:vertical;overflow:hidden;font-size:14px}.template-preview15{background:#fafcff;border:1px solid #e7edf5;border-radius:10px;padding:22px;overflow-wrap:anywhere}.template-preview15 small{color:#7988a0}.template-preview15 h3{font-size:16px;margin:14px 0}.template-preview15 pre{font-family:inherit;white-space:pre-wrap;font-size:14px;line-height:1.75;margin:0}#template-variables15{margin-top:18px}#template-variables15 .variable-actions15{margin-top:8px}.template-columns15>.field>button{align-self:flex-start;width:auto;margin-top:8px}@media(max-width:980px){.template-top15{grid-template-columns:1fr 1fr}.template-columns15{grid-template-columns:1fr}.template-preview15{padding:18px}}

/* Keep common length template text visible without a narrow duplicated preview. */
body:has(.template-library15) main{padding-top:18px}body:has(.template-library15) header{margin-bottom:12px}.template-library15{padding:18px 22px}.template-library15 .template-tabs15{margin:12px 0}.template-library15 .template-top15{gap:10px}.template-library15 .template-subject15{margin:12px 0}.template-library15 .template-columns15{display:block}.template-library15 .template-preview15{display:none}.template-library15 .template-columns15 textarea{line-height:1.45;font-size:13px;min-height:240px;resize:vertical}.template-library15 .template-columns15>.field{position:relative}.template-library15 .template-columns15>.field>button{position:absolute;right:0;top:-8px;margin:0}.template-library15 #template-variables15{margin-top:10px}.template-library15>form>p{margin-bottom:0;font-size:12px}.template-library15 input,.template-library15 select{padding:8px 10px}.template-library15 .template-subject15>div>button{padding:8px 14px}

#modal:has(#manual-compose15){width:min(1000px,94vw);padding:20px;max-height:94vh}#modal:has(#manual-compose15)>.close{position:absolute;top:16px;right:18px}#modal:has(#manual-compose15) h2{margin:2px 0 10px;padding-right:80px}#modal:has(#manual-compose15) #modal-body>p{font-size:12px;margin:8px 0 14px}#manual-compose15 .form-grid{gap:12px 18px}#manual-compose15 .field{position:relative;gap:8px;margin:0}#manual-compose15 .field>button{position:absolute;top:-4px;right:0;justify-self:end;margin:0;padding:5px 10px;font-size:12px}#manual-compose15 select,#manual-compose15 input{height:36px;min-height:36px}#manual-compose15 textarea{line-height:1.45;font-size:13px;overflow:hidden;min-height:210px}#manual-compose15 .actions{margin-top:14px}#copy-status15{margin:10px 0 0;font-size:12px}

/* English variables and phone layouts share the same content, without page overflow. */
.variable-groups16{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}.variable-group16{min-width:0;border:1px solid #e7edf5;border-radius:8px;padding:12px}.variable-group16>b{display:block;font-size:13px;margin-bottom:9px}.variable-group16 .variable-actions15 button{display:grid;text-align:left;gap:4px;max-width:100%;min-height:44px}.variable-group16 code{font-size:11px;color:#647b9b;overflow-wrap:anywhere;white-space:normal}#abandoned-compose16 .field>button{justify-self:start;width:auto}#abandoned-compose16 textarea{line-height:1.5;overflow:hidden;min-height:210px}#modal:has(#abandoned-compose16){width:min(1000px,94vw)}
@media(max-width:760px){
 .template-library15{padding:16px 12px}.template-top15{grid-template-columns:minmax(0,1fr)}.template-top15>button{width:100%;min-height:44px}.template-tabs15{flex-wrap:wrap}.template-tabs15 button{flex:1;min-height:44px;white-space:nowrap;padding:9px 12px}.template-subject15>div{flex-direction:column;align-items:stretch}.template-subject15 input{width:100%}.template-subject15 button{min-height:44px}.template-library15 .template-columns15>.field>button{position:static;justify-self:start;min-height:44px}.variable-groups16{grid-template-columns:minmax(0,1fr)}.variable-group16 .variable-actions15{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.variable-group16 .variable-actions15 button{width:100%;padding:9px 7px}.template-library15 textarea{width:100%;font-size:16px}.template-library15 input,.template-library15 select{font-size:16px;min-height:44px}.template-library15 .statusline{display:block}.template-library15 .statusline .muted{display:block}
 .field,.panel,.template-top15,.template-columns15,.form-grid,#modal-body{min-width:0}.table-wrap{max-width:100%;overscroll-behavior-x:contain}.domain-tags14 .tag{overflow-wrap:anywhere;max-width:100%}.statusline .actions{width:100%;margin-top:8px}.actions button{min-height:44px}.recall-metrics15{grid-template-columns:repeat(2,minmax(0,1fr))}.recall-metrics15>div{padding:12px}.filter4 label{width:100%;display:grid;grid-template-columns:90px minmax(0,1fr)}.filter4 label input,.filter4 label select{width:100%;max-width:none;min-height:44px;font-size:16px}.filter4>input{min-height:44px;font-size:16px}.filter4>button{min-height:44px}.form-grid input,.form-grid select,.form-grid textarea{max-width:100%;font-size:16px}.permission-options9 label{max-width:100%;overflow-wrap:anywhere}.domain-input14{font-size:16px}
 #modal{padding:16px;width:calc(100% - 20px);max-height:calc(100dvh - 20px);overflow:auto}#modal:has(#manual-compose15),#modal:has(#abandoned-compose16){width:calc(100% - 20px);padding:16px;max-height:calc(100dvh - 20px)}#manual-compose15 .form-grid,#abandoned-compose16 .form-grid{grid-template-columns:minmax(0,1fr)}#manual-compose15 .field>button{position:static;justify-self:start;min-height:44px;font-size:14px;padding:8px 12px}#manual-compose15 select,#manual-compose15 input{min-height:44px;font-size:16px}#manual-compose15 textarea,#abandoned-compose16 textarea{font-size:16px;width:100%}.manual-confirm15{align-items:flex-start}.manual-confirm15 input{margin-top:4px}.work-state15{padding:12px}.timeline article{overflow-wrap:anywhere}
 #toast{max-width:calc(100vw - 24px);width:max-content;white-space:normal;overflow-wrap:anywhere;text-align:center;padding:10px 14px;bottom:16px}#auth{width:calc(100% - 28px);padding:24px;margin:8vh auto}#auth input{font-size:16px}.environment{white-space:nowrap}header>div{min-width:0}header h1{overflow-wrap:anywhere}aside{max-width:85vw;height:100dvh}
}

/* Live state and an independently dismissible phone/tablet menu. */
#nav-close16,#nav-backdrop16{display:none}.live-state16{display:flex;align-items:center;flex-wrap:wrap;gap:10px}#template-sync16{margin:12px 0;font-size:12px}#template-latest16{margin-bottom:10px}#template-latest16[hidden]{display:none}
#modal button{min-height:44px}
@media(max-width:760px){.form-grid input:not([type=checkbox]),.form-grid select{min-height:44px}.pager7 button{min-width:44px;min-height:44px}.template-library15 textarea{font-size:16px!important}}
@media(max-width:980px){aside{transform:translateX(-100%);z-index:30;transition:transform .2s}body.menu-open aside{transform:translateX(0)}main{width:100%;margin-left:0}#menu{display:block;min-width:44px;min-height:44px}#nav-close16{display:block;align-self:flex-end;margin-bottom:14px;min-height:44px}body.menu-open #nav-backdrop16{display:block;position:fixed;inset:0;z-index:29;background:#23365155;border:0;border-radius:0;width:100%;height:100dvh}aside{max-width:85vw;height:100dvh}.form-grid{grid-template-columns:minmax(0,1fr)}.template-library15{max-width:100%}}
@media(max-width:760px){.filter4>input{width:100%;max-width:100%}.filter4 label:has(input[type=checkbox]){display:flex}.filter4 label input[type=checkbox]{width:20px;min-height:20px}.pager7{flex-wrap:wrap;gap:8px}.pager7 input{max-width:65px}.pager7 select{max-width:120px}.permission-group9{min-width:0}.user-card{min-width:0}.user-card form{min-width:0}.user-card .actions{flex-wrap:wrap}#modal .close{min-height:44px;max-width:100%;position:static;float:right;margin:0 0 8px 8px}#modal h2{clear:both;overflow-wrap:anywhere}.live-state16 button{min-height:44px}}

/* English mail uses Latin glyphs before the CJK fallback. */
#template-form15 input[name=subject],#template-form15 textarea[name=body],.template-preview15 h3,.template-preview15 pre,#manual-compose15 input[name=subject],#manual-compose15 textarea[name=body],#abandoned-compose16 input[name=subject],#abandoned-compose16 textarea[name=body],#work-history15 pre{font-family:Arial,"Helvetica Neue",Helvetica,"Microsoft YaHei",sans-serif;letter-spacing:normal;word-spacing:normal;text-align:left}
.mail-tools18{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:12px 0}.mail-tools18 button[hidden]{display:none}
.sku-details19{margin:18px 0;padding:14px;border:1px solid #e3eaf4;border-radius:8px;min-width:0}.sku-details19>summary{cursor:pointer;font-weight:600}.sku-details19>button{margin-bottom:12px}.sku-code19{display:block;max-width:260px;min-width:130px;white-space:normal;overflow-wrap:anywhere}.sku-details19 .table-wrap{max-width:100%}
.filter4 input[type=datetime-local]{width:225px;max-width:none;min-width:0}@media(max-width:760px){.filter4 label:has(input[type=datetime-local]){grid-template-columns:112px minmax(0,1fr)}.filter4 input[type=datetime-local]{width:100%;max-width:100%;min-height:44px;font-size:16px}}

/* BSB entry remains usable on phones and keeps customer, product and payment fields together. */
#modal:has(#bsb-form25){width:min(960px,94vw)}#bsb-form25 h3{padding-top:14px;margin:16px 0 12px;border-top:1px solid #e6edf5}#bsb-form25 .form-grid{gap:14px 18px}#bsb-form25 .field{min-width:0}#bsb-form25 input,#bsb-form25 select,#bsb-form25 textarea{width:100%;min-width:0}#bsb-form25 small{color:#74859d;font-size:12px;line-height:1.5}.bsb-item25{display:grid;grid-template-columns:minmax(220px,1fr) 100px 140px auto;align-items:start;gap:12px;margin-bottom:12px;padding:14px;background:#f7f9fc;border:1px solid #e7edf5;border-radius:8px}.bsb-item25>button{margin-top:24px}.bsb-product25 select{margin-top:4px}.bsb-detail25{padding:12px 16px;margin-bottom:14px;border-radius:8px;background:#f2f6fd}.button-link25{display:inline-block;border:1px solid #dbe4f2;border-radius:6px;padding:8px 12px;text-decoration:none;color:#2d67d8;font-size:13px;white-space:nowrap}.bsb-detail25 h3{margin-top:0}
@media(max-width:760px){#modal:has(#bsb-form25){width:calc(100% - 20px)}.bsb-item25{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.bsb-product25{grid-column:1/-1}.bsb-item25>button{margin-top:0;grid-column:1/-1}.bsb-item25 input,.bsb-item25 select{min-height:44px;font-size:16px}.button-link25{min-height:44px;box-sizing:border-box}}
.bsb-layout25 table{table-layout:fixed;min-width:1275px;width:100%}.bsb-layout25 th,.bsb-layout25 td{white-space:normal;overflow-wrap:anywhere;padding:12px 10px;vertical-align:middle}.bsb-layout25 .cell-wrap{min-width:0;max-width:100%}.bsb-layout25 th:nth-child(1){width:165px}.bsb-layout25 th:nth-child(2){width:125px}.bsb-layout25 th:nth-child(4){width:80px}.bsb-layout25 th:nth-child(5){width:155px}.bsb-layout25 th:nth-child(8){width:145px}.bsb-layout25 th:nth-child(9){width:130px}.bsb-layout25 th:nth-child(10){width:60px}.bsb-layout25 th:nth-child(11){width:100px}.bsb-layout25 th:nth-child(12){width:105px}.bsb-layout25 th:nth-child(13){width:95px}.bsb-layout25 th:nth-child(10),.bsb-layout25 td:nth-child(10){text-align:center}.bsb-layout25 th:nth-child(11),.bsb-layout25 td:nth-child(11){font-variant-numeric:tabular-nums}

/* Date/time ranges remain usable on phones without refreshing the page. */
input[type=datetime-local]{min-width:220px;font-variant-numeric:tabular-nums}.filter4 input[type=datetime-local]{width:230px}.date-note26{margin:10px 0 18px}.bsb-layout25 th:nth-child(2){width:175px}.bsb-layout25 td:nth-child(2){white-space:nowrap}.bsb-layout25 table{min-width:1200px}@media(max-width:760px){input[type=datetime-local],.filter4 input[type=datetime-local]{width:100%;min-width:0;min-height:44px;font-size:16px}.toolbar>label:has(input[type=datetime-local]){width:100%;align-items:flex-start;flex-direction:column}.filter4>label:has(input[type=datetime-local]){width:100%;align-items:flex-start;flex-direction:column}.filter4 input[type=datetime-local]{max-width:100%}.form-grid input[type=datetime-local]{min-width:0}}

.assignment-people27{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.assignment-people27>span{padding:10px 12px;border:1px solid #e6ecf5;border-radius:8px}.assignment-people27 small{display:block;color:#8291a5;margin-top:4px}#assign-recall27 .field{margin-top:16px}#task-cancel27{color:#ad4a30;border-color:#edd7ce}@media(max-width:760px){#assign-recall27 button,.assignment-people27>span{min-height:44px}.assignment-people27>span{flex:1}}

.mail-context30{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:14px;background:#f5f8ff;border:1px solid #e4ebf5;border-radius:10px;margin-bottom:18px}.mail-context30 p{margin:0;overflow-wrap:anywhere}.mail-body30{white-space:pre-wrap;overflow-wrap:anywhere;background:#f7f9fd;padding:16px;border-radius:8px;max-height:55vh;overflow:auto}#api-compose30{min-width:0}#api-compose30 textarea{width:100%;min-height:300px;resize:vertical;white-space:pre-wrap}#api-compose30 .actions{position:static;padding:12px 0;background:#fff;z-index:2;border-top:1px solid #e8edf5}#api-send-state30{overflow-wrap:anywhere}@media(max-width:760px){.mail-context30{grid-template-columns:1fr;gap:10px}#api-compose30 .actions{display:grid;grid-template-columns:1fr 1fr}#api-compose30 .actions [type=submit]{grid-column:1/-1}#api-compose30 input,#api-compose30 textarea{font-size:16px}#api-compose30 .manual-confirm15{align-items:flex-start}#mail-inbox-list30,#mail-outbox-list30,#mail-accounts-list30{min-width:0}}

.ai-panel32{margin:16px 0;padding:14px;border:1px solid #dce6f7;border-radius:10px;background:#f8faff}.ai-panel32 summary{cursor:pointer;font-weight:600;color:#245edc}.ai-panel32 article{padding:14px;margin-top:14px;border:1px solid #dce6f7;border-radius:8px;background:white}.ai-panel32 h3{overflow-wrap:anywhere}.ai-panel32 textarea{min-height:70px}.mail-body30{max-height:380px;overflow:auto}@media(max-width:600px){.ai-panel32{padding:10px}.ai-panel32 .actions{display:flex;flex-wrap:wrap}.ai-panel32 .actions button{flex:1;white-space:normal}}

#api-compose30 .ai-panel32 .actions{display:flex;flex-wrap:wrap;border-top:0;padding:8px 0;background:transparent}#api-compose30 .ai-panel32 textarea{min-height:70px}

.permission-tools34{display:flex;justify-content:flex-end;padding:10px 14px 0}.permission-tools34 button{min-height:36px}.password-wrap [data-reveal]{flex:none;white-space:nowrap}@media(max-width:600px){.permission-tools34 button{min-height:44px}.password-wrap [data-reveal]{padding:8px 10px}}

.import-progress37>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.import-progress37 span{overflow-wrap:anywhere;min-width:0}.import-progress37 b{flex-shrink:0}.import-progress37 progress{display:block;width:100%;height:8px;margin-top:8px;border:0;border-radius:5px;overflow:hidden;accent-color:#3386f4}.import-progress37 progress::-webkit-progress-bar{background:#e5edf9;border-radius:5px}.import-progress37 progress::-webkit-progress-value{background:#3386f4;border-radius:5px}.import-progress37 progress::-moz-progress-bar{background:#3386f4;border-radius:5px}
.import-error37{position:relative;padding-right:42px}.import-close37{position:absolute;right:8px;top:8px;width:24px;height:24px;padding:0;border:0;background:transparent;color:inherit;font-size:18px;line-height:24px}.import-close37:hover{background:#ffffff80}

.task-tabs38{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 18px;padding-bottom:12px;border-bottom:1px solid #edf1f7}.task-tabs38 button{background:#f8fafc}.task-tabs38 [aria-selected=true]{background:#eaf3ff;border-color:#b7d4fc;color:#2177dc}.mail-badge38{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;border-radius:10px;margin-left:8px;padding:0 5px;background:#ec4755;color:white;font-size:11px;font-weight:600;vertical-align:middle;line-height:18px}.mail-badge38[hidden]{display:none}#task-replies38 .cell-wrap{max-width:270px}#api-compose30 .form-grid{margin-bottom:14px}

#auth:not(:empty){width:100%;max-width:none;margin:0;padding:0;border:0;border-radius:0;background:white;box-shadow:none}.login-screen38{display:grid;grid-template-columns:1fr 1fr;min-height:100vh;min-height:100svh}.login-side38{display:flex;align-items:center;justify-content:center;padding:64px 48px;background:#fff}.login-card38{width:100%;max-width:360px}.login-logo38{display:flex;align-items:center;gap:10px;font-size:20px;font-weight:700;color:#234368;margin-bottom:50px}.login-logo38>span{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:9px;background:#eef5ff;color:#3386f4;font-size:23px}.login-eyebrow38{color:#8b9ab0!important;font-size:13px;margin:0 0 10px}#auth h1{font-size:28px;margin:0 0 12px;color:#243650}.login-description38{margin:0 0 32px;color:#8b99ad!important;font-size:13px}#auth #login{display:grid;gap:22px}.login-card38 .field{font-size:13px;color:#5f7290;gap:9px}.login-card38 input{width:100%;height:46px;background:#fff;border-color:#e0e7f0}.login-card38 input::placeholder{color:#a2adbd}.login-password38{position:relative}.login-password38 input{padding-right:60px}.login-password38 button{position:absolute;right:8px;top:7px;padding:7px 8px;background:transparent;border:0;color:#889ab3;font-size:12px}.login-submit38{height:46px;width:100%;margin-top:7px;font-weight:600}.login-brand38{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;text-align:center;color:white;background-color:#2c86f7;background-image:linear-gradient(#ffffff06 1px,transparent 1px),linear-gradient(90deg,#ffffff06 1px,transparent 1px),linear-gradient(140deg,#278aff,#2676ef);background-size:52px 52px,52px 52px,100% 100%}.login-brand-content38{position:relative;z-index:1;padding:40px}.login-brand-mark38{display:inline-flex;align-items:center;justify-content:center;width:68px;height:68px;border:1px solid #ffffff36;border-radius:18px;background:#ffffff18;color:white;font-size:46px;font-weight:700;margin-bottom:22px}.login-brand38 h2{color:white;font-size:38px;font-weight:700;letter-spacing:-1px;margin:0 0 14px}.login-brand38 p{color:#ffffffda!important;font-size:16px;margin:0 0 38px}.login-brand38 small{color:#ffffffb8;font-size:12px;letter-spacing:2px}.login-tile38{position:absolute;display:flex;align-items:center;justify-content:center;width:52px;height:52px;border:1px solid #ffffff12;background:#ffffff09;color:#ffffff35;font-weight:700;font-size:15px}.tile-a38{top:14%;left:10%}.tile-b38{left:16%;bottom:18%;background:#ffffff18;color:#ffffff85}.tile-c38{top:22%;right:15%;width:38px;height:38px}#login-error38{margin:0;font-size:12px;line-height:1.7}#login-error38[hidden]{display:none}@media(max-width:800px){.login-screen38{grid-template-columns:1fr}.login-brand38{display:none}.login-side38{min-height:100svh;padding:40px 24px}.login-card38{max-width:380px}.login-logo38{margin-bottom:40px}#auth h1{font-size:26px}}

#template-name-field40[hidden]{display:none}#new-template-form40 .variable-groups16{max-height:260px;overflow:auto;padding:10px;border:1px solid #e4ebf5;border-radius:8px;margin-bottom:18px}#new-template-error40[hidden]{display:none}
.filter4 label[hidden],#task-cancel27[hidden]{display:none!important}.recall-tabs42 button{min-width:132px}.recall-tabs42 span{margin-left:7px;border-radius:12px;padding:2px 8px;background:#e8eef6;font-size:12px}.recall-tabs42 [aria-selected=true] span{background:#d5e7ff}.mail-body30{font-family:inherit;line-height:1.65}#inbox-compose42>.field{margin:14px 0}.inbox-original42{margin:16px 0}.inbox-original42 summary{cursor:pointer;color:#6683a8}#inbox-compose42 .form-grid{margin-bottom:12px}@media(max-width:600px){.recall-tabs42{display:grid;grid-template-columns:1fr 1fr}.recall-tabs42 button{min-width:0;min-height:44px}#inbox-compose42 input,#inbox-compose42 textarea,#inbox-compose42 select{width:100%;font-size:16px}.mail-body30{overflow-wrap:anywhere}}

.mail-staff41{display:flex;flex-wrap:wrap;gap:12px 24px;padding:14px;border:1px solid #dce6f3;border-radius:8px;background:#f8faff;margin-bottom:18px;max-height:220px;overflow:auto}.mail-staff41 label{display:flex;align-items:center;gap:6px}.mail-staff41 input{width:auto}

.mail-signature42{padding:12px 16px;margin:16px 0;border:1px solid #e3eaf3;border-radius:8px;background:#fafcff}.mail-signature42 small{color:#7a879b}.mail-signature42 pre{font-family:inherit;font-weight:600;padding:0;background:transparent;line-height:1.6;margin:8px 0 0}

.bsb-receipt43{padding:3px;width:72px;height:72px;border:1px solid #dbe5f2;border-radius:8px;background:#f8fafc;display:inline-flex;align-items:center;justify-content:center;overflow:hidden}.bsb-receipt43 img{width:64px;height:64px;object-fit:contain;border-radius:4px}.bsb-receipt-pdf43{flex-direction:column;gap:5px;color:#3e70b0}.bsb-receipt-pdf43 span{font-weight:700}.bsb-receipt-pdf43 small{font-size:10px}.bsb-receipt-view43{text-align:center;max-height:70vh;overflow:auto}.bsb-receipt-view43 img{max-width:100%;height:auto}#modal:has(.bsb-receipt-view43){width:min(1000px,94vw)}.bsb-layout25 th:nth-child(15){width:75px}#bsb-form25 input[type=checkbox]{width:auto}.bsb-detail25 button[data-bsb-edit43]{margin-top:10px}@media(max-width:760px){#bsb-form25>div.form-grid>label input,#bsb-form25>div.form-grid>label select{font-size:16px;min-height:44px}.bsb-receipt43{min-height:72px}}
.order-overview43 h2{margin:0}.order-overview-grid43{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:18px}.order-overview-card43{padding:20px;background:#f8faff;border:1px solid #e2eaf6;border-radius:12px;min-width:0}.order-overview-card43 h3{margin:0 0 16px;color:#4f6482;font-size:14px}.order-overview-card43>div{display:flex;gap:20px;justify-content:space-between}.order-overview-card43>div>span{font-size:12px;color:#70839e;min-width:0}.order-overview-card43 strong{display:block;font-size:25px;color:#253f64;font-variant-numeric:tabular-nums;line-height:1.5;overflow-wrap:anywhere}.order-overview-card43 strong small{font-size:12px;color:#8c9bb0;margin-left:5px}.order-overview-note43{font-size:12px;margin:14px 0 0}.order-overview-warn43{color:#b07328;font-size:12px;line-height:1.5;margin-bottom:0}.bsb-edit-inline43{padding:4px 10px;font-size:12px;margin-top:6px}.bsb-layout25 table{min-width:1570px}.bsb-layout25 th:nth-child(14){width:90px}.bsb-layout25 th:nth-child(15){width:100px}.bsb-layout25 th:nth-child(16){width:140px}.bsb-layout25 th:nth-child(17){width:120px}#bsb-receipt-dialog43{width:min(1000px,94vw);max-height:90vh;border:0;border-radius:12px;padding:24px;color:#17253e}#bsb-receipt-dialog43::backdrop{background:#17253e88}#bsb-receipt-dialog43 h2{margin:0}#bsb-mail43{display:grid;gap:14px}#bsb-mail43 textarea{max-height:none;min-height:260px}@media(max-width:1100px){.order-overview-card43{padding:16px}.order-overview-card43 strong{font-size:22px}}@media(max-width:760px){.order-overview-grid43{grid-template-columns:1fr;gap:10px}.order-overview-card43{padding:15px}.order-overview-card43 h3{margin-bottom:8px}.order-overview-card43>div{justify-content:flex-start;gap:40px}.order-overview43>.statusline{align-items:flex-start;gap:6px}#bsb-receipt-dialog43{padding:16px}#bsb-mail43 input,#bsb-mail43 select,#bsb-mail43 textarea{font-size:16px;min-height:44px}#bsb-mail43 button{min-height:44px}}
.bsb-overview43 .order-overview-grid43{grid-template-columns:1fr}.bsb-overview43 .order-overview-card43>div{justify-content:flex-start;gap:70px}@media(max-width:760px){.bsb-overview43 .order-overview-card43>div{gap:40px}}
#mail-test44{display:grid;gap:14px}#mail-test44 textarea{min-height:180px}@media(max-width:760px){#mail-test44 input,#mail-test44 select,#mail-test44 textarea{font-size:16px;min-height:44px}#mail-test44 button{min-height:44px}}
.rich-mail45{border:1px solid #dbe4f2;border-radius:8px;overflow:hidden;background:#fff;min-width:0}.rich-toolbar45{display:flex;gap:5px;align-items:center;flex-wrap:wrap;padding:8px;background:#f7f9fd;border-bottom:1px solid #e6edf6}.rich-toolbar45 button{padding:5px 8px;font-size:12px;min-height:30px}.rich-toolbar45 select{padding:5px;font-size:12px;max-width:150px}.rich-toolbar45 input[type=color]{padding:2px;width:34px;height:30px}.rich-editor45{padding:15px;min-height:220px;line-height:1.6;font-family:Arial,sans-serif;font-size:14px;white-space:normal;overflow-wrap:anywhere;outline:none}.rich-editor45:focus{box-shadow:inset 0 0 0 2px #bdd3fc}.rich-editor45[aria-readonly=true]{background:#fbfcff}.rich-editor45 p{margin:0 0 12px}.rich-editor45 img,.mail-rich-signature45 img{max-width:100%;height:auto}.rich-editor45 a,.mail-rich-signature45 a{color:#2563eb;text-decoration:underline}.rich-insert45{padding:12px;background:#f0f5ff;display:grid;gap:10px}.rich-insert45[hidden],.rich-toolbar45[hidden]{display:none}.rich-insert45 label{display:grid;gap:5px}.rich-insert45 input{width:100%}.rich-mail45 .error{margin:10px;padding:0;font-size:12px}.mail-rich-signature45{padding:12px;background:white;line-height:1.6;overflow-wrap:anywhere}.template-library15 .rich-editor45{min-height:300px}.template-library15 .template-columns15 textarea[hidden]{display:none}.rich-mail45 .rich-editor45 a{pointer-events:none}#mail-account-form30 .rich-editor45{min-height:180px}#mail-account-form30 .rich-mail45{grid-column:1/-1}@media(max-width:760px){.rich-toolbar45 select,.rich-toolbar45 button{min-height:38px}.rich-toolbar45 select{max-width:130px}.rich-editor45{font-size:16px;padding:12px;min-height:220px}.rich-insert45 input{font-size:16px;min-height:44px}.rich-insert45 button{min-height:44px}}
.rich-mail45 [hidden]{display:none!important}
.mail-message46{border:1px solid #dfe7f2;border-radius:10px;padding:16px;margin:14px 0;background:#fff}.incoming46{border-left:4px solid #2883d8}.outgoing46{border-left:4px solid #79917b;background:#fafcfb}.mail-message-head46{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#6f8199;font-size:12px}.mail-direction46{display:inline-block;padding:4px 8px;background:#eaf4ff;color:#1766a3;border-radius:5px;font-size:12px;font-weight:600}.outgoing46 .mail-direction46{background:#edf4ee;color:#486b4d}.mail-message46 h3{margin:12px 0;overflow-wrap:anywhere}.mail-message-meta46{display:flex;flex-wrap:wrap;gap:6px 18px;color:#72839a;font-size:12px;line-height:1.6;overflow-wrap:anywhere}.mail-text46{font-family:Arial,"Microsoft YaHei",sans-serif;line-height:1.65;white-space:pre-wrap;letter-spacing:normal;word-spacing:normal;text-align:left;background:#fff;border-radius:0;padding:12px 0;margin:8px 0 0;overflow-wrap:anywhere;max-height:420px;overflow:auto}.mail-quote46{border:1px solid #e3e8ef;border-radius:8px;padding:12px 16px;margin:12px 0;background:#f8fafc}.mail-quote46 summary{cursor:pointer;color:#667b95;font-size:13px}.mail-quote46 .mail-text46{background:transparent;color:#687a90;max-height:360px}.mail-outgoing46{margin-top:16px}@media(max-width:760px){.mail-message46{padding:12px}.mail-message-meta46{display:grid;gap:5px}.mail-text46{font-size:14px;max-height:50vh}.mail-quote46{padding:12px}.mail-message-head46{align-items:flex-start}}
/* Click feedback is local and keeps each button's original colour and disabled state. */
:is(button,summary,[role=button],a.button-link25){transition:background-color .12s,border-color .12s,box-shadow .12s,filter .12s}
:is(button,summary,[role=button],a.button-link25):not(:disabled):not([aria-disabled=true]):active{filter:brightness(.88);box-shadow:inset 0 0 0 1px #244c8555}
:is(button,summary,[role=button],a.button-link25)[data-click-feedback47]:not(:disabled):not([aria-disabled=true]){background-image:linear-gradient(#1d4f9620,#1d4f9620);filter:brightness(.94);box-shadow:inset 0 0 0 1px #356cc944,0 0 0 3px #2864ef26}
:is(button,summary,[role=button],a.button-link25):focus-visible{outline:2px solid #447ff0;outline-offset:3px}
@media(prefers-reduced-motion:reduce){:is(button,summary,[role=button],a.button-link25){transition:none}}
.bsb-receipts48{display:flex;flex-wrap:wrap;gap:6px;max-width:150px}.bsb-receipts48>small{flex-basis:100%}.bsb-receipt-more48{width:64px;min-height:64px;padding:8px;font-weight:600}.bsb-layout25 th:nth-child(13){width:160px}.bsb-receipt-files48{display:flex;flex-wrap:wrap;gap:12px;margin-top:10px}.bsb-receipt-card48{width:130px;display:grid;justify-items:start;gap:7px;padding:10px;border:1px solid #e0e8f3;border-radius:8px;background:#f8faff;min-width:0}.bsb-receipt-card48>img{width:90px;height:72px;object-fit:contain;background:white}.bsb-receipt-card48>small{max-width:100%;overflow-wrap:anywhere;font-size:11px}.bsb-receipt-card48 label{display:flex;align-items:center;gap:5px;font-size:12px}.bsb-receipt-card48 input[type=checkbox]{width:auto!important;min-height:0}.bsb-receipt-card48>button{padding:5px 10px;font-size:12px}.bsb-receipt-placeholder48{display:grid;place-items:center;width:90px;height:72px;background:#edf2fa;font-weight:600}.bsb-file-removed48{opacity:.5}.bsb-gallery-controls48{align-items:center;justify-content:center;flex-wrap:wrap;gap:12px}.bsb-gallery-controls48 span{min-width:55px;text-align:center;color:#71849f}.bsb-pdf-preview48{padding:40px 20px;text-align:center;background:#f5f8fc;border-radius:8px}@media(max-width:760px){.bsb-receipt-files48{gap:8px}.bsb-receipt-card48{width:calc(50% - 4px)}.bsb-gallery-controls48 button{min-height:44px}.bsb-gallery-controls48>a{flex-basis:100%;text-align:center}}

#modal>.close{font-size:24px;line-height:1;width:44px;min-height:44px;padding:6px;border-color:transparent;background:transparent;color:#71849f}#modal>.close:hover{background:#edf3fc;color:#213e68}

.bsb-layout25 th:nth-child(3){width:125px}.bsb-layout25 td:nth-child(2),.bsb-layout25 td:nth-child(3){font-variant-numeric:tabular-nums}

.bsb-layout25 th:nth-child(6){width:70px}.bsb-layout25 th:nth-child(7){width:80px}

.template-choices56{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0 20px}.template-choices56 button{padding:7px 12px;background:#f8fafc}.template-choices56 [aria-selected=true]{background:#eaf3ff;border-color:#b7d4fc;color:#2177dc}

.email-error55{background:#fff0ee;color:#bc3030;white-space:normal}
.mail-media55{margin-top:18px}.mail-images55{display:flex;flex-wrap:wrap;gap:12px}.mail-images55 button{display:flex;flex-direction:column;gap:6px;max-width:160px}.mail-images55 img{width:128px;height:90px;object-fit:contain;background:#f7f9fc}.mail-images55 span{font-size:12px;overflow-wrap:anywhere}.mail-external55 img{display:block;max-width:100%;height:auto;margin:10px 0}.mail-image-large55{display:block;max-width:100%;max-height:65vh;object-fit:contain;margin:auto auto 20px}

.blacklist-country56{display:inline-flex;gap:8px;align-items:center;margin:0 12px 12px 0}.blacklist-country56 select{min-width:140px}
.template-choice59{display:inline-flex;position:relative;margin-right:8px;padding-top:6px}.template-choice59>[data-template-choice56]{padding-right:28px}.template-choice59 .template-delete59{position:absolute;right:3px;top:0;width:22px;height:22px;min-width:0;padding:0;border:0;background:transparent;color:#7890ae;border-radius:50%;font-size:18px;line-height:22px}.template-choice59 .template-delete59:hover{color:#c63636;background:#fff0f0}.template-choice59 .template-delete59:focus-visible{outline:2px solid #3385ff;outline-offset:2px}
.rich-toolbar45 button[aria-pressed="true"]{background:#edf4ff;border-color:#3385ff;color:#1766cf}.rich-editor45[contenteditable="true"] a,.rich-editor45[contenteditable="true"] img{cursor:pointer}

.mail-chat67{max-height:48vh;overflow:auto;padding:12px 6px;background:#f8fafd;border-radius:10px;scrollbar-gutter:stable}.mail-item67{width:88%;border:1px solid #c9dcf3;border-radius:10px;background:#fff;margin:10px auto 10px 0}.mail-item67.ours67{margin-left:auto;margin-right:0;background:#edf7f0;border-color:#c9e5d2}.mail-item67>summary{cursor:pointer;display:flex;gap:8px;flex-wrap:wrap;align-items:center;padding:12px;color:#526882;list-style:inside}.mail-item67 .mail-preview67{width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#24364f}.mail-item67[open] .mail-preview67{display:none}.mail-item67 time,.mail-state67{font-size:12px}.mail-item67 .mail-item-body67{padding:0 12px 12px}.mail-item67 .mail-message46{margin:0;padding:12px;background:transparent;border:0;border-radius:0}.mail-item67 .mail-message-head46{display:none}.mail-item67 .mail-message-meta46{font-size:12px}.mail-item67 .mail-message46 h3{font-size:14px}.mail-item67 .mail-text46{background:transparent;max-height:none;margin-bottom:0}.ours67 .mail-direction46{background:#d9efdf;color:#23613b}.conversation-compose67{border:1px solid #c9dcf3;border-radius:10px;margin-top:12px;padding:16px}.conversation-compose67 h2{font-size:17px;margin-top:0}.conversation-compose67 .mail-signature42{max-height:150px;overflow:auto}.conversation-actions67{position:sticky;bottom:0;background:#fff;padding:12px 0 4px}.mail-chat67 [hidden]{display:none!important}@media(max-width:760px){.mail-item67{width:96%}.mail-chat67{max-height:42vh}.conversation-compose67{padding:10px}}
.mail-event-actions67{padding:0 12px 12px}
.mail-rich-display79{font-family:Arial,sans-serif;font-size:14px;line-height:1.65;overflow-wrap:anywhere;max-width:100%;padding:8px 0}.mail-rich-display79 img{max-width:100%;height:auto}.mail-rich-display79 table{width:auto;max-width:100%}.mail-rich-display79 a,.mail-outgoing-content79 a{color:#156bd6;text-decoration:underline}.mail-display-state79:empty{display:none}.mail-outgoing-content79 .mail-text46{max-height:none}.mail-display-retry79[hidden]{display:none}
