/* Additive V5.9 styles: uses the actual V5.8 bottom sheet and dock. */
.sheet #sheetContent .wf59{font-size:14px;line-height:1.55;max-width:100%;color:#151515;padding:2px 0 26px}
.wf59 *{box-sizing:border-box;min-width:0}
.wf59 h2{font-size:clamp(24px,6vw,30px)!important;margin:0 0 4px!important}
.wf59 h3{font-size:19px!important;letter-spacing:-.025em;margin:22px 0 10px!important}
.wf59 h4{font-size:15px!important;margin:20px 0 9px!important}
.wf59 .wf-sub{font-size:12px!important;color:#726f67!important;margin:3px 0 14px!important}
.wf59 .wf-nav{display:flex;gap:7px;overflow-x:auto;padding:6px 0 11px;scrollbar-width:thin;scroll-snap-type:x proximity;border-bottom:1px solid #e5dfd3}
.wf59 button{border:1px solid #d3c4a8;background:#fff;color:#181818;font-family:inherit;font-weight:650;font-size:14px;min-height:44px;padding:10px 13px;cursor:pointer;border-radius:2px}
.wf59 button:disabled{opacity:.5;cursor:not-allowed}
.wf59 button:focus-visible,.wf59 input:focus-visible,.wf59 select:focus-visible,.wf59 textarea:focus-visible,.wf59 summary:focus-visible{outline:2px solid #a68446;outline-offset:2px}
.wf59 .wf-nav button{flex:none;white-space:nowrap;scroll-snap-align:start;font-size:12px;min-height:42px}
.wf59 .wf-nav button.chosen{background:#191919;color:#e7c88a;border-color:#191919}
.wf59 .wf-body{padding-top:5px}
.wf59 .wf-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:12px 0 18px}
.wf59 .wf-stat{background:#f8f6f2;border:1px solid #e9e2d7;padding:15px 12px;display:flex;flex-direction:column;gap:3px}
.wf59 .wf-stat strong{font-size:23px;color:#181818;line-height:1.1}
.wf59 .wf-stat small{color:#736953;font-size:11px}
.wf59 .wf-box,.wf59 .wf-info{border-left:3px solid #b39152;background:#f8f5ef;padding:13px;margin:13px 0}
.wf59 .wf-box strong{display:block;margin:0 0 5px}
.wf59 .wf-box p,.wf59 .wf-info{font-size:13px!important;margin-bottom:0!important}
.wf59 .wf-field{display:block;color:#514a3f;font-weight:700;font-size:12px;margin:12px 0}
.wf59 .wf-field input,.wf59 .wf-field select,.wf59 .wf-field textarea{display:block;appearance:auto;width:100%;margin-top:7px;max-width:100%;min-height:45px;padding:11px;background:#fff;border:1px solid #d5cdc0;color:#161616;font-family:inherit;font-size:16px;border-radius:2px}
.wf59 .wf-field textarea{min-height:86px;resize:vertical;line-height:1.5}
.wf59 .wf-check{display:flex;align-items:center;gap:10px;font-size:13px;min-height:44px}
.wf59 .wf-check input{width:20px;height:20px}
.wf59 .wf-primary{display:block;width:100%;background:#161616;color:#edd4a1;border-color:#161616;margin:12px 0;font-weight:750}
.wf59 .wf-spaced{margin-top:18px}
.wf59 .wf-listrow{width:100%;display:flex;flex-direction:column;text-align:left;gap:3px;border:0;border-bottom:1px solid #ede8df;padding:14px 3px;min-height:60px}
.wf59 .wf-listrow strong{font-size:14px}
.wf59 small{display:block;font-size:11px;color:#726b61}
.wf59 .wf-tag{display:inline-block;padding:4px 7px;background:#f3ecdd;color:#785d32;font-size:10px;font-weight:800;letter-spacing:.015em;margin:0 4px 5px 0}
.wf59 .wf-card{padding:16px 12px;margin:10px 0;border:1px solid #e7e0d4;background:#fff;overflow-wrap:anywhere}
.wf59 .wf-card>strong{display:inline-block;margin-bottom:7px;font-size:14px}
.wf59 .wf-card p{margin:7px 0!important;font-size:13px!important}
.wf59 .wf-card>button{margin-top:10px}
.wf59 .wf-details,.wf59 details:not(.wf-card){border:1px solid #e5dacc;background:#fdfcfb;margin:12px 0;padding:0 13px 12px}
.wf59 summary{cursor:pointer;padding:13px 2px;min-height:44px;display:flex;align-items:center;font-weight:750;color:#3b3328;list-style:revert}
.wf59 .wf-actions{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0}
.wf59 .wf-actions button{flex:1 1 44%;max-width:100%}
.wf59 .wf-agent{margin-top:16px;border-top:2px solid #d1b77f;padding-top:5px}
.wf59 .wf-feedback:not(:empty),.wf59 .wf-error{border-left:3px solid #b14545;background:#fff2f2;color:#6e2626;padding:12px;font-size:13px;margin:12px 0;overflow-wrap:anywhere}
.wf59 .wf-empty{background:#faf8f4;padding:17px 14px;border:1px solid #e9e1d4;font-size:13px!important}
@media(max-width:800px){.sheet #sheetContent .wf59{padding-bottom:calc(25px + env(safe-area-inset-bottom))}.sheet:has(.wf59):not([hidden]){bottom:calc(62px + env(safe-area-inset-bottom))!important;max-height:calc(100dvh - 74px - env(safe-area-inset-top) - env(safe-area-inset-bottom))!important}.sheet:has(.wf59) #sheetContent{overscroll-behavior:contain;scroll-padding-bottom:25px}.wf59 .wf-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:360px){.wf59 .wf-actions button{flex-basis:100%}.wf59 .wf-stats{gap:6px}}
