@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700;800&display=swap');
:root{font-family:'Be Vietnam Pro',system-ui,sans-serif;color:#192b2e;background:#f4f7f7;font-size:14px;--green:#13735d;--border:#e3eaea}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;font-weight:600;border:0;transition:background .15s}button:disabled{opacity:.55;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid #69c9a7;outline-offset:3px}[hidden]{display:none!important}h1,h2,h3,p{margin:0}h1{font-size:30px;letter-spacing:-1px}h2{font-size:18px;letter-spacing:-.4px}p{color:#748185;line-height:1.8}small{font-size:12px;color:#748185}a{color:inherit;text-decoration:none}.primary{background:var(--green);color:white;padding:13px 19px;border-radius:8px;white-space:nowrap}.primary:hover{background:#0a5e4b}.secondary,.light-button{border:1px solid var(--border);border-radius:7px;background:white;padding:10px 15px;color:#34474b}.danger{color:#b34c4c;background:#fff0ee}.eyebrow{font-size:11px;font-weight:700;letter-spacing:1.3px;color:#77888a}.workspace{display:flex;min-height:100vh}aside{position:fixed;width:244px;background:#fff;border-right:1px solid var(--border);height:100vh;padding:31px 20px 16px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:9px;font-size:22px;font-weight:800;letter-spacing:-1px}.logo{background:var(--green);color:#fff;border-radius:10px;display:inline-grid;place-items:center;width:35px;height:38px;font-weight:800;font-size:28px}.internal{font-size:8px;letter-spacing:1px;color:#6d8581;background:#f0f5f4;border-radius:4px;padding:5px;margin-left:auto}.nav-label{font-size:10px;letter-spacing:1.2px;margin:38px 10px 12px;font-weight:600;color:#97a3a4}nav button{width:100%;display:flex;align-items:center;gap:12px;text-align:left;background:none;border-radius:7px;color:#6c7b7d;padding:13px 12px;margin:3px 0;font-size:13px}nav button>span{font-size:20px;font-weight:400;width:20px}nav button.active{background:#eaf5ef;color:#13735d}nav b{margin-left:auto;font-size:11px;background:#d6ecdf;padding:3px 7px;border-radius:4px}.side-bottom{margin-top:auto}.secure-note{font-size:11px;padding:15px 10px;color:#667f77;border-bottom:1px solid var(--border);margin-bottom:15px}.secure-note p{font-size:10px;margin-top:5px}.profile{display:flex;align-items:center;gap:10px;text-align:left;width:100%;background:white}.avatar{display:inline-grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#e7eeeb;color:var(--green);font-size:14px;font-weight:700}.profile strong{font-size:12px;display:block}.profile small{display:block;margin-top:4px;font-size:10px}.logout{margin:14px 0 0 45px;background:white;color:#83908e;font-size:11px}main{margin-left:244px;flex:1;min-width:0}header{height:78px;background:#fff;border-bottom:1px solid var(--border);display:flex;justify-content:space-between;align-items:center;padding:0 36px;font-size:11px;color:#849194}.breadcrumb span{margin:0 14px;color:#c1cbca}.breadcrumb strong{font-weight:500;color:#33484c}.header-right{display:flex;gap:25px;align-items:center}.live{font-size:10px;color:#3b8c6f;background:#eef7f0;padding:6px 10px;border-radius:20px}.content{max-width:1600px;margin:auto;padding:35px 36px 0}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:0 0 30px}.page-heading h1{margin:11px 0 9px}.page-heading p{font-size:12px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin-bottom:25px}.stat{padding:21px;background:#fff;border:1px solid var(--border);border-radius:11px;position:relative}.stat-label{color:#6b7e80;font-size:12px}.stat strong{font-size:31px;font-weight:600;display:block;margin:15px 0 9px;letter-spacing:-1px}.stat small{font-size:10px}.stat-icon{position:absolute;right:20px;top:20px;border-radius:8px;background:#edf6f1;padding:9px;color:#29866c;font-size:18px}.stat:nth-child(2) .stat-icon{background:#edf1fd;color:#6c83be}.stat:nth-child(3) .stat-icon{background:#fff4e8;color:#c28c44}.stat:nth-child(4) .stat-icon{background:#fff0ef;color:#ca7474}.overview-extra{margin-bottom:26px}.welcome{background:#134e42;border-radius:12px;color:white;display:flex;justify-content:space-between;overflow:hidden;padding:27px 32px;min-height:213px}.welcome .eyebrow{color:#8dc1ac;font-size:9px}.welcome h2{font-size:23px;margin:13px 0 9px}.welcome p{font-size:11px;color:#bdd2c9}.light-button{font-size:11px;margin-top:18px;background:#e5f2e9;border:0;color:#205745;padding:10px 15px}.abstract{width:35%;display:grid;place-items:center;position:relative}.abstract:before,.abstract:after{content:'';width:220px;height:220px;border:1px solid #366b5d;border-radius:50%;position:absolute}.abstract:after{width:290px;height:290px}.abstract-card{width:220px;background:linear-gradient(120deg,#c7e3be,#77b9a5);color:#224e40;transform:rotate(-8deg);padding:19px 22px;border-radius:13px;box-shadow:0 15px 30px #0a322b88;z-index:1}.abstract-card span{display:block;font-size:8px;letter-spacing:1px}.abstract-card strong{display:block;font-size:24px;margin:16px 0;letter-spacing:-1px}.panel{background:white;border:1px solid var(--border);border-radius:11px;overflow:hidden}.panel-heading{display:flex;justify-content:space-between;align-items:center;padding:24px}.panel-heading h2{font-size:16px}.panel-heading p{font-size:11px;margin-top:6px}.toolbar{display:flex;justify-content:space-between;gap:12px;padding:0 24px 17px;align-items:center}.tabs{display:flex;gap:4px}.tabs button{background:white;color:#7d8a8d;padding:9px 10px;border-radius:6px;font-size:11px}.tabs .selected{background:#edf5f1;color:#1e7158}.toolbar input{width:210px;font-size:11px;background:#fcfdfd;padding:10px 12px}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap}thead{background:#f8fafa;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}th{color:#8a9798;font-size:9px;letter-spacing:.6px;padding:14px 22px;font-weight:600}td{padding:18px 22px;font-size:12px;border-bottom:1px solid #edf1f1}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fbfdfc}td strong{font-size:12px;display:block;margin-bottom:5px}td small{font-size:10px}.order-id{color:#889697;font-size:10px}.badge{border-radius:5px;font-size:10px;padding:5px 8px;display:inline-block;background:#f0f3f4;color:#798b90}.badge.processing{background:#edf2ff;color:#6080bd}.badge.issue{background:#fff0ed;color:#c57961}.badge.completed{background:#eaf6ef;color:#328063}.badge.high{color:#b17c34;background:#fff7e8}.person{display:flex;gap:8px;align-items:center}.person .avatar{width:26px;height:26px;font-size:10px}.row-action{font-size:11px;background:#edf5f1;color:#1d775d;padding:8px 13px;border-radius:6px}.table-foot{border-top:1px solid var(--border);padding:17px 24px;display:flex;justify-content:space-between;font-size:10px;color:#8a999a}.empty{text-align:center;padding:45px}.empty>span{font-size:32px;color:#8bb6a3}.empty h3{font-size:15px;margin:12px 0 8px}.empty p{font-size:12px}footer{display:flex;gap:15px;align-items:center;padding:24px 0;color:#7d8e8d;font-size:10px}footer>span:last-child{margin-left:auto}.report-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:20px;margin-bottom:20px}.chart{padding:25px}.chart p{font-size:11px;margin-top:6px}.bars{height:200px;display:flex;align-items:end;gap:15px;padding-top:30px}.bar-wrap{height:100%;flex:1;display:flex;flex-direction:column;justify-content:end;align-items:center;gap:7px;font-size:11px;color:#738581}.bar{min-height:3px;background:#3c997c;width:60%;border-radius:5px 5px 0 0}.distribution-line{display:grid;grid-template-columns:100px 1fr 30px;align-items:center;gap:12px;margin-top:25px;font-size:11px}.distribution-track{height:8px;background:#f2f5f4;border-radius:9px;overflow:hidden}.distribution-fill{height:100%;background:#4a9b80}.login{min-height:100vh;display:grid;grid-template-columns:1.1fr 1fr;background:white}.login-brand{background:#123f36;padding:70px;display:flex;flex-direction:column;justify-content:center;color:white}.login-brand .logo{background:#d4e9ce;color:#164b3b;margin-bottom:60px}.login-brand h1{font-size:48px;line-height:1.4}.login-brand p{color:#a8c5b8;margin:25px 0 60px;font-size:14px}.login-foot{font-size:10px;letter-spacing:2px;color:#8ab19f}.login-form{max-width:420px;width:100%;align-self:center;justify-self:center;padding:35px}.login-form h2{font-size:26px;margin:15px 0}.login-form>p{font-size:13px;margin-bottom:25px}.login-form .primary{width:100%;margin-top:10px}label{display:block;font-size:12px;font-weight:600;margin:16px 0 0;color:#4c6365}input,textarea,select{display:block;width:100%;border:1px solid #dae4e2;border-radius:7px;background:white;padding:11px 12px;color:#253d3d;outline:none;margin-top:8px}input:focus,textarea:focus,select:focus{border-color:#40967b;box-shadow:0 0 0 3px #eaf4ef}textarea{min-height:90px;resize:vertical}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath d='m2 4 4 4 4-4' fill='none' stroke='%23677'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;padding-right:32px}.error{color:#bb5555!important;min-height:18px}dialog{width:min(780px,95vw);max-height:92vh;border:0;border-radius:14px;padding:0;color:#203b38;box-shadow:0 25px 80px #0a292244}dialog::backdrop{background:#16352e77;backdrop-filter:blur(3px)}.modal-head{display:flex;justify-content:space-between;align-items:center;padding:24px 28px;border-bottom:1px solid var(--border)}.modal-head small{display:block;margin-bottom:7px}.close{font-size:24px;background:#f2f5f4;border-radius:6px;color:#778581;width:30px;height:30px}.modal-body{padding:24px 28px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.form-grid .wide{grid-column:1/-1}.form-actions{display:flex;justify-content:end;gap:12px;margin-top:25px}.hint{font-size:11px;color:#8b9894;line-height:1.7;margin-top:15px}.detail-summary{display:grid;grid-template-columns:1fr 1fr;gap:20px}.reference-card{background:linear-gradient(130deg,#154f42,#2f7f64);padding:25px;border-radius:12px;color:#e8f6ec}.reference-card .eyebrow{color:#a3c6b3}.masked{font-size:22px;letter-spacing:3px;margin:26px 0 20px}.reference-card small{color:#b2d7c2}.copy-line{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 0;border-bottom:1px solid var(--border);word-break:break-word}.copy-line button{font-size:10px;color:#357a62;background:#eaf4ef;padding:7px;border-radius:5px}.copy-line code{font-size:12px}.detail-description{font-size:12px;background:#f6f9f7;padding:15px;border-radius:8px;margin:20px 0;white-space:pre-wrap}.status-actions{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.status-actions button{font-size:11px}.timeline{border-left:2px solid #e5eeea;margin:20px 0 20px 8px;padding-left:20px}.event{position:relative;margin:0 0 22px}.event:before{position:absolute;content:'';width:8px;height:8px;border-radius:50%;background:#71ac91;border:3px solid white;left:-28px;top:3px}.event strong{font-size:12px}.event time{font-size:10px;color:#8d9c96;margin-left:10px}.event p{font-size:12px;white-space:pre-wrap;color:#557267;margin-top:6px}.event img{max-width:100%;max-height:260px;border-radius:7px;margin-top:10px;display:block}.comment-form{border-top:1px solid var(--border);padding-top:5px}.comment-form input[type=file]{font-size:11px}.comment-form .primary{font-size:12px}#toast{position:fixed;bottom:25px;right:25px;max-width:420px;border-radius:9px;padding:15px 22px;z-index:100;background:#163f33;color:white;box-shadow:0 5px 20px #0002;font-size:13px}
/* Keep operational text readable, including on laptops. */
body{font-size:16px}nav button{font-size:14px}.stat-label,.panel-heading p,.page-heading p,.toolbar input,.tabs button,td,td strong,.row-action,label,.copy-line code,.copy-line button,.status-actions button,.comment-form .primary,.comment-form input[type=file],.event strong,.event p,.distribution-line,.bar-wrap,.login-form>p{font-size:14px}small,td small,.order-id,.badge,.stat small,.table-foot,.eyebrow,.hint,.event time,.login-form small,.profile strong,.profile small,.secure-note,.secure-note p,.header-right,.breadcrumb,th,.live,.panel-heading p,.chart p,.welcome p,.light-button,.abstract-card span,footer,.login-foot{font-size:12px}.eyebrow{letter-spacing:.8px}.internal{font-size:9px}.page-heading p{max-width:670px}.toolbar{flex-wrap:wrap}.toolbar input{width:250px}.tabs{flex-wrap:wrap}.detail-description{font-size:14px}.masked{white-space:nowrap;font-size:20px}.reference-card{padding:20px}.form-grid .hint{font-size:12px}
@media(min-width:1600px){:root{font-size:16px}.content{padding-top:45px}td{padding-top:22px;padding-bottom:22px}}
@media(max-width:1150px){aside{width:205px;padding:28px 13px}.brand{font-size:21px}.internal{display:none}main{margin-left:205px}.content{padding:25px 22px 0}header{padding:0 22px}.toolbar{flex-wrap:wrap}.toolbar input{width:100%}.abstract{width:32%}.abstract-card{width:180px}.abstract-card strong{font-size:21px}.stat{padding:17px}.stat-icon{right:12px}.stat-label{font-size:11px}}
@media(max-width:760px){aside{position:static;width:100%;height:auto;padding:15px}.workspace{display:block}.brand{font-size:21px}aside>.nav-label,.side-bottom,.admin-only .nav-label{display:none}nav{display:flex;overflow:auto;gap:6px;margin-top:15px}nav button{white-space:nowrap;width:auto;padding:8px;font-size:11px}nav button>span{display:none}nav .admin-only{display:flex}main{margin:0}header{height:55px;padding:0 18px}.header-right #today{display:none}.content{padding:24px 16px 0}.eyebrow{font-size:8px;letter-spacing:.7px}h1{font-size:25px}.page-heading{align-items:start;flex-wrap:wrap}.page-heading .primary{font-size:11px;padding:10px 13px}.stats{grid-template-columns:1fr 1fr;gap:10px}.stat strong{font-size:27px}.stat-icon{font-size:15px;padding:7px}.stat small{font-size:9px}.welcome{padding:24px}.welcome h2{font-size:20px}.abstract{display:none}.panel-heading{padding:18px}.toolbar{padding:0 12px 14px}.tabs{overflow:auto;width:100%}.tabs button{white-space:nowrap}.table-foot{gap:20px;font-size:9px;padding:15px}.report-grid{grid-template-columns:1fr}footer{font-size:9px}.login{grid-template-columns:1fr}.login-brand{padding:35px}.login-brand h1{font-size:30px}.login-brand .logo{margin-bottom:25px}.login-brand p,.login-foot{display:none}.login-form{padding:35px}.detail-summary,.form-grid{grid-template-columns:1fr}.form-grid .wide{grid-column:auto}.modal-body{padding:20px}.modal-head{padding:20px}.table-foot>span:last-child{display:none}}

.staff-view #orders-panel th:nth-child(2),.staff-view #orders-panel td:nth-child(2),.staff-view #orders-panel th:nth-child(3),.staff-view #orders-panel td:nth-child(3),.staff-view #orders-panel th:nth-child(5),.staff-view #orders-panel td:nth-child(5){display:none}

.paste-image{margin-top:12px;padding:14px;border:1px dashed #a8c8bc;border-radius:8px;color:#557267;font-size:12px;cursor:text}.paste-image:focus{outline:2px solid #40967b;outline-offset:2px}#image-preview img{display:block;max-width:100%;max-height:220px;margin:12px 0;border-radius:7px}#remove-image{font-size:12px}

#active-orders{margin-bottom:24px}.active-order{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 24px;border-top:1px solid var(--border)}.active-order strong{display:block;overflow-wrap:anywhere;white-space:pre-wrap}.active-order small{display:block;margin:8px 0}.active-order button{flex-shrink:0}.active-empty{padding:0 24px 24px;font-size:12px}

.dispatch-panel{max-width:900px}.dispatch-panel form{padding:0 24px 24px}.dispatch-panel textarea{min-height:240px;font-size:16px;line-height:1.7}.dispatch-panel label{margin-top:0}.dispatch-success{color:#16765b;font-size:13px;padding:12px;background:#edf7f1;border-radius:7px}

.order-tools{display:flex;gap:8px;flex-wrap:wrap}.event>a.row-action{display:inline-block;margin-top:10px}

.event.admin-reply{background:#eef7f2;padding:12px;border-radius:8px}.event.admin-reply:before{top:15px}

nav #issue-nav{background:#fde9e4;color:#bb513b}.duplicate-notice{margin-top:14px;padding:12px 14px;background:#fff4df;color:#93601c;border:1px solid #efdab2;border-radius:8px;font-size:13px}

.dispatch-panel{position:relative;overflow:visible}.dispatch-panel .duplicate-notice{position:absolute;right:20px;top:18px;width:min(360px,calc(100% - 40px));z-index:5;margin:0;background:#fffdf7;box-shadow:0 12px 35px #183d3426;border-radius:10px}.duplicate-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.duplicate-close{background:transparent;color:#93601c;font-size:23px;padding:0 4px}.duplicate-list{max-height:240px;overflow-y:auto;margin:10px 0}.duplicate-order{display:block;width:100%;text-align:left;background:white;border:1px solid #eddfc7;padding:10px;margin:6px 0;border-radius:6px;color:#28473d}.duplicate-order strong{display:block;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}.duplicate-order span{display:block;font-size:11px;color:#7a817c;margin-top:5px}.duplicate-notice>small{display:block;line-height:1.5}@media(max-width:700px){.dispatch-panel .duplicate-notice{position:static;width:100%;margin-top:12px}}

.stats{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.detail-amount{padding:12px 15px;border-radius:8px;background:#eaf6ef;color:#24654f}

#support-orders{margin-bottom:24px;border-color:#a9cabc}#transfer-box{padding:16px;background:#f1f7f4;border:1px solid #d4e6dc;border-radius:8px;margin:16px 0}#transfer-box label{margin-top:0}

.date-filter{display:flex;justify-content:flex-end;align-items:flex-end;gap:12px;flex-wrap:wrap;margin-bottom:18px}.date-filter label{margin:0;font-size:12px}.date-filter input{margin-top:5px;padding:9px 10px}.date-filter .error{margin:0;width:100%;text-align:right;min-height:0}

td.latest-note{white-space:pre-wrap;overflow-wrap:anywhere;min-width:180px;max-width:320px;line-height:1.6}
