.mg-portal{max-width:1200px;margin:0 auto 35px}.mg-portal-welcome{display:flex;justify-content:space-between;align-items:flex-start;gap:25px}.mg-portal-welcome h2{margin:12px 0 10px}.mg-portal-welcome p{color:#64748b}.mg-text-link{font-size:12px;text-decoration:none;color:#805b14}.mg-portal-tabs{display:flex;overflow:auto;border-bottom:1px solid #dce3eb;margin:30px 0;gap:24px;white-space:nowrap}.mg-portal-tabs a{padding:15px 0;text-decoration:none;font-size:12px;color:#64748b;border-bottom:3px solid transparent}.mg-portal-tabs a[aria-current]{border-bottom-color:#d6931b;color:#0f172a;font-weight:650}.mg-portal-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:38px}.mg-portal-stats>a{background:#f6f8fa;border:1px solid #dfe6ee;text-decoration:none;padding:24px;display:flex;flex-direction:column}.mg-portal-stats span{font-size:11px;color:#64748b}.mg-portal-stats strong{font-size:40px;font-weight:500;line-height:1.7;color:#0f172a}.mg-portal-stats small{font-size:10px;color:#8b6116}.mg-panel-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:25px 0}.mg-panel-heading h3{margin:0;font-size:20px}.mg-panel-heading>a,.mg-filter-links a{font-size:11px;text-decoration:none}.mg-table-scroll{max-width:100%;overflow-x:auto;border:1px solid #e2e8f0;margin:15px 0 25px}.mg-data-table{width:100%;border-collapse:collapse;font-size:12px;background:white}.mg-data-table th{background:#f6f8fa;text-transform:uppercase;font-size:9px;letter-spacing:1px;text-align:left;padding:16px 18px;color:#64748b}.mg-data-table td{padding:18px;border-top:1px solid #e2e8f0;vertical-align:middle}.mg-data-table a{text-decoration:none}.mg-row-actions{display:flex;gap:18px;align-items:center;min-width:200px}.mg-small-button{display:inline-flex;align-items:center;justify-content:center;background:#0f172a;color:white!important;padding:9px 13px;text-decoration:none;font-size:11px;white-space:nowrap}.mg-small-button:hover{background:#334155}.mg-badge{display:inline-flex;padding:5px 10px;background:#f1f5f9;color:#475569;font-size:9px;line-height:1.5;letter-spacing:.4px;white-space:nowrap}.mg-badge-pending,.mg-badge-open,.mg-badge-planning,.mg-badge-reviewing{background:#fff4d9;color:#80530a}.mg-badge-completed,.mg-badge-processing,.mg-badge-proposal-sent{background:#e9f5ed;color:#25613d}.mg-badge-failed,.mg-badge-cancelled{background:#fff0ed;color:#9c3e29}.mg-filter-links{display:flex;gap:18px;flex-wrap:wrap}.mg-filter-links a{color:#64748b}.mg-filter-links a[aria-current]{color:#0f172a;font-weight:650;text-decoration:underline;text-underline-offset:5px}.mg-pagination{display:flex;justify-content:flex-end;gap:25px;align-items:center;font-size:11px;margin:25px 0}.mg-pagination a{color:#7e5914}.mg-empty{background:#f8fafc;border:1px dashed #cbd5e1;text-align:center;padding:50px 30px;margin:20px 0}.mg-empty h3{font-size:22px;margin:15px 0}.mg-empty p{font-size:13px;max-width:620px;margin:15px auto 25px}.mg-portal-help{display:flex;justify-content:space-between;align-items:center;background:#1e293b;color:white;padding:30px;margin-top:35px;gap:25px}.mg-portal-help h3{color:white;margin:0}.mg-portal-help p{color:#cbd5e1;font-size:12px;margin:10px 0 0}.mg-portal-project-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}.mg-project-card,.mg-project-detail{border:1px solid #dce3eb;padding:30px;background:white}.mg-project-card h3{font-size:22px;margin:18px 0 10px}.mg-project-card p{font-size:12px}.mg-project-card>a{font-size:12px;color:#8a6016}.mg-project-detail{margin:25px 0}.mg-progress{margin:25px 0}.mg-progress span{display:block;font-size:10px;color:#64748b;margin-bottom:10px}.mg-progress progress{display:block;width:100%;height:7px;appearance:none;border:0;background:#e2e8f0;accent-color:#be8420}.mg-progress progress::-webkit-progress-bar{background:#e2e8f0}.mg-progress progress::-webkit-progress-value{background:#be8420}.mg-record-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:25px;border-top:1px solid #e2e8f0;padding-top:25px}.mg-record-grid dt{font-size:10px;color:#64748b}.mg-record-grid dd{font-size:13px;margin:7px 0}.mg-invoice-document{padding:35px;border:1px solid #dce3eb;background:white}.mg-invoice-head{display:flex;justify-content:space-between;gap:35px}.mg-invoice-head h2{font-size:25px}.mg-invoice-head h3{font-size:17px}.mg-invoice-head p{font-size:12px}.mg-invoice-billing{font-size:13px;margin:30px 0}.mg-invoice-billing h3{font-size:12px}.mg-message{border:1px solid #dce3eb;background:#fafbfc;padding:22px;margin:20px 0}.mg-message-staff{background:#f1f5fa;border-left:3px solid #bb852b}.mg-message header{display:flex;justify-content:space-between;gap:20px;font-size:11px}.mg-message p{font-size:13px;white-space:normal;overflow-wrap:anywhere}.mg-message time{color:#64748b;font-size:10px}.mg-message-body{font-size:13px;overflow-wrap:anywhere;line-height:1.9}.mg-support-form{max-width:100%;margin-top:30px}.mg-contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:25px}.mg-contact-card{padding:35px;border:1px solid #dce3eb;background:#fafbfc}.mg-contact-card h3{font-size:24px;margin:15px 0}.mg-contact-card>a{font-size:18px;color:#8a5e0d;text-decoration:none;overflow-wrap:anywhere}.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:767px){.mg-portal-stats{grid-template-columns:1fr 1fr;gap:12px}.mg-portal-stats>a{padding:18px}.mg-portal-stats strong{font-size:34px}.mg-portal-tabs{gap:20px}.mg-portal-welcome{display:block}.mg-portal-help,.mg-panel-heading{align-items:flex-start;flex-direction:column}.mg-portal-help{padding:25px}.mg-portal-project-grid,.mg-contact-grid{grid-template-columns:1fr}.mg-project-card,.mg-project-detail,.mg-invoice-document{padding:23px}.mg-invoice-head{flex-direction:column;gap:10px}.mg-record-grid{grid-template-columns:1fr}.mg-contact-card>a{font-size:16px}.mg-data-table th,.mg-data-table td{padding:14px}.mg-message header{height:auto;padding:0;border:0}.mg-message{padding:18px}}
