/* Mobile expense reference layout; data and controls remain live. */
@media(max-width:900px) {
  html body:not(.desktop-page) #hongyi-mobile-shell.mobile-app .page[data-panel="owner-expense-report"].active .owner-expense-insight-strip h3::before {
    display:inline-grid;place-items:center;width:25px;height:25px;margin-right:6px;border-radius:50%;font-size:20px;vertical-align:middle;
  }
  html body:not(.desktop-page) #hongyi-mobile-shell.mobile-app .page[data-panel="owner-expense-report"].active .owner-expense-insight-strip section:nth-child(1) h3::before {content:"⚠";color:#ce3446;background:#ffe0e3;}
  html body:not(.desktop-page) #hongyi-mobile-shell.mobile-app .page[data-panel="owner-expense-report"].active .owner-expense-insight-strip section:nth-child(2) h3::before {content:"♛";color:#559ece;}
  html body:not(.desktop-page) #hongyi-mobile-shell.mobile-app .page[data-panel="owner-expense-report"].active .owner-expense-insight-strip section:nth-child(3) h3::before {content:"◕";color:#559ece;}
  html body:not(.desktop-page) #hongyi-mobile-shell.mobile-app .page[data-panel="owner-expense-report"].active .owner-expense-insight-strip section:nth-child(4) h3::before {content:"＄";color:#ac711f;background:#fff0cd;}
  html body:not(.desktop-page) #hongyi-mobile-shell.mobile-app .page[data-panel="owner-expense-report"].active .owner-expense-insight-strip ol::before {content:"排名　　項目　　　　　　　　　金額（元）";display:block;padding:6px;background:#e0e9f2;color:#34475e;font-size:10px;border-radius:5px;}
  html body:not(.desktop-page) #hongyi-mobile-shell.mobile-app .page[data-panel="owner-expense-report"].active .owner-expense-insight-strip li:nth-child(even) {background:#f6f8fb !important;}
  html body:not(.desktop-page) #hongyi-mobile-shell.mobile-app .page[data-panel="owner-expense-report"].active .owner-expense-insight-strip section:nth-child(4) p {display:flex !important;justify-content:space-between !important;align-items:center !important;gap:5px !important;}
  html body:not(.desktop-page) #hongyi-mobile-shell.mobile-app .page[data-panel="owner-expense-report"].active .owner-expense-insight-strip section:nth-child(4) strong {font-size:17px !important;color:#a56716 !important;}
}
@media(max-width:900px){
html body:not(.desktop-page) #hongyi-mobile-shell.mobile-app .page[data-panel="owner-expense-report"].active .owner-expense-insight-strip {display:grid !important;grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:10px !important;border:0 !important;background:transparent !important;overflow:visible !important;}
html body:not(.desktop-page) #hongyi-mobile-shell.mobile-app .page[data-panel="owner-expense-report"].active .owner-expense-insight-strip section {min-width:0 !important;padding:12px 10px !important;border:1px solid #d4e0eb !important;border-radius:12px !important;background:#f8fbfe !important;color:#17273f !important;}
html body:not(.desktop-page) #hongyi-mobile-shell.mobile-app .page[data-panel="owner-expense-report"].active .owner-expense-insight-strip section:nth-child(1) {grid-column:1 !important;grid-row:1 !important;background:#fff4f4 !important;border-color:#efd0d2 !important;}
html body:not(.desktop-page) #hongyi-mobile-shell.mobile-app .page[data-panel="owner-expense-report"].active .owner-expense-insight-strip section:nth-child(4) {grid-column:2 !important;grid-row:1 !important;background:#fffbf2 !important;border-color:#f0dfb7 !important;}
html body:not(.desktop-page) #hongyi-mobile-shell.mobile-app .page[data-panel="owner-expense-report"].active .owner-expense-insight-strip section:nth-child(2) {grid-column:1 / -1 !important;grid-row:2 !important;background:#f5faff !important;}
html body:not(.desktop-page) #hongyi-mobile-shell.mobile-app .page[data-panel="owner-expense-report"].active .owner-expense-insight-strip section:nth-child(3) {grid-column:1 / -1 !important;grid-row:3 !important;background:#fff !important;}
html body:not(.desktop-page) #hongyi-mobile-shell.mobile-app .page[data-panel="owner-expense-report"].active .owner-expense-insight-strip h3 {min-height:0 !important;margin:0 0 10px !important;font-size:13px !important;line-height:1.4 !important;color:#14243c !important;}
html body:not(.desktop-page) #hongyi-mobile-shell.mobile-app .page[data-panel="owner-expense-report"].active .owner-expense-insight-strip section:first-child h3 {color:#ad263b !important;}
html body:not(.desktop-page) #hongyi-mobile-shell.mobile-app .page[data-panel="owner-expense-report"].active .owner-expense-insight-strip section:nth-child(4) h3 {color:#805016 !important;}
html body:not(.desktop-page) #hongyi-mobile-shell.mobile-app .page[data-panel="owner-expense-report"].active .owner-expense-insight-strip :is(p,li) {font-size:11px !important;line-height:1.5 !important;margin:4px 0 !important;}
html body:not(.desktop-page) #hongyi-mobile-shell.mobile-app .page[data-panel="owner-expense-report"].active .owner-expense-insight-strip ol {padding:0 !important;list-style:none !important;display:grid !important;gap:0 !important;counter-reset:expense-rank !important;}
html body:not(.desktop-page) #hongyi-mobile-shell.mobile-app .page[data-panel="owner-expense-report"].active .owner-expense-insight-strip li {display:grid !important;grid-template-columns:22px minmax(0,1fr) 65px !important;align-items:center !important;gap:6px !important;padding:7px 4px !important;border-bottom:1px solid #e0e6ed !important;margin:0 !important;background:white !important;counter-increment:expense-rank !important;}
html body:not(.desktop-page) #hongyi-mobile-shell.mobile-app .page[data-panel="owner-expense-report"].active .owner-expense-insight-strip li::before {content:counter(expense-rank) !important;display:grid !important;place-items:center !important;width:19px !important;height:19px !important;border-radius:50% !important;background:#e7edf3 !important;color:#344054 !important;}
html body:not(.desktop-page) #hongyi-mobile-shell.mobile-app .page[data-panel="owner-expense-report"].active .owner-expense-insight-strip li:first-child::before {background:#d39b43 !important;color:white !important;}
html body:not(.desktop-page) #hongyi-mobile-shell.mobile-app .page[data-panel="owner-expense-report"].active .owner-expense-insight-strip li:nth-child(2)::before {background:#aebdca !important;color:white !important;}
html body:not(.desktop-page) #hongyi-mobile-shell.mobile-app .page[data-panel="owner-expense-report"].active .owner-expense-insight-strip li:nth-child(3)::before {background:#c69571 !important;color:white !important;}
html body:not(.desktop-page) #hongyi-mobile-shell.mobile-app .page[data-panel="owner-expense-report"].active .owner-expense-insight-strip li strong {text-align:right !important;color:#ac711f !important;}
html body:not(.desktop-page) #hongyi-mobile-shell.mobile-app .page[data-panel="owner-expense-report"].active .expense-reference-bars {display:grid !important;grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:4px 14px !important;}
html body:not(.desktop-page) #hongyi-mobile-shell.mobile-app .page[data-panel="owner-expense-report"].active .expense-reference-bars p {display:grid !important;grid-template-columns:30px minmax(15px,1fr) 48px !important;align-items:center !important;gap:5px !important;}
html body:not(.desktop-page) #hongyi-mobile-shell.mobile-app .page[data-panel="owner-expense-report"].active .expense-reference-bars i {display:block !important;height:8px !important;border-radius:8px !important;background:linear-gradient(to right,#a8cfea var(--expense-bar),#eef2f7 var(--expense-bar)) !important;}
html body:not(.desktop-page) #hongyi-mobile-shell.mobile-app .page[data-panel="owner-expense-report"].active .expense-reference-bars p:nth-child(2) i {background:linear-gradient(to right,#e9a9ae var(--expense-bar),#eef2f7 var(--expense-bar)) !important;}
html body:not(.desktop-page) #hongyi-mobile-shell.mobile-app .page[data-panel="owner-expense-report"].active .expense-reference-bars p:nth-child(3) i {background:linear-gradient(to right,#8dc39e var(--expense-bar),#eef2f7 var(--expense-bar)) !important;}
html body:not(.desktop-page) #hongyi-mobile-shell.mobile-app .page[data-panel="owner-expense-report"].active .expense-reference-bars strong {text-align:right !important;}
html body:not(.desktop-page) #hongyi-mobile-shell.mobile-app .page[data-panel="owner-expense-report"].active .owner-expense-detail-card > header {display:none !important;}
html body:not(.desktop-page) #hongyi-mobile-shell.mobile-app .page[data-panel="owner-expense-report"].active .owner-expense-detail-table thead tr {background:#243146 !important;color:white !important;}
html body:not(.desktop-page) #hongyi-mobile-shell.mobile-app .page[data-panel="owner-expense-report"].active .owner-expense-detail-table th {background:#243146 !important;color:white !important;border-color:#778394 !important;font-size:10px !important;}
html body:not(.desktop-page) #hongyi-mobile-shell.mobile-app .page[data-panel="owner-expense-report"].active .owner-expense-detail-table tbody tr.owner-expense-data-row {grid-template-columns:14% 25% 17% 24% 20% !important;background:#fff !important;}
html body:not(.desktop-page) #hongyi-mobile-shell.mobile-app .page[data-panel="owner-expense-report"].active .owner-expense-detail-table thead tr {grid-template-columns:14% 25% 17% 24% 20% !important;}
html body:not(.desktop-page) #hongyi-mobile-shell.mobile-app .page[data-panel="owner-expense-report"].active .owner-expense-detail-table tbody tr.owner-expense-data-row > td {font-size:10px !important;padding:7px 4px !important;min-height:45px !important;line-height:1.3 !important;border-color:#dbe2e9 !important;}
html body:not(.desktop-page) #hongyi-mobile-shell.mobile-app .page[data-panel="owner-expense-report"].active .owner-expense-detail-table tbody tr.owner-expense-data-row:nth-child(even) {background:#f8fafc !important;}
html body:not(.desktop-page) #hongyi-mobile-shell.mobile-app .page[data-panel="owner-expense-report"].active .owner-expense-detail-table .owner-expense-subtotal-row {margin-top:9px !important;grid-template-columns:1fr 1fr !important;background:#e8eff7 !important;border:1px solid #cfdbe9 !important;border-radius:10px !important;min-height:38px !important;}
html body:not(.desktop-page) #hongyi-mobile-shell.mobile-app .page[data-panel="owner-expense-report"].active .owner-expense-subtotal-row td:first-child {grid-column:1 !important;font-size:13px !important;}
html body:not(.desktop-page) #hongyi-mobile-shell.mobile-app .page[data-panel="owner-expense-report"].active .owner-expense-subtotal-row td:nth-child(2) {grid-column:2 !important;font-size:14px !important;}
html body:not(.desktop-page) #hongyi-mobile-shell.mobile-app .page[data-panel="owner-expense-report"].active .owner-expense-subtotal-row td:last-child {display:none !important;}
html body:not(.desktop-page) #hongyi-mobile-shell.mobile-app .page[data-panel="owner-expense-report"].active .expense-reference-name {display:flex !important;align-items:center !important;gap:5px !important;min-width:0 !important;text-align:left !important;}
html body:not(.desktop-page) #hongyi-mobile-shell.mobile-app .page[data-panel="owner-expense-report"].active .expense-reference-name > span {min-width:0 !important;overflow-wrap:anywhere !important;}
html body:not(.desktop-page) #hongyi-mobile-shell.mobile-app .page[data-panel="owner-expense-report"].active .expense-reference-photo .owner-expense-photo-link {display:block !important;width:28px !important;height:38px !important;}
html body:not(.desktop-page) #hongyi-mobile-shell.mobile-app .page[data-panel="owner-expense-report"].active .expense-reference-photo img {width:28px !important;height:38px !important;object-fit:cover !important;border-radius:4px !important;}
html body:not(.desktop-page) #hongyi-mobile-shell.mobile-app .page[data-panel="owner-expense-report"].active .expense-reference-name small {display:block !important;font-size:8px !important;color:#607086 !important;margin-top:3px !important;}
}
