/* GENERATED by tools/gen_phone_css.py from styles.css - do not edit. Phone rules applied through html.force-phone (v5.7). */
/* mirror of @media (max-width:899px) */
html.force-phone .only-mobile{display:inline-flex !important}
/* undo of @media (min-width:1180px) */
html.force-phone .me-text{display:none}
/* undo of @media (min-width:900px) */
html.force-phone .tabs{display:none}
html.force-phone .bottom-tabs{display:flex}
html.force-phone .main{padding:20px var(--gutter) 96px}
/* mirror of @media (max-width:899px) */
html.force-phone #btn-new span{display:none}
html.force-phone #btn-new{padding:.5rem .7rem}
/* undo of @media (min-width:960px) */
html.force-phone .grid-2{grid-template-columns:1fr}
/* undo of @media (min-width:700px) */
html.force-phone .kpis{grid-template-columns:repeat(2,1fr)}
/* mirror of @media (max-width:900px) */
html.force-phone .person-row{grid-template-columns:1fr 1fr;grid-auto-rows:auto}
html.force-phone .person-row input:first-child{grid-column:1/-1}
/* undo of @media (min-width:900px) */
html.force-phone .cal .day{min-height:70px;font-size:.75rem}
/* undo of @media (min-width:700px) */
html.force-phone .form-grid{grid-template-columns:1fr}
html.force-phone .form-grid .full{grid-column:unset}
/* undo of @media (min-width:900px) */
html.force-phone .toast{bottom:88px}
/* undo of @media (min-width:900px) */
html.force-phone .charts-row{grid-template-columns:1fr}
/* undo of @media (min-width:1100px) */
html.force-phone .modal.wide .inv-split{grid-template-columns:unset}
html.force-phone .modal.wide{max-width:unset}
/* undo of @media (min-width:700px) */
html.force-phone .year-grid{grid-template-columns:1fr}
/* undo of @media (min-width:1100px) */
html.force-phone .year-grid{grid-template-columns:1fr}
/* mirror of @media (max-width:899px) */
html.force-phone{--gutter:14px;--topbar:56px}
html.force-phone h1{font-size:1.4rem}
html.force-phone .main{padding-top:14px}
html.force-phone .page-head{gap:.5rem}
html.force-phone .page-head h1{flex:1 1 100%;order:-1}
html.force-phone .page-head .btn{padding:.5rem .8rem;font-size:.9rem;min-height:44px}
html.force-phone .kpis{grid-template-columns:repeat(2,1fr);gap:.6rem}
html.force-phone .kpi{padding:.8rem .9rem}
html.force-phone .kpi .n{font-size:1.6rem}
html.force-phone .kpi .l{font-size:.82rem}
html.force-phone .charts-row{gap:.75rem}
html.force-phone .donut-wrap{min-height:0;padding:.9rem;gap:.9rem}
html.force-phone .donut{width:120px;height:120px}
html.force-phone .kpi-stack{grid-template-columns:1fr 1fr}
html.force-phone .card{padding:.95rem 1rem;border-radius:14px}
html.force-phone .filters{gap:.45rem}
html.force-phone .filters select, html.force-phone .filters .fsel, html.force-phone .filters input, html.force-phone .filters .search-box{width:100%;min-width:0;flex:1 1 100%}
html.force-phone .filters .fsel{width:100%}
html.force-phone .trow{gap:.6rem;padding:.75rem 0;flex-wrap:wrap}
html.force-phone .trow .right{flex:1 1 100%;max-width:none;justify-content:flex-start;padding-left:calc(30px + .6rem)}
html.force-phone .trow.ghost .right, html.force-phone .trow .right:empty{padding-left:0}
html.force-phone .client-list .crow{flex-wrap:wrap}
html.force-phone .crow .flags{flex:1 1 100%;justify-content:flex-start;padding-left:0}
html.force-phone .team-row .right{grid-template-columns:1fr 1fr;padding-left:0}
html.force-phone .page-head .btn{flex:1 1 40%}
html.force-phone .actions .btn{flex:1 1 45%}
html.force-phone .tbl::after{content:'';position:absolute;top:0;right:0;bottom:0;width:28px;background:linear-gradient(90deg,rgba(255,255,255,0),var(--mb-fff,#fff));pointer-events:none}
html.force-phone .subtabs{width:100%;overflow-x:auto;flex-wrap:nowrap;-webkit-overflow-scrolling:touch;scroll-snap-type:x proximity}
html.force-phone .subtabs .tab{flex:none;scroll-snap-align:start}
html.force-phone .trow .sub{font-size:.85rem}
html.force-phone .drawer{max-width:100%;padding:.75rem var(--gutter) 5rem;border-radius:0}
html.force-phone .meta-grid{grid-template-columns:1fr 1fr}
html.force-phone .modal{left:0;right:0;top:auto;bottom:0;transform:none;width:100%;max-width:100%;max-height:94vh;border-radius:22px 22px 0 0;padding:1.1rem var(--gutter) calc(1.2rem + env(safe-area-inset-bottom));animation:sheet .3s var(--ease) both}
html.force-phone .modal.wide{max-width:100%}
html.force-phone .modal .modal-actions{position:sticky;bottom:calc(-1.2rem - env(safe-area-inset-bottom));background:var(--mb-fff,#fff);padding:.7rem 0 .4rem;margin:.5rem 0 -.5rem;border-top:1px solid var(--line-2)}
html.force-phone .modal-actions .btn{flex:1 1 auto}
html.force-phone .cal{gap:2px}
html.force-phone .cal .day{min-height:56px;font-size:.7rem;padding:.15rem .2rem}
html.force-phone .cal .ev{border-left-width:2px;padding-left:2px}
html.force-phone .cal .dow{font-size:.7rem;padding:.2rem}
html.force-phone .board{gap:.6rem;margin:0 calc(-1 * var(--gutter));padding:0 var(--gutter) .5rem}
html.force-phone .col{flex:0 0 84vw;max-height:70vh}
html.force-phone table{font-size:.88rem}
html.force-phone th, html.force-phone td{padding:.45rem .45rem}
html.force-phone .tbl{margin:0 calc(-1 * var(--gutter));padding:0 var(--gutter)}
html.force-phone .inv-doc{padding:1rem;font-size:.9rem}
html.force-phone .inv-brand{font-size:1.15rem}
html.force-phone .inv-title>div:first-child{font-size:1.3rem}
html.force-phone .item-row{grid-template-columns:1fr 1fr}
html.force-phone .fee-row{font-size:.9rem}
html.force-phone .year-grid{grid-template-columns:1fr}
html.force-phone .vault-grid{grid-template-columns:1fr}
html.force-phone .msg.unread{margin:0 -1rem;padding:.8rem 1rem}
html.force-phone .toast{bottom:84px}
html.force-phone .w-stage{width:128px;height:128px}
html.force-phone .w-red{font-size:1.9rem}
html.force-phone .w-blue{font-size:1.2rem}
html.force-phone .btn-pair{width:100%;justify-content:flex-start}
html.force-phone .btn-pair .btn{flex:1}
html.force-phone .photo-grid{grid-template-columns:repeat(3,1fr);gap:.4rem}
/* mirror of @media (max-width:899px) */
html.force-phone .modal{max-height:calc(var(--vh100, 100vh) - 56px);max-height:calc(var(--vh100, 100vh) - 56px);height:auto;padding-top:1.4rem;overflow-y:auto;-webkit-overflow-scrolling:touch;scroll-padding-bottom:80px;overscroll-behavior-y:contain}
html.force-phone .modal-grip{display:block;position:absolute;top:8px;left:50%;width:42px;height:5px;margin-left:-21px;border-radius:3px;background:rgba(0,0,0,.14)}
html.force-phone .modal-x{margin-top:-.7rem}
html.force-phone .modal h2{font-size:1.15rem;margin-top:.2rem}
html.force-phone .form-grid{gap:.7rem}
html.force-phone .modal .form-grid label, html.force-phone .modal>form>label{margin-bottom:.1rem}
html.force-phone .modal input, html.force-phone .modal select, html.force-phone .modal textarea, html.force-phone .modal .fsel{min-height:46px}
html.force-phone .modal .modal-actions{gap:.5rem}
html.force-phone .modal .modal-actions .btn{min-height:44px}
html.force-phone .inv-actions .spacer{display:none}
html.force-phone .prog-strip{flex-direction:column;align-items:stretch}
html.force-phone .prog-steps{justify-content:space-between}
html.force-phone .prog-step{flex:1;justify-content:center;padding:.5rem .4rem;font-size:.85rem}
html.force-phone .focus-clock{font-size:1.7rem}
html.force-phone .seg{width:100%}
html.force-phone .seg button{flex:1;justify-content:center;padding:.5rem .4rem}
html.force-phone .person-card .form-grid{grid-template-columns:1fr}
/* mirror of @media (max-width:899px) */
html.force-phone .modal{width:var(--vw100, 100vw);max-width:var(--vw100, 100vw);left:0;right:0;box-sizing:border-box;overflow-x:hidden}
html.force-phone .modal.wide{width:var(--vw100, 100vw);max-width:var(--vw100, 100vw)}
html.force-phone .drawer{width:var(--vw100, 100vw);max-width:var(--vw100, 100vw);overflow-x:hidden;box-sizing:border-box}
html.force-phone .drawer .meta-grid{grid-template-columns:1fr 1fr}
html.force-phone .drawer .meta-grid label{min-width:0}
html.force-phone .main{overflow-x:hidden;overflow-x:clip}
html.force-phone .team-row .right{grid-template-columns:1fr;width:100%}
html.force-phone .team-row .right select{max-width:100%}
html.force-phone .daychips{width:100%}
html.force-phone .fpop.sheet{max-width:var(--vw100, 100vw);left:0;right:0}
html.force-phone .hbars .hbar-row{grid-template-columns:minmax(90px,38%) 1fr auto;gap:.4rem}
html.force-phone .prompt-title .btn{flex:0 0 auto}
html.force-phone .email-head{grid-template-columns:1fr}
html.force-phone .email-head>span:nth-child(odd){margin-top:.2rem}
html.force-phone .sa-row .right{flex-wrap:wrap}
html.force-phone .sa-row .btn-pair{width:100%;justify-content:flex-start}
html.force-phone .kv{grid-template-columns:1fr}
html.force-phone .kv dt{margin-top:.35rem;font-size:.82rem}
html.force-phone .page-head h1{overflow-wrap:anywhere}
html.force-phone pre, html.force-phone code{overflow-wrap:anywhere;white-space:pre-wrap}
html.force-phone .offline{top:auto;bottom:calc(64px + env(safe-area-inset-bottom))}
/* mirror of @media (max-width:700px) */
html.force-phone .fp-body{height:70vh}
/* mirror of @media (max-width:700px) */
html.force-phone .tr-pair{grid-template-columns:1fr}
html.force-phone .tr-pair .tr-o{font-size:.9rem}
/* mirror of @media (max-width:899px) */
html.force-phone.android-app .bottom-tabs{padding-bottom:max(calc(10px + env(safe-area-inset-bottom)),12px)}
html.force-phone .main{padding-bottom:calc(96px + env(safe-area-inset-bottom))}
/* mirror of @media (max-width:899px) */
html.force-phone .modal h3.small{font-size:15px}
/* mirror of @media (max-width:899px) */
html.force-phone .vc-stage{aspect-ratio:9/13;max-height:62vh}
html.force-phone .vc-controls{gap:.5rem}
html.force-phone .vc-controls .btn{flex:1 1 calc(50% - .5rem)}
/* mirror of @media (max-width:479px) */
html.force-phone .rail{grid-template-columns:repeat(3,1fr) !important;row-gap:10px !important}
/* mirror of @media (max-width:899px) */
html.force-phone .bank-tiles{grid-template-columns:1fr}
html.force-phone .bank-table table, html.force-phone .bank-table thead, html.force-phone .bank-table tbody, html.force-phone .bank-table tr, html.force-phone .bank-table td{display:block;width:100%}
html.force-phone .bank-table thead{position:absolute;left:-9999px}
html.force-phone .bank-table tbody{display:flex;flex-direction:column;gap:.9rem}
html.force-phone .bank-table tr{border:1px solid var(--line);border-radius:var(--radius-sm);padding:14px;display:flex;flex-direction:column;gap:.5rem}
html.force-phone .bank-table td{padding:0;display:flex;align-items:center;justify-content:space-between;gap:.8rem;text-align:right}
html.force-phone .bank-table td[data-label]:not([data-label=""])::before{content:attr(data-label);font-size:.8rem;color:var(--muted);text-align:left;flex:none}
html.force-phone .bank-table td.bs-actions{justify-content:flex-start;flex-wrap:wrap}
html.force-phone .bank-card-foot{justify-content:stretch}
html.force-phone .bank-card-foot .btn{flex:1}
/* mirror of @media (max-width:899px) */
html.force-phone .letter-preview iframe{height:46vh}
/* mirror of @media (max-width:899px) */
html.force-phone .thr.unread{margin:0 -1rem;padding:.8rem 1rem}
html.force-phone .thr-top .when{font-size:.78rem}
html.force-phone .inbox-filters .seg{width:100%}
html.force-phone .thr-head{flex-wrap:wrap}
html.force-phone .thr-h1{font-size:1.1rem;flex:1 1 100%;order:0;display:block}
html.force-phone .thr-head #thr-back{flex:0 0 auto;order:-1;padding-left:.4rem}
html.force-phone .bubble{max-width:92%}
html.force-phone .bubbles{max-height:none;overflow:visible}
html.force-phone .thread{padding-bottom:1rem;margin-bottom:calc(150px + env(safe-area-inset-bottom))}
html.force-phone .reply-box{position:fixed;left:0;right:0;bottom:calc(var(--tabs-h,64px) + env(safe-area-inset-bottom));z-index:19;margin:0;padding:.55rem var(--gutter) .55rem;border-radius:0;background:var(--m-solid);backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:0 -6px 18px rgba(30,40,90,.06)}
html.force-phone .reply-box textarea{font-size:16px;min-height:46px}
html.force-phone .reply-tools{margin-top:.4rem;flex-wrap:nowrap}
html.force-phone .reply-tools .btn, html.force-phone .reply-tools .fsel{min-height:44px}
html.force-phone .reply-tools .btn-sm{padding-left:.6rem;padding-right:.6rem;min-width:44px;justify-content:center}
html.force-phone .reply-tools .rt-txt{display:none}
html.force-phone .reply-tools #rp-send{flex:0 1 auto;min-width:96px}
html.force-phone .reply-tools .grow{display:none}
html.force-phone .reply-tools select, html.force-phone .reply-tools .fsel{min-width:0;flex:1 1 auto}
html.force-phone .thr-people .thr-unread{margin-left:auto}
html.force-phone .modal.fp-modal{height:calc(var(--vh100, 100vh) - 56px);height:calc(var(--vh100, 100vh) - 56px);display:flex;flex-direction:column}
html.force-phone .modal.fp-modal .fp-body{flex:1 1 auto;min-height:0}
html.force-phone .modal .fp-body{height:auto}
html.force-phone .modal .fp-body.pdf, html.force-phone .modal .fp-body.txt{height:calc(var(--vh100, 100vh) - 190px);height:calc(var(--vh100, 100vh) - 190px)}
html.force-phone .modal .fp-body.img{max-height:calc(var(--vh100, 100vh) - 190px)}
html.force-phone .modal .fp-body.img img{max-height:calc(var(--vh100, 100vh) - 190px)}
/* mirror of @media (max-width:899px) */
html.force-phone .page-head .cal-scope{order:3;width:100%;justify-content:center;margin-top:.4rem}
/* mirror of @media (max-width:899px) */
html.force-phone .ai-card h2 .tr-toggle{margin-left:0;width:100%;justify-content:center}
html.force-phone .files-card .filters{flex-direction:column;align-items:stretch}
html.force-phone .files-card .filters .search-box, html.force-phone .files-card .filters .btn{width:100%}
html.force-phone .fc-upload-row select, html.force-phone .fc-upload-row input{width:100%}
html.force-phone .fc-upload-row label{width:100%}
html.force-phone .match-card .modal-actions .btn{flex:1 1 auto;justify-content:center}
/* mirror of @media (max-width:899px) */
html.force-phone .bk-head .ar-row label{min-width:0;width:100%}
html.force-phone .bk-actions .btn{flex:1 1 46%;justify-content:center}
html.force-phone .bk-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
html.force-phone .bk-charts{grid-template-columns:minmax(0,1fr)}
html.force-phone .bk-ledger select{min-width:130px;max-width:170px}
html.force-phone .bk-filters .btn{min-height:44px}
html.force-phone .bk-ye table, html.force-phone .bk-ye tbody, html.force-phone .bk-ye tr, html.force-phone .bk-ye td{display:block;width:100%}
html.force-phone .bk-ye thead{display:none}
html.force-phone .bk-ye tr{border:1px solid var(--line);border-radius:var(--radius-sm);padding:.5rem .7rem;margin:.5rem 0}
html.force-phone .bk-ye td{text-align:left !important;border:0;padding:.25rem 0;display:flex;justify-content:space-between;gap:.6rem}
html.force-phone .bk-ye td[data-label]:not([data-label=""])::before{content:attr(data-label);color:var(--muted);font-size:.82rem}
html.force-phone .bk-ye td .btn{width:100%;justify-content:center;min-height:44px}
html.force-phone .bk-ledger table, html.force-phone .bk-ledger tbody, html.force-phone .bk-ledger tr, html.force-phone .bk-ledger td{display:block;width:100%}
html.force-phone .bk-ledger thead{display:none}
html.force-phone .bk-ledger tr{border:1px solid var(--line);border-radius:var(--radius-sm);padding:.55rem .7rem;margin:.5rem 0;background:var(--mb-fff,#fff)}
html.force-phone .bk-ledger tr.bk-uncat{background:var(--navy-soft)}
html.force-phone .bk-ledger tr.bk-uncat td{background:transparent}
html.force-phone .bk-ledger td{text-align:left !important;border:0;padding:.22rem 0;display:flex;justify-content:space-between;align-items:center;gap:.6rem;white-space:normal}
html.force-phone .bk-ledger td:empty{display:none}
html.force-phone .bk-ledger td[data-label]:not([data-label=""])::before{content:attr(data-label);color:var(--muted);font-size:.82rem;flex:0 0 auto}
html.force-phone .bk-ledger td[data-label="Category"], html.force-phone .bk-ledger td[data-label="VAT code"]{flex-direction:column;align-items:stretch;gap:.2rem}
html.force-phone .bk-ledger td[data-label="Category"]::before, html.force-phone .bk-ledger td[data-label="VAT code"]::before{font-size:.78rem}
html.force-phone .bk-ledger select{min-width:0;max-width:none;width:100%}
html.force-phone .bk-ledger td.empty{display:block;text-align:center !important}
/* mirror of @media (max-width:479px) */
html.force-phone .bk-kpis{grid-template-columns:minmax(0,1fr)}
html.force-phone .bk-actions .btn{flex-basis:100%}
/* mirror of @media (max-width:899px) */
html.force-phone .page-head .actions{width:100%}
html.force-phone .page-head .actions .btn{flex:1 1 46%;justify-content:center;min-height:44px}
html.force-phone .addr-lines{max-width:none}
html.force-phone .reply-card .modal-actions .btn{flex:1 1 46%;justify-content:center}
html.force-phone .posted-pill{white-space:normal}
/* mirror of @media (max-width:899px) */
html.force-phone .bank-add-row{grid-template-columns:minmax(0,1fr)}
html.force-phone .bank-add-actions .btn{flex:1 1 46%;justify-content:center}
html.force-phone .bank-chips{margin-bottom:.8rem}
html.force-phone .bank-chip{flex:1 1 46%;justify-content:center}
html.force-phone .bank-table td[data-label="Account"]{flex-wrap:wrap}
html.force-phone .bank-mismatch{justify-content:flex-end;width:100%}
html.force-phone .bank-pages{grid-template-columns:repeat(2,minmax(0,1fr))}
/* mirror of @media (max-width:899px) */
html.force-phone .od-section .filters{flex-direction:column;align-items:stretch}
html.force-phone .od-section .filters .search-box, html.force-phone .od-section .filters .btn{width:100%}
html.force-phone .od-row .fc-tools .od-btn-label{display:none}
html.force-phone .od-row .fc-tools{flex-shrink:0}
html.force-phone .od-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}
html.force-phone .od-table .od-pick{max-width:none;min-width:0;width:100%}
html.force-phone .od-table table, html.force-phone .od-table thead, html.force-phone .od-table tbody, html.force-phone .od-table tr, html.force-phone .od-table td{display:block;width:100%}
html.force-phone .od-table thead{position:absolute;left:-9999px}
html.force-phone .od-table tbody{display:flex;flex-direction:column;gap:.7rem}
html.force-phone .od-table tr{border:1px solid var(--line);border-radius:var(--radius-sm);padding:12px;display:flex;flex-direction:column;gap:.4rem}
html.force-phone .od-table td{padding:0;display:flex;align-items:center;justify-content:space-between;gap:.8rem;text-align:right}
html.force-phone .od-table td[data-label]:not([data-label=""])::before{content:attr(data-label);font-size:.8rem;color:var(--muted);text-align:left;flex:none}
html.force-phone .od-table td[data-label="Folder"]{flex-direction:column;align-items:flex-start;text-align:left}
html.force-phone .od-table td[data-label="Client"]{flex-direction:column;align-items:stretch;text-align:left}
html.force-phone .od-table td[data-label="Client"] .od-st{align-self:flex-start}
html.force-phone .od-table td[data-label=""]{justify-content:flex-end}
/* mirror of @media (max-width:899px) */
html.force-phone .btn-sm{min-height:40px;min-width:40px}
html.force-phone .daychip{width:36px;height:36px}
html.force-phone .fopt, html.force-phone .fpop.lg .fopt{min-height:44px}
html.force-phone .tab-menu.lg button{min-height:44px}
html.force-phone .picker-list.lg .picker-item{min-height:44px}
html.force-phone .trow a:not(.btn):not(.chip):not(.inline-chip):not(.fchip), html.force-phone td a:not(.btn):not(.chip):not(.inline-chip):not(.fchip), html.force-phone .card p a:not(.btn):not(.chip):not(.inline-chip), html.force-phone .kv dd a:not(.btn):not(.chip):not(.inline-chip){padding-top:.5rem;padding-bottom:.5rem}
html.force-phone .tbl::after{content:none}
html.force-phone .tbl.x-scroll, html.force-phone .board.x-scroll{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 40px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 40px),transparent)}
html.force-phone .tbl.x-scroll.x-left, html.force-phone .board.x-scroll.x-left{-webkit-mask-image:linear-gradient(90deg,transparent,#000 28px,#000 calc(100% - 40px),transparent);mask-image:linear-gradient(90deg,transparent,#000 28px,#000 calc(100% - 40px),transparent)}
html.force-phone .tbl.x-scroll.x-end, html.force-phone .board.x-scroll.x-end{-webkit-mask-image:linear-gradient(90deg,transparent,#000 28px);mask-image:linear-gradient(90deg,transparent,#000 28px)}
html.force-phone .tbl, html.force-phone .board{-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
html.force-phone #btn-search .kbd-hint{display:none}
html.force-phone .modal.closing{animation:lgSheetOut .14s ease-in both}
html.force-phone .pal{top:0;width:100%;max-width:100%;margin:0;border-top:0;border-radius:0 0 var(--lg-radius-sheet) var(--lg-radius-sheet);padding-top:env(safe-area-inset-top);max-height:var(--pal-vh,72vh);animation-name:lgPalDown}
html.force-phone .pal-foot{display:none}
html.force-phone .pal-row{min-height:52px}
/* mirror of @media (max-width:560px) */
html.force-phone .co-sec{padding:0 .7rem}
html.force-phone .co-sec[open]{padding-bottom:.6rem}
html.force-phone .co-crow{flex-wrap:wrap}
html.force-phone .co-crow .right{max-width:none;width:100%;justify-content:flex-start}
html.force-phone .co-sec .actions .btn{flex:1 1 100%}
/* mirror of @media (max-width:560px) */
html.force-phone .cu-lbl{width:100%}
html.force-phone .cu-lbl select{flex:1}
/* mirror of @media (max-width:899px) */
html.force-phone .mk-nums{grid-template-columns:repeat(3,1fr)}
html.force-phone .mk-actions-row{gap:.35rem}
html.force-phone .mk-actions-row .btn{flex:1 1 auto;min-height:44px}
/* mirror of @media (max-width:899px) */
html.force-phone .working{right:auto;left:50%;bottom:calc(76px + env(safe-area-inset-bottom));transform:translate(-50%,8px) scale(.96)}
html.force-phone .working.on{transform:translateX(-50%)}
html.force-phone body.is-working .toast{bottom:calc(132px + env(safe-area-inset-bottom))}
/* mirror of @media (prefers-reduced-motion:reduce) and (max-width:899px) */
html.force-phone .working{transform:translateX(-50%)}
/* mirror of @media (max-width:899px) */
html.force-phone .ch-funder-head{flex-direction:column;align-items:flex-start;gap:.2rem}
html.force-phone .ch-table table, html.force-phone .ch-table thead, html.force-phone .ch-table tbody, html.force-phone .ch-table tr, html.force-phone .ch-table td{display:block;width:100%}
html.force-phone .ch-table thead{position:absolute;left:-9999px}
html.force-phone .ch-table tbody{display:flex;flex-direction:column;gap:.7rem}
html.force-phone .ch-table tr{border:1px solid var(--line);border-radius:var(--radius-sm);padding:12px;display:flex;flex-direction:column;gap:.4rem;background:var(--mb-fff,#fff)}
html.force-phone .ch-table td{padding:0;display:flex;align-items:center;justify-content:space-between;gap:.8rem;text-align:right}
html.force-phone .ch-table td[data-label]:not([data-label=""])::before{content:attr(data-label);font-size:.8rem;color:var(--muted);text-align:left;flex:none}
html.force-phone .ch-table td[data-label="Reference"]{justify-content:space-between}
html.force-phone .ch-table td.ch-amt{text-align:right}
html.force-phone .ch-table td[data-label="Next action"]{display:block;text-align:right}
html.force-phone .ch-table td[data-label="Next action"]::before{float:left}
html.force-phone .ch-timeline .trow{grid-template-columns:1fr;gap:.1rem}
html.force-phone .ch-actions .btn{flex:1 1 44%;min-height:44px}
html.force-phone .ch-funder-actions .btn{flex:1 1 auto;min-height:44px}
html.force-phone .ch-contact{padding:.6rem .7rem}
html.force-phone .ch-plan-grid{grid-template-columns:1fr}
/* mirror of @media (max-width:899px) */
html.force-phone .rd-doc{flex-direction:column;align-items:stretch}
html.force-phone .rd-actions{justify-content:flex-start}
html.force-phone .rd-actions .btn, html.force-phone .rd-pick{min-height:44px}
html.force-phone #ar-pack{min-height:44px}
/* mirror of @media (max-width:899px) */
html.force-phone .rc-table table, html.force-phone .rc-table thead, html.force-phone .rc-table tbody, html.force-phone .rc-table tr, html.force-phone .rc-table td{display:block;width:100%}
html.force-phone .rc-table thead{position:absolute;left:-9999px}
html.force-phone .rc-table tbody{display:flex;flex-direction:column;gap:.7rem}
html.force-phone .rc-table tr{border:1px solid var(--line);border-radius:var(--radius-sm);padding:12px;display:flex;flex-direction:column;gap:.4rem;background:var(--mb-fff,#fff)}
html.force-phone .rc-table td{padding:0;border:0;display:flex;align-items:center;justify-content:space-between;gap:.8rem;text-align:right}
html.force-phone .rc-table td[data-label]:not([data-label=""])::before{content:attr(data-label);font-size:.8rem;color:var(--muted);text-align:left;flex:none}
html.force-phone .rc-table td[data-label="On the remittance"], html.force-phone .rc-table td[data-label="Receipt"], html.force-phone .rc-table td[data-label="Lines"], html.force-phone .rc-table td[data-label="Account"]{display:block;text-align:left}
html.force-phone .rc-table td[data-label="On the remittance"]::before, html.force-phone .rc-table td[data-label="Receipt"]::before, html.force-phone .rc-table td[data-label="Lines"]::before, html.force-phone .rc-table td[data-label="Account"]::before{display:block;margin-bottom:.2rem}
html.force-phone .rc-table td[data-label="Pays"], html.force-phone .rc-table td[data-label="Xero"]{display:block;text-align:left}
html.force-phone .rc-table td[data-label="Pays"]::before, html.force-phone .rc-table td[data-label="Xero"]::before{display:block;margin-bottom:.2rem}
html.force-phone .rc-pick, html.force-phone .rc-acct{min-width:0;width:100%}
html.force-phone .rc-card-head{flex-direction:column}
html.force-phone .rc-card .actions .btn, html.force-phone .rc-head .actions .btn{flex:1 1 auto;min-height:44px}
html.force-phone .rc-post .btn{flex:1 1 auto;min-height:44px}
/* mirror of @media (max-width:899px) */
html.force-phone .mo-dates{grid-template-columns:repeat(2,minmax(0,1fr))}
html.force-phone .mo-start label{min-width:100%}
html.force-phone .mo-start .btn{width:100%}
html.force-phone .mo-item label{flex-basis:100%}
/* undo of @media (min-width:700px) */
html.force-phone .pay-form{grid-template-columns:1fr}
/* mirror of @media (max-width:899px) */
html.force-phone .pay-up{grid-template-columns:1fr auto}
html.force-phone .pay-up>div:nth-child(2){grid-column:1/-1;order:3}
html.force-phone .pay-mrow{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
html.force-phone .pay-mrow .pay-mm, html.force-phone .pay-mrow .pay-mdel{grid-column:auto}
html.force-phone .pay-runhead .btn, html.force-phone .pay-ask .btn, html.force-phone .pay-step .actions .btn{min-height:44px}
html.force-phone .pay-mini{min-height:44px}
/* mirror of @media (max-width:899px) */
html.force-phone .pa-grid{grid-template-columns:1fr}
html.force-phone .pa-upload .btn, html.force-phone .pa-result-actions .btn, html.force-phone .pa-email .actions .btn{flex:1 1 100%;min-height:44px}
html.force-phone .pa-table th, html.force-phone .pa-table td{padding:.4rem .35rem;font-size:.9rem}
html.force-phone .pa-file{flex-basis:100%}
/* mirror of @media (max-width:899px) */
html.force-phone .pay-drop{padding:1rem .8rem}
html.force-phone .pay-drop .btn{min-height:44px;width:100%}
/* mirror of @media (max-width:899px) */
html.force-phone .cv-tbl thead{display:none}
html.force-phone .cv-tbl, html.force-phone .cv-tbl tbody, html.force-phone .cv-tbl tr, html.force-phone .cv-tbl td{display:block;width:100%}
html.force-phone .cv-tbl tr{border-bottom:1px solid var(--line);padding:.6rem 0}
html.force-phone .cv-tbl td{padding:.15rem 0;border:0}
html.force-phone .cv-tbl td[data-l]::before{content:attr(data-l) ": ";color:var(--muted);font-size:.85rem}
html.force-phone .cv-due-r{padding-left:0}
/* mirror of @media (max-width:899px) */
html.force-phone .pay-headr .btn, html.force-phone .pay-carertools .btn, html.force-phone .pay-tidy label{min-height:44px}
html.force-phone .pay-adjkind{max-width:100%}
/* mirror of @media (max-width:899px) */
html.force-phone .cat-bar .cat-filter{margin-left:0}
html.force-phone .cat-seg{width:100%}
html.force-phone .cat-seg button{flex:1 1 30%;min-height:44px}
html.force-phone .cat-sug{min-width:130px}
/* mirror of @media (max-width:899px) */
html.force-phone .bank-review table, html.force-phone .bank-review tbody, html.force-phone .bank-review tr, html.force-phone .bank-review td{display:block;width:100%}
html.force-phone .bank-review thead{display:none}
html.force-phone .bank-review tr[data-row]{border:1px solid var(--line);border-radius:12px;padding:.55rem .75rem;margin:.6rem 0;background:var(--mb-fff,#fff)}
html.force-phone .bank-review td{padding:.3rem 0;border:0}
html.force-phone .bank-review td:empty{display:none}
html.force-phone .bank-review td[data-label]::before{content:attr(data-label);display:block;font-size:.8rem;color:var(--muted);margin-bottom:.15rem}
html.force-phone .bank-review td.r{text-align:left}
html.force-phone .bank-review td.bk-date{font-weight:600;padding-bottom:0}
html.force-phone .bank-review td.bk-desc{font-weight:600}
html.force-phone .bank-review td.btn-pair{display:flex;gap:.5rem}
html.force-phone .bank-review td.btn-pair .btn{flex:1;min-height:44px}
html.force-phone .bank-review select[data-cat], html.force-phone .bank-review select[data-vat]{min-width:0;width:100%}
html.force-phone .cat-reason, html.force-phone .cat-hint{max-width:none}
/* mirror of @media (max-width:899px) */
html.force-phone .cat-bar .actions{flex-direction:column;align-items:stretch}
html.force-phone .cat-bar .actions .btn{width:100%;white-space:normal;min-height:44px;justify-content:center}
html.force-phone .cat-bar .cat-filter{width:100%}
html.force-phone .cat-bar .cat-filter select{flex:1}
/* mirror of @media (max-width:899px) */
html.force-phone .modal{--rv-px:var(--gutter);--rv-pb:calc(1.2rem + env(safe-area-inset-bottom));--rv-pt:1.4rem}
/* undo of @media (min-width:900px) */
html.force-phone .bank-review table{width:unset}
html.force-phone .bank-review thead th{padding:unset;font-size:unset}
html.force-phone .bank-review td{padding:.65rem .6rem;font-size:unset;line-height:unset}
html.force-phone .bank-review td.rv-date, html.force-phone .bank-review td.r, html.force-phone .bank-review td.rv-vatcell, html.force-phone .bank-review td.rv-act, html.force-phone .bank-review td.rv-freqcell{width:unset;white-space:unset}
html.force-phone .bank-review td.r{text-align:unset;font-variant-numeric:unset}
html.force-phone .bank-review td.rv-catcell{min-width:unset;max-width:unset}
html.force-phone .bank-review td.rv-match{min-width:unset;max-width:unset;line-height:unset}
html.force-phone .bank-review td.rv-desc{min-width:unset}
html.force-phone .bank-review td.rv-desc .pill{font-size:unset;padding:unset;vertical-align:unset}
html.force-phone .bank-review td .fsel, html.force-phone .bank-review td select{min-height:unset;padding:unset}
html.force-phone .bank-review td .fsel{gap:unset}
html.force-phone .bank-review td.rv-act{display:unset;text-align:unset}
html.force-phone .bank-review td.rv-act .btn{padding:unset;min-height:unset;margin-left:unset}
html.force-phone .bank-review td.rv-act .btn:first-child{margin-left:unset}
/* undo of @media (min-width:1200px) */
html.force-phone .bank-review{overflow:unset}
html.force-phone .bank-review table{table-layout:unset}
html.force-phone .bank-review thead th{position:unset;top:unset;z-index:unset;background:unset;box-shadow:unset}
html.force-phone .bank-review th:nth-child(1){width:unset}
html.force-phone .bank-review th:nth-child(3), html.force-phone .bank-review th:nth-child(4){width:unset}
html.force-phone .bank-review th:nth-child(5){width:unset}
html.force-phone .bank-review th:nth-child(6){width:unset}
html.force-phone .bank-review th:nth-child(7){width:unset}
html.force-phone .bank-review th:nth-child(8){width:unset}
html.force-phone .bank-review th:nth-child(9){width:unset}
html.force-phone .bank-review td.rv-catcell, html.force-phone .bank-review td.rv-match{max-width:unset}
html.force-phone .bank-review select[data-cat], html.force-phone .bank-review select.rv-cat, html.force-phone .bank-review select.rv-freq, html.force-phone .bank-review td .fsel, html.force-phone .bank-review select[data-vat]{min-width:112px}
html.force-phone .bank-review td.rv-desc, html.force-phone .bank-review td.rv-match{overflow-wrap:unset}
/* mirror of @media (max-width:899px) */
html.force-phone .bank-review tr[data-row]{display:grid;grid-template-columns:1fr 1fr;gap:.2rem .8rem;align-items:start}
html.force-phone .bank-review tr[data-row]>td{width:auto;min-width:0}
html.force-phone .bank-review td.rv-date{grid-column:1;grid-row:1;color:var(--muted);font-weight:600}
html.force-phone .bank-review td.rv-in, html.force-phone .bank-review td.rv-out{grid-column:2;grid-row:1;text-align:right;font-weight:700;font-variant-numeric:tabular-nums}
html.force-phone .bank-review td.rv-in::before, html.force-phone .bank-review td.rv-out::before{display:inline;margin-right:.4rem}
html.force-phone .bank-review td.rv-desc, html.force-phone .bank-review td.rv-catcell, html.force-phone .bank-review td.rv-match, html.force-phone .bank-review td.rv-act{grid-column:1 / -1}
html.force-phone .bank-review td.rv-freqcell{grid-column:1}
html.force-phone .bank-review td.rv-vatcell{grid-column:2}
html.force-phone .bank-review td.rv-act{display:flex;gap:.5rem;margin-top:.2rem}
html.force-phone .bank-review td.rv-act .btn{flex:1 1 0;min-height:44px;margin:0}
html.force-phone .bank-review tr[data-row].rv-acc>td, html.force-phone .bank-review tr[data-row].rv-later>td{background:transparent;box-shadow:none}
html.force-phone .bank-review tr[data-row].rv-acc{background:rgba(42,127,63,.06);box-shadow:inset 4px 0 0 var(--green)}
html.force-phone .bank-review tr[data-row].rv-later{background:rgba(46,58,135,.05);box-shadow:inset 4px 0 0 var(--navy-2)}
/* mirror of @media (max-width:899px) */
html.force-phone .bank-review td .fsel, html.force-phone .bank-review td select{min-height:44px}
/* mirror of @media (max-width:899px) */
html.force-phone{scroll-padding-bottom:calc(var(--tabs-h,64px) + env(safe-area-inset-bottom,0px) + 16px)}
/* mirror of @media (max-width:899px) */
html.force-phone input, html.force-phone select, html.force-phone textarea, html.force-phone [contenteditable]{scroll-margin-top:calc(var(--topbar) + env(safe-area-inset-top,0px) + 16px);scroll-margin-bottom:calc(var(--tabs-h,64px) + env(safe-area-inset-bottom,0px) + 24px)}
/* undo of @media (min-width:1100px) */
html.force-phone .modal.wide .inv-split{grid-template-columns:unset}
/* mirror of @media (max-height:600px) and (max-width:899px) */
html.force-phone .reply-box{display:flex;flex-wrap:wrap;align-items:flex-end;gap:.4rem;padding-top:.4rem;padding-bottom:.4rem}
html.force-phone .reply-box textarea{flex:1 1 55%;min-height:44px;height:44px;resize:none}
html.force-phone .reply-box #rp-files{flex:1 1 100%;order:3}
html.force-phone .reply-tools{margin-top:0;flex:0 0 auto}
html.force-phone .reply-tools .fsel, html.force-phone .reply-tools select{display:none}
html.force-phone .thread{margin-bottom:calc(84px + env(safe-area-inset-bottom))}
/* mirror of @media (max-width:899px) */
html.force-phone #vc-incoming{left:14px;right:14px;width:auto}
html.force-phone #vc-bar{padding-left:.8rem;padding-right:.8rem}
html.force-phone .ms-headbtns{width:100%;justify-content:flex-start}
/* mirror of @media (max-width:899px) */
html.force-phone .brand-logo{margin-left:0}
html.force-phone .brand-logo img{height:32px}
/* mirror of @media (max-width:899px) */
html.force-phone .ms-listcard{--ms-pad:1rem}
/* mirror of @media (max-width:899px) */
html.force-phone .thr-head.ms-head{flex-wrap:nowrap;gap:.4rem;align-items:center}
html.force-phone .thr-head.ms-head #ms-back{flex:0 0 auto;order:0;padding-left:.7rem;padding-right:.9rem}
html.force-phone .thr-head.ms-head .thr-h1{flex:1 1 0;min-width:0;order:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}
html.force-phone .ms-headbtns .btn{flex:1 1 0}
html.force-phone .ms-people .ms-callhead{margin-left:0}
/* mirror of @media (max-width:899px) */
html.force-phone #vc-bar .vc-top{display:grid;grid-template-columns:10px minmax(0,1fr) auto;gap:.3rem .6rem}
html.force-phone #vc-bar .vc-dot{grid-column:1;grid-row:1}
html.force-phone #vc-bar .vc-who{grid-column:2;grid-row:1}
html.force-phone #vc-bar .vc-time{grid-column:3;grid-row:1}
html.force-phone #vc-bar .vc-q{grid-column:2 / -1;grid-row:2}
html.force-phone #vc-bar .vc-btns{grid-column:1 / -1;grid-row:3;display:flex;gap:.4rem}
html.force-phone #vc-bar .vc-btns .btn{flex:1 1 auto;padding-left:.5rem;padding-right:.5rem;justify-content:center}
html.force-phone #vc-bar .vc-iconbtn{flex:0 0 auto}
html.force-phone .vc-kp{grid-template-columns:repeat(6,minmax(0,1fr));max-width:none}
html.force-phone .vc-kb span{display:none}
html.force-phone .vc-kb{min-height:44px}
html.force-phone .modal .vc-audio .vc-pair{grid-template-columns:minmax(0,1fr)}
/* undo of @media (min-width:900px) */
html.force-phone #vc-bar .vc-iconbtn .vc-lbl{display:none}
/* undo of @media (min-width:900px) */
html.force-phone body.vc-on #modal{top:unset}
/* undo of @media (hover:hover) and (pointer:fine) and (min-width:900px) */
html.force-phone .dir-copy{display:none}
html.force-phone .dir-tel{pointer-events:unset;color:var(--blue);cursor:unset}
/* mirror of @media (max-width:899px) */
html.force-phone .tab, html.force-phone .topbar .btn, html.force-phone .topbar .btn-sm, html.force-phone .topbar .icon-btn, html.force-phone .topbar .me-btn, html.force-phone .more-grid .btn, html.force-phone .tab-menu button, html.force-phone .seg button, html.force-phone .segtog button, html.force-phone .cat-seg button, html.force-phone .fchip, html.force-phone .prog-step, html.force-phone #btn-search, html.force-phone #btn-new, html.force-phone #btn-inbox, html.force-phone .fopt, html.force-phone .picker-item, html.force-phone .pal-row, html.force-phone .modal-x, html.force-phone .pal-x, html.force-phone .drawer-head .close, html.force-phone .ap-opt{min-height:var(--m-tap) !important}
html.force-phone .topbar .icon-btn, html.force-phone .topbar .btn.icon-only, html.force-phone .topbar .btn-sm, html.force-phone .modal-x, html.force-phone .pal-x, html.force-phone #btn-search, html.force-phone #btn-new, html.force-phone #btn-inbox, html.force-phone .drawer-head .close, html.force-phone .ap-opt{min-width:var(--m-tap) !important}
html.force-phone .topbar .icon-btn, html.force-phone #btn-search, html.force-phone #btn-inbox{width:var(--m-tap);height:var(--m-tap)}
html.force-phone .modal-x, html.force-phone .pal-x{position:relative}
html.force-phone .modal-x::after, html.force-phone .pal-x::after{content:"";position:absolute;top:-4px;right:-4px;bottom:-4px;left:-4px}
html.force-phone #appearance-rows .switch{min-height:var(--m-tap);display:flex;align-items:center}
/* mirror of @media (max-width:899px) */
html.force-phone .page-head .actions{width:100%}
html.force-phone .page-head .actions .btn{flex:1 1 46%}
html.force-phone .page-head>.btn-sm{flex:0 0 auto}
/* mirror of @media (max-width:899px) */
html.force-phone .page-head>#btn-back{flex:0 0 auto;width:auto;min-height:44px}
/* mirror of @media (max-width:899px) */
html.force-phone .trow[data-sched] .right{padding-left:calc(10px + .6rem)}
/* mirror of @media (max-width:899px) */
html.force-phone .topbar{background:var(--m-lite);-webkit-backdrop-filter:none;backdrop-filter:none}
html.force-phone.opaque .topbar{background:var(--m-solid)}
/* mirror of @media (max-width:899px) and (prefers-reduced-transparency:reduce) */
html.force-phone .topbar{background:var(--m-solid)}
/* mirror of @media (max-width:899px) and (prefers-contrast:more) */
html.force-phone .topbar{background:var(--m-solid)}
/* undo of @media (min-width:1200px) */
html.force-phone .charts-row .card.kpi-stack.inv-kpis{grid-template-columns:unset;gap:unset;padding:unset}
html.force-phone .charts-row .card.kpi-stack.inv-kpis .kpi{padding:unset}
html.force-phone .charts-row .card.kpi-stack.inv-kpis .kpi .n.small-n{font-size:unset}
/* undo of @media (min-width:900px) */
html.force-phone .page-head > .actions[style*="flex:1 1 100%"]{flex:unset;order:unset}
html.force-phone .page-head:has(> .actions[style*="flex:1 1 100%"]) > .btn-primary{order:unset}
html.force-phone .page-head > .actions .btn{white-space:unset}
/* undo of @media (min-width:1000px) */
html.force-phone .rq-grid{grid-template-columns:minmax(0,1fr)}
/* undo of @media (min-width:1240px) */
html.force-phone .rq-grid{grid-template-columns:minmax(0,1fr)}
