:root{font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#542d2a;background:#fff9f6;font-size:16px;--primary:#963f3b;--line:#e9d8d2;--muted:#795a55}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,.button{min-height:48px;border:0;border-radius:12px;background:var(--primary);color:white;padding:12px 20px;font-weight:650;cursor:pointer;text-align:center;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:10px}button:hover,.button:hover{filter:brightness(.94)}button:disabled{opacity:.55;cursor:wait}.secondary{background:#fbefea;color:var(--primary);border:1px solid var(--line)}.danger{background:#8b271f}.text-button{color:var(--primary);background:transparent;padding:10px 12px;text-decoration:underline;font-weight:550}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #285c82;outline-offset:3px}.top{max-width:1120px;padding:25px 32px;display:flex;align-items:center;justify-content:space-between;margin:auto;gap:10px}.brand{font-size:29px;letter-spacing:-1.5px;font-weight:800;text-decoration:none;color:var(--primary);display:flex;align-items:center;gap:9px}.brand-icon{display:inline-flex;width:37px;height:37px;border:2px solid var(--primary);border-radius:12px;align-items:center;justify-content:center;font-size:30px;line-height:1;transform:rotate(-8deg)}.brand-dot{margin-left:-9px;color:#e68b79}.top-actions{display:flex;align-items:center;gap:16px}.connection{font-size:.875rem;color:var(--muted)}.connection::before{content:'';display:inline-block;height:7px;width:7px;background:#963f3b;border-radius:50%;margin-right:7px}.icon-button{background:white;color:var(--primary);width:48px;border:1px solid var(--line);font-size:25px;padding:0}main{max-width:1056px;margin:auto;padding:24px 32px 130px;min-height:75vh}h1{font-size:clamp(2rem,5vw,3.2rem);letter-spacing:-1.8px;line-height:1.12;margin:12px 0 15px;font-weight:700}h2{font-size:1.35rem;letter-spacing:-.4px;margin:0 0 12px}h3{margin:0 0 8px;font-size:1.125rem}.eyebrow{font-size:.8rem;letter-spacing:.13em;text-transform:uppercase;font-weight:700;color:#795a55;margin:0 0 12px}.lead{color:var(--muted);line-height:1.6;margin:0}.hero{display:grid;grid-template-columns:1.2fr 1fr;align-items:center;gap:50px;margin:12px 0 34px}.hero-action{background:var(--primary);color:white;border-radius:22px;padding:26px;display:flex;gap:17px;align-items:center;width:100%;text-align:left;min-height:132px;box-shadow:0 10px 25px #963f3b12}.hero-action strong{font-size:1.2rem;display:block;margin-bottom:6px}.hero-action small{font-size:.9rem;font-weight:400;color:#fcebe7}.camera-icon{font-size:34px;background:#ffffff15;border-radius:14px;padding:12px}.stats{display:flex;gap:12px;margin:22px 0 30px}.stat{padding:18px 22px;border:1px solid var(--line);border-radius:16px;background:white;display:flex;gap:13px;align-items:center;flex:1;max-width:310px}.stat strong{font-size:1.9rem;font-weight:600}.stat span{color:var(--muted);font-size:.95rem}.section-bar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:24px 0 20px;flex-wrap:wrap}.tabs{display:flex;background:#f4e5df;padding:4px;border-radius:12px;gap:4px}.tabs button{background:transparent;color:var(--muted);font-size:.9rem;min-height:42px;padding:10px 18px}.tabs button[aria-pressed=true]{color:var(--primary);background:white;box-shadow:0 2px 5px #542d2a10}.search{width:min(100%,290px);background:white}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.loan-card{padding:0;display:block;background:white;border:1px solid var(--line);border-radius:18px;overflow:hidden;text-decoration:none;color:inherit;text-align:left;width:100%}.loan-card:hover{box-shadow:0 7px 22px #542d2a10;filter:none}.card-photo{height:190px;background:#f4e9e3;display:flex;align-items:center;justify-content:center;overflow:hidden;color:#a47b70}.card-photo img{width:100%;height:100%;object-fit:cover}.placeholder{font-size:3rem;font-weight:300}.card-body{padding:19px}.card-person{color:var(--muted);margin:0 0 20px;font-size:.95rem}.due{font-size:.875rem;display:inline-flex;align-items:center;gap:6px;color:var(--muted)}.overdue{color:#84490d;background:#fff0d8;padding:6px 9px;border-radius:7px}.empty{background:white;border:1px dashed #d9bdb2;border-radius:20px;text-align:center;padding:48px 22px;grid-column:1/-1}.empty-symbol{font-size:42px;color:#b08073;margin-bottom:16px}.empty p{color:var(--muted);max-width:430px;margin:12px auto 24px;line-height:1.6}.privacy-note{font-size:.875rem;color:var(--muted);text-align:center;margin:30px 0}.bottom{position:fixed;bottom:0;left:0;right:0;display:flex;justify-content:center;background:#ffffffef;backdrop-filter:blur(16px);border-top:1px solid var(--line);padding:9px 12px calc(9px + env(safe-area-inset-bottom));gap:12px;z-index:5}.bottom a{display:flex;flex-direction:column;align-items:center;gap:4px;color:var(--muted);text-decoration:none;font-size:.8rem;min-width:95px;padding:6px 15px;border-radius:12px}.bottom a span{font-size:23px;line-height:1}.bottom a[aria-current=page]{background:#f5e1d9;color:var(--primary);font-weight:700}.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:28px}.page-head h1{font-size:2.3rem}.form-layout{display:grid;grid-template-columns:.85fr 1.15fr;gap:30px;align-items:start}.panel{background:white;border:1px solid var(--line);border-radius:20px;padding:26px;margin-bottom:20px}.photo-picker{border:1px dashed #d1a99c;background:#fbefea;border-radius:18px;overflow:hidden;text-align:center;margin-bottom:15px}.photo-picker img{width:100%;max-height:350px;object-fit:contain;display:block;background:#f4e9e3}.photo-empty{padding:45px 20px 24px}.photo-empty .placeholder{display:block;margin-bottom:14px}.photo-empty p{font-size:.9rem;color:var(--muted);line-height:1.5}.photo-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;padding:12px 15px 20px}.photo-actions button{font-size:.875rem;padding:10px 14px}.field{display:block;margin:0 0 20px}.field>span{display:block;font-weight:600;font-size:.95rem;margin-bottom:8px}input:not([type=checkbox]),textarea,select{width:100%;border:1px solid #bd9588;border-radius:10px;padding:13px 14px;color:#542d2a;min-height:48px;background:white;max-width:100%}textarea{resize:vertical;min-height:105px;line-height:1.5}.field small,.hint{font-size:.875rem;line-height:1.5;color:var(--muted);display:block;margin-top:8px}.check{display:flex;align-items:flex-start;gap:12px;line-height:1.5;font-size:.95rem;margin-bottom:22px}.check input{width:22px;height:22px;accent-color:var(--primary);flex-shrink:0}.button-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.button-row>*{flex:1}.full{width:100%}.error{color:#8b271f;background:#ffebe8;border-radius:10px;padding:13px;line-height:1.5}.info{background:#fbefea;padding:16px;border-radius:12px;line-height:1.6;font-size:.95rem;margin:15px 0}.detail-photo{width:100%;max-height:480px;object-fit:contain;border-radius:18px;background:#f4e9e3}.detail-placeholder{height:280px;border-radius:18px}.detail-meta{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:25px 0}.detail-meta dt{font-size:.875rem;color:var(--muted);margin-bottom:7px}.detail-meta dd{margin:0;font-weight:600;overflow-wrap:anywhere}.note{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}.badge{display:inline-block;border-radius:7px;padding:6px 10px;background:#f5e1d9;font-size:.875rem}.catalog-row{display:flex;gap:16px;align-items:center}.catalog-row .card-photo{width:80px;height:80px;border-radius:12px;flex-shrink:0}.catalog-row>div:last-child{flex:1;min-width:0}.catalog-row h3{overflow-wrap:anywhere}.settings{max-width:680px}.settings p{line-height:1.65;color:var(--muted)}.settings .button-row{margin-bottom:18px}#notice{position:fixed;left:50%;bottom:110px;transform:translateX(-50%);background:#542d2a;color:white;box-shadow:0 6px 24px #0002;border-radius:12px;padding:14px 20px;max-width:calc(100% - 32px);z-index:30;display:none}#notice.visible{display:block}dialog{border:0;border-radius:20px;max-width:470px;width:calc(100% - 32px);padding:28px;color:#542d2a;box-shadow:0 20px 80px #0003}dialog::backdrop{background:#542d2a70}dialog p{line-height:1.6}.skip{position:fixed;top:-100px;left:10px;z-index:100;background:white;padding:15px}.skip:focus{top:10px}[hidden]{display:none!important}.loading{text-align:center;padding:70px}.subtle{font-size:.875rem;color:var(--muted)}.stack{display:grid;gap:12px}.back{margin-bottom:15px;padding-left:0}.file-input{display:none}.divider{height:1px;background:var(--line);margin:24px 0}.card-body h3,.card-person{overflow-wrap:anywhere}.count-label{font-size:.875rem;color:var(--muted)}
@media(max-width:760px){.top{padding:20px}.connection{display:none}main{padding:12px 20px 125px}.hero{grid-template-columns:1fr;gap:24px;margin:10px 0 22px}.hero-action{min-height:100px;padding:22px}.hero h1{max-width:400px}.stats{margin:22px 0}.stat{padding:15px;gap:10px}.stat span{font-size:.875rem}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.card-photo{height:170px}.card-body{padding:15px}.form-layout{grid-template-columns:1fr;gap:0}.panel{padding:20px}.photo-empty{padding-top:25px}.bottom{gap:0}.bottom a{min-width:0;flex:1;max-width:140px;padding:6px 5px}.page-head h1{font-size:2rem}.search{width:100%}.section-bar{gap:12px}.top-actions{gap:8px}}
@media(max-width:420px){.grid{grid-template-columns:1fr}.card-photo{height:210px}.stats{gap:8px}.stat{padding:12px;gap:8px}.stat strong{font-size:1.6rem}.stat span{font-size:.8rem}.tabs{width:100%}.tabs button{flex:1;padding:10px 8px}.brand{font-size:26px}main{padding-left:16px;padding-right:16px}.detail-meta{grid-template-columns:1fr}.button-row>*{flex-basis:100%}.hero-action small{font-size:.85rem}}
@media(prefers-reduced-motion:no-preference){button,a{transition:background .15s,box-shadow .15s}}@media(min-width:1100px){.hero{margin-top:24px}main{padding-top:20px}}

.camera-svg{width:32px;height:32px;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;fill:none;display:block}.photo-empty .camera-svg{width:48px;height:48px;margin:auto}

.brand-wrap{display:flex;flex-direction:column;align-items:flex-start;gap:7px}.brand{display:block;line-height:0}.brand img{display:block;width:190px;height:auto}.brand-motto{margin:0;font-size:.875rem;color:#795a55;letter-spacing:0}.location-panel{padding:18px;background:#fff7f2;border:1px solid var(--line);border-radius:12px;margin-bottom:22px}.location-panel h3{font-size:1rem}.location-panel p{font-size:.875rem;line-height:1.6;overflow-wrap:anywhere}.location-coordinates{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.location-meta{color:var(--muted);font-size:.875rem;line-height:1.5}.top{align-items:flex-start}.top-actions{padding-top:5px}.mobile-check{display:block;font-size:.875rem;padding:14px;background:#fbefea;border-radius:12px;line-height:1.6}.update-note{font-size:.875rem;line-height:1.6;border-left:3px solid var(--primary);padding-left:14px}
@media(max-width:420px){.brand img{width:158px}.brand-motto{font-size:.8rem}.top{padding:16px;gap:8px}.top-actions{padding-top:4px}.icon-button{width:44px;min-height:44px}.location-panel .button-row>*{flex-basis:100%}}

main:focus{outline:none}

/* UX candidate: compact registration and one list of active loans. Bottom nav unchanged. */
.list-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:12px 0 20px}.list-title,.form-title{font-size:1.6rem;line-height:1.25;letter-spacing:-.6px;margin:0 0 5px}.loan-count{font-size:.95rem;color:var(--muted);margin:0}.list-search{max-width:340px;margin-bottom:18px}.loan-list{display:grid;gap:12px;margin-top:16px}.loan-row{display:flex;align-items:center;gap:14px;background:white;border:1px solid var(--line);border-radius:14px;padding:12px}.loan-link{display:flex;align-items:center;gap:16px;flex:1;min-width:0;text-decoration:none;color:inherit;border-radius:8px}.list-photo{width:100px;height:100px;flex:0 0 100px;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:10px;background:#f4e9e3;color:#a47b70}.list-photo img{height:100%;width:100%;object-fit:cover}.list-photo .placeholder{font-size:2rem}.loan-summary{min-width:0}.loan-summary h3{font-size:1.05rem;margin:0 0 6px;overflow-wrap:anywhere}.loan-summary p{margin:0 0 8px;color:var(--muted);line-height:1.4;font-size:.95rem;overflow-wrap:anywhere}.loan-summary .due{font-size:.875rem}.return-button{font-size:.875rem;padding:10px 14px;flex-shrink:0}.simple-empty{padding:24px 0;color:var(--muted);line-height:1.6;margin:0}.loan-form{max-width:680px;margin:20px 0 0}.photo-control{display:flex;align-items:center;gap:18px;margin-bottom:22px}.photo-preview{width:140px;height:140px;flex:0 0 140px;display:flex;align-items:center;justify-content:center;overflow:hidden;border:1px solid var(--line);background:#f4e9e3;border-radius:12px;color:#a47b70}.photo-preview img{width:100%;height:100%;object-fit:cover}.photo-buttons{display:flex;flex-direction:column;align-items:stretch;gap:7px;min-width:0}.photo-buttons p{margin:0}.photo-buttons button{padding:8px 14px;min-height:44px;font-size:.9rem}.form-fields .section-bar{margin:0 0 20px}.form-fields h2{font-size:1.1rem;margin:0}.catalog-choice{margin-bottom:22px}.catalog-choice summary,.location-details summary{cursor:pointer;min-height:44px;display:flex;align-items:center;gap:8px;color:var(--primary);font-weight:600}.catalog-choice summary::before,.location-details summary::before{content:'＋';font-size:1.1rem}.catalog-choice[open] summary::before,.location-details[open] summary::before{content:'−'}.catalog-choice select{margin-top:8px}.location-details{margin:20px 0;border-top:1px solid var(--line);padding-top:5px}.location-details p{font-size:.9rem;line-height:1.6}.detail-return{margin-top:16px}summary:focus-visible{outline:3px solid #285c82;outline-offset:3px}
@media(max-width:520px){.loan-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:12px}.loan-link{grid-column:1/-1;gap:12px}.list-photo{width:84px;height:84px;flex-basis:84px}.return-button{grid-column:2}.list-heading{margin-top:8px}.loan-summary h3{font-size:1rem}.loan-summary p{font-size:.9rem}.loan-form{margin-top:18px}.photo-control{gap:14px}.photo-preview{width:140px;height:140px;flex-basis:140px}.photo-buttons button{padding:8px 10px}.form-fields .field{margin-bottom:17px}}
@media(max-width:350px){.photo-control{gap:12px}.photo-preview{width:120px;height:120px;flex-basis:120px}.photo-buttons button{font-size:.875rem}.loan-row{padding:10px}.list-photo{width:72px;height:72px;flex-basis:72px}}

/* Keep final controls clear of the bottom navigation and device safe area. */
main{padding-bottom:calc(130px + env(safe-area-inset-bottom, 0px))}html{scroll-padding-bottom:calc(130px + env(safe-area-inset-bottom, 0px))}.loan-form input,.loan-form textarea,.loan-form select,.loan-form button{scroll-margin-bottom:calc(110px + env(safe-area-inset-bottom, 0px))}

/* MVP 1.1.4: compact details; approved navigation is unchanged. */
.loan-details{max-width:680px}.detail-image{width:160px;height:160px;border-radius:12px;overflow:hidden;background:#f4e9e3}.detail-image img{width:100%;height:100%;object-fit:cover}.loan-details .detail-meta{gap:16px;margin:20px 0}.location-line{display:flex;align-items:center;gap:14px;font-size:.875rem;white-space:nowrap;margin:16px 0}.location-line time{font-variant-numeric:tabular-nums}.location-line a{color:var(--primary);display:inline-flex;align-items:center;min-height:44px}.settings-details{padding:0 4px;margin-bottom:22px}.settings-details summary{cursor:pointer;min-height:44px;display:flex;align-items:center;color:var(--primary)}.brand-motto{align-self:flex-end}.page-head{margin-bottom:20px}.page-head h1{font-size:1.7rem;margin:0 0 10px;letter-spacing:-.6px}.page-head .lead{font-size:1rem}.loan-details .detail-return{margin-top:10px}


/* MVP 1.1.5: two visual adjustments only. */
.brand-motto{align-self:stretch;text-align:center;font-size:1rem;line-height:1.35}
.catalog-row + .stack{margin-top:18px}

.share-loan{margin-top:12px}.import-loan{margin-top:16px}.received-photo{width:140px;height:140px;object-fit:cover;border-radius:12px}.received-preview{margin-top:24px;max-width:680px}.received-preview h2{margin-top:16px}.settings-details>button,.settings-details>a{margin:8px 8px 0 0}

.share-options>.button,.share-options>button{margin-top:10px}.share-options h2{margin-bottom:8px}.share-options .subtle{margin:0 0 22px}.share-options .field{margin-top:18px}dialog>.full{margin-top:10px}

.share-options [hidden]{display:none!important}

.activation{max-width:420px;margin:24px auto}.activation input,.activation button{width:100%;margin-top:16px}.activation h1{text-align:center}

.handover-code{display:block;font:700 1.5rem monospace;letter-spacing:.06em;overflow-wrap:anywhere;margin:1rem 0} details{margin:1rem 0}

.activation-choices .hint{margin:8px 0 20px}.activation-flow [hidden]{display:none!important}

/* Browser mode offers installation and read-only recovery, never normal app navigation. */
.browser-mode .bottom,.browser-mode #settings-button{display:none!important}
.install-guide{max-width:580px;margin:16px auto 24px}.install-guide ol{padding-left:25px}.install-guide li{margin:14px 0;line-height:1.5}.browser-mode main{padding-bottom:24px}

.approval-url{overflow-wrap:anywhere}
.handover-mode .bottom,.handover-mode #settings-button{display:none!important}
.handover-mode main{padding-bottom:24px}
.handover-page{max-width:420px;margin:16px auto}
.handover-step{display:grid;gap:16px;margin:24px 0}
.handover-step p{margin:0}
.handover-step>button,.handover-fallback>button{width:100%}
.handover-fallback{display:grid;gap:16px;margin:24px 0}
.handover-back{margin-top:16px}


.updates-panel{display:grid;gap:16px;margin-top:24px}.updates-panel label{display:flex;align-items:center;gap:12px}.updates-panel input{width:22px;height:22px}.updates-panel p{margin:0}.updates-panel button{width:100%}

/* Etape 14A: compact settings; all actions remain inside their section. */
.settings-accordion{display:grid;gap:12px}
.settings-accordion>.settings-menu{margin:0}
.settings-menu{min-width:0;border:1px solid var(--line);border-radius:14px;background:#fff}
.settings-menu>summary{padding:18px 20px;min-height:56px;cursor:pointer;font-weight:650;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:16px}
.settings-menu>summary::-webkit-details-marker{display:none}
.settings-menu>summary::after{content:'+';font-size:22px;font-weight:400}
.settings-menu[open]>summary::after{content:'−'}
.settings-menu>summary:focus-visible{outline:3px solid #285c82;outline-offset:3px;border-radius:12px}
.settings-menu-content{padding:0 20px 20px;min-width:0}
.settings-menu-content>.panel{border:0;border-radius:0;padding:0;margin:0;background:transparent;box-shadow:none}
.settings-menu-content a{color:var(--primary);text-underline-offset:3px}
.settings-menu-content input[type=checkbox]{accent-color:var(--primary);width:20px;height:20px;flex:0 0 20px;margin:0}
.settings-menu-content label:has(input[type=checkbox]){display:flex;align-items:center;gap:10px}
.settings-menu-content .button-row{gap:16px}
.settings-menu-content .updates-panel>button{margin-top:16px}
.settings-menu-content [role=status]:empty{display:none}
.settings-menu-content input:not([type=checkbox]),.settings-menu-content button{max-width:100%}
@media(max-width:420px){.settings-menu>summary{padding:16px}.settings-menu-content{padding:0 16px 16px}}
/* 16H: compact local message; no placeholder space when absent. */
.general-notice{position:relative;background:#fbefea;border-left:3px solid #e68b79;border-radius:12px;padding:18px 56px 18px 18px;margin:0 0 22px;overflow-wrap:anywhere}.general-notice h2{font-size:1rem;margin:0 0 8px}.general-notice p{white-space:pre-wrap;line-height:1.5;margin:0 0 10px}.general-notice time{font-size:.875rem;color:var(--muted)}.general-notice-close{position:absolute;top:4px;right:4px;width:44px;height:44px;min-height:44px;padding:0;background:transparent;color:var(--primary);font-size:1.6rem}
/* One visible-height shell: the footer cannot retain a stale fixed-position offset. */
body:not(.browser-mode){display:flex;flex-direction:column;height:var(--app-height,100dvh);overflow:hidden}body:not(.browser-mode)>.top{flex:0 0 auto;width:100%;margin:0 auto}body:not(.browser-mode)>main{flex:1 1 auto;min-height:0;width:100%;margin:0 auto;overflow:auto;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;padding-bottom:24px}body:not(.browser-mode)>.bottom{position:relative;inset:auto;flex:0 0 auto;transform:none}body:not(.browser-mode)>.test-label{flex:0 0 auto}

.receipt-share{flex-shrink:0;font-size:.875rem;padding:10px 14px}.received-preview{margin-top:16px}.received-preview>button{margin-top:16px}.received-preview .received-photo{max-width:100%;height:auto} @media(max-width:390px){.loan-row:has(.receipt-share){flex-wrap:wrap}.receipt-share{margin-left:auto}}

.overview-actions{display:flex;align-items:center;gap:0;flex-shrink:0}.overview-import{font-size:.875rem;padding:10px 6px;white-space:nowrap}

/* Local, transient suggestions; no separate contact screen. */
.person-suggestions{position:relative;min-width:0}.person-suggestions>input{width:100%}.person-suggestions-list{margin-top:6px;border:1px solid #e9d8d2;border-radius:12px;background:#fff9f6;overflow:hidden}.person-suggestions-list[hidden]{display:none}.person-suggestions-list [role=option]{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 12px;min-height:48px;padding:12px 14px;cursor:pointer;color:#542d2a;overflow-wrap:anywhere}.person-suggestions-list [role=option]+[role=option]{border-top:1px solid #e9d8d2}.person-suggestions-list [role=option]:hover,.person-suggestions-list .is-active{background:#fbefea}.person-suggestion-name{font-weight:600}.person-suggestion-phone{font-size:.875rem;color:#795a55}

/* Keyboard-only layout: release the menu's space and old fixed-menu scroll offsets. */
html.keyboard-open body:not(.browser-mode)>.bottom{display:none!important}
html.keyboard-open{scroll-padding-bottom:0}
html.keyboard-open body:not(.browser-mode)>main{padding-bottom:12px;scroll-padding-top:12px;scroll-padding-bottom:12px}
html.keyboard-open input,html.keyboard-open textarea,html.keyboard-open select,html.keyboard-open .loan-form button{scroll-margin-top:12px;scroll-margin-bottom:12px}

/* Local suggestion exclusion: independent 44px tap target, no new screen. */
.person-suggestion-row{display:flex;align-items:stretch;min-width:0}
.person-suggestion-row+.person-suggestion-row{border-top:1px solid #e9d8d2}
.person-suggestions-list .person-suggestion-row [role=option]{flex:1;min-width:0;padding:12px 10px 12px 14px}
.person-suggestion-remove{align-self:center;flex:0 0 44px;width:44px;min-height:44px;margin:0;padding:0;border:0;background:transparent;color:#795a55;font-size:1.35rem;font-weight:400;box-shadow:none}
.person-suggestion-remove:hover{background:#fbefea;color:#963f3b}
.person-suggestion-remove:focus-visible{outline:2px solid #963f3b;outline-offset:-4px}

/* Next field cue: do not focus or intercept the native date input. */
.field.next-person-field>input[type=date]{outline:2px solid var(--primary);outline-offset:2px}
.field.next-person-field>span:focus{outline:none}
