.r39-visit{background:#f5f6f8!important;color:#28323d}.r39-visit>.badge,.r39-visit>.subtitle{display:none}.r39-visit>.detail-name{font-size:21px;margin:14px 0 20px}.r39-form [hidden]{display:none!important}.r39-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:0 0 18px}.r39-steps button{border:0;border-radius:8px;padding:12px 3px;background:#e9edf1;color:#737c86;font-size:12px;font-weight:600;cursor:pointer}.r39-steps button.is-active{background:#fff0e1;color:#d96510;box-shadow:inset 0 -3px #ed7b22}.r39-panel{padding:18px;background:#fff;border:1px solid #e6e9ed;border-radius:14px;margin-bottom:16px}.r39-panel-title{font-size:18px;margin:0 0 16px!important}.r39-note{color:#7c8690;font-size:12px;line-height:1.7;margin:0 0 16px}.r39-location{font-size:12px!important;line-height:1.65;padding:12px!important;background:#fff9ef!important;border:1px solid #f0dcc5!important;margin:0 0 18px!important}.r39-panel .r32-purpose{margin-bottom:18px}.r39-panel .r32-purpose>.fineprint{display:none}.r39-panel .detail-section{padding:0!important;margin:0!important;border:0!important;background:transparent!important}.r39-panel .detail-section>h3{display:none}.r39-panel .form-grid{gap:18px}.r39-panel .field{min-width:0}.r39-panel .field label{font-size:13px;font-weight:600;color:#3f4954}.r39-panel .upload{padding:0!important;border:0!important;margin:0!important}.r39-panel #visit-recorder-r29{background:#fff7eb!important;border:1px solid #f2dec4!important;padding:16px!important;border-radius:12px!important;margin:0 0 18px!important}.r39-panel #visit-recorder-r29>strong{font-size:15px}.r39-panel #visit-recorder-r29>div>.btn{width:100%!important;padding:15px 20px!important;justify-content:center!important}.r39-panel #visit-recorder-r29>p[data-recorder=status]:empty{display:none}.r39-panel #visit-recorder-r29>p{font-size:12px;line-height:1.7;color:#847665}.r39-panel .r39-extra,.r39-panel .r39-exception{border-top:1px solid #eceff1;margin-top:14px;padding-top:12px;color:#68717b}.r39-panel details>summary{font-size:12px;cursor:pointer;line-height:1.8}.r39-panel .r39-exception>summary{color:#a07955}.r39-panel .r39-exception>.field{margin-top:12px}.r39-panel #photo-file{display:block;width:100%;padding:12px;background:#fafbfc;border:1px dashed #d9dfe5;border-radius:10px;margin:6px 0 12px}.r39-panel #photo-file::file-selector-button{border:0;border-radius:7px;background:#fff0df;color:#cf681c;padding:10px 12px;margin-right:10px}.r39-panel #attachments .attachment{box-shadow:none}.r39-panel .r30-summary{padding:0;border:0;background:transparent;margin:0}.r39-panel .r30-summary textarea{min-height:140px}.r39-panel .r33-two-fields{gap:12px}.r39-confirm-row{padding:13px 0;border-bottom:1px solid #edf0f2}.r39-confirm-row:first-child{padding-top:0}.r39-confirm-row:last-child{border:0}.r39-confirm-row>span{font-size:12px;color:#89919a}.r39-confirm-row>p{margin:6px 0 0;font-size:14px;line-height:1.65;white-space:pre-wrap;word-break:break-word}.r39-form .r39-actions{display:grid!important;grid-template-columns:auto 1fr!important;gap:10px!important;padding:0!important;background:transparent!important;border:0!important;position:static!important;box-shadow:none!important;margin-top:12px!important}.r39-actions>.btn{width:100%!important;min-height:48px;margin:0!important;justify-content:center}.r39-form[data-r39-step="1"] .r39-actions>[data-r39=next]{grid-column:1/-1}.r39-draft-menu{grid-column:1/-1;text-align:center;padding:8px 0}.r39-draft-menu>summary{font-size:12px;color:#8c949e;cursor:pointer}.r39-draft-buttons{display:flex;gap:10px;margin-top:12px}.r39-draft-buttons .btn{width:50%!important;font-size:12px;min-height:40px}.r39-error{font-size:13px;line-height:1.6;color:#b24223;padding:0 4px}.r39-error:empty{display:none}.r39-visit #draft-save-state{font-size:11px;color:#929aa2}.r39-panel .ai-section textarea{box-sizing:border-box;width:100%}
@media(max-width:700px){.drawer.r39-visit{padding:16px!important}.r39-visit .drawer-header{margin:0 0 12px}.r39-panel{padding:16px}.r39-visit #visit-form{padding-bottom:28px}}
.r39-upload-status:empty{display:none}.r39-upload-status{font-size:12px;line-height:1.7;padding:10px 12px;background:#fff7eb;border-radius:8px;margin-bottom:12px}.r39-upload-status .text-btn{font-size:13px}.r39-panel[data-r39-panel="1"]>.r39-panel-title{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.r39-visit>.detail-name{font-size:19px;margin:8px 0 16px}
.r39-panel .r39-photo-label{display:flex!important;align-items:center;gap:12px;padding:16px!important;border:1px dashed #decbb8;border-radius:12px;background:#fffdf9;color:#dd7624;font-size:13px;cursor:pointer}.r39-photo-label svg{width:32px;height:32px;flex-shrink:0}.r39-photo-label strong{display:block;font-size:13px;color:#5b5148}.r39-photo-label small{display:block;font-size:11px;line-height:1.6;color:#978d83;margin-top:4px}.r39-panel #photo-file{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;padding:0!important;margin:0!important;overflow:hidden!important}.r39-photo-label:focus{outline:2px solid #ed7b22;outline-offset:3px}
.r39-panel .r30-summary>.field-hint{display:none}.r39-panel .r30-summary>.r30-summary-hint{font-size:11px;margin:8px 0 0;line-height:1.6}.r39-confirm-row{display:grid;grid-template-columns:72px minmax(0,1fr);gap:12px;align-items:start;padding:12px 0}.r39-confirm-row>p{margin:0;font-size:13px}.r39-confirm-row>span{padding-top:2px}.r39-panel .r39-extra>.evidence-checklist{margin-top:14px}
.r39-form>.form-error:empty{display:none}
