/* A quiet app shell: one title, flat lists, compact tools and three thumb targets. */
.native-ui { background:#f6f7f8; color:#202c28; }
.native-ui .top-bar { background:#f6f7f8; border-bottom:0; }
.native-ui .top-bar .eyebrow, .native-ui #view-trips>.section-heading>div, .native-ui #view-invoices>.section-heading>div { display:none; }
.native-ui .top-bar h1 { font-size:28px; letter-spacing:-1px; }
.native-ui .top-bar>div:first-child { min-width:0; }
.native-ui .top-bar h1 { overflow-wrap:anywhere; }
.native-header-actions { display:flex; gap:6px; align-items:center; flex-shrink:0; }
.native-header-actions .btn { background:transparent; color:#216348; border:0; font-size:13px; padding:10px; }
.native-new-trip,.native-new-invoice { display:none; }
body:has(#view-trips.active) .native-new-trip,body:has(#view-invoices.active) .native-new-invoice { display:inline-flex; }
.account-menu { position:relative; }
.account-menu>summary { display:grid; place-items:center; list-style:none; cursor:pointer; width:44px; height:44px; font-size:12px; letter-spacing:2px; }
.account-menu[open] #logout-btn { position:absolute; top:44px; right:0; background:white; min-width:100px; z-index:30; box-shadow:0 5px 20px #203c301a; }
.native-ui #view-trips>.section-heading,.native-ui #view-invoices>.section-heading { display:none; }
.native-ui #view-receipts .section-heading>div { display:none; }
.native-ui #view-receipts .section-heading { justify-content:space-between; }
.native-ui #view-trips>.section-heading, .native-ui #view-invoices>.section-heading { justify-content:flex-end; margin:0 0 12px; }
.native-ui .btn { box-shadow:none; border-radius:12px; }
.native-ui #view-trips>.section-heading .btn { background:transparent; color:#216348; border:0; padding:6px 12px; }
.library-switch { display:flex; background:#e8ece9; border-radius:12px; padding:4px; margin:0 0 20px; }
.library-switch>* { flex:1; text-align:center; padding:11px; font-weight:700; font-size:14px; }
.library-switch>span { background:white; border-radius:9px; box-shadow:0 1px 3px #18332815; }
.library-switch .btn { background:transparent; border:0; min-height:44px; }
.native-ui .assignment-banner { display:grid; grid-template-columns:1fr auto; gap:8px 12px; padding:16px; border:0; background:#eef2ec; border-radius:16px; margin-bottom:24px; }
.native-ui .assignment-banner strong { font-size:14px; }
.native-ui #unassigned-open { grid-column:2; grid-row:1; min-height:44px; padding:0 4px; background:none; border:0; text-decoration:underline; font-size:12px; }
.native-ui #recommend-trips { grid-column:1/-1; min-height:46px; }
.native-ui .assignment-banner>div { align-self:center; }
.native-ui .trips-list { gap:10px; }
.native-ui .trip-card { padding:18px; border:0; box-shadow:none; border-radius:16px; }
.native-ui .trip-card .eyebrow { font-size:12px; letter-spacing:0; font-weight:500; color:#66736c; }
.native-ui .trip-card h3 { font-size:18px; line-height:1.4; margin:6px 0 12px; }
.native-ui .trip-card>div { font-size:13px; }
.native-ui #view-receipts .section-heading .eyebrow { display:none; }
.native-ui #receipt-context-dates { font-size:13px; margin:0 0 16px; }
.native-ui .receipt-search { margin:0 0 8px; }
.native-ui .receipt-search>.form-label { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.native-ui #receipt-search { border:0; background:#e9eeeb; border-radius:12px; }
.receipt-tools { display:flex; gap:8px; flex-wrap:wrap; margin:0 0 16px; }
.native-ui .receipt-tools>details { flex:1; border:0; background:transparent; margin:0; padding:0; }
.native-ui .receipt-tools>details>summary { font-size:13px; padding:10px 8px; min-height:44px; color:#465f52; background:transparent; border:0; }
.native-ui .receipt-tools>details>summary::before { display:none; }
.native-ui .receipt-tools>details[open] { flex-basis:100%; }
.native-ui .receipt-tools .filter-card { background:white; }
.receipt-actions-menu { position:relative; }
.receipt-actions-menu>summary { list-style:none; padding:12px; cursor:pointer; color:#216348; font-size:14px; font-weight:700; min-height:44px; }
.receipt-actions-menu[open]>.workflow-actions { position:absolute; z-index:10; right:0; top:40px; display:flex; flex-direction:column; width:210px; padding:8px; background:white; border:1px solid #dce4de; border-radius:14px; box-shadow:0 8px 24px #20382c18; }
.receipt-actions-menu .btn { text-align:left; background:transparent; color:#216348; border:0; }
.native-ui .receipt-select-target { display:none; }
.native-ui .selection-active .receipt-select-target { display:flex; }
.native-ui .receipt-group { border:0; border-radius:0; background:transparent; margin-bottom:18px; }
.native-ui .receipt-group-head { padding:10px 4px; background:transparent; color:#69776f; font-size:12px; font-weight:600; }
.native-ui .receipt-group-head strong { display:none; }
.native-ui .selectable-receipt { background:white; border:0; border-bottom:1px solid #edf0ed; }
.native-ui .selectable-receipt:first-of-type { border-radius:14px 14px 0 0; }
.native-ui .selectable-receipt:last-child { border-radius:0 0 14px 14px; border-bottom:0; }
.native-ui .receipt-row .receipt-row-amount small { display:none; }
.native-ui .receipt-row-main strong { font-size:15px; font-weight:600; }
.native-ui .receipt-row-main small { font-size:12px; color:#69776f; }
.native-ui .trip-warning { background:none; color:#895519; font-size:11px; padding:0; margin:3px 0; }
.native-ui .status-chip { background:transparent; border:0; font-size:11px; padding:2px; }
.confidence-disclosure { margin:8px 0 16px; color:#647168; font-size:12px; }
.confidence-disclosure>summary { cursor:pointer; min-height:44px; padding:12px 0; }
.native-ui .confidence-card { margin:0; }
.native-ui .invoice-row { border:0; box-shadow:none; border-radius:14px; }
.nav-add { border:0; background:transparent; color:#216348; display:flex; flex-direction:column; align-items:center; gap:2px; font:inherit; font-size:11px; font-weight:700; cursor:pointer; min-height:56px; }
.nav-add>span:first-child { display:grid; place-items:center; background:#216348; color:white; width:46px; height:32px; border-radius:12px; font-size:26px; line-height:1; }
.recommendation-controls { display:flex; align-items:center; justify-content:space-between; gap:8px; font-size:13px; margin:12px 0; }
.recommendation-controls label { display:flex; align-items:center; gap:8px; min-height:44px; }
.recommendation-row { padding:18px 0; border-top:1px solid #e4eae5; }
.recommendation-heading { display:flex; gap:10px; align-items:center; margin-bottom:12px; }
.recommendation-heading h3 { font-size:16px; margin:0; overflow-wrap:anywhere; }
.recommendation-heading p { font-size:12px; color:#647168; margin:4px 0 0; }
.recommendation-check { display:grid; place-items:center; width:44px; min-height:44px; flex-shrink:0; }
.recommendation-check input,.recommendation-controls input { width:20px; height:20px; accent-color:#216348; }
.recommendation-reason,.recommendation-help { font-size:13px; line-height:1.5; color:#65746a; margin:8px 0; }
#recommendation-summary { font-size:14px; font-weight:600; line-height:1.6; }
.assignment-success { text-align:center; padding:32px 12px; }
.assignment-success>span { font-size:40px; color:#216348; }
@media(max-width:1099px) {
 .native-ui .tab-bar { display:grid; grid-template-columns:1fr 1fr 1fr !important; align-items:center; background:#fffffffa; border-top:1px solid #e6ebe7; box-shadow:none; }
 .native-ui .tab { background:transparent; font-size:11px; min-height:56px; }
 .native-ui .tab.active { background:transparent; color:#216348; }
 .native-ui .tab.active .tab-icon { background:#e9f1e9; border-radius:10px; }
}
@media(min-width:1100px) { .nav-add { color:white; padding:12px; margin:10px 0; flex-direction:row; gap:12px; } }
@media(max-width:760px) {
 .native-ui #main { padding:4px 18px calc(90px + env(safe-area-inset-bottom)); }
 .native-ui .top-bar { padding:20px 20px 8px; }
 .native-ui #logout-btn { font-size:12px; }
 .native-ui .selectable-receipt .receipt-row { grid-template-columns:minmax(0,1fr) auto; padding:16px; gap:5px 12px; }
 .native-ui .receipt-row-main { grid-column:1; grid-row:1/3; }
 .native-ui .receipt-row-amount { grid-column:2; grid-row:1; align-self:start; text-align:right; }
 .native-ui .receipt-row-amount strong { font-size:14px; }
 .native-ui .receipt-row .status-chip { grid-column:2; grid-row:2; align-self:start; }
 .native-ui .receipt-row-main strong { line-height:1.4; }
 .native-ui .receipt-row-main small { display:block; margin-top:4px; }
 .native-ui .selection-active .receipt-row { padding-left:2px; }
 .native-ui .section-heading { margin-bottom:10px; }
 .native-ui #back-to-trips { padding-left:0; font-size:13px; }
 .native-ui .workflow-sheet { border-radius:22px 22px 0 0; }
}
@media(max-width:360px) {
 .native-ui .receipt-row-amount strong { font-size:12px; }
 .native-ui .selectable-receipt .receipt-row { gap:5px 8px; padding:14px 12px; }
}
