@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@400;500;700&display=swap');

#mainNav { display: none !important; }
body { padding-top: 0 !important; background: #f6f8fb; }
main.container { max-width: 100%; padding: 0; }

.dash-shell {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
    font-family: "M PLUS Rounded 1c", "Noto Sans JP", sans-serif;
    color: #223;
}
.dash-sidebar {
    background: #ffffff;
    border-right: 1px solid #e8edf3;
    padding: 22px 18px;
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 18px;
}
.brand-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #62cbbf;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1.2rem;
}
.profile-card {
    background: #f7fafc;
    border: 1px solid #edf2f7;
    border-radius: 16px;
    padding: 14px;
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 12px;
    align-items: center;
    margin-bottom: 18px;
}
.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #e2e8f0;
    display: grid;
    place-items: center;
    font-weight: 700;
    color: #4a5568;
}
.profile-meta {
    font-size: .85rem;
    color: #718096;
}
.profile-name {
    font-weight: 700;
    margin-top: 2px;
}
.menu-title {
    font-size: .85rem;
    color: #9aa6b2;
    letter-spacing: .08em;
    margin: 14px 0 8px;
}
.menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    text-decoration: none;
    color: #374151;
    font-weight: 500;
}
.menu-item.active,
.menu-item:hover {
    background: #ecfeff;
    color: #0f766e;
    font-weight: 700;
}
.sidebar-bottom {
    margin-top: auto;
    padding-top: 16px;
}
.legacy-home-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 18px;
    border: 2px solid #e5e7eb;
    color: #1f2937;
    text-decoration: none;
    font-weight: 700;
    background: #ffffff;
    box-shadow: 0 2px 0 rgba(0,0,0,0.04);
}
.legacy-home-btn:hover {
    background: #f9fafb;
    color: #111827;
}
.legacy-home-icon {
    width: 28px;
    height: 28px;
    border-radius: 10px;
    background: #e6fffb;
    color: #0ea5a3;
    display: grid;
    place-items: center;
    font-weight: 700;
    border: 2px solid #0ea5a3;
}
.legacy-home-arrow {
    font-weight: 900;
    margin-left: 2px;
}

.dash-main {
    padding: 26px 28px 40px;
}
.dash-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.dash-title {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: .02em;
}
.date-pill {
    background: #ffffff;
    border: 1px solid #e8edf3;
    border-radius: 12px;
    padding: 8px 14px;
    font-weight: 600;
    color: #52606d;
}
.bell {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    border: 1px solid #e8edf3;
    background: #fff;
    display: grid;
    place-items: center;
    color: #73808c;
}
.alert-card {
    margin-top: 18px;
    background: #fff;
    border: 1px solid #edf2f7;
    border-radius: 18px;
    padding: 16px 18px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px;
    align-items: center;
}
.alert-left {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 12px;
    align-items: center;
}
.alert-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff3da;
    color: #d18c2f;
    display: grid;
    place-items: center;
    font-weight: 700;
}
.alert-title { font-weight: 700; }
.alert-sub { color: #5f6b78; font-size: .95rem; line-height: 1.5; }
.alert-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}
.btn-soft {
    padding: 10px 16px;
    border-radius: 12px;
    border: 1px solid #e8edf3;
    background: #fff;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
}
.btn-teal {
    padding: 10px 18px;
    border-radius: 12px;
    background: #62cbbf;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    border: none;
}
.section-title {
    margin: 30px 0 14px;
    color: #64748b;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: .04em;
}
.card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}
.menu-card {
    background: #fff;
    border: 1px solid #edf2f7;
    border-radius: 18px;
    padding: 24px 20px;
    display: grid;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    min-height: 170px;
    justify-items: center;
    text-align: center;
    line-height: 1.45;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.12s;
}
.menu-card:hover {
    background: #f0f4ff;
    border-color: #a5b4fc;
    box-shadow: 0 8px 24px rgba(99, 102, 241, .14);
    transform: translateY(-2px);
    color: inherit;
    text-decoration: none;
}
.menu-card:active {
    transform: translateY(0);
    background: #e0e7ff;
    box-shadow: 0 2px 8px rgba(99, 102, 241, .12);
}
.menu-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    font-weight: 700;
}
.menu-title-text { font-weight: 800; font-size: 1rem; }
.menu-desc { color: #5f6b78; font-size: .95rem; }

@media (min-width: 993px) {
    .mobile-menu-btn { display: none; }
    .mobile-overlay { display: none !important; }
}
