/* Audit workflow additions. Kept separate from the shared portal shell. */
.team-member.assignment-alternate{background:#f6f8fa;border-radius:4px}
.audit-table{min-width:920px}
.checklist-help{font-size:13px;color:#718075;line-height:1.65;padding-top:16px}
.checklist .checklist-row{display:flex;align-items:flex-start;gap:14px;flex-wrap:nowrap}
.checklist .task-content{flex:1;min-width:0}
.checklist .task-content label{display:block;margin-bottom:5px}
.checklist .task-number{display:block;flex-shrink:0;font-size:12px;color:#8d9b92;line-height:22px}
.check-result{width:151px;flex-shrink:0;min-height:39px;border:1px solid #dce5df;border-radius:5px;padding:8px;font-size:13px;color:#506356;background:#fff;cursor:pointer}
.check-result:disabled{opacity:1;cursor:default}
.check-result.result-approved{background:#eaf4ee;color:#276046;border-color:#cae2d2}
.check-result.result-rejected{background:#fff0e9;color:#9a513d;border-color:#efd3c5}
.check-result.result-not_applicable{background:#eff3f7;color:#5e6e80;border-color:#dce3eb}
.check-result.result-pending{background:#f8faf9;color:#748079}
.actual-date-form{display:flex;align-items:flex-end;gap:15px;flex-wrap:wrap;margin:12px 0}
.actual-date-form>.field{flex:1 1 220px;max-width:280px}
.actual-date-form input{display:block;margin-top:7px}
.inline-preview-result{background:#eef5f1;color:#37614a;padding:12px 14px;border:1px solid #dbe9df;border-radius:5px;font-size:13px;margin-top:12px}
.fee-concealed{display:flex;align-items:center;gap:8px;color:#7a867f;min-height:35px;margin-bottom:15px}
.fee-breakdown{margin:0 0 18px}
.fee-breakdown>div{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:9px 0}
.fee-breakdown dt{font-size:14px;color:#687a6d}
.fee-breakdown dd{margin:0;white-space:nowrap;font-size:16px;font-weight:600;color:#365a46}
.fee-breakdown .fee-total{border-top:1px solid #dce7df;margin-top:9px;padding-top:14px}
.fee-total dt{font-weight:600;color:#365a46}
.fee-total dd{font-size:22px}
.team-row{align-items:flex-start}
.team-row .avatar{margin-top:2px}
.team-row .member-info{min-width:0;flex:1}
.team-row .member-info>strong{white-space:normal;overflow-wrap:anywhere}
.team-confirm{display:inline-flex;align-items:center;gap:5px;font-size:12px;margin-top:8px;text-decoration:underline;text-underline-offset:3px;padding:3px 0;text-align:left;line-height:1.5}
.team-confirm>.icon{width:14px;height:14px}
.team-confirm:disabled{opacity:.8;text-decoration:none;cursor:default}
.team-confirm-result{font-size:12px;color:#386748;margin-top:5px;line-height:1.6}
.team-help{margin:15px 0 0;font-size:12px;line-height:1.7}
.document-record{border-bottom:1px solid var(--line);padding-bottom:15px;margin-bottom:5px;min-width:0}
.document-record:last-child{border:0}
.document-record .file-row{border:0;padding-bottom:8px}
.document-version-history{margin:3px 0 0 50px;min-width:0}
.document-version-history>summary{cursor:pointer;color:var(--green);font-size:13px;padding:7px 0;display:flex;align-items:center;gap:7px;list-style:none}
.document-version-history>summary::-webkit-details-marker{display:none}
.document-version-history>summary::after{content:'+';margin-left:3px}
.document-version-history[open]>summary::after{content:'−'}
.document-version-history>summary>.icon{width:16px;height:16px}
.version-table{min-width:500px;table-layout:fixed;width:100%}
.panel .version-table td{font-size:12px;vertical-align:top;white-space:normal;overflow-wrap:anywhere;padding:14px 10px}
.panel .version-table th{font-size:12px;padding:12px 10px}
.version-table th:first-child{width:75px}
.version-table th:nth-child(2){width:100px}
.version-table th:nth-child(3){width:110px}
.version-table th:last-child{width:54px}
.version-table td:nth-child(2){white-space:nowrap}
.upload-version-fields{flex:1 1 100%;display:grid;grid-template-columns:minmax(0,1fr);gap:12px;width:100%}
.upload-version-fields .field>select,.upload-version-fields .field>textarea{display:block;margin-top:6px}
.upload-version-fields .field>textarea{min-height:75px}
.upload-box>.upload-feedback{flex-basis:100%;width:100%;overflow-wrap:anywhere}
#reminders,#preferences,#personal{scroll-margin-top:calc(var(--topbar) + 20px)}
.setting-switch{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:0 0 22px;border-bottom:1px solid var(--line);cursor:pointer}
.setting-switch>span{display:flex;flex-direction:column;gap:5px}
.setting-switch strong{font-size:15px;font-weight:600}
.setting-switch small,.setting-option small{font-size:13px;color:#7a867d;line-height:1.5}
.setting-switch input{appearance:none;width:44px;height:25px;border:1px solid #bcc8c0;border-radius:20px;background:#dce3df;position:relative;flex-shrink:0;cursor:pointer;transition:background .15s}
.setting-switch input::after{content:'';position:absolute;left:3px;top:3px;width:17px;height:17px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0002;transition:transform .15s}
.setting-switch input:checked{background:var(--green);border-color:var(--green)}
.setting-switch input:checked::after{transform:translateX(18px)}
[data-reminder-options]{border:0;padding:20px 0 0;margin:0;min-width:0}
[data-reminder-options]>legend{padding-top:20px;font-size:14px;font-weight:600;color:#506356}
[data-reminder-options]:disabled{opacity:.55}
.setting-option{display:flex;align-items:flex-start;gap:12px;margin:15px 0;cursor:pointer}
.setting-option input,.reminder-channels input{accent-color:var(--green);width:16px;height:16px;flex-shrink:0;margin-top:4px}
.setting-option>span{display:flex;flex-direction:column;gap:4px}
.setting-option strong{font-size:14px;font-weight:500}
.reminder-channels{margin:22px 0}
.reminder-channels h3{font-size:14px;margin-bottom:12px}
.reminder-channels label{display:inline-flex;align-items:center;gap:8px;margin-right:24px;font-size:14px}
.notification-settings{display:flex;align-items:center;gap:8px;padding:13px 18px;font-size:13px;border-top:1px solid var(--line);background:#f7faf8}
.notification-copy small{font-size:11px;color:#8b968e}
@media(max-width:1100px){.checklist .checklist-row{flex-wrap:wrap}.checklist .task-content{flex-basis:calc(100% - 40px)}.check-result{margin-left:31px;width:190px}.document-version-history{margin-left:0}}
@media(max-width:600px){.checklist .task-content{flex-basis:calc(100% - 40px)}.check-result{width:calc(100% - 31px);font-size:14px}.actual-date-form>.field{max-width:none;flex-basis:100%}.actual-date-form>.button{width:100%}.fee-breakdown dd{font-size:17px}.fee-total dd{font-size:23px}.document-version-history{margin-left:0}.upload-box>.upload-version-fields{margin:0}.upload-box>.button{margin-left:0}.setting-switch strong{font-size:14px}.setting-switch small,.setting-option small{font-size:12px}}
@media print{[data-fee-details]{display:none!important}[data-fee-placeholder]{display:block!important}}
