/* Separate, mobile-only presentation. Desktop selectors/tables remain untouched. */
.mobile-workbench {display:none}
.m-sheet,.m-viewer {padding:0;border:0}
.m-icon {width:20px;height:20px;display:block;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}
.m-sheet {width:min(520px,100vw);max-width:none;max-height:85dvh;margin:auto auto 0;border-radius:16px 16px 0 0;background:#fff;color:#182a41;box-shadow:0 -12px 60px #17233b22;overflow:auto}
.m-sheet::backdrop {background:#17233b66}
.m-sheet::before {content:"";display:block;width:38px;height:4px;background:#c6d1dc;border-radius:3px;margin:10px auto 0}
.m-sheet-head {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 20px}
.m-sheet-head h2 {margin:0;font-size:20px;line-height:1.4;letter-spacing:-.02em}
.m-icon-button {display:inline-grid;place-items:center;min-width:44px;min-height:44px;padding:8px;border:0;border-radius:7px;color:inherit;background:transparent;flex:none;text-decoration:none;font-size:26px;line-height:1}
.m-icon-button:hover {background:#ffffff12}
.m-sheet .m-icon-button:hover {background:#edf2f7}
.m-sheet form {padding:0 20px calc(20px + env(safe-area-inset-bottom))}
.m-sheet fieldset {padding:12px 0 16px;margin:0;border:0;border-top:1px solid #dfe6ef;min-width:0}
.m-sheet legend {font-size:15px;font-weight:650;padding:8px 0;float:left;width:100%;display:flex;align-items:center;gap:8px}
.m-sheet fieldset>div {clear:both}
.m-radio {display:flex;align-items:center;gap:12px;min-height:46px;padding:9px 0;font-size:14px;font-weight:400;color:#334966;cursor:pointer}
.m-radio input {width:20px;height:20px;padding:0;flex:none;accent-color:#2459c4}
.m-radio span {color:inherit}
.m-primary {width:100%;display:flex;align-items:center;justify-content:center;min-height:48px;padding:12px 16px;border:0;border-radius:8px;background:linear-gradient(135deg,#194396,#315b60);color:#fff;font-size:15px;font-weight:650}
.m-primary:hover {filter:brightness(.97)}
.m-account-info {padding:6px 20px 20px;display:grid;gap:4px}
.m-account-info strong {font-size:19px;font-weight:600}
.m-account-info small {font-size:12px;color:#58677b}
.m-account-action {display:block;width:100%;text-align:left;min-height:52px;padding:16px 20px;border:0;border-top:1px solid #dfe6ef;background:transparent;color:#182a41;font-size:14px}
.m-account-action:hover {background:#f2f5f9}
.m-account-sheet {padding-bottom:env(safe-area-inset-bottom)}
.m-viewer {width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;border-radius:0;background:#17233b;color:#fff;overflow:hidden}
.m-viewer[open] {display:flex;flex-direction:column}
.m-viewer::backdrop {background:#17233b}
.m-viewer-head {display:flex;align-items:center;gap:6px;padding:calc(8px + env(safe-area-inset-top)) 12px 8px;border-bottom:1px solid #ffffff18}
.m-viewer-head strong {flex:1;min-width:0;font-size:14px;line-height:1.5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:550}
.m-viewer-body {display:flex;flex:1;min-height:0;align-items:center;justify-content:center;overflow:auto;padding:12px}
.m-viewer-body iframe {width:100%;height:100%;border:0;background:#fff}
.m-viewer-body img {display:block;max-width:100%;max-height:100%;object-fit:contain;transform-origin:center}
.m-viewer-body .m-empty {color:#d0dce7}
.m-viewer-controls {display:flex;align-items:center;justify-content:center;gap:8px;padding:8px 12px calc(8px + env(safe-area-inset-bottom));font-size:13px;border-top:1px solid #ffffff18}
.m-viewer-controls button {min-width:44px;min-height:44px;padding:4px;background:#ffffff0c;border:1px solid #ffffff12;border-radius:7px;color:#fff;font-size:24px}
.m-viewer-controls button:disabled {opacity:.3}
#mobileFilePosition {margin-left:auto;font-size:12px}
.m-viewer :focus-visible,.m-header :focus-visible {outline:2px solid #d6e6f4;outline-offset:-3px;box-shadow:none}
@media (max-width:760px) {
  .app.is-mobile {display:block;background:#f2f5f9;min-height:100dvh}
  .app.is-mobile>.sidebar,.app.is-mobile>#mainContent {display:none}
  .app.is-mobile>.mobile-workbench {display:block;max-width:640px;margin:0 auto;min-height:100dvh;background:#fff;color:#182a41;padding-bottom:calc(76px + env(safe-area-inset-bottom))}
  .app.is-mobile>.mobile-workbench.is-child {padding-bottom:20px}
  .m-header {position:sticky;top:0;z-index:30;display:flex;align-items:center;gap:8px;min-height:68px;padding:calc(10px + env(safe-area-inset-top)) 12px 10px;background:radial-gradient(ellipse at 0% 8%,#829eb638,transparent 55%),linear-gradient(162deg,#17233b 0%,#29465e 48%,#315b60 100%);color:#f4f7ff}
  .m-brand {display:block;width:48px;height:24px;flex:none}
  .m-brand svg {width:100%;height:100%;display:block;fill:currentColor}
  #mobileHeaderTitle {font-size:14px;font-weight:600;flex:1;min-width:0;line-height:1.35;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
  .m-scope-button {display:inline-flex;align-items:center;justify-content:center;gap:7px;max-width:164px;min-width:106px;min-height:44px;flex-shrink:0;border:1px solid #d6e2ef;border-radius:8px;padding:8px 10px;background:#eef4fc;color:#19324d;font-size:12px;line-height:1.4;font-weight:650;box-shadow:0 2px 6px #101d3014;cursor:pointer}
  .m-scope-button .m-icon {width:15px;height:15px;color:#2459c4}
  .m-scope-button span {min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .m-scope-button.is-filtered {background:#fff;border-color:#c3d4e5}
  .m-scope-button:hover,.m-scope-button[aria-expanded="true"] {background:#fff;border-color:#99b4d7;color:#19324d}
  .m-scope-button:active {background:#dfeaf8}
  .m-scope-button::after {content:"";width:6px;height:6px;flex:none;transform:rotate(45deg);border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;margin:-3px 3px 0 2px}
  #mobileAccount {min-width:40px;padding:8px}
  #mobileBack {margin-left:-5px;min-width:36px;padding:8px 5px}
  .is-child .m-brand {width:42px;height:23px}
  .is-child #mobileHeaderTitle {font-size:14px}
  .m-content {padding:20px 20px 16px;outline:none;min-width:0}
  .m-page-heading {display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;min-height:36px}
  .m-page-heading h1,.m-detail-title h1 {font-size:24px;font-weight:700;line-height:1.35;letter-spacing:-.035em;margin:0;overflow-wrap:anywhere}
  .m-section {padding:12px 0 0}
  .m-section-heading {display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:42px}
  .m-section-heading h2 {margin:0;font-size:17px;font-weight:650;line-height:1.5;letter-spacing:-.02em}
  .m-section-heading>.info-tip {margin-right:-8px}
  .mobile-workbench .info-tip,.m-sheet .info-tip {width:44px;height:44px;padding:12px;flex:none}
  .mobile-workbench .info-tip svg,.m-sheet .info-tip svg {width:16px;height:16px}
  .m-quiet {display:block;font-size:12px;font-weight:400;color:#58677b;line-height:1.7;overflow-wrap:anywhere}
  .m-quiet .info-tip {vertical-align:middle}
  .m-text-action {display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;border:0;background:transparent;color:#243e62;padding:6px 0;font-size:14px;font-weight:500}
  .m-text-action .m-icon {width:15px;height:15px}
  .m-money-pair {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;padding:16px 0}
  .m-money-pair>.m-money+div {border-left:1px solid #dfe6ef;padding-left:18px}
  .m-money {min-width:0}
  .m-money>span {display:block;font-size:12px;line-height:1.6;color:#58677b;margin-bottom:7px;font-weight:400}
  .m-money>strong {display:block;font-family:var(--number-font);font-size:clamp(26px,8vw,35px);line-height:1.15;font-weight:600;letter-spacing:-.035em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
  .m-money.is-long>strong {font-size:22px;letter-spacing:-.03em}
  .m-state-counts {display:flex;align-items:stretch;border-block:1px solid #dfe6ef;padding:12px 0}
  .m-state-count {flex:1;min-width:0;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:3px 12px;border:0;border-right:1px solid #dfe6ef;background:transparent;color:#2459c4;min-height:56px;text-align:left}
  .m-state-count:first-child {padding-left:0}
  .m-state-count:last-child {border-right:0;padding-right:0}
  .m-state-count>span {font-size:12px;color:#58677b}
  .m-state-count>strong {font-family:var(--number-font);font-size:25px;font-weight:600;line-height:1.2;margin-top:5px}
  .m-state-count em {font-family:var(--ui-font);font-size:11px;color:#58677b;font-style:normal;font-weight:400;margin-left:7px}
  .m-state-count.is-zero strong {color:#728198}
  .m-state-count .returned {color:#bb3043}
  .m-state-count .approved {color:#258365}
  .m-link-row {display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:48px;padding:12px 0;border:0;background:transparent;text-align:left;color:#334966;font-size:14px}
  .m-link-row .m-icon {width:16px;height:16px}
  .m-cumulative {border-top:7px solid #f2f5f9;padding-top:12px;margin:10px -20px 0;padding-inline:20px}
  .m-contract {display:flex;justify-content:space-between;align-items:center;gap:10px;padding:8px 0 12px;font-size:13px;color:#58677b}
  .m-contract strong {font-family:var(--number-font);font-size:18px;font-weight:550;color:#182a41}
  .m-cumulative-focus {background:#f4f7fb;border-radius:8px;padding:0 12px 10px}
  .m-ratio strong {color:#2459c4}
  .m-ratio-track {display:block;appearance:none;width:100%;height:7px;border:0;border-radius:8px;background:#dce5f0;overflow:hidden}
  .m-ratio-track::-webkit-progress-bar {background:#dce5f0;border-radius:8px}
  .m-ratio-track::-webkit-progress-value {background:#2459c4;border-radius:8px}
  .m-ratio-track::-moz-progress-bar {background:#2459c4;border-radius:8px}
  .m-ratio-axis {display:flex;justify-content:space-between;color:#697991;font-size:10px;margin-top:5px}
  .m-tabs {position:fixed;bottom:0;left:50%;transform:translateX(-50%);z-index:40;display:grid;grid-template-columns:1fr 1fr;width:min(640px,100%);padding:4px 12px calc(4px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #dfe6ef;box-shadow:0 -3px 12px #182a4104}
  .m-tabs button {position:relative;display:flex;align-items:center;justify-content:center;gap:10px;min-height:56px;padding:12px 6px;border:0;border-radius:0;background:transparent;color:#58677b;font-size:14px;font-weight:500}
  .m-tabs button.is-current {color:#194396;font-weight:650}
  .m-tabs button.is-current::after {content:"";position:absolute;bottom:2px;left:20%;right:20%;height:3px;border-radius:2px;background:#194396}
  .mobile-workbench.is-flows-home {padding-bottom:calc(65px + env(safe-area-inset-bottom))}
  .is-flows-home .m-content {padding-top:14px;padding-bottom:12px}
  .is-flows-home .m-page-heading {min-height:30px;margin-bottom:8px}
  .is-flows-home .m-page-heading h1 {font-size:22px}
  .m-flow-section {border-top:1px solid #dfe6ef;padding:12px 0 14px}
  .m-flow-section .m-section-heading {justify-content:flex-start;min-height:28px}
  .m-flow-section .m-section-heading h2 {font-size:16px}
  .m-flow-section .m-section-heading>.info-tip {margin-block:-8px}
  .m-flow-section>.m-quiet {font-size:11px;line-height:1.6}
  .m-flow-link {display:flex;align-items:center;justify-content:space-between;min-height:60px;width:100%;padding:2px 0;border:0;background:transparent;color:#182a41}
  .m-flow-number {font-family:var(--number-font);font-size:48px;line-height:1.1;letter-spacing:-.045em;font-weight:600;color:#bb3043}
  .m-flow-number em {font-family:var(--ui-font);font-size:13px;font-style:normal;font-weight:400;letter-spacing:0;margin-left:10px;color:#182a41}
  .m-flow-link .m-icon {color:#58677b}
  .m-search-entry {display:flex;align-items:center;gap:12px;min-height:48px;width:100%;border:1px solid #dfe6ef;border-radius:8px;background:#fff;color:#182a41;padding:10px 14px;font-size:13px;margin-top:12px}
  .m-search-entry span {flex:1;text-align:left}
  .m-search-entry .m-icon:first-child {color:#2459c4}
  .m-list-total {font-family:var(--number-font);font-size:27px;font-weight:600;white-space:nowrap}
  .m-list-total small {font-family:var(--ui-font);font-size:12px;margin-left:6px;font-weight:400;color:#58677b}
  .m-list-summary {display:grid;grid-template-columns:1fr 1fr;gap:18px;border-block:1px solid #dfe6ef;padding:16px 0}
  .m-list-summary .m-money strong {font-size:28px}
  .m-filter-tabs {display:flex;align-items:center;gap:0;overflow-x:auto;margin:4px 0 14px}
  .m-filter {min-height:48px;flex:1;white-space:nowrap;border:0;border-bottom:2px solid transparent;border-radius:0;padding:10px 7px;background:transparent;color:#58677b;font-size:12px}
  .m-filter.is-current {border-color:#2459c4;color:#194396;font-weight:650}
  .m-filter:not(.is-current):hover {border-bottom-color:transparent}
  .m-list-results {display:grid;gap:10px}
  .m-record {position:relative;display:block;width:100%;min-width:0;padding:15px 14px;border:1px solid #dfe6ef;border-radius:9px;background:#fff;color:#182a41;text-align:left}
  .m-record>.m-icon {position:absolute;right:8px;top:18px;width:14px;height:18px;color:#58677b}
  .m-record .m-row-head {padding-right:15px}
  .m-row-head {display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
  .m-row-head h3 {font-size:16px;line-height:1.5;font-weight:650;letter-spacing:-.02em;margin:0;overflow-wrap:anywhere;min-width:0}
  .m-row-meta,.m-row-reference {display:block;font-size:12px;font-weight:400;color:#58677b;line-height:1.6;overflow-wrap:anywhere}
  .m-row-reference {display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;margin:6px 0 3px}
  .m-payment-record .m-row-meta {display:flex;justify-content:space-between;gap:4px 8px;flex-wrap:wrap;margin-top:4px}
  .m-payment-unit {font-size:11px;white-space:nowrap}
  .m-payment-record .m-money-pair {padding:15px 0 0;gap:12px}
  .m-payment-record .m-money-pair>.m-money+div {padding-left:12px}
  .m-payment-record .m-money strong {font-size:25px}
  .m-payment-record .m-payment-amounts {grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
  .m-payment-record .m-payment-amounts>.m-money {display:flex;flex-direction:column;justify-content:space-between;gap:8px}
  .m-payment-record .m-payment-amounts>.m-money+div {padding-left:8px}
  .m-payment-record .m-payment-amounts .m-money>span {margin-bottom:0;min-height:35.2px;font-size:11px;line-height:1.6;overflow-wrap:normal}
  .m-payment-record .m-payment-amounts .m-money>strong {font-size:clamp(18px,5.6vw,23px);line-height:1.3;letter-spacing:-.04em}
  .m-payment-record .m-payment-amounts .m-excluded>strong {font-family:var(--ui-font);font-size:14px;line-height:1.9;font-weight:500;color:#58677b;letter-spacing:0}
  .m-badge {display:inline-block;flex:none;max-width:108px;font-size:11px;font-weight:550;line-height:1.5;padding:4px 7px;background:#edf3ff;color:#315ba6;border-radius:5px;white-space:normal}
  .m-badge.approved {background:#e8f5ee;color:#176a50}
  .m-badge.returned {background:#fff0f2;color:#bb3043}
  .m-type-filters {display:flex;align-items:stretch;gap:0;border:1px solid #dfe6ef;border-radius:8px;padding:10px 4px;margin:8px 0 14px}
  .m-type-filter {flex:1;min-width:0;min-height:62px;padding:5px 7px;display:flex;flex-direction:column;align-items:flex-start;border:0;border-right:1px solid #dfe6ef;background:transparent;color:#58677b;text-align:left}
  .m-type-filter:last-child {border-right:0}
  .m-type-filter>span {font-size:12px;line-height:1.5}
  .m-type-filter>strong {font-family:var(--number-font);font-size:25px;line-height:1.2;margin-top:7px;font-weight:550;color:#182a41}
  .m-type-filter small {font-family:var(--ui-font);font-size:10px;font-weight:400;margin-left:5px}
  .m-type-filter.is-current {color:#194396;background:#f2f6fe}
  .m-type-filter.is-current strong {color:#194396}
  .m-list-search {display:flex;align-items:center;gap:8px;border:1px solid #dfe6ef;border-radius:8px;padding:0 10px;min-height:46px;margin-bottom:14px;background:#fcfdff}
  .m-list-search .m-icon {width:17px;height:17px;color:#718198}
  .m-list-search input {width:100%;min-width:0;height:44px;padding:8px 0;font-size:16px;border:0;background:transparent;box-shadow:none}
  .m-list-search:focus-within {border-color:#2459c4;box-shadow:0 0 0 2px #2459c40d}
  .m-list-foot {display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;border-top:1px solid #dfe6ef;margin-top:16px;padding-top:12px;font-size:11px;color:#58677b}
  .m-load-more {display:inline-flex;align-items:center;gap:7px;min-height:44px;border:1px solid #dfe6ef;border-radius:7px;padding:8px 12px;background:#f7f9fc;color:#334966;font-size:12px}
  .m-flow-record .m-row-head {flex-wrap:wrap}
  .m-flow-record .m-row-head h3 {flex:1;min-width:140px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .m-detail-title {padding:5px 0 20px}
  .m-detail-title h1 {margin:7px 0 10px}
  .m-detail-title .m-badge {margin-top:10px}
  .m-detail-hero {padding:15px 0 22px;border-bottom:1px solid #dfe6ef}
  .m-detail-hero .m-money strong {font-size:48px;line-height:1.15}
  .m-detail-offset {margin-top:20px;padding-top:16px;border-top:1px solid #dfe6ef}
  .m-detail-offset .m-money {display:flex;align-items:baseline;justify-content:space-between;gap:8px 12px;flex-wrap:wrap}
  .m-detail-offset .m-money>span {margin-bottom:0}
  .m-detail-offset .m-money>strong {font-size:28px;line-height:1.3}
  .m-detail-money {padding:20px 0;border-bottom:1px solid #dfe6ef}
  .m-key-values {margin:0;padding:18px 0;border-bottom:1px solid #dfe6ef}
  .m-key-values>div {display:grid;grid-template-columns:88px minmax(0,1fr);gap:12px;font-size:13px;line-height:1.8;padding:5px 0}
  .m-key-values dt {color:#58677b}
  .m-key-values dd {margin:0;overflow-wrap:anywhere;white-space:pre-wrap}
  .m-current-stage {padding:16px 0 6px;border-top:1px solid #dfe6ef;font-size:15px;font-weight:550}
  .m-current-stage strong {color:#2459c4}
  .m-steps {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:17px 0 21px;margin:0;border-bottom:1px solid #dfe6ef;list-style:none}
  .m-steps li {position:relative;display:flex;flex-direction:column;align-items:center;gap:8px;font-size:11px;color:#6f7e93;text-align:center}
  .m-steps li:not(:last-child)::after {content:"";position:absolute;top:11px;left:calc(50% + 15px);width:calc(100% - 22px);height:1px;background:#c9d4e2}
  .m-steps i {position:relative;z-index:1;display:grid;place-items:center;width:23px;height:23px;border:2px solid #c9d4e2;border-radius:50%;background:#fff;font-style:normal;font-size:14px;font-weight:700}
  .m-steps li.done {color:#176a50}
  .m-steps li.done i {background:#28726c;color:#fff;border-color:#28726c}
  .m-steps li.done::after {background:#28726c}
  .m-steps li.current {color:#2459c4;font-weight:650}
  .m-steps li.current i {border-color:#2459c4;box-shadow:inset 0 0 0 4px #fff;background:#2459c4}
  .m-steps li.returned {color:#bb3043}
  .m-steps li.returned i {border-color:#bb3043}
  .m-detail-files {padding:16px 0 10px}
  .m-detail-files h2 {font-size:15px}
  .m-file-row {display:flex;align-items:center;gap:10px;min-height:50px;width:100%;padding:12px 4px;border:0;border-bottom:1px solid #dfe6ef;background:transparent;color:#334966;text-align:left;font-size:12px}
  .m-file-row>span {flex:1;min-width:0;overflow-wrap:anywhere}
  .m-file-row>.m-icon {width:17px;height:17px;color:#2459c4}
  .m-file-row>.m-icon:last-child {color:#58677b;width:14px}
  .m-more {border-top:1px solid #dfe6ef;margin-top:8px}
  .m-more summary {display:flex;align-items:center;justify-content:space-between;min-height:52px;padding:14px 2px;color:#334966;font-size:13px;font-weight:550;cursor:pointer;list-style:none}
  .m-more summary::-webkit-details-marker,.m-record-content summary::-webkit-details-marker {display:none}
  .m-more .m-key-values {padding-top:4px;border:0}
  .m-record-content {border-bottom:1px solid #dfe6ef;padding:18px 0}
  .m-record-content summary {display:block;list-style:none;font-size:13px;line-height:1.9;cursor:pointer;color:#334966}
  .m-record-content summary>span {display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .m-record-content summary em {display:flex;align-items:center;justify-content:flex-end;gap:5px;min-height:44px;color:#2459c4;font-size:12px;font-style:normal}
  .m-record-content summary em .m-icon {width:15px;height:15px}
  .m-record-content[open] summary>span {display:none}
  .m-record-content p {margin:0;font-size:13px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere}
  .m-empty,.m-loading {padding:30px 8px;text-align:center;color:#58677b;font-size:13px;line-height:1.8}
  .m-error {padding:32px 0;color:#58677b}
  .m-error h1 {font-size:22px;color:#182a41}
  .m-error p {font-size:13px;line-height:1.8;overflow-wrap:anywhere}
  .m-notice {font-size:12px;color:#58677b;padding:10px 0}
  .m-content :where(button,a,summary,input):focus-visible {outline:2px solid #2459c4;outline-offset:2px;box-shadow:none}
}
@media (max-width:360px) {
  .m-content {padding-inline:16px}
  .m-cumulative {margin-inline:-16px;padding-inline:16px}
  #mobileHeaderTitle {font-size:13px}
  .m-header {gap:5px}
  .m-scope-button {max-width:144px;min-width:100px;padding-inline:8px;gap:5px;font-size:11px}
  .m-money-pair {gap:12px}
  .m-money-pair>.m-money+div {padding-left:12px}
  .m-money>strong {font-size:27px}
  .m-badge {font-size:10px}
  .m-flow-number {font-size:44px}
}
@media (max-width:760px) and (max-height:740px) {
  .is-flows-home .m-content {padding-top:10px;padding-bottom:8px}
  .is-flows-home .m-page-heading {min-height:28px;margin-bottom:6px}
  .is-flows-home .m-page-heading h1 {font-size:20px}
  .is-flows-home .m-flow-section {padding:8px 0}
  .is-flows-home .m-section-heading h2 {font-size:15px}
  .is-flows-home .m-flow-link {min-height:48px;padding:0}
  .is-flows-home .m-flow-number {font-size:42px}
  .is-flows-home .m-search-entry {min-height:44px;padding-block:8px;margin-top:10px}
}
@media (max-width:760px) and (max-height:620px) {
  .is-flows-home .m-header {min-height:56px;padding-top:calc(6px + env(safe-area-inset-top));padding-bottom:6px}
  .is-flows-home .m-content {padding-top:8px;padding-bottom:6px}
  .is-flows-home .m-page-heading {min-height:26px;margin-bottom:4px}
  .is-flows-home .m-page-heading h1 {font-size:19px}
  .is-flows-home .m-flow-section {padding:4px 0}
  .is-flows-home .m-section-heading {min-height:24px}
  .is-flows-home .m-section-heading h2 {font-size:14px}
  .is-flows-home .m-section-heading>.info-tip {margin-block:-10px}
  .is-flows-home .m-flow-section>.m-quiet {font-size:10px;line-height:1.5}
  .is-flows-home .m-flow-link {min-height:44px}
  .is-flows-home .m-flow-number {font-size:36px}
  .is-flows-home .m-flow-number em {font-size:12px}
  .is-flows-home .m-search-entry {margin-top:8px}
}
@media (prefers-reduced-motion:no-preference) {
  .m-sheet[open] {animation:m-sheet-in 180ms cubic-bezier(.2,.7,.2,1)}
  @keyframes m-sheet-in {from{transform:translateY(24px);opacity:.5}to{transform:none;opacity:1}}
}
