.display-bar{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:10px 28px;background:#f1f3ea;border-bottom:1px solid var(--line);font-size:11px;color:#59734f}.display-bar label{display:flex;align-items:center;gap:10px}.display-bar select{background:#fff;border:1px solid #cdd9c7;border-radius:6px;color:#244b3c;padding:9px;font:inherit}.display-bar a{color:#496e51}.mobile-nav,.mobile-records{display:none}.more-dialog{width:min(420px,95vw);border:0;border-radius:16px;padding:0;background:#f9fbf5}.more-dialog nav{display:grid;grid-template-columns:1fr;margin:0;padding:12px;gap:7px}.more-dialog nav a{display:flex;font-size:14px!important;color:#244b3c;padding:14px!important;min-height:48px;background:#eef3e6;border-radius:6px}.more-dialog nav a.active{background:#163f35;color:white}.photo-picker{margin:22px 0;padding:18px;border:1px dashed #bbcab2;border-radius:8px;background:#f6f8f0}.photo-choices{display:flex;gap:12px;flex-wrap:wrap;margin:16px 0}.photo-choices label{cursor:pointer;display:inline-flex;align-items:center;min-height:44px}.photo-choices label:focus-within{outline:2px solid #718b56;outline-offset:3px}.photo-grid{display:flex;flex-wrap:wrap;gap:12px;margin-block:12px}.photo-grid>div,.photo-grid>button{width:110px;max-width:100%}.photo-grid>button{padding:0;border-radius:8px;overflow:hidden;background:#eaf0e2}.photo-grid img{width:100%;height:100px;object-fit:cover;border-radius:7px}.photo-grid .text-btn{font-size:11px;white-space:normal}.detail-photos{margin-block:24px}.detail-photos h3 small{font-size:12px;font-weight:400}.photo-dialog{width:min(1100px,96vw);max-height:94dvh;padding:0;border:0;border-radius:10px;background:#fafbf6}.photo-dialog>img{display:block;max-width:100%;max-height:75dvh;object-fit:contain;margin:auto}.scan-start h3{margin-top:20px}.scan-steps{display:flex;flex-wrap:wrap;gap:12px;color:#6e8465;font-size:12px;padding-bottom:15px;border-bottom:1px solid var(--line)}.scan-image{display:block;width:auto;max-width:100%;max-height:500px;object-fit:contain;border-radius:8px;margin:18px 0}.scan-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px;margin-top:18px}.scan-row{border:1px solid #d7e0ce;border-radius:9px;padding:18px;margin:24px 0}.scan-row legend{color:#36583c;padding:0 9px;font-size:14px;font-weight:600}#scan-review{margin-top:24px}#scan-status{font-size:13px;line-height:1.8;margin-top:14px}.loan-card{padding:18px;border-bottom:1px solid #d8e0d1;background:#fffefa}.card-code{display:flex;align-items:center;gap:12px;color:#2d5271;font-size:14px}.card-code .text-btn{font-size:18px;font-weight:600;color:#2d5271}.card-code>span{margin-left:auto;font-size:11px;color:#7c8b71}.card-date{font-size:12px;color:#718168;margin-top:3px;padding-left:29px}.card-open{display:flex;flex-direction:column;align-items:flex-start;gap:9px;padding:16px 0;width:100%;color:#36563b;background:none;text-align:left}.card-open strong{font-size:17px}.card-open>span{font-size:13px}.card-open>b{font-size:22px}.card-open small{font-size:10px;font-weight:400}.card-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px}.loan-card>.text-btn{margin-top:12px}.signed-out .mobile-nav{display:none!important}
body[data-layout=desktop]{min-width:1100px}body[data-layout=desktop] .sidebar{position:fixed;inset:0 auto 0 0;height:100vh;width:230px;padding:28px 18px;flex-direction:column;overflow-y:auto}body[data-layout=desktop] .sidebar .brand{display:flex;font-size:22px}body[data-layout=desktop] .sidebar nav{display:flex;flex-direction:column;width:100%;gap:5px;margin-top:20px}body[data-layout=desktop] .sidebar nav a{font-size:12px;padding:11px;min-height:42px;flex-direction:row;justify-content:flex-start;gap:12px}body[data-layout=desktop] .sidebar nav a>span{font-size:20px}body[data-layout=desktop] .app-shell{margin-left:230px;padding-bottom:0}body[data-layout=desktop] .mobile-shop{display:none}body[data-layout=desktop] .topbar{height:70px}body[data-layout=desktop] .sidebar .shop-label,body[data-layout=desktop] .sidebar .shop-picker,body[data-layout=desktop] .profile{display:flex}
body[data-layout=mobile] .sidebar{display:none}body[data-layout=mobile] .app-shell{margin:0 auto;max-width:800px;padding-bottom:90px}body[data-layout=mobile] .mobile-nav{position:fixed;inset:auto 0 0;display:flex;align-items:stretch;justify-content:space-around;margin:0;padding:6px 4px calc(6px + env(safe-area-inset-bottom));background:#163f35;color:white;z-index:15;box-shadow:0 -3px 15px #163f3520;gap:2px}body[data-layout=mobile] .mobile-nav a,body[data-layout=mobile] .mobile-nav button{display:flex;flex:1;min-height:58px;min-width:0;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:6px 2px;border-radius:8px;font-size:12px;color:#ebf1df;background:none;line-height:1.7}body[data-layout=mobile] .mobile-nav a.active{background:#ffffff18;color:#f0d991}body[data-layout=mobile] .mobile-nav span{font-size:22px;line-height:1.1}body[data-layout=mobile] .topbar{height:auto;min-height:66px;padding:10px 15px;gap:10px;flex-wrap:wrap}body[data-layout=mobile] .top-right{gap:10px}body[data-layout=mobile] .topbar select,body[data-layout=mobile] #logout{font-size:12px;min-height:44px}body[data-layout=mobile] .mobile-shop{max-width:145px;font-size:12px;padding:8px}body[data-layout=mobile] .display-bar{padding:10px 16px;flex-wrap:wrap;gap:8px}body[data-layout=mobile] .display-bar select{min-height:44px}body[data-layout=mobile] .display-bar a{padding-block:9px}body[data-layout=mobile] main{padding:24px 16px}body[data-layout=mobile] .heading h1{font-size:26px}body[data-layout=mobile] .subtitle{font-size:13px;line-height:1.9}body[data-layout=mobile] .btn{min-height:44px;font-size:13px;padding:10px 14px}body[data-layout=mobile] .text-btn{min-height:44px}body[data-layout=mobile] .field{font-size:12px!important}body[data-layout=mobile] .field input,body[data-layout=mobile] .field select{font-size:16px;min-height:46px}body[data-layout=mobile] .field-row,body[data-layout=mobile] .scan-fields{grid-template-columns:1fr}body[data-layout=mobile] .small-note,body[data-layout=mobile] .hint,body[data-layout=mobile] .form-error,body[data-layout=mobile] .check-label{font-size:12px;line-height:1.9}body[data-layout=mobile] .check-label input{width:20px;height:20px;flex-shrink:0}body[data-layout=mobile] .list-desktop{display:none}body[data-layout=mobile] .mobile-records{display:block}body[data-layout=mobile] #toast{left:50%;bottom:90px;white-space:normal;width:max-content;max-width:90%;font-size:13px}body[data-layout=mobile] .record-view-switch{display:flex;width:100%}body[data-layout=mobile] .record-view-switch button{flex:1;min-height:44px;font-size:12px}body[data-layout=mobile] .filters{display:grid;grid-template-columns:1fr;gap:12px}body[data-layout=mobile] .filters input,body[data-layout=mobile] .filters select,body[data-layout=mobile] #page-filter{width:100%;min-width:0;min-height:44px;font-size:14px}body[data-layout=mobile] .search{width:100%;min-width:0}body[data-layout=mobile] .arrange-controls{gap:12px}body[data-layout=mobile] .arrange-controls select{font-size:14px;min-height:44px}body[data-layout=mobile] dialog.drawer{width:100%;max-width:100%;max-height:100dvh;height:100dvh;border-radius:0}body[data-layout=mobile] .scan-row{padding:14px}body[data-layout=mobile] .loan-select{width:20px;height:20px}body[data-layout=mobile] .dialog-head .icon-btn{min-width:44px;min-height:44px}body[data-layout=mobile] .dialog-actions{flex-wrap:wrap}body[data-layout=mobile] .dialog-head h2{overflow-wrap:anywhere}body[data-layout=mobile] .detail-grid{grid-template-columns:1fr}body[data-layout=mobile] .scan-steps{font-size:11px;gap:8px}body[data-layout=mobile] .transfer-zone{padding:20px}body[data-layout=mobile] .transfer-zone p{font-size:12px}body[data-layout=mobile] .mapping-grid,body[data-layout=mobile] .transfer-settings{grid-template-columns:1fr}
.history-filters{display:grid;grid-template-columns:1fr 1fr 1.4fr auto;gap:15px;align-items:end}.history-filters .btn{margin-bottom:18px}.history-list{border-top:1px solid var(--line);margin-top:25px}.history-event{padding:22px 0;border-bottom:1px solid var(--line)}.history-event time{display:block;font-size:11px;color:#8b967f;margin-bottom:9px}.history-event h3{font-size:15px}.history-event p{font-size:12px;line-height:1.9;color:#708567;margin-top:7px}.history-paging{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;margin-top:22px}.history-paging>span{font-size:12px}.retention-state{padding:18px;background:#eef3e6;border:1px solid #d7e0ce;border-radius:8px;line-height:1.9}.retention-state.enabled{background:#faf0df;border-color:#ead5b1}.retention-state strong{font-size:16px}.retention-state p{font-size:12px;color:#75866a;margin-top:10px}.retention-plans{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:24px 0}.retention-plans>div{display:flex;flex-direction:column;gap:12px;padding:18px;background:#f6f8f0;border:1px solid #e0e7d8;border-radius:8px}.retention-plans strong{font-size:15px}.retention-plans span{font-size:12px;color:#8a987c}#retention-form{margin-top:25px}#retention-form>.field{margin-top:20px}.retention-price{font-size:18px;font-weight:600;margin:20px 0}.retention-confirm{padding:20px;background:#fff4e9;border:1px solid #ebd1b9;border-radius:8px;margin-top:24px;line-height:1.9}.retention-confirm p{font-size:12px;margin-top:12px}.retention-confirm .btn{margin-top:20px}.more-dialog{max-height:90dvh;overflow:auto}body[data-layout=mobile] .history-filters{grid-template-columns:1fr}body[data-layout=mobile] .history-filters .btn{margin:0}body[data-layout=mobile] .retention-plans{grid-template-columns:repeat(2,minmax(0,1fr))}body[data-layout=mobile] .retention-plans>div{padding:14px}body[data-layout=mobile] .history-event time{font-size:12px}
@media print{.mobile-nav,.display-bar,.photo-picker,#more-dialog,#photo-dialog{display:none!important}.detail-photos img{max-height:160px}body[data-layout=desktop]{min-width:0}}

.retention-banner{padding:15px 28px;background:#fff0dd;border-bottom:1px solid #e6cda6;font-size:12px;line-height:1.9;color:#8d693d}.retention-banner a{display:inline-block;text-decoration:underline;margin-left:10px;color:#36563b}body[data-layout=mobile] .retention-banner{padding:14px 16px}

.photo-choices label{position:relative}.photo-input{position:absolute;opacity:0;width:1px;height:1px;overflow:hidden}
.billing-content>section,#platform-content>section{margin-bottom:24px}.plan-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:24px 0}.plan-cards h2{font-size:24px;margin:14px 0}.plan-cards h2 small{font-size:11px;font-weight:400}.plan-cards p{font-size:12px;line-height:1.9;margin:12px 0;color:#6b805e}.plan-cards .btn{margin-top:14px}.billing-order{padding:22px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.billing-order>div:first-child{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}.billing-order p{font-size:12px;line-height:1.9;margin:10px 0}.billing-order small{font-size:10px;color:#7a8a6c;line-height:1.9}.billing-order form{margin-top:20px}.order-status{font-size:11px;color:#738868;background:#eef3e6;padding:7px;border-radius:6px}.sponsor-banner{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:24px;border:1px solid #d8dfcb;background:#f5f2e5;padding:22px;border-radius:9px}.sponsor-banner small{display:block;font-size:10px;text-transform:uppercase;letter-spacing:1px;color:#958261;margin-bottom:8px}.sponsor-banner strong{font-size:15px}.sponsor-banner p{font-size:12px;line-height:1.9;margin:8px 0;color:#7b8368}.sponsor-banner a{font-size:12px;color:#496749;text-decoration:underline}.sponsor-banner>.text-btn{flex-shrink:0}body[data-layout=mobile] .plan-cards{grid-template-columns:1fr}body[data-layout=mobile] .sponsor-banner{align-items:flex-start;flex-direction:column}body[data-layout=mobile] .billing-order small{font-size:11px}.plan-cards button:disabled{opacity:.55;cursor:default}@media print{#sponsor-slot{display:none!important}}

body[data-layout=mobile] .small-note,body[data-layout=mobile] .subtitle{color:#607356}
