@media(max-width:760px){
body.mobile-ui{--ink:#1c3834;--muted:#74827f;--blue:#16634f;--line:#e2eae6;--bg:#f4f7f5;font-size:15px;line-height:1.6;background:var(--bg);overflow-x:hidden;}
.mobile-ui>header,.mobile-ui #identity{display:none!important}.mobile-ui #app{display:block!important;margin:0!important;padding:0!important;max-width:none!important;min-height:100dvh;}.mobile-ui button,.mobile-ui input,.mobile-ui select{min-height:44px;font-size:16px;max-width:100%;}.mobile-ui button{touch-action:manipulation}.mobile-ui h1{font-size:25px;line-height:1.35;letter-spacing:-.6px;margin:10px 0 16px}.mobile-ui h2{font-size:18px;line-height:1.45;margin:0}.mobile-ui h3{font-size:17px;line-height:1.55;margin:0;overflow-wrap:anywhere}.mobile-ui p{margin:8px 0;overflow-wrap:anywhere}.mobile-ui .m-head{background:white;padding:18px 20px 20px;border-bottom:1px solid var(--line)}.m-brand{font-size:13px;letter-spacing:1px;color:#607c71}.m-body{padding:20px 16px calc(100px + env(safe-area-inset-bottom));max-width:640px;margin:auto}.m-sub{font-size:13px;color:#6e807a;line-height:1.6}.m-row,.m-card-title,.m-heading,.m-title-row{display:flex;gap:10px;align-items:center;justify-content:space-between;min-width:0}.m-card-title{align-items:flex-start}.m-title-row h1{flex:1;min-width:0;margin:12px 0}.m-title-row .m-button{flex-shrink:0;padding:9px 12px;font-size:14px}.m-heading{margin:20px 0 12px}.m-heading:first-child{margin-top:0}.m-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px;margin:0 0 14px;min-width:0;box-shadow:0 3px 10px #183d2f03}.m-card h3+.m-sub{margin-top:8px}.m-customer h3{font-size:19px}.m-tag{display:inline-block;font-size:11px;line-height:1.5;padding:5px 8px;border-radius:6px;background:#edf5ef;color:#4c715e;white-space:nowrap}.m-tag.late{background:#fff1e8;color:#ac5628}.m-two-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px;margin-bottom:14px}.m-card .m-two-actions{margin-bottom:0}.mobile-ui .m-button{border-radius:10px;padding:10px 14px;line-height:1.4;border-color:var(--line);background:#fff;font-weight:500;white-space:normal}.mobile-ui .primary{background:#16634f!important;border-color:#16634f!important;color:#fff!important}.m-month,.m-period label{font-size:12px;color:#6e807a;display:flex;flex-direction:column;gap:6px}.m-month input{width:100%;}.m-period{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:10px;margin-top:12px}.m-period input,.m-period select{width:100%;min-width:0;background:#f7f9f7}.m-bottom{position:fixed;left:0;right:0;bottom:0;z-index:30;background:#fffffff5;backdrop-filter:blur(12px);border-top:1px solid var(--line);display:flex!important;gap:0!important;padding:6px 8px calc(6px + env(safe-area-inset-bottom))!important;margin:0!important}.m-bottom button{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;border:0!important;background:transparent!important;padding:3px!important;color:#7c8d85;font-size:12px!important;min-height:52px!important;border-radius:10px}.m-bottom button span{font-size:22px;line-height:27px}.m-bottom button[aria-current]{color:#16634f;background:#edf5ef!important;font-weight:600}.m-report-cover{background:#e7f0e9;border-radius:16px;padding:22px;border-left:4px solid #23634e}.m-report-cover>span{font-size:12px;letter-spacing:2px;color:#607866}.m-report-cover h2{font-size:23px;margin:12px 0 8px}.m-report-cover p{font-size:14px;color:#567260}.m-counts{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;margin:18px 0 12px}.m-count{min-width:0;border-right:1px solid #edf1ef;padding-right:5px}.m-count:last-child{border:0}.m-count>span{display:block;font-size:11px;color:#74857d}.m-count strong,.mobile-ui .m-count button{font:600 20px/1.7 -apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif;color:#213d31;display:inline-block;white-space:nowrap}.mobile-ui .m-count button{border:0;padding:0;background:transparent;min-height:44px}.m-card details{border-top:1px solid #edf1ef;padding-top:10px;margin-top:12px;color:#6d7e74;font-size:13px}.m-card summary{min-height:32px;cursor:pointer}.m-date{font-size:13px;color:#738378}.m-section-tabs{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin:0 -16px 16px;padding:0 16px 4px}.m-section-tabs .m-button{flex-shrink:0;white-space:nowrap;font-size:14px}.m-section-tabs .active{background:#e7f0e9;border-color:#aac6b5;color:#155c41}.m-platforms{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px;margin-top:14px}.m-platforms>div{display:flex;justify-content:space-between;gap:8px;padding:10px 0;border-top:1px solid #edf1ef;font-size:13px;color:#7d8c84}.m-platforms strong{font-weight:400}.m-platforms .published strong{color:#256a4c}.m-card-footer{display:flex;justify-content:flex-end;margin-top:12px}.m-empty{background:#fff;padding:42px 20px;text-align:center;border:1px dashed #d5e0d9;border-radius:16px;color:#718379}.m-evidence-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.mobile-ui .m-evidence{display:block;text-align:left;background:#fff;border:1px solid var(--line);border-radius:12px;padding:8px;overflow:hidden}.m-evidence img{display:block;width:100%;height:150px;object-fit:cover;object-position:top;border-radius:7px}.m-evidence span,.m-evidence small{display:block;padding:5px 3px 0}.m-evidence small{font-size:11px;color:#7a8980}.m-menu{display:grid;gap:10px}.m-menu .m-button{text-align:left}.m-receipt{padding:20px 0}.m-receipt .m-button{width:100%;min-height:50px}.m-login{padding:60px 24px 40px;max-width:440px;margin:auto}.m-login h1{font-size:34px;line-height:1.5;margin:24px 0 10px}.mobile-ui .login{width:100%;max-width:none;border:0;box-shadow:none;background:transparent;padding:20px 0;margin:0;display:grid;gap:10px}.mobile-ui .login input{width:100%;height:50px;background:white;border-radius:10px}.mobile-ui .login label{margin:4px 0 0;font-size:14px}.m-login-error{color:#ae3d2b;font-size:14px}.mobile-ui dialog{position:fixed!important;inset:auto 0 0!important;top:auto!important;width:100%!important;max-width:100%!important;max-height:92dvh!important;margin:0!important;border:0!important;border-radius:20px 20px 0 0!important;padding:22px 18px calc(24px + env(safe-area-inset-bottom))!important;overflow:auto!important;overscroll-behavior:contain}.mobile-ui dialog::backdrop{background:#10241c66}.mobile-ui dialog form,.mobile-ui dialog label,.mobile-ui dialog section{min-width:0;max-width:100%;}.mobile-ui dialog .foot{position:sticky;bottom:-24px;display:flex;flex-wrap:wrap;gap:8px;background:white;padding:14px 0 20px;border-top:1px solid var(--line);z-index:2}.mobile-ui dialog .foot button{flex:1;min-width:90px}.mobile-ui dialog input:not([type=checkbox]),.mobile-ui dialog select,.mobile-ui dialog textarea{width:100%;min-width:0;max-width:100%;font-size:16px!important}.mobile-ui dialog .recognition-fields,.mobile-ui dialog .edit-grid,.mobile-ui dialog .form-grid{grid-template-columns:1fr!important}.mobile-ui dialog .recognition-head,.mobile-ui dialog .recognition-meta{flex-wrap:wrap;gap:8px}.mobile-ui dialog .platform-grid{grid-template-columns:1fr 1fr!important}.mobile-ui dialog table{min-width:0!important;width:100%;font-size:13px}.mobile-ui dialog th,.mobile-ui dialog td{padding:8px 5px;white-space:normal!important;overflow-wrap:anywhere}.mobile-ui .m-image img{width:100%;height:auto}.mobile-ui .m-image .m-row{position:sticky;top:-22px;background:white;padding:12px 0;z-index:3}.mobile-ui #toast{max-width:calc(100vw - 32px);bottom:calc(88px + env(safe-area-inset-bottom));white-space:normal}.mobile-ui .setting-card{padding:16px;max-width:100%}.mobile-ui .setting-card label{display:block;margin-bottom:12px}.mobile-ui .setting-card input{width:100%}
}
/* Consistent intrinsic sizing for iOS WebView form controls. */
@media(max-width:760px){
.mobile-ui{-webkit-text-size-adjust:100%;text-size-adjust:100%}
.mobile-ui .m-period{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}
.mobile-ui .m-period>label{min-width:0;width:100%;margin:0}
.mobile-ui .m-period>label:only-child{grid-column:1/-1}
.mobile-ui .m-period input,.mobile-ui .m-period select,.mobile-ui .m-month input{display:block;box-sizing:border-box;width:100%;min-width:0!important;max-width:100%;height:46px;min-height:46px;margin:0;padding:0 10px;line-height:normal;font-size:15px;-webkit-appearance:none;appearance:none;border:1px solid var(--line);border-radius:10px}
.mobile-ui .m-period select{padding-right:28px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%236e807a' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center;text-overflow:ellipsis}
.mobile-ui input::-webkit-date-and-time-value{min-height:1.4em;text-align:left}
.mobile-ui input::-webkit-datetime-edit{padding:0;min-width:0}
.mobile-ui .m-head{padding:12px 16px 16px}
.mobile-ui .m-title-row{gap:12px;margin:10px 0 12px;align-items:center}
.mobile-ui .m-title-row h1{font-size:22px;line-height:1.4;margin:0}
.mobile-ui .m-title-row .m-button{height:44px;font-size:14px;padding:8px 12px}
.mobile-ui .m-report-cover{padding:16px 18px}
.mobile-ui .m-report-cover h2{font-size:20px;margin:8px 0 4px}
.mobile-ui .m-report-cover p{margin:4px 0}
.mobile-ui .m-body{padding-top:16px}
.mobile-ui .m-counts{gap:8px;margin:14px 0 12px;align-items:start}
.mobile-ui .m-count{padding-right:8px}
.mobile-ui .m-count>span{min-height:20px;line-height:20px}
.mobile-ui .m-count strong,.mobile-ui .m-count button{display:flex;align-items:center;height:44px;min-height:44px;margin:0;padding:0;font-size:20px;line-height:1;font-weight:600}
.mobile-ui .m-card{padding:16px;margin-bottom:12px}
.mobile-ui .m-card details{margin-top:12px;padding-top:10px}
.mobile-ui .m-card .m-sub{line-height:1.65}
@media(max-width:350px){.mobile-ui .m-title-row{flex-wrap:wrap}.mobile-ui .m-title-row h1{flex-basis:100%}.mobile-ui .m-period{grid-template-columns:minmax(0,1fr)}.mobile-ui .m-count strong,.mobile-ui .m-count button{font-size:18px}}
}
/* Client report summary: shared mobile and desktop, no mixed-unit total. */
.client-summary{box-sizing:border-box;min-width:0;margin:0 0 24px;padding:24px;background:#e8f1ed;border:1px solid #d6e4dd;border-left:4px solid #216552;border-radius:16px;color:#203b33;overflow-wrap:anywhere}
.client-summary-heading>span{font-size:13px;color:#687f75}.client-summary-heading h2{font-size:21px;line-height:1.4;margin:8px 0 20px}
.client-summary-totals{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:20px}.client-summary-totals>div{min-width:0}.client-summary-totals span{display:block;font-size:13px;color:#687f75;margin-bottom:7px}.client-summary-totals strong{display:block;font-size:26px;line-height:1.5}.client-summary-totals small{font-size:13px;font-weight:400}
.client-summary-table{background:#ffffffa8;border-radius:10px;padding:0 14px}.client-summary-row{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) minmax(0,1fr);gap:10px;padding:12px 0;border-bottom:1px solid #dce7e1;font-size:14px;line-height:1.5}.client-summary-row:last-child{border-bottom:0}.client-summary-row>:not(:first-child){text-align:right}.client-summary-row.labels{font-size:12px;color:#687f75}
.client-summary-note{font-size:12px;color:#687f75;line-height:1.6;margin:10px 0}.client-summary-description{font-size:14px;line-height:1.9;margin:14px 0 18px}.client-summary-footer{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.client-summary-footer button{min-height:44px;padding:10px 24px;border-radius:10px;font-size:15px}.client-summary-footer span{font-size:12px;color:#687f75}
@media(max-width:760px){.client-summary{padding:18px 16px;border-radius:14px;margin-bottom:20px}.client-summary-heading h2{font-size:19px;margin-bottom:16px}.client-summary-totals{gap:12px}.client-summary-totals strong{font-size:24px}.client-summary-totals small{display:block;font-size:12px}.client-summary-table{padding:0 10px}.client-summary-footer button{width:100%;}.client-summary-row{font-size:13px;gap:8px}}
.release-title-link{appearance:none;border:0;background:transparent;padding:0;margin:0;font:inherit;color:inherit;text-align:inherit;line-height:inherit;cursor:pointer;max-width:100%;white-space:normal;overflow-wrap:anywhere}
.release-title-link:focus-visible{outline:2px solid #246b5b;outline-offset:3px}
.release-asset-link{max-width:100%;white-space:normal;overflow-wrap:anywhere;text-align:left;color:#175c4e}
.release-asset-resource{margin:16px 0;overflow-wrap:anywhere}
