* {
    box-sizing: border-box
}
body {
    margin: 0;
    font: 14px system-ui,Arial,sans-serif;
    background: #f4f7fc;
    color: #1b2d4c;
    display: flex;
    min-height: 100vh
}
aside {
    width: 245px;
    flex: none;
    background: #fff;
    border-right: 1px solid #e4eaf3;
    padding: 22px 13px;
    display: flex;
    flex-direction: column;
    height: 100vh;
    position: sticky;
    top: 0;
    overflow-y: auto
}
.brand {
    font-size: 25px;
    color: #246bd1;
    font-weight: 800;
    padding: 5px 9px 20px
}
.brand small {
    display: block;
    font-size: 11px;
    color: #6c85ab;
    letter-spacing: 1.2px
}
.asidefoot {
    margin-top: auto;
    padding: 15px;
    color: #8da0b8;
    font-size: 11px
}
nav details {
    margin-bottom: 8px
}
nav summary {
    font-size: 12px;
    font-weight: 750;
    color: #34527c;
    padding: 10px 8px;
    cursor: pointer
}
nav a {
    display: flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    color: #425b7b;
    font-size: 12px;
    border-radius: 8px;
    padding: 9px 11px
}
nav a:hover,nav a.active {
    background: #eaf2ff;
    color: #145fc4
}
.navicon {
    font-size: 16px;
    color: #3478d5;
    min-width: 20px
}
main {
    min-width: 0;
    flex: 1;
    padding: 24px 28px;
    max-width: 1900px
}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 22px
}
h1 {
    font-size: 23px;
    margin: 0 0 5px
}
h2 {
    font-size: 16px;
    margin: 0
}
p {
    color: #7185a1;
    line-height: 1.6
}
header p {
    margin: 0
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px
}
.pill {
    padding: 9px 14px;
    background: #e9f2ff;
    color: #2b69b6;
    border-radius: 22px
}
button {
    border: 0;
    background: #276dcc;
    color: white;
    border-radius: 8px;
    padding: 11px 17px;
    font-weight: 650;
    cursor: pointer
}
.secondary {
    background: #eaf2fc;
    color: #2764ad
}
.cards {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 14px;
    margin-bottom: 16px
}
.card {
    background: white;
    border: 1px solid #e6ecf5;
    border-radius: 13px;
    padding: 20px;
    display: flex;
    gap: 14px;
    align-items: center;
    text-decoration: none;
    color: #21395e;
    box-shadow: 0 3px 12px #16305009
}
.card:hover {
    border-color: #8bb9f7
}
.card-icon {
    background: #eaf3ff;
    color: #286fd0;
    border-radius: 12px;
    font-size: 26px;
    padding: 13px
}
.card b {
    display: block;
    font-size: 29px;
    color: #1a365f
}
.card small {
    color: #526d92;
    font-size: 12px
}
.arrow {
    margin-left: auto;
    font-size: 23px;
    color: #6895cb
}
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 16px
}
.panel {
    background: white;
    border: 1px solid #e5ecf5;
    border-radius: 13px;
    padding: 22px;
    box-shadow: 0 3px 14px #193a5d0a;
    margin-bottom: 16px
}
.panelhead {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px
}
.panel p {
    margin: 10px 0
}
.scroll {
    overflow: auto
}
table {
    border-collapse: collapse;
    width: 100%;
    text-align: left;
    font-size: 12px
}
th,td {
    border-bottom: 1px solid #edf1f6;
    padding: 11px 9px;
    white-space: nowrap
}
th {
    color: #6681a2;
    background: #f8fafd
}
.entry {
    max-width: 650px;
    margin: 50px auto
}
.formgrid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 14px;
    align-items: end
}
.formgrid button {
    width: max-content
}
label {
    display: block;
    font-size: 12px;
    color: #526987;
    margin: 10px 0
}
input,select {
    display: block;
    width: 100%;
    padding: 11px;
    margin-top: 6px;
    border: 1px solid #d5e0ee;
    border-radius: 8px;
    background: white
}
#notice {
    color: #2869bc;
    margin-top: 14px
}
[hidden] {
    display: none!important
}
@media(max-width:1100px) {
    .cards {
        grid-template-columns: repeat(2,1fr)
    }
    .dashboard-grid {
        grid-template-columns: 1fr
    }
}
@media(max-width:720px) {
    body {
        display: block
    }
    aside {
        position: relative;
        height: auto;
        width: 100%
    }
    main {
        padding: 15px
    }
    .cards {
        grid-template-columns: 1fr
    }
    .formgrid {
        grid-template-columns: 1fr
    }
    header {
        display: block
    }
}
.checkboxgrid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 8px;
    max-height: 360px;
    overflow: auto;
    padding: 12px;
    background: #f8fbff;
    border: 1px solid #e5ecf5;
    border-radius: 10px;
    margin: 14px 0
}
.check {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0
}
.check input {
    width: auto;
    margin: 0
}
@media(max-width:950px) {
    .checkboxgrid {
        grid-template-columns: 1fr 1fr
    }
}
/* Account dropdown and tabbed personal settings (MPNE-DEV-001 readable source). */
.account-menu {
    position: relative;
}
.account-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #edf4ff;
    color: #235ca7;
    padding: 8px 14px;
    border: 1px solid #dce8fa;
}
.account-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 29px;
    height: 29px;
    border-radius: 50%;
    background: #d6e7ff;
}
.account-dropdown {
    position: absolute;
    z-index: 100;
    top: calc(100% + 8px);
    right: 0;
    width: 290px;
    padding: 8px;
    border: 1px solid #dce6f3;
    border-radius: 13px;
    background: white;
    box-shadow: 0 16px 35px #1a35572e;
}
.account-summary {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px;
    background: #f5f8ff;
    border-radius: 9px;
    margin-bottom: 5px;
}
.account-summary small {
    color: #6680a1;
}
.account-dropdown a {
    display: block;
    text-decoration: none;
    color: #2c4567;
    padding: 11px 13px;
    border-radius: 7px;
    font-size: 13px;
}
.account-dropdown a:hover {
    background: #eaf3ff;
    color: #145fc4;
}
.account-divider {
    height: 1px;
    background: #e4ebf4;
    margin: 7px 0;
}
.account-signout {
    display: block;
    width: 100%;
    text-align: left;
    background: transparent;
    color: #b13232;
    padding: 11px 13px;
}
.account-signout:hover {
    background: #fff1f1;
}
.account-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-bottom: 1px solid #e2eaf5;
    padding-bottom: 12px;
}
.account-tab {
    text-decoration: none;
    color: #557294;
    padding: 11px 14px;
    border-radius: 8px;
    font-weight: 650;
}
.account-tab.selected, .account-tab:hover {
    background: #eaf3ff;
    color: #1765c7;
}
.account-body {
    padding-top: 22px;
}
.account-form {
    max-width: 580px;
}
.account-form label {
    font-size: 13px;
    margin-bottom: 16px;
}
.account-form button {
    margin-top: 12px;
}
.account-info {
    padding: 18px;
    background: #f7faff;
    border: 1px solid #e4edf9;
    border-radius: 10px;
    margin-top: 20px;
}
@media (max-width: 720px) {
    .account-dropdown {
        right: auto;
        left: 0;
        width: min(290px, 85vw);
    }
}
