.trust-toolbar{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0 25px}.trust-check{margin:20px 0}.trust-check h3{font-size:15px}.reading-summary{margin:12px 0}.reading-summary p{margin:8px 0 0;font-size:calc(11px * var(--oriva-font-scale, 1))}.closing-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:12px 0 22px}.closing-summary small{display:block;color:var(--muted);font-size:calc(10px * var(--oriva-font-scale, 1));margin-bottom:9px}.closing-summary b{font-size:18px}.closing-checklist{display:flex;flex-direction:column;gap:16px;margin:22px 0}.closing-checklist label{display:flex;gap:12px;align-items:flex-start;line-height:1.7}.closing-checklist input{width:18px;height:18px;flex-shrink:0;accent-color:var(--green)}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.calendar-week{margin-bottom:12px;text-align:center;color:var(--muted);font-size:calc(11px * var(--oriva-font-scale, 1))}.calendar-day{min-height:115px;background:#0c211e;border:1px solid var(--border);border-radius:9px;padding:12px;display:flex;flex-direction:column;align-items:flex-start;gap:5px;min-width:0;color:var(--text)}.calendar-day.selected{border-color:var(--green);background:#163c31}.calendar-day.today strong{color:var(--green)}.calendar-day small{font-size:calc(9px * var(--oriva-font-scale, 1))}.calendar-day strong{font-size:calc(14px * var(--oriva-font-scale, 1))}.calendar-balance{font-size:calc(11px * var(--oriva-font-scale, 1));margin-top:auto}.calendar-empty{min-height:50px}.privacy-on .reading-summary p{filter:blur(7px)}@media(max-width:850px){.calendar-grid{gap:4px}.calendar-day{padding:7px;min-height:95px}.calendar-day small{font-size:calc(8px * var(--oriva-font-scale, 1))}.calendar-balance{font-size:calc(9px * var(--oriva-font-scale, 1))}}@media(max-width:640px){.calendar-panel{padding:10px}.calendar-day{padding:6px 3px;min-height:85px}.calendar-day small{font-size:calc(7px * var(--oriva-font-scale, 1));overflow-wrap:anywhere}.calendar-day strong{font-size:calc(12px * var(--oriva-font-scale, 1))}.calendar-balance{font-size:calc(8px * var(--oriva-font-scale, 1));overflow-wrap:anywhere}.closing-summary{grid-template-columns:1fr}.closing-summary b{font-size:19px}.trust-toolbar .btn{font-size:calc(11px * var(--oriva-font-scale, 1))}.trust-check{padding:15px}}
.needs-review{background:#b88a2a0c}.needs-review input,.needs-review select{border-color:#7b663b}.statement-edit-table input{min-width:130px}.statement-edit-table td:first-child input{display:block;margin:5px 0;min-width:210px}.statement-edit-table .pending-tag{display:block;margin-top:5px}

/* Selectable rows use their own wrapping layout rather than the global nowrap table. */
.category-choice-list{max-height:min(50vh,440px);overflow-y:auto;overflow-x:hidden;border:1px solid var(--border);border-radius:9px;padding:8px;margin-top:17px;min-width:0}.modal-body .category-choice{display:grid;grid-template-columns:22px minmax(0,1.6fr) minmax(0,1fr) minmax(0,.8fr);gap:16px;align-items:start;margin:4px 0;padding:18px 14px;border:1px solid transparent;border-bottom-color:var(--border);border-radius:7px;width:100%;cursor:pointer;color:var(--text);line-height:1.6;white-space:normal}.category-choice:last-child:not(:has(input:checked)){border-bottom-color:transparent}.category-choice input[type="checkbox"]{appearance:auto;width:20px;height:20px;min-width:20px;min-height:20px;margin:3px 0 0;padding:0;accent-color:var(--green)}.category-choice>span{min-width:0;overflow-wrap:anywhere}.category-choice strong,.category-choice small{display:block;white-space:normal;overflow-wrap:anywhere}.category-choice strong{font-size:calc(12px * var(--oriva-font-scale,1));font-weight:600}.category-choice small{font-size:calc(10px * var(--oriva-font-scale,1));color:var(--muted);margin-top:3px}.category-choice-value{text-align:right}.modal-body .category-choice:has(input:checked){background:#38d9a908;border-color:var(--green)}.category-choice:focus-within{outline:2px solid var(--green);outline-offset:-2px}.category-choice input[type="checkbox"]:focus{outline:none}.category-choice input[type="checkbox"]:focus-visible{outline:2px solid var(--green);outline-offset:2px}@media(max-width:600px){.category-choice-list{padding:6px}.modal-body .category-choice{grid-template-columns:22px minmax(0,1fr) minmax(0,1fr);gap:10px 12px;padding:16px 10px}.category-choice-main{grid-column:2/-1}.category-choice-category{grid-column:2}.category-choice-value{grid-column:3}}

/* Keep calendar details readable instead of shrinking them at mobile breakpoints. */
#main .calendar-week{font-size:calc(14.4px * var(--oriva-font-scale,1))}#main .calendar-day{min-height:140px;gap:7px}#main .calendar-day small{font-size:calc(13.2px * var(--oriva-font-scale,1));line-height:1.5}#main .calendar-balance{font-size:calc(15.6px * var(--oriva-font-scale,1));line-height:1.5}#main .calendar-panel{overflow-x:auto}#main .calendar-panel .calendar-grid{min-width:850px}

/* Bank statement review keeps candidates readable and choices explicit. */
.statement-review-row{padding:18px;border-bottom:1px solid var(--border);white-space:normal;min-width:0}.statement-review-row:last-child{border-bottom:0}.statement-needs-decision{background:#bc8c2710;border-left:3px solid #d7b86d}.statement-row-heading{display:flex;gap:12px;justify-content:space-between;align-items:center;flex-wrap:wrap;margin-bottom:10px}.statement-row-fields{display:grid;grid-template-columns:minmax(140px,1fr) minmax(180px,2fr) minmax(120px,1fr) minmax(140px,1fr);gap:12px}.statement-row-fields>div{min-width:0}.modal-body .statement-review-row label{margin:10px 0 6px}.statement-review-row select,.statement-review-row input{width:100%;min-width:0;font-size:calc(12px * var(--oriva-font-scale,1))}.statement-review-row>select{white-space:normal;height:auto;min-height:44px}.statement-existing{padding:12px;border:1px solid var(--border);border-radius:8px;margin:10px 0;line-height:1.7;overflow-wrap:anywhere}.statement-existing strong,.statement-existing small{display:block}.statement-duplicates{margin:12px 0}.statement-duplicates summary{overflow-wrap:anywhere}.statement-review-row .hint{line-height:1.7}.statement-duplicates-notice{margin:12px!important}@media(max-width:900px){.statement-row-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:540px){.statement-row-fields{grid-template-columns:1fr}.statement-review-row{padding:14px}}
