/* Compact records and renewal management, using the shared workspace tokens. */
.mv-documents-page{--doc-paper:var(--vv-paper,#fff);--doc-line:var(--vv-line,#e3dce8);--doc-muted:var(--vv-muted,#6d6176);--doc-ink:var(--vv-ink,#2b2233);--doc-plum:var(--vv-brand,#2e0048);color:var(--doc-ink)}
.mv-doc-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}
.mv-doc-heading h1{font:500 27px/1.2 var(--body);letter-spacing:-.035em;margin:0 0 7px}
.mv-doc-heading p{font-size:13px;color:var(--doc-muted);margin:0}
.mv-doc-heading .btn{gap:12px;white-space:nowrap}
.mv-doc-summary{display:flex;flex-wrap:wrap;gap:6px;padding:10px;background:var(--doc-paper);border:1px solid var(--doc-line);border-radius:10px;box-shadow:var(--vv-shadow,none);margin:0}
.mv-doc-summary button{display:flex;align-items:center;gap:8px;min-height:36px;padding:7px 11px;background:transparent;border:1px solid transparent;border-radius:7px;color:var(--doc-muted);font:400 12px/1.4 var(--body);cursor:pointer}
.mv-doc-summary button strong{order:1;background:#eee8f3;border-radius:5px;padding:1px 6px;font-size:11px;font-weight:500;font-variant-numeric:tabular-nums;color:#5f426f}
.mv-doc-summary button[aria-pressed=true]{background:#f4eef8;border-color:#e4d9eb;color:var(--doc-plum)}
.mv-doc-summary button[aria-pressed=true] strong{background:var(--doc-plum);color:#fff}
.mv-doc-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}
.mv-doc-layout>*{min-width:0}
.mv-doc-section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 12px}
.mv-doc-section-heading h2{font-size:14px!important;font-weight:500;margin:0!important}
.mv-doc-section-heading>span{font-size:11px;color:var(--doc-muted)}
.mv-doc-checklist{border:1px solid var(--doc-line);border-radius:var(--vv-radius,12px);background:var(--doc-paper);box-shadow:var(--vv-shadow,none);overflow:hidden}
.mv-doc-group+.mv-doc-group{border-top:1px solid var(--doc-line)}
.mv-doc-group>header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 16px;border-bottom:1px solid var(--doc-line);background:#fcfafd}
.mv-doc-group>header h2{font-size:13px!important;font-weight:500;margin:0!important}
.mv-doc-group>header>span{font-size:11px;color:var(--doc-muted)}
.mv-doc-table{border-collapse:collapse;table-layout:fixed;width:100%}
.mv-doc-table th{padding:10px 16px;font:500 11px/1.5 var(--body);text-align:left;background:#faf8fc;color:var(--doc-muted);border-bottom:1px solid var(--doc-line)}
.mv-doc-table th:first-child{width:42%}.mv-doc-table th:nth-child(2){width:20%}.mv-doc-table th:nth-child(3){width:23%}.mv-doc-table th:last-child{width:15%;text-align:right}
.mv-doc-table td{padding:10px 16px;border-bottom:1px solid var(--doc-line);vertical-align:middle;font-size:13px}
.mv-doc-table tr:last-child td{border-bottom:0}
.mv-doc-name{display:flex;align-items:center;gap:10px}
.mv-doc-name>div{min-width:0}
.mv-doc-symbol{display:grid;place-items:center;flex-shrink:0;width:30px;height:33px;color:#67447c;border:1px solid #e6ddec;border-radius:8px;background:#f5eff8}
.mv-doc-symbol svg,.mv-doc-history-row svg{width:18px;height:18px;flex-shrink:0}
.mv-doc-name h3{font-size:14px!important;line-height:1.4!important;font-weight:500!important;margin:0!important;overflow-wrap:anywhere}
.mv-doc-meta{font-size:11px!important;line-height:1.5!important;color:var(--doc-muted);margin:4px 0 0!important}
.mv-doc-status{display:inline-flex;align-items:center;gap:5px;padding:4px 7px;border:0;border-radius:5px;font-size:11px;line-height:1.5;background:#f0edf3;color:#64576d}
.mv-doc-status:before{content:'';width:4px;height:4px;border-radius:50%;background:currentColor;flex-shrink:0}
.mv-doc-status[data-state=verified]{background:var(--vv-success-bg,#eaf3ee);color:var(--vv-success,#35634c)}
.mv-doc-status[data-state=under_review]{background:var(--vv-info-bg,#edf2f8);color:var(--vv-info,#46658c)}
.mv-doc-status:is([data-state=missing],[data-state=date_required],[data-state=replacement_required],[data-state=expired]){background:var(--vv-warning-bg,#fbf2e4);color:var(--vv-warning,#85551e)}
.mv-doc-pending{font-size:11px;display:block;margin-top:6px;color:var(--doc-muted)}
.mv-doc-date-value{font-size:13px;font-variant-numeric:tabular-nums}
.mv-doc-date-value+.mv-doc-date-value{margin-top:8px}
.mv-doc-date-value strong{font-weight:500}
.mv-doc-date-value small{display:block;margin-top:3px;color:var(--doc-muted);font-size:11px;font-variant-numeric:normal;line-height:1.5}
.mv-doc-date-empty{font-size:12px;color:var(--doc-muted)}
.mv-doc-row-details{font-size:12px;margin:4px 0 0 40px;color:var(--doc-muted)}
.mv-doc-row-details>summary{cursor:pointer;min-height:18px;width:fit-content;font-size:11px;color:#65477a}
.mv-doc-row-details>div{padding-top:8px}
.mv-doc-row-details p{font-size:12px!important;line-height:1.6!important;margin:0 0 10px!important;color:var(--doc-muted)}
.mv-doc-row-actions{text-align:right}
.mv-doc-row-actions .btn{min-height:34px!important;padding:7px 11px!important;font-size:12px!important;border-radius:7px!important;margin:0 0 0 8px;white-space:nowrap}
.mv-doc-text-button{display:inline-flex;align-items:center;gap:9px;border:0;background:transparent;padding:6px 0;color:var(--doc-plum);font:500 12px/1.5 var(--body);cursor:pointer;min-height:32px;text-decoration:underline;text-decoration-color:#c8b5d2;text-underline-offset:4px}
.mv-doc-row-actions .mv-doc-text-button{display:block;margin:0 0 6px auto;font-size:11px}
.mv-doc-history{border:1px solid var(--doc-line);border-radius:10px;padding:12px 16px;background:var(--doc-paper);margin-top:14px}
.mv-doc-history>summary{font-size:12px;cursor:pointer;min-height:22px}
.mv-doc-history>summary>span{margin-left:7px;font-size:11px;color:var(--doc-muted)}
.mv-doc-history>p{font-size:12px;color:var(--doc-muted);line-height:1.6}
.mv-doc-history-row{display:flex;align-items:start;justify-content:space-between;gap:16px;padding:14px 0;border-top:1px solid var(--doc-line)}
.mv-doc-history-row>div:first-child{display:flex;gap:12px;min-width:0}
.mv-doc-history-row>div:last-child{display:grid;justify-items:end;flex-shrink:0}
.mv-doc-history-row svg{color:#765d87;margin-top:2px}
.mv-doc-history-row h3{font-size:13px!important;font-weight:500!important;margin:0 0 5px!important;overflow-wrap:anywhere}
.mv-doc-history-row p{font-size:12px!important;line-height:1.5!important;margin:5px 0!important;color:var(--doc-muted)}
.mv-doc-aside{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(240px,1fr);gap:18px;align-items:start}
.mv-doc-renewal-panel,.mv-doc-support{padding:16px 18px;border:1px solid var(--doc-line);border-radius:var(--vv-radius,12px);background:var(--doc-paper);box-shadow:var(--vv-shadow,none)}
.mv-doc-renewal-heading{display:flex;justify-content:space-between;align-items:center;gap:14px}
.mv-doc-renewal-heading h2{font-size:14px!important;font-weight:500!important;margin:0!important}
.mv-doc-renewal-heading>span{font-size:11px;color:var(--doc-muted)}
.mv-doc-renewal-panel ol{padding:0;list-style:none;margin:12px 0 0}
.mv-doc-renewal-panel li{display:flex;gap:14px;padding:12px 0;border-top:1px solid var(--doc-line)}
.mv-doc-renewal-panel li:last-child{padding-bottom:0}
.mv-doc-date-number{font-size:23px;font-weight:500;line-height:1.1;text-align:center;min-width:34px;color:var(--doc-plum)}
.mv-doc-date-number small{display:block;font-size:11px;margin-top:5px;font-weight:400;color:var(--doc-muted)}
.mv-doc-renewal-panel li strong{font-size:13px;font-weight:500}
.mv-doc-renewal-panel li p{font-size:12px;line-height:1.5;color:var(--doc-muted);margin:5px 0 0}
.mv-doc-renewal-panel .mv-doc-text-button{font-size:11px;min-height:28px}
.mv-doc-renewal-panel .mv-doc-no-dates{display:block;padding-top:12px}
.mv-doc-no-dates strong{font-size:12px!important;font-weight:400!important;color:var(--doc-muted)}
.mv-doc-guidance>summary{font-size:13px;font-weight:500;cursor:pointer;min-height:26px;color:var(--doc-plum)}
.mv-doc-guidance ol{padding-left:18px;margin:16px 0}
.mv-doc-guidance li{margin-bottom:12px;font-size:12px}
.mv-doc-guidance li strong{font-weight:500}
.mv-doc-guidance p{font-size:12px;line-height:1.6;color:var(--doc-muted);margin:5px 0}
.mv-doc-privacy{border-top:1px solid var(--doc-line);padding-top:12px;color:var(--doc-muted);font-size:11px;line-height:1.6;margin:10px 0 0}
.mv-doc-empty{padding:26px 18px;line-height:1.6;color:var(--doc-muted);font-size:13px}
.mv-doc-empty h3{font-size:18px;font-weight:500;margin:0 0 10px;color:var(--doc-ink)}
.mv-doc-unavailable{padding:14px;border:1px solid #ddc5a5;background:#fbf2e4;color:#85551e;border-radius:8px;font-size:13px}
.mv-document-dialog{box-sizing:border-box;width:min(620px,calc(100vw - 32px));max-height:calc(100dvh - 40px);overflow:auto;border:1px solid #e3dce8;border-radius:15px;padding:26px;background:#fff;color:#2b2233;box-shadow:0 24px 80px #24113230}
.mv-document-dialog::backdrop{background:#24113266}
.mv-document-dialog>header{display:flex;align-items:start;justify-content:space-between;gap:18px;border-bottom:1px solid #e3dce8;padding-bottom:18px;margin-bottom:20px}
.mv-doc-eyebrow{font-size:11px!important;letter-spacing:.08em;font-weight:500;color:#6d6176;margin:0 0 7px!important}
.mv-document-dialog h2{font:500 23px/1.3 var(--body);letter-spacing:-.025em;margin:0}
.mv-document-dialog label{display:grid;gap:8px;font-size:13px;font-weight:500;margin:18px 0}
.mv-document-dialog input:not([type=hidden]),.mv-document-dialog select{width:100%;min-width:0;box-sizing:border-box;border:1px solid #bdb1c8;border-radius:8px;padding:11px;background:#fff;color:#2b2233;font:400 14px/1.5 var(--body);min-height:44px}
.mv-document-dialog p{font-size:13px;line-height:1.6;color:#6d6176}
.mv-doc-file{border:1px dashed #bdb1c8;padding:18px;background:#faf8fc;border-radius:8px}
.mv-doc-file input{border:0!important;background:transparent!important;padding:6px 0!important;font-size:12px!important}
.mv-doc-file small{font-size:11px;font-weight:400;color:#6d6176;overflow-wrap:anywhere}
.mv-doc-footnote{font-size:12px!important;line-height:1.6;color:#6d6176}
.mv-doc-upload-actions{border-top:1px solid #e3dce8;padding-top:18px;margin-top:20px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.mv-doc-upload-actions p{font-size:12px;max-width:270px;margin:0}
.mv-doc-feedback:not(:empty){border-left:3px solid #a77597;background:#f5f0f8;padding:12px;color:#62416d}
.mv-documents-page[hidden],.mv-document-dialog [hidden]{display:none!important}
@media(max-width:1180px){.mv-doc-table th:first-child{width:37%}.mv-doc-table th:nth-child(2){width:20%}.mv-doc-table th:nth-child(3){width:24%}.mv-doc-table th:last-child{width:19%}.mv-doc-table td,.mv-doc-table th{padding-left:13px;padding-right:13px}}
@media(max-width:760px){.mv-doc-heading{align-items:start;gap:12px}.mv-doc-heading h1{font-size:25px}.mv-doc-heading .btn{font-size:12px!important;padding:9px 11px!important;min-height:44px!important}.mv-doc-summary{gap:4px;padding:6px;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin}.mv-doc-summary button{min-height:44px;padding:7px 10px;font-size:11px;flex-shrink:0}.mv-doc-section-heading{align-items:start;flex-direction:column;gap:4px}.mv-doc-section-heading>span{font-size:11px}.mv-doc-aside{grid-template-columns:1fr;gap:14px}.mv-doc-table,.mv-doc-table tbody{display:block}.mv-doc-table thead{display:none}.mv-doc-table tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 14px;padding:16px;border-bottom:1px solid var(--doc-line)}.mv-doc-table tr:last-child{border:0}.mv-doc-table td{display:block;padding:0;border:0;font-size:13px;min-width:0}.mv-doc-table td:first-child{grid-column:1/-1}.mv-doc-table td:nth-child(2){grid-column:1;grid-row:2}.mv-doc-table td:nth-child(3){grid-column:1;grid-row:3}.mv-doc-table td:last-child{grid-column:2;grid-row:2/4;align-self:center}.mv-doc-name h3{font-size:14px!important}.mv-doc-row-details{margin-top:5px}.mv-doc-row-details>summary{min-height:32px}.mv-doc-row-actions .btn{min-height:44px!important;min-width:66px;margin:0}.mv-doc-row-actions .mv-doc-text-button{min-height:36px}.mv-doc-date-value small{font-size:11px}.mv-doc-date-value{font-size:12px}.mv-doc-group>header{padding:12px 16px}.mv-doc-history-row{flex-direction:column}.mv-doc-history-row>div:last-child{display:flex;align-items:center;justify-content:space-between;width:100%}.mv-document-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 20px);padding:22px 18px}.mv-document-dialog h2{font-size:22px}.mv-doc-upload-actions{align-items:start;flex-direction:column}.mv-doc-upload-actions .btn{width:100%}.mv-document-dialog input:not([type=hidden]),.mv-document-dialog select{font-size:16px}}
@media print{.mv-doc-table tr,.mv-doc-group{break-inside:avoid}.mv-doc-row-details>div{display:block}.mv-doc-summary,.mv-doc-row-actions,.mv-doc-support{display:none!important}}
