/* Shared public site and standalone dashboards; fonts persist outside release packages. */
body{font-family:IRANSans,Tahoma,Arial,sans-serif}button,input,select,textarea{font-family:inherit}
.mv-skip{position:absolute;top:-100px;right:24px;z-index:10;background:#fff;padding:12px}.mv-skip:focus{top:12px}
.mv-topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;max-width:1920px;margin:auto;padding:20px 32px}.mv-topbar a{font-size:26px;font-weight:700;text-decoration:none;color:#17684e}.mv-topbar span{color:#63786e;font-size:14px}
.mv-workspace{display:grid;grid-template-columns:230px minmax(0,1fr);gap:24px;max-width:1920px;margin:0 auto;padding:0 24px 32px;align-items:start}
.mv-sidebar{display:flex;flex-direction:column;position:sticky;top:20px;background:#fff;border:1px solid #d9e6df;border-radius:20px;padding:16px;min-height:calc(100dvh - 120px)}
.mv-sidebar nav{display:grid;gap:6px}.mv-nav-title{font-size:13px;color:#63786e;padding:8px 12px}.mv-sidebar a{display:block;text-decoration:none;border-radius:10px;padding:12px;color:#294e40}.mv-sidebar a:hover{background:#edf5f0}.mv-sidebar a[aria-current=page]{background:#17684e;color:#fff}.mv-sidebar .mv-logout{margin-top:auto;color:#9b3542;border-top:1px solid #e1ebe5;border-radius:0;padding-top:18px}
main.mv-dashboard{width:100%;min-width:0;margin:0;padding:28px;border-radius:20px;min-height:calc(100dvh - 120px);background:#fff;border:1px solid #d9e6df}
.mv-dashboard .brand{display:none}.mv-dashboard h1{font-size:25px}.mv-dashboard h2{font-size:20px}.mv-dashboard h3{font-size:17px}.mv-dashboard :is(section,h2)[id]{scroll-margin-top:24px}
.mv-dashboard form{max-width:100%;padding:18px;background:#f8faf9;border:1px solid #e1ebe5;border-radius:12px}.mv-dashboard form label{margin-bottom:12px}.mv-dashboard input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.mv-dashboard select,.mv-dashboard textarea{max-width:100%;padding:10px;border:1px solid #9db6aa;border-radius:8px;font:inherit}.mv-dashboard input[type=file]{width:100%}.mv-dashboard button{width:auto;min-height:44px}.mv-dashboard button:disabled{opacity:.55;cursor:not-allowed}
.mv-dashboard table{display:block;max-width:100%;overflow-x:auto}.mv-dashboard .mv-profile-table{display:table}.mv-dashboard .mv-profile-table th{width:40%;background:#f8faf9}.mv-dashboard section:not(.mv-card){padding:18px;border:1px solid #e1ebe5;border-radius:14px}
.mv-doctor-grid,.mv-slot-grid{display:grid;gap:18px;grid-template-columns:minmax(0,1fr);margin:24px 0}.mv-card{margin:0;padding:16px;min-width:0;border:1px solid #d9e6df;border-radius:16px;background:#fff;display:flex;flex-direction:column;overflow-wrap:anywhere;box-shadow:0 5px 18px #163c3308}.mv-card h2,.mv-card h3{margin:14px 0 6px}.mv-card p{margin:6px 0;font-size:14px}.mv-card .mv-card-action{margin-top:auto;padding-top:18px}.mv-card a.button{display:block;background:#17684e;color:white;text-align:center;padding:11px;border-radius:9px;text-decoration:none;min-height:44px}.mv-card a.button:hover{background:#104c39}.mv-doctor-photo{position:relative;aspect-ratio:4/3;background:#edf5f0;border-radius:10px;overflow:hidden;display:grid;place-items:center;color:#63786e}.mv-doctor-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.mv-filters{display:grid;gap:12px;grid-template-columns:repeat(3,minmax(0,1fr));align-items:end}.mv-filters label{margin:0}.mv-filters input,.mv-filters select{width:100%}.mv-filters button{align-self:end}.mv-badge{align-self:start;background:#e7f3ec;color:#17684e;border-radius:20px;padding:4px 12px}.mv-dashboard footer{margin-top:32px}.mv-dashboard a{overflow-wrap:anywhere}
@media(min-width:700px){.mv-doctor-grid,.mv-slot-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1100px){.mv-doctor-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.mv-slot-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:1500px){.mv-doctor-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(min-width:1800px){.mv-doctor-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:1099px){.mv-workspace{grid-template-columns:190px minmax(0,1fr);gap:16px;padding-inline:16px}main.mv-dashboard{padding:20px}.mv-filters{grid-template-columns:1fr 1fr}}
@media(max-width:699px){.mv-topbar{padding:16px}.mv-topbar span{font-size:12px}.mv-workspace{display:block;padding:0 12px 20px}.mv-sidebar{position:static;min-height:0;margin-bottom:16px;padding:10px}.mv-sidebar nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}.mv-nav-title{grid-column:1/-1}.mv-sidebar a{padding:10px;font-size:14px}.mv-sidebar .mv-logout{margin-top:8px;padding:10px}main.mv-dashboard{padding:16px;min-height:0}.mv-dashboard h1{font-size:22px}.mv-dashboard form{padding:12px}.mv-filters{grid-template-columns:1fr}.mv-dashboard .mv-profile-table th{width:42%}.mv-dashboard th,.mv-dashboard td{padding:8px;font-size:14px}}

/* Persian monthly booking calendar. */
.mv-doctor-grid .mv-card{text-align:center}.mv-doctor-place{color:#587064}
.mv-calendar{margin-top:24px}.mv-calendar-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#17684e;color:white;border-radius:16px;padding:16px 24px}.mv-calendar-heading h2{margin:0;font-size:26px}.mv-calendar-heading nav{display:flex;gap:18px}.mv-calendar-heading a{color:white;text-decoration:none;padding:8px}.mv-calendar-help{color:#4e665d;font-size:14px}
.mv-dashboard .mv-calendar table{display:table;table-layout:fixed;border-collapse:separate;border-spacing:6px;width:100%;overflow:visible}.mv-calendar th{text-align:center;border:0;padding:10px 0;font-size:14px}.mv-calendar td{border:1px solid #d9e6df;border-radius:12px;padding:0;text-align:center;vertical-align:top;height:124px;background:#fff}.mv-calendar td.mv-empty-day{border:0;background:transparent}.mv-calendar .mv-friday .mv-day-number{color:#ad4b25}.mv-calendar-day{display:flex;flex-direction:column;align-items:center;gap:5px;text-decoration:none;color:inherit;padding:10px 5px;min-height:122px;height:100%;border-radius:12px}.mv-calendar a.mv-calendar-day:hover{background:#edf5f0;box-shadow:inset 0 0 0 2px #17684e}.mv-day-number{font-size:23px;font-weight:700;line-height:1.5}.mv-day-kind{width:100%;max-width:100px;padding:1px 5px;border-radius:5px;font-size:12px;line-height:1.8}.mv-in_person{background:#dceafb;color:#14568a}.mv-telephone{background:#d9f1e3;color:#145c3c}.mv-full{background:#e3e5e7;color:#50565d}.mv-part-full{display:block;font-size:10px;background:#e3e5e7;color:#50565d;padding:0 3px;border-radius:4px}
.mv-booking-dialog{width:min(1100px,96vw);max-height:90dvh;padding:24px;margin:auto;background:#fff;color:#163c33}.mv-booking-dialog::backdrop{background:#13392d99}.mv-dialog-heading{display:flex;gap:12px;align-items:center;justify-content:space-between}.mv-dialog-heading h2{margin:0}.mv-dialog-close{padding:8px 16px;border:1px solid #9db6aa;border-radius:8px}.mv-booking-dialog form{width:100%;padding:12px}.mv-booking-dialog select,.mv-booking-dialog button{width:100%}.mv-booking-dialog .mv-slot-grid{margin-bottom:10px}.mv-dialog-page{display:inline-block;margin:8px;padding:8px;border:1px solid #d9e6df;border-radius:8px}
@media(max-width:699px){.mv-calendar-heading{padding:12px;gap:8px}.mv-calendar-heading h2{font-size:20px}.mv-calendar-heading nav{gap:2px;font-size:12px}.mv-calendar-heading a{padding:5px}.mv-dashboard .mv-calendar table{border-spacing:2px}.mv-calendar th{font-size:10px;padding:8px 0;overflow-wrap:normal}.mv-calendar td{height:108px;border-radius:7px}.mv-calendar-day{padding:6px 1px;gap:4px;min-height:106px;border-radius:7px}.mv-day-number{font-size:19px}.mv-day-kind{font-size:9px;padding:1px 0}.mv-part-full{font-size:8px;padding:0}.mv-booking-dialog{padding:14px}.mv-dialog-heading h2{font-size:18px}.mv-dialog-close{font-size:13px;padding:6px 10px}}

/* Dashboard sections, tables and editor dialogs. */
.mv-account-title{text-align:center;font-size:30px!important;margin:12px 0 24px!important}.mv-divider{border:0;border-top:1px solid #d9e6df;margin:24px 0}.mv-detail-section+.mv-detail-section{border-top:2px solid #d9e6df!important}.mv-table-scroll{width:100%;overflow-x:auto;margin:20px 0;border:1px solid #d9e6df;border-radius:12px}.mv-dashboard .mv-data-table{display:table;min-width:620px;margin:0}.mv-data-table th{background:#edf5f0;white-space:nowrap}.mv-data-table tr:nth-child(even){background:#fafcfb}.mv-data-table td{vertical-align:top}.mv-data-table .mv-add-button{font-size:13px;padding:8px;margin:0}.mv-inline-form{display:inline-block!important;padding:0!important;margin:4px!important;border:0!important;background:transparent!important}.mv-inline-form button{font-size:13px;padding:7px 10px}.mv-add-button{margin:12px 0}.mv-edit-dialog{width:min(1000px,96vw);max-height:90dvh;overflow:auto;padding:24px;color:#163c33}.mv-edit-dialog::backdrop{background:#13392d99}.mv-edit-dialog .mv-dialog-heading>button{width:auto}.mv-filter-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}.mv-filter-tabs a{display:block;border:1px solid #9db6aa;border-radius:8px;padding:8px 12px;text-decoration:none}.mv-photo-preview{position:relative;width:min(100%,480px);aspect-ratio:3/2;display:grid;place-items:center;background:#edf5f0;border-radius:12px;overflow:hidden}.mv-photo-preview img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#fff}#mv-crop-canvas{display:block;width:100%;height:auto;aspect-ratio:3/2;background:#edf5f0}#mv-crop-dialog input[type=range]{width:100%}
@media(max-width:699px){.mv-account-title{font-size:25px!important}.mv-edit-dialog{padding:14px}.mv-table-scroll{margin:14px 0}.mv-filter-tabs a{font-size:13px;padding:6px}.mv-data-table th,.mv-data-table td{padding:8px}.mv-edit-dialog .mv-dialog-heading h2{font-size:19px}}

.mv-membership-home{text-align:center}.mv-membership-home>img{display:block;margin-inline:auto}.mv-membership-home>p{text-align:center}

#schedule-day .mv-data-table td{white-space:nowrap}#schedule-day .mv-data-table td:last-child{white-space:normal}#schedule-day details{width:320px;max-width:100%}#schedule-day details p{line-height:1.8}#schedule-day form button{margin:4px}

button.mv-text-button{background:transparent;color:#17684e;text-decoration:underline;width:auto;padding:4px}

.mv-registration-content input[type=text],.mv-registration-content input[type=tel],.mv-registration-content input[name=code],.mv-registration-content select{width:100%;height:56px;min-height:56px;padding:10px 12px;border:1px solid #78998c;border-radius:8px;font:inherit;background:#fff;color:inherit}.mv-registration-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.mv-registration-pair>label{min-width:0}.mv-registration-pair select{width:100%;height:56px;min-height:56px;padding:10px;border:1px solid #78998c;border-radius:8px;font:inherit}.mv-registration-phone{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin:16px 0}.mv-registration-phone form{margin:0}.mv-registration-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:20px}.mv-registration-actions a{display:flex;justify-content:center;align-items:center;text-align:center;padding:10px 6px;font-size:14px;text-decoration:none}

.mv-registration-actions a{border:1px solid #78998c;border-radius:8px;background:#edf5f0}

.mv-registration-review{display:grid;grid-template-columns:minmax(90px,1fr) minmax(0,2fr);margin:20px 0}.mv-registration-review dt,.mv-registration-review dd{padding:12px 8px;border-bottom:1px solid #d9e6df;margin:0;overflow-wrap:anywhere}.mv-registration-review dt{font-weight:bold;background:#edf5f0}.mv-registration-content form button+button{margin-top:10px}.mv-calendar{max-width:940px;margin-inline:auto}.mv-schedule-time-row>div{min-width:0}
@media(min-width:900px){.mv-schedule-time-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}}

.mv-council-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:12px}.mv-council-fields>label{min-width:0}@media(max-width:480px){.mv-council-fields{grid-template-columns:1fr}}

/* Wide import previews scroll inside their own region, without splitting words. */
.mv-import-scroll{max-width:100%;min-width:0;overflow-x:auto;overscroll-behavior-inline:contain}.mv-dashboard .mv-import-table{display:table;table-layout:auto;width:max-content;min-width:100%;max-width:none;margin:0}.mv-import-table th,.mv-import-table td{white-space:nowrap;overflow-wrap:normal;word-break:normal;min-width:100px}.mv-import-table button{white-space:nowrap;word-break:normal;overflow-wrap:normal}

.mv-import-table .mv-import-error{color:#a71919;background:#fff0f0;border-bottom:2px solid #b42323}.mv-import-error-note{display:block;white-space:normal;max-width:230px;min-width:150px;font-size:12px;line-height:1.8}

/* Reviewed spreadsheet row editor. */
#import-edit{box-sizing:border-box;width:min(850px,94vw);border:1px solid #cbded4;border-radius:16px}#import-edit form{margin:0;padding:0;border:0;background:transparent}.mv-import-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.mv-import-fields label{display:flex;flex-direction:column;gap:7px;margin:0;min-width:0}.mv-import-fields label[hidden]{display:none}.mv-import-fields input,.mv-import-fields select,.mv-import-fields textarea{box-sizing:border-box;width:100%;min-width:0;min-height:48px;margin:0;padding:10px 12px;border:1px solid #78998c;border-radius:8px;font:inherit}.mv-import-fields input[readonly]{background:#edf1ef;color:#52665d}.mv-import-wide{grid-column:1/-1}.mv-import-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}.mv-import-actions button{width:auto!important;margin:0!important}@media(max-width:600px){.mv-import-fields{grid-template-columns:1fr;gap:14px}}

.mv-family-status{text-align:center;font-size:20px;margin:-12px 0 22px;font-weight:700}.mv-status-approved{color:#147244}.mv-status-pending{color:#1766ad}.mv-status-rejected{color:#b42332}#mv-crop-canvas{width:auto;max-width:100%;max-height:55vh;height:auto;margin:auto;aspect-ratio:auto;touch-action:none;cursor:move;object-fit:contain}#mv-crop-dialog{width:min(1050px,95vw)}

/* General manager dashboard uses the shared responsive shell. */
.mv-management{min-width:0;overflow-x:auto}.mv-management .wrap{margin:0}.mv-management .nav-tab-wrapper{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.mv-management .nav-tab{padding:8px 12px;border:1px solid #b7cdc2;border-radius:8px;text-decoration:none}.mv-management .nav-tab-active{background:#17684e;color:#fff}.mv-management .form-table th{width:180px}.mv-management input:not([type=checkbox]):not([type=radio]),.mv-management select,.mv-management textarea{max-width:100%;min-height:42px;padding:8px;border:1px solid #78998c;border-radius:8px;font:inherit}.mv-management button{width:auto;margin:4px;min-height:42px}.mv-management .notice-error{color:#a51c30}.mv-management .notice-success{color:#17684e}.mv-management-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.mv-management .mv-table-scroll{max-width:100%;overflow-x:auto}.mv-management table{min-width:520px}.mv-management .form-table{min-width:0}@media(max-width:640px){.mv-management-links{grid-template-columns:1fr}.mv-management .form-table tr,.mv-management .form-table th,.mv-management .form-table td{display:block;width:100%}.mv-management .form-table input{width:100%}}

.mv-calendar td.mv-holiday-official{background:#fce4e7}.mv-calendar td.mv-holiday-unofficial{background:#fff0c7}.mv-calendar .mv-holiday-caption{display:block;font-size:.72rem;line-height:1.5;color:#603d35;overflow-wrap:anywhere}.mv-holiday-legend{display:flex;flex-wrap:wrap;gap:10px;font-size:.85rem}.mv-holiday-legend span{padding:4px 8px;border-radius:5px}.mv-holiday-legend .mv-holiday-official{background:#fce4e7;color:#85252f}.mv-holiday-legend .mv-holiday-unofficial{background:#fff0c7;color:#705008}

.mv-sidebar a[aria-current="page"]{background:#17684e;color:white;font-size:1.06em;padding-block:14px}.mv-date-button{width:auto;margin:6px 0;padding:6px 12px}.mv-date-picker{padding:12px;border:1px solid #b7cdc2;border-radius:10px;background:#f3f7f5;grid-column:1/-1}.mv-date-picker select{width:auto!important;margin:4px}.mv-date-picker>div{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.mv-date-picker button{padding:5px;min-width:0}.mv-status-pending{color:#a85b00}.mv-status-documents{color:#1766ad}

/* RC.57: shared polish, preserving each role's content and workflows. */
.mv-site{--mv-line:#d4e2dc;--mv-ink:#163c33;--mv-muted:#526b60;--mv-accent:#17684e;background:#f3f7f5;line-height:1.85}
.mv-site :is(input,select,textarea,button,a){-webkit-tap-highlight-color:transparent}
.mv-site :is(input,select,textarea,button,a,summary,[tabindex]):focus-visible{outline:3px solid #b77616;outline-offset:3px}
.mv-site :is(button,a.button){min-height:46px;line-height:1.65;font-weight:600;transition:background-color .15s,box-shadow .15s}
.mv-site button:hover:not(:disabled){background-color:#12563f}
.mv-site button.mv-text-button:hover{background:#edf5f0}
.mv-site button:disabled{opacity:.55;cursor:not-allowed}
.mv-site input:is([type=checkbox],[type=radio]){accent-color:var(--mv-accent);width:18px;height:18px;vertical-align:middle;flex-shrink:0}
.mv-site input:is([type=tel],[name=code],[inputmode=numeric]),.mv-site input[data-persian-date]{direction:ltr;font-variant-numeric:tabular-nums}
.mv-site :is(input,select,textarea):disabled{background:#eef2ef;color:#67766e;cursor:not-allowed}
.mv-site :is(input,textarea)::placeholder{color:#67786f;opacity:1}
.mv-site .hint{color:var(--mv-muted);line-height:1.85}
.mv-site main :is(p[role=alert],p[role=status],.notice){padding:14px 16px;border:1px solid #bbd9e8;border-inline-start:4px solid #26759b;border-radius:10px;background:#f0f8fc;color:#234d67;overflow-wrap:anywhere}
.mv-site main p[role=alert]{border-color:#efc1c6;border-inline-start-color:#b42332;background:#fff3f4;color:#982535}
.mv-site .field-error{margin-top:6px;line-height:1.7}
.mv-site .mv-auth{margin-block:clamp(24px,6vh,64px) 32px;padding:clamp(22px,4vw,36px);box-shadow:0 12px 40px #163c3309}
.mv-auth .brand{letter-spacing:0;font-size:26px}.mv-auth h1{font-size:24px;line-height:1.6;margin-block:12px 18px}
.mv-auth form{margin-block:24px}.mv-auth label{line-height:1.8}
.mv-auth :is(input[type=text],input[type=tel],input[type=password],input[name=code],select){min-height:52px;margin-top:6px;background:#fff;color:var(--mv-ink)}
.mv-auth input[name=code]{font-size:24px;letter-spacing:.35em;min-height:60px}
.mv-site fieldset{border-color:var(--mv-line);border-radius:12px;padding:16px}
.mv-site legend{font-weight:700;padding-inline:8px}
.mv-auth fieldset:has(input[name=channel]){display:flex;flex-wrap:wrap;gap:10px}
.mv-auth fieldset:has(input[name=channel])>label{display:flex;align-items:center;justify-content:center;gap:8px;flex:1;min-width:100px;margin:0;padding:12px;border:1px solid var(--mv-line);border-radius:9px;cursor:pointer}
.mv-auth fieldset:has(input[name=channel])>label:has(:checked){background:#e8f4ed;border-color:var(--mv-accent);box-shadow:inset 0 0 0 1px var(--mv-accent)}
.mv-auth .registration-card{border-color:var(--mv-line);padding:20px 22px;box-shadow:0 3px 12px #163c3305}
.mv-auth .registration-card:hover{border-color:var(--mv-accent)}
.mv-registration-phone{padding:10px 14px;border-radius:10px;background:#f3f7f5;border:1px solid var(--mv-line)}
.mv-registration-phone form{margin:0}.mv-registration-actions>a:only-child{grid-column:1/-1}
.mv-site .family-fields{gap:20px 18px}.mv-site .family-fields :is(input,select,textarea){min-height:52px;margin-top:6px}
.mv-site .family-fields textarea{min-height:100px;resize:vertical}
.mv-site .mv-registration-review{border:1px solid var(--mv-line);border-radius:12px;overflow:hidden}
.mv-site .mv-registration-review :is(dt,dd){padding:14px 12px}
.mv-site .mv-topbar{padding-block:18px}.mv-site .mv-sidebar{box-shadow:0 4px 20px #163c3305}
.mv-site main.mv-dashboard{box-shadow:0 4px 24px #163c3305;padding:clamp(18px,2.4vw,36px)}
.mv-dashboard :is(h2,h3){line-height:1.65}.mv-dashboard h2:first-child{margin-top:0}
.mv-dashboard .mv-detail-section{padding:22px}.mv-dashboard .mv-profile-table th{color:#365a4a;font-weight:600}
.mv-dashboard .mv-profile-table td{line-height:1.9}.mv-dashboard .mv-profile-table tr:last-child :is(th,td){border-bottom:0}
.mv-dashboard .mv-profile-table :is(th,td){padding:13px 16px}
.mv-site .mv-table-scroll{overscroll-behavior-inline:contain;scrollbar-width:thin;scrollbar-color:#91b1a0 #f1f6f3}
.mv-site .mv-data-table th{padding:14px 12px;color:#365a4a;font-weight:600}
.mv-site .mv-data-table td{padding:14px 12px;line-height:1.85}
.mv-site .mv-data-table tbody tr:hover{background:#f0f7f3}
.mv-site .mv-data-table button{white-space:nowrap;min-height:42px}
.mv-site .mv-filter-tabs a:hover{background:#edf5f0}.mv-site .mv-filter-tabs a[aria-current=page]{background:#17684e;color:#fff;border-color:#17684e}
.mv-site .mv-filters{padding:18px;margin-block:20px}.mv-site .mv-filters :is(input,select){min-height:48px}
.mv-site .mv-card{padding:18px;border-color:var(--mv-line)}.mv-site .mv-card h2{font-size:19px;line-height:1.7}
.mv-site .mv-card .mv-card-action{margin-bottom:0}.mv-site .mv-card a.button{display:flex;align-items:center;justify-content:center}
.mv-site .mv-calendar-heading{padding:16px 20px}.mv-site .mv-calendar-heading a{display:inline-flex;align-items:center;min-height:44px;border-radius:8px}
.mv-site .mv-calendar-heading a:hover{background:#ffffff1c}.mv-site .mv-calendar th{color:#526b60}
.mv-site :is(.mv-edit-dialog,.mv-booking-dialog){border:1px solid var(--mv-line);border-radius:18px;box-shadow:0 24px 80px #092b3a33;overscroll-behavior:contain;scrollbar-gutter:stable}
.mv-site .mv-dialog-heading{padding-bottom:16px;margin-bottom:18px;border-bottom:1px solid var(--mv-line)}
.mv-site .mv-dialog-heading>button{width:auto;min-width:64px;flex-shrink:0;margin:0}
.mv-site dialog form{margin-bottom:0}.mv-site dialog .mv-slot-grid{gap:14px}
@media(max-width:699px){
 .mv-site .mv-auth{width:calc(100% - 24px);padding:22px 18px;margin-top:18px}
 .mv-site .mv-workspace{padding-inline:10px}.mv-site .mv-topbar{padding:14px 16px}
 .mv-site .mv-topbar a{font-size:23px}.mv-site .mv-topbar span{max-width:50%;text-align:end}
 .mv-site .mv-sidebar nav{gap:6px}.mv-site .mv-sidebar a{min-height:46px;display:flex;align-items:center;line-height:1.6}
 .mv-site .mv-sidebar a[aria-current=page]{font-size:14px;padding-block:10px}
 .mv-site main.mv-dashboard{padding:16px 12px}.mv-site .mv-dashboard .mv-detail-section{padding:14px 10px}
 .mv-site .mv-profile-table :is(th,td){padding:11px 8px;font-size:14px}
 .mv-site .mv-account-title{font-size:22px!important;line-height:1.8}.mv-site .mv-family-status{font-size:16px}
 .mv-site .mv-registration-review{grid-template-columns:minmax(80px,1fr) minmax(0,1.7fr);font-size:14px}
 .mv-site .mv-registration-review :is(dt,dd){padding:10px 8px}
 .mv-site .mv-calendar-heading{padding:10px;gap:6px;flex-wrap:wrap}.mv-site .mv-calendar-heading h2{font-size:19px}
 .mv-site .mv-calendar-heading nav{gap:4px}.mv-site .mv-calendar-heading a{padding:5px;font-size:12px}
 .mv-site :is(.mv-edit-dialog,.mv-booking-dialog){width:calc(100% - 16px);max-height:92dvh;padding:16px 12px}
 .mv-site .mv-dialog-heading{gap:10px}.mv-site .mv-dialog-heading h2{font-size:18px}
 .mv-site .mv-registration-pair{gap:10px}.mv-site fieldset{padding:12px}
}
@media(prefers-reduced-motion:reduce){.mv-site :is(button,a.button){transition:none}}

.mv-site #mv-account-menu{display:flex;flex-direction:column;flex:1}.mv-site .mv-menu-toggle{display:none}
@media(max-width:699px){.mv-site .mv-menu-toggle:not([hidden]){display:flex;align-items:center;justify-content:space-between;width:100%;background:#edf5f0;color:#163c33;text-align:start}.mv-site .mv-menu-toggle::after{content:'−';font-size:22px}.mv-site .mv-menu-toggle[aria-expanded=false]::after{content:'+'}.mv-site .mv-sidebar[data-collapsed=true] #mv-account-menu{display:none}.mv-site .mv-sidebar nav{margin-top:10px}}

.mv-site button.mv-menu-toggle:hover:not(:disabled){background:#dfeee5;color:#163c33}

/* Keep the date action on its own line before the next field label. */
.mv-date-button{display:block}input[data-persian-date]{direction:ltr;text-align:left}

/* Review counters and draft document controls. */
.mv-site .mv-review-badge{display:inline-block;min-width:1.5em;margin-inline-start:.35rem;padding:.1rem .45rem;border-radius:1rem;background:#a33226;color:#fff;font-size:.78rem;line-height:1.7;font-weight:700;vertical-align:middle}
.mv-site .mv-document-file,.mv-site .mv-document-picker{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap;margin-block:.5rem}
.mv-site .mv-document-file a,.mv-site .mv-document-picker a{overflow-wrap:anywhere;min-width:0}
.mv-site .mv-document-file button,.mv-site .mv-document-picker button,.mv-site [data-document-add]{width:auto;flex:0 0 auto}
.mv-site .mv-table-scroll{max-width:100%;overflow-x:auto}

.mv-site button[name=document_operation]+button[name=document_operation]{margin-inline-start:.5rem}

/* Review workspace polish: bounded content, readable states and touch navigation. */
.mv-site .mv-empty-state{text-align:center;padding:32px 16px!important;color:#526b60;background:#f8faf9}
.mv-site .mv-table-hint{font-size:.85rem;color:#526b60;margin:12px 0 -10px}.mv-site .mv-table-hint[hidden]{display:none}
.mv-site .mv-filter-tabs{display:flex;flex-wrap:wrap;gap:8px}.mv-site .mv-filter-tabs a{display:inline-flex;align-items:center;flex-wrap:wrap;gap:4px;min-height:44px;margin:0}
.mv-site .mv-sidebar a{overflow-wrap:anywhere}.mv-site .mv-review-badge{flex-shrink:0;white-space:nowrap}
.mv-site .mv-review-photo{display:block;max-width:min(240px,100%);max-height:280px;object-fit:contain;margin:0 auto 20px;border-radius:12px}
.mv-site .mv-data-table td:last-child{min-width:150px}.mv-site .mv-data-table .mv-inline-form{display:flex!important;gap:6px;flex-wrap:wrap}
.mv-site dialog button[name=decision]+button[name=decision]{margin-inline-start:8px}
@media(max-width:699px){.mv-site .mv-sidebar a{flex-wrap:wrap;gap:4px}.mv-site .mv-filter-tabs a{font-size:13px}.mv-site .mv-data-table{font-size:14px}}

.mv-site .mv-profile-details .mv-data-table{min-width:0;width:100%;table-layout:fixed}
.mv-site .mv-profile-details .mv-data-table :is(th,td){min-width:0;white-space:normal;overflow-wrap:anywhere;width:50%;vertical-align:top}
